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
世界上所有的不公平都是由于当事人能力不足造成的.
原文地址:https://www.cnblogs.com/javayida/p/13346928.html