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

I use the old version 3.5.8 of rocketmq start error: no topic, Baidu discovered that the old version of the boot need to specify autoCreateTopicEnable = true
record yourself rocketmq start:

First start mynameserver

Need to specify autoCreateTopicEnable = true when starting the mqbroker. E.g:

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

Under window system:
need to start mqbroker job in cmd in the window system. Command format is as follows:

mqbroker.exe -n localhost:9876 autoCreateTopicEnable=true

Guess you like

Origin blog.csdn.net/qq_38366063/article/details/93395643