rocketmq保错No route info of this topic, test-topic-1

我用的是3.5.8的老版本的rocketmq启动报错:没有topic,百度发现,原来老版本启动需要指定autoCreateTopicEnable=true
自己记录一下rocketmq启动:

先启动mynameserver

在启动mqbroker的时候需要指定autoCreateTopicEnable=true。例如:

nohup sh mqbroker -n localhost:9876 autoCreateTopicEnable=true > ~/logs/rocketmqlogs/broker.log 2>&1 &

window系统下:
在window系统下需要在cmd中启动mqbroker才行。命令格式如下:

mqbroker.exe -n localhost:9876 autoCreateTopicEnable=true
posted @ 2019-06-23 18:28  你就像甜甜的益达  阅读(1339)  评论(0编辑  收藏  举报