windowrocketmq保错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

猜你喜欢

转载自blog.csdn.net/qq_38366063/article/details/93395643