当前位置: 首页 > 工具软件 > OFTest > 使用案例 >

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

洪琦
2023-12-01

我用的是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
 类似资料: