开发者社区> 问答> 正文

ons No route info of this topic

谁遇到过这种问题。windows 调试时好时环
(https://yqfile.alicdn.com/82837b88abcd22be3627eeeb15afbdae59106d2c.png)

=====================================割====================================
我也遇到这个问题,报错:

com.aliyun.openservices.ons.api.exception.ONSClientException: defaultMQProducer send exception
Mon Jul 23 16:55:12 CST 2018 Send mq message failed. Topic is:heaven-mq-test

at com.aliyun.openservices.ons.api.impl.rocketmq.ProducerImpl.checkProducerException(ProducerImpl.java:226)
at com.aliyun.openservices.ons.api.impl.rocketmq.ProducerImpl.send(ProducerImpl.java:120)
at com.aliyun.openservices.tcp.heaven.producer.ProducerTest.main(ProducerTest.java:30)

Caused by: com.aliyun.openservices.shade.com.alibaba.rocketmq.client.exception.MQClientException: No route info of this topic, heaven-mq-test
See http://rocketmq.apache.org/docs/faq/ for further details.

at com.aliyun.openservices.shade.com.alibaba.rocketmq.client.impl.producer.DefaultMQProducerImpl.sendDefaultImpl(DefaultMQProducerImpl.java:565)
at com.aliyun.openservices.shade.com.alibaba.rocketmq.client.impl.producer.DefaultMQProducerImpl.send(DefaultMQProducerImpl.java:1081)
at com.aliyun.openservices.shade.com.alibaba.rocketmq.client.impl.producer.DefaultMQProducerImpl.send(DefaultMQProducerImpl.java:1035)
at com.aliyun.openservices.shade.com.alibaba.rocketmq.client.producer.DefaultMQProducer.send(DefaultMQProducer.java:214)
at com.aliyun.openservices.ons.api.impl.rocketmq.ProducerImpl.send(ProducerImpl.java:111)
... 1 more

Process finished with exit code 1

展开
收起
bcsix_ps 2018-01-03 11:22:02 9029 0
3 条回答
写回答
取消 提交回答
  • 同问 遇到这个问题

    2020-12-31 10:34:06
    赞同 展开评论 打赏
  • 同问

    2019-07-17 21:51:25
    赞同 展开评论 打赏
  • 楼主怎么解决的

    2019-07-17 21:51:25
    赞同 展开评论 打赏
问答分类:
问答地址:
问答排行榜
最热
最新

相关电子书

更多
In-Flux Limiting for a Multi-Tenant Logging Service 立即下载
Real-time Platform for Second Look Use Case using Spark and Kafka 立即下载
MongoShake -- Multi Active-Active and Cross-Region Disaster Recoverable MongoDB Service 立即下载