You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by GitBox <gi...@apache.org> on 2023/01/10 02:24:14 UTC
[GitHub] [rocketmq] ni-ze commented on issue #5844: Failed to examine pop consumer group status/progress/connection, no topic route for retry topic
ni-ze commented on issue #5844:
URL: https://github.com/apache/rocketmq/issues/5844#issuecomment-1376636692
IMO, I think neither are good solution. Use retry topic just want to find the broker address. Maybe we can solution like this:
```java
Collection<BrokerData> values = this.examineBrokerClusterInfo().getBrokerAddrTable().values();
for (BrokerData value : values) {
String addr = value.selectBrokerAddr();
if (StringUtils.isNotBlank(addr)) {
ConsumerConnection result = this.mqClientInstance.getMQClientAPIImpl().getConsumerConnectionList(addr, consumerGroup, timeoutMillis);
if (result != null) {
return result;
}
}
}
```
--
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-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org