#创建更新主题(updateTopic)
./mqadmin updateTopic -b 127.0.0.1:10911 -t TopicCmd

#删除主题(deleteTopic)
./mqadmin deleteTopic -n 127.0.0.1:9876 -c 127.0.0.1:10911 -t TopicCmd

#创建更新消费组(updateSubGroup)
./mqadmin updateSubGroup -n 127.0.0.1:9876 -b 127.0.0.1:10911 -g GroupTest

#删除消费组(deleteSubGroup)
./mqadmin deleteSubGroup -n 127.0.0.1:9876 -b 127.0.0.1:10911 -g GroupTest

#主题队列信息(topicStatus)
./mqadmin topicStatus -n 127.0.0.1:9876 -t TopicTest

#主题路由信息(topicRoute)
./mqadmin topicRoute -n 127.0.0.1:9876 -t TopicTest

#主题列表(topicList)
./mqadmin topicList -n 127.0.0.1:9876

#Broker节点信息(brokerStatus)
./mqadmin brokerStatus -n 127.0.0.1:9876 -b 127.0.0.1:10911

#通过KEY查询消息(queryMsgByKey)
./mqadmin queryMsgByKey -n 127.0.0.1:9876 -k 2000000 -t TopicTest

#通过KEY查询消息(queryMsgByKey)
./mqadmin queryMsgByKey -n 127.0.0.1:9876 -k 2000000 -t TopicTest

#打印消息(printMsg)
./mqadmin printMsg -n 127.0.0.1:9876 -t TopicTest -b 2019-07-26#07:50:00:000 -e 2019-07-26#09:00:00:000

#查看消费状态(brokerConsumeStats)
./mqadmin brokerConsumeStats -b 127.0.0.1:10911

#集群的节点信息(clusterList)
./mqadmin clusterList -n 127.0.0.1:9876

#总体的消费的状态信息(statsAll)
./mqadmin statsAll -n 127.0.0.1:9876

#查看消费组下的消费者信息(consumerConnection)
./mqadmin consumerConnection -n 127.0.0.1:9876 -g group_name_1

#消费进度信息(consumerProgress)
./mqadmin consumerProgress -n 127.0.0.1:9876

#消费进度信息(consumerProgress)
./mqadmin consumerProgress -n 127.0.0.1:9876

#消息队列负载情况(allocateMQ)
./mqadmin allocateMQ -t TopicTest -i 127.0.0.1 -n 127.0.0.1:9876

#测试Broker接收消息的性能(sendMsgStatus)
./mqadmin sendMsgStatus -n 127.0.0.1:9876 -b broker-a -c 3

#测试Broker接收消息的性能(sendMsgStatus)
./mqadmin sendMsgStatus -n 127.0.0.1:9876 -b broker-a -c 3

#查看Broker配置信息(getBrokerConfig)
./mqadmin getBrokerConfig -b 127.0.0.1:10911

posted on 2022-10-09 11:35  爱技术努力学技术  阅读(1426)  评论(0编辑  收藏  举报