Aias00 opened a new issue, #965:
URL: https://github.com/apache/rocketmq-dashboard/issues/965

   ## Problem
   
   `RocketMQAdminClientImpl.getConsumerGroup` catches every exception from 
`DefaultMQAdminExt.examineConsumerConnectionInfo` and returns a populated 
`ConsumerGroupVO`. The controller consequently responds with HTTP 200 even when 
the Admin call failed because of ACL denial, a broker error, timeout, or a 
network failure.
   
   RocketMQ distinguishes an actually offline consumer group with 
`MQClientException(ResponseCode.CONSUMER_NOT_ONLINE)`. That case can safely 
render as an offline group with zero connections. Other errors must not be 
converted into an empty successful detail response.
   
   ## Scope
   
   - Treat only `CONSUMER_NOT_ONLINE` as the offline fallback.
   - Surface all other Admin failures through an explicit business error.
   - Add regression coverage for offline, connection/timeout, and 
broker/ACL-style failures.
   
   ## Related work
   
   This is distinct from #786. #786 / #787 handle default unconfigured 
providers that throw `UnsupportedOperationException`; this issue covers the 
real `RocketMQAdminClientImpl` Admin call path.


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

Reply via email to