You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2022/01/04 08:05:42 UTC

[GitHub] [rocketmq-dashboard] cserwen commented on a change in pull request #59: [ISSUE #58] enable the service to support multiple namesrvs

cserwen commented on a change in pull request #59:
URL: https://github.com/apache/rocketmq-dashboard/pull/59#discussion_r777887883



##########
File path: src/main/java/org/apache/rocketmq/dashboard/config/RMQConfigure.java
##########
@@ -77,6 +81,18 @@ public String getNamesrvAddr() {
         return namesrvAddr;
     }
 
+    public String getNamesrvAddrs() {
+        return namesrvAddrs;
+    }
+
+    public void setNamesrvAddrs(String namesrvAddrs) {
+        this.namesrvAddrs = namesrvAddrs;
+        List<String> nameSrvAddrList = Splitter.on(";").splitToList(this.namesrvAddrs);

Review comment:
       IMO, we don't need to distinguish whether namesrvs belong to the same cluster. Because if two namesrv points to the same cluster, we only need to choose one of them to work, right?




-- 
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: dev-unsubscribe@rocketmq.apache.org

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