查看帮助

sh bin/mqadmin deleteSubGroup
usage: mqadmin deleteSubGroup [-b <arg>] [-c <arg>] -g <arg> [-h] [-n <arg>]
 -b,--brokerAddr <arg>    delete subscription group from which broker
 -c,--clusterName <arg>   delete subscription group from which cluster
 -g,--groupName <arg>     subscription group name
 -h,--help                Print help
 -n,--namesrvAddr <arg>   Name server address list, eg: 192.168.0.1:9876;192.168.0.2:9876

中文说明

指令:deleteSubGroup
类路径:com.alibaba.rocketmq.tools.command.consumer.DeleteSubscriptionGroupCommand
参数:
-b:如果–c为空,则必填,broker地址,表示订阅组建在该broker
-c:如果–b为空,则必填,cluster名称,表示topic建在该集群(集群可通过clusterList查询
-g:必填,订阅组名
-h:否,打印帮助
-n:是,nameserve服务地址列表,格式ip:port;ip:port;...

命令示例

sh bin/mqadmin deleteSubGroup -c testmq -g testgroup -n 192.168.0.1:9876