Metastarx opened a new pull request, #11473:
URL: https://github.com/apache/rocketmq/pull/11473

   ### Which Issue(s) This PR Fixes
   
   - Fixes #11472
   
   ### Brief Description
   
   Existing mqadmin topic commands only expose routing, queue counts, or 
offsets, so users cannot inspect the TopicConfig actually stored on a broker. I 
added a getTopicConfig subcommand that requires a topic and optionally targets 
one broker or an entire cluster, falling back to brokers registered in the name 
server when neither target is supplied. It prints queue counts, decoded 
permissions, filter type, system flag, order state, attributes, and 
static-topic mapping details, and skips brokers where the topic is absent. I 
also registered the command, documented its syntax in both CLI guides, and 
added mocked broker/name-server tests covering option validation, direct 
execution, clustered execution, all-broker execution, and a broker without 
topic configuration.
   
   ### How Did You Test This Change?
   
   `mvn test -pl tools` - passed (Tests run: 176, Failures: 0, Errors: 0, 
Skipped: 5)


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