cserwen commented on code in PR #8138:
URL: https://github.com/apache/rocketmq/pull/8138#discussion_r1612702884


##########
broker/src/main/java/org/apache/rocketmq/broker/processor/QueryAssignmentProcessor.java:
##########
@@ -174,7 +174,14 @@ private Set<MessageQueue> doLoadBalance(final String 
topic, final String consume
                 break;
             }
             case CLUSTERING: {
-                Set<MessageQueue> mqSet = 
topicRouteInfoManager.getTopicSubscribeInfo(topic);
+                Set<MessageQueue> mqSet;
+                if (MixAll.isLmq(topic)) {
+                    mqSet = new HashSet<>();
+                    mqSet.add(new MessageQueue(
+                        topic, 
brokerController.getBrokerConfig().getBrokerName(), (int)MixAll.LMQ_QUEUE_ID));

Review Comment:
   How to find all mqs for lmq topic when there are multi brokers?



-- 
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