joeCarf commented on code in PR #7492:
URL: https://github.com/apache/rocketmq/pull/7492#discussion_r1369491571


##########
common/src/main/java/org/apache/rocketmq/common/ControllerConfig.java:
##########
@@ -209,6 +209,11 @@ public void setMetricsExporterType(MetricsExporterType 
metricsExporterType) {
         this.metricsExporterType = metricsExporterType;
     }
 
+    // support read from config file using 
org.apache.rocketmq.common.MixAll.properties2Object
+    public void setMetricsExporterType(String metricsExporterType) {

Review Comment:
   当前代码中已经有类似的方法,你这里新写的方法是否会被调用到呢
   <img width="718" alt="截屏2023-10-24 10 56 56" 
src="https://github.com/apache/rocketmq/assets/52153761/cd865865-03ad-4b27-b754-5d3cd54b7f9f";>
   



##########
common/src/main/java/org/apache/rocketmq/common/ControllerConfig.java:
##########
@@ -209,6 +209,11 @@ public void setMetricsExporterType(MetricsExporterType 
metricsExporterType) {
         this.metricsExporterType = metricsExporterType;
     }
 
+    // support read from config file using 
org.apache.rocketmq.common.MixAll.properties2Object
+    public void setMetricsExporterType(String metricsExporterType) {

Review Comment:
   当前代码中已经有类似的方法,你这里新写的方法是否会被调用到呢
   <img width="718" alt="截屏2023-10-24 10 56 56" 
src="https://github.com/apache/rocketmq/assets/52153761/cd865865-03ad-4b27-b754-5d3cd54b7f9f";>
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to