You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "wrote-code (via GitHub)" <gi...@apache.org> on 2024/04/09 18:52:29 UTC
[I] 按照官网文档无法正常收发消息,报错No topic route info in name server for the topic [rocketmq]
wrote-code opened a new issue, #8009:
URL: https://github.com/apache/rocketmq/issues/8009
### Search before creation
- [X] I had searched in the [issues](https://github.com/apache/rocketmq/issues) and found no similar issues.
### Documentation Related
按官方文档操作无法收发消息,消费端启动后报错在管理端查看消息详情显示No topic route info in name server for the topic,具体可以查看[讨论](https://github.com/apache/rocketmq/discussions/8008)。
官网文档里的使用工具测试收发是[消费者](https://github.com/apache/rocketmq/blob/develop/example/src/main/java/org/apache/rocketmq/example/quickstart/Consumer.java)和[生产者](https://github.com/apache/rocketmq/blob/develop/example/src/main/java/org/apache/rocketmq/example/quickstart/Producer.java),这两个代码拉到本地可以正常收发,且不需要提前创建主题。使用Producer.java创建的主题,用sdk可以正常收发,但是在管理端和命令行创建的主题无法使用sdk收发消息,报错No topic route info in name server for the topic
### Are you willing to submit PR?
- [ ] Yes I am willing to submit a PR!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] 按照官网文档无法正常收发消息,报错No topic route info in name server for the topic [rocketmq]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #8009: 按照官网文档无法正常收发消息,报错No topic route info in name server for the topic
URL: https://github.com/apache/rocketmq/issues/8009
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] 按照官网文档无法正常收发消息,报错No topic route info in name server for the topic [rocketmq]
Posted by "memorizeDreamer (via GitHub)" <gi...@apache.org>.
memorizeDreamer commented on issue #8009:
URL: https://github.com/apache/rocketmq/issues/8009#issuecomment-2058627413
要改两行代码才能跑起来,要把注释去掉


--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] 按照官网文档无法正常收发消息,报错No topic route info in name server for the topic [rocketmq]
Posted by "wrote-code (via GitHub)" <gi...@apache.org>.
wrote-code commented on issue #8009:
URL: https://github.com/apache/rocketmq/issues/8009#issuecomment-2045873000
我怀疑官网使用sdk收发消息的代码压根就没有测试,或者只能在特定条件下通过测试。写代码这么多年第一次碰到抄文档跑不动hello world的产品。

--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] 按照官网文档无法正常收发消息,报错No topic route info in name server for the topic [rocketmq]
Posted by "cpupg (via GitHub)" <gi...@apache.org>.
cpupg commented on issue #8009:
URL: https://github.com/apache/rocketmq/issues/8009#issuecomment-2059177643
> 要改两行代码才能跑起来,要把注释去掉  
https://github.com/apache/rocketmq/discussions/8008#discussioncomment-9130655
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] 按照官网文档无法正常收发消息,报错No topic route info in name server for the topic [rocketmq]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #8009:
URL: https://github.com/apache/rocketmq/issues/8009#issuecomment-2811283077
This issue is stale because it has been open for 365 days with no activity. It will be closed in 3 days if no further activity occurs.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] 按照官网文档无法正常收发消息,报错No topic route info in name server for the topic [rocketmq]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #8009:
URL: https://github.com/apache/rocketmq/issues/8009#issuecomment-2816915353
This issue was closed because it has been inactive for 3 days since being marked as stale.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] 按照官网文档无法正常收发消息,报错No topic route info in name server for the topic [rocketmq]
Posted by "cpupg (via GitHub)" <gi...@apache.org>.
cpupg commented on issue #8009:
URL: https://github.com/apache/rocketmq/issues/8009#issuecomment-2058974061
> 要改两行代码才能跑起来,要把注释去掉  
图片里不是sdk里的,用[sdk](https://rocketmq.apache.org/zh/docs/quickStart/01quickstart#5-sdk%E6%B5%8B%E8%AF%95%E6%B6%88%E6%81%AF%E6%94%B6%E5%8F%91)里的代码发不出去,并且不能没有方法设置namesrv。
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org