rocketmq生产消息的时候报错:
Exception org.apache.rocketmq.client.exception.MQClientException: No route info of this topic, TopicTest
See http://rocketmq.apache.org/docs/faq/ for further details.
修改broker启动方式:
F:\Program\rocketmq\rocketmq-all-4.3.2-bin-release\bin>mqbroker.cmd -n localhost
:9876 autoCreateTopicEnable=true
原因:需要加入autoCreateTopicEnable参数,自动创建生产者中指定的topic