drpmma commented on a change in pull request #3422:
URL: https://github.com/apache/rocketmq/pull/3422#discussion_r739982362
##########
File path:
broker/src/main/java/org/apache/rocketmq/broker/loadbalance/AssignmentManager.java
##########
@@ -112,14 +116,28 @@ public void updateTopicRouteInfoFromNameServer() {
public boolean updateTopicRouteInfoFromNameServer(final String topic) {
try {
TopicRouteData topicRouteData =
this.mQClientAPIImpl.getTopicRouteInfoFromNameServer(topic, 1000 * 3);
+ Map<String, BrokerData> brokerDataMap = new HashMap<>();
+ for (BrokerData brokerData : topicRouteData.getBrokerDatas()) {
Review comment:
fixed
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]