Rocketmq 常用命令

Rocketmq 常用命令

创建主题

D:\softInstall\rocketmq-all-4.2.0-bin-release\bin>mqadmin.cmd updateTopic -n 127.0.0.1:9876 -b 127.0.0.1:10911 -t TopicTestkevin
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
create topic to 127.0.0.1:10911 success.
TopicConfig [topicName=TopicTestkevin, readQueueNums=8, writeQueueNums=8, perm=RW-, topicFilterType=SINGLE_TAG, topicSysFlag=0, order=false]
D:\softInstall\rocketmq-all-4.2.0-bin-release\bin>

mqadmin.cmd topicList -n 127.0.0.1:9876

查看主题

D:\softInstall\rocketmq-all-4.2.0-bin-release\bin>mqadmin.cmd topicList -n 127.0.0.1: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
userStatusMessage
xmppMessage
kevin
pushMessage
%RETRY%userStatusProducer
BenchmarkTest
OFFSET_MOVED_EVENT
TBW102
DESKTOP-FE63KJG
SELF_TEST_TOPIC
DefaultCluster

D:\softInstall\rocketmq-all-4.2.0-bin-release\bin>
发布了95 篇原创文章 · 获赞 50 · 访问量 10万+

猜你喜欢

转载自blog.csdn.net/jc0803kevin/article/details/100701287
今日推荐