命令:sh mqadmin updatetopic -n mq服务器所在地址 -c 进群组名 -t topic名字
查看进群组名:
1.ps -ef|grep rocketmq 查看用的是哪个配置项
2. vim /usr/local/rocketmq/conf/2m-noslave/broker-b.properties
其中 AdpMqCluster便是进群组名
例:
sh mqadmin updatetopic -n 192.168.3.118:9876 -c AdpMqCluster -t topic_topic