You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2019/10/05 12:21:29 UTC

[GitHub] [rocketmq] beijing-penguin removed a comment on issue #504: No route info of this topic problem

beijing-penguin removed a comment on issue #504: No route info of this topic problem
URL: https://github.com/apache/rocketmq/issues/504#issuecomment-537319227
 
 
   建议main方法中代码设置config的优先级,应该大于控制台的传参。。。。而且哪怕我broker设置失效了,,,namesrv.log日志抛出一段诡异的exceptionCaught 127.0.0.1:49195   这种异常,rocketmq_client.log也只是抛出org.apache.rocketmq.client.exception.MQClientException: CODE: 17  DESC: No topic route info in name server for the topic: TopicTest
   See http://rocketmq.apache.org/docs/faq/ for further details.     这也不是本次操作失败的主要原因啊,主要是broker连接namesrv失败,get不到topic信息,而不是这里的No topic route info in name server for the topic。。。。建议服务端日志和client异常提示能够透明点。不要只是抛No route info of this topic problem。。应该把完整的连接错误和其他相关异常堆栈一起抛出来。  
   
   而且我broker启动的时候,本来就没连上namesrv的情况下,也应该给出warn或者error级别的提示信息。。现在默认只打印出来The broker[WIN-FMHILLP1PVS, localhost:10911] boot success. serializeType=ROCKETMQ and name server is localhost:8888,,只有success成功信息。
   没有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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services