1. 查看所有topic :
-n:指定nameserver
sh mqadmin topicList -n 192.168.1.30:9876
2. 查看所有消费组group
sh mqadmin consumerProgress -n 192.168.1.30:9876
3. 查询集群状态
sh mqadmin clusterList -n 192.168.1.30:9876
4. 查看消息
-t 指定topic
sh mqadmin printMSg -n 192.168.1.30:9876 -t log-topic