今天就跟大家聊聊有关RocketMQ Cluster命令是怎样的,可能很多人都不太了解,为了让大家更加了解,小编给大家总结了以下内容,希望大家根据这篇文章可以有所收获。
1.查看集群信息
bin/mqadmin clusterList -n localhost:9876
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option PermSize=128m; support was removed in 8.0
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=128m; support was removed in 8.0
Cluster Name Broker Name BID Addr Version InTPS OutTPS
AdpMqCluster broker-a 0 192.168.1.x:10911 V3_4_6 2819.22 1077.39
AdpMqCluster broker-b 0 192.168.1.x:10911 V3_4_6 2839.42 1070.89
AdpMqCluster broker-c 0 192.168.1.x:10919 V3_4_6 2800.12 1058.39
AdpMqCluster broker-d 0 192.168.1.x:10915 V3_4_6 2897.04 1126.04
AdpMqCluster broker-e 0 192.168.1.x:10919 V3_4_6 2987.20 1181.88
AdpMqCluster broker-f 0 192.168.1.x:10915 V3_4_6 3010.40 1187.08
2.创建Topic
bin/mqadmin updateTopic -n localhost:9876 -c DefaultCluster -t zto-example
3.删除Topic
bin/mqadmin deleteTopic -n localhost:9876 -c DefaultCluster -t zto-example
看完上述内容,你们对RocketMQ Cluster命令是怎样的有进一步的了解吗?如果还想了解更多知识或者相关内容,请关注天达云行业资讯频道,感谢大家的支持。