运行下面的代码报异常
public static final String NAMESRV_ADDR = "129.204.5.113:9876";
Exception in thread "main" org.apache.rocketmq.client.exception.MQClientException: No route info of this topic, test_quick_topic
See http://rocketmq.apache.org/docs/faq/ for further details.
at org.apache.rocketmq.client.impl.producer.DefaultMQProducerImpl.sendDefaultImpl(DefaultMQProducerImpl.java:634)
at org.apache.rocketmq.client.impl.producer.DefaultMQProducerImpl.send(DefaultMQProducerImpl.java:1253)
at org.apache.rocketmq.client.impl.producer.DefaultMQProducerImpl.send(DefaultMQProducerImpl.java:1203)
at org.apache.rocketmq.client.producer.DefaultMQProducer.send(DefaultMQProducer.java:214)
at com.zcl.rocketmq.quickstart.Producer.main(Producer.java:30)
但是这个队列已经存在。
使用telnet 命令也可以连接上。
这个问题已经纠结很久了。希望老师能指点一下哪里有毛病。也查看过broker.log。是正常启动的。
10.1k 15
10.1k 15
1.2k 11
1.1k 7
1.1k 6