RocketMQ路由错误

如果报com.alibaba.rocketmq.client.exception.MQClientException: No route info of this topic, TopicTest1
See https://github.com/alibaba/RocketMQ/issues/264 for further details.
at com.alibaba.rocketmq.client.impl.producer.DefaultMQProducerImpl.sendDefaultImpl(DefaultMQProducerImpl.java:570)
at com.alibaba.rocketmq.client.impl.producer.DefaultMQProducerImpl.send(DefaultMQProducerImpl.java:972)
at com.alibaba.rocketmq.client.producer.DefaultMQProducer.send(DefaultMQProducer.java:109)
at com.ruishenh.rocketmq.example.Producer.main(Producer.java:43)

这是因为启动broker需要 mqbroker.exe -n localhost:9876,而不是双击 mqbroker.exe

 

 

原文地址:http://blog.csdn.net/zshake/article/details/42737167

你可能感兴趣的:(RocketMQ)