启动 namesrv
nohup sh mqnamesrv &
启动broker
nohup sh mqbroker -c ../conf/eda_master1.properties &
查询当前namesrv的broker列表
sh mqadmin clusterList -n 134.130.13.123:9876
查看当前namesrv的所有topic
sh mqadmin topicList -n 134.130.13.123:9876
新建topic
sh mqadmin updateTopic -n 134.130.13.123:9876 -c edamq_innerTest_cluster -t frist
sh mqadmin updateTopic -n 134.130.13.123:9876 -c edamq_innerTest_cluster -t cgsecond -r 10 -w 10
删除topic
sh mqadmin deleteTopic -n 134.130.13.123:9876 -c edamq_innerTest_cluster -t cgsecond
查看Topic 统计信息
sh mqadmin topicStatus -n 134.130.13.123:9876 -t frist
查看Topic 路由信息
sh mqadmin topicRoute -n 134.130.13.123:9876 -t frist
查看Broker 统计信息
sh mqadmin brokerStatus -n 134.130.13.123:9876 -b 134.130.13.123:10811
创建(修订)订阅组
sh mqadmin updateSubGroup -n 134.130.13.123:9876 -g crmConusmerGroupName040 -c edamq_innerTest_cluster