lanfunoe opened a new issue, #10282:
URL: https://github.com/apache/rocketmq/issues/10282

   ### Before Creating the Bug Report
   
   - [x] I found a bug, not just asking a question, which should be created in 
[GitHub Discussions](https://github.com/apache/rocketmq/discussions).
   
   - [x] I have searched the [GitHub 
Issues](https://github.com/apache/rocketmq/issues) and [GitHub 
Discussions](https://github.com/apache/rocketmq/discussions)  of this 
repository and believe that this is not a duplicate.
   
   - [x] I have confirmed that this bug belongs to the current repository, not 
other repositories of RocketMQ.
   
   
   ### Runtime platform environment
   
   Alpine Linux v3.23
   
   ### RocketMQ version
   
   version 5.4.0
   
   ### JDK Version
   
   _No response_
   
   ### Describe the Bug
   
   For the mqadmin queryMsgById command, the proxy does not support it. The 
broker supports it, but the broker cannot perceive consumers, so an error will 
be reported. This command should not be retained.
   
   ```
   ip:/home/rocketmq/rocketmq-5.4.0.0/bin# ./mqadmin consumerConnection -n 
ip:9876 -g GROUP-1                         
     org.apache.rocketmq.tools.command.SubCommandException: 
ConsumerConnectionSubCommand command failed                                     
             at 
org.apache.rocketmq.tools.command.connection.ConsumerConnectionSubCommand.execute(ConsumerConnectionSubCommand.java:100)
    
             at 
org.apache.rocketmq.tools.command.MQAdminStartup.main0(MQAdminStartup.java:178) 
                                            
             at 
org.apache.rocketmq.tools.command.MQAdminStartup.main(MQAdminStartup.java:128)  
                                            
     Caused by: org.apache.rocketmq.client.exception.MQBrokerException: CODE: 
206  DESC: the consumer group[GROUP-1] not online BROKER:    
   ip:10911                                                                     
                                                
     For more information, please visit the url, 
https://rocketmq.apache.org/docs/bestPractice/06FAQ                             
           
             at 
org.apache.rocketmq.client.impl.MQClientAPIImpl.getConsumerConnectionList(MQClientAPIImpl.java:1773)
                        
             at 
org.apache.rocketmq.tools.admin.DefaultMQAdminExtImpl.examineConsumerConnectionInfo(DefaultMQAdminExtImpl.java:609)
         
             at 
org.apache.rocketmq.tools.admin.DefaultMQAdminExt.examineConsumerConnectionInfo(DefaultMQAdminExt.java:326)
                 
             at 
org.apache.rocketmq.tools.command.connection.ConsumerConnectionSubCommand.execute(ConsumerConnectionSubCommand.java:71)
     
             ... 2 more 
   ``
   
   ### Steps to Reproduce
   
   
     ```
   sh bin/mqadmin queryMsgById \
       -n <namesrvAddr> \
       -t <topic> \
       -i  <msgid> \
       -g <GROUP> \
       -d <client>
   ```
   
   ### What Did You Expect to See?
   
   The code involved in this command should be deleted.
   
   ### What Did You See Instead?
   
   Contains a large amount of invalid code and commands.
   
   
   
   ### Additional Context
   
   _No response_


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