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/02/20 02:39:08 UTC

[GitHub] toto1297488504 opened a new issue #816: 使用官网rocketmq远程调用rocketmq4.4,出现错误(只有sync的正常),将版本jar包依赖都换成4.2的rocketmq,相同代码所有的都正常了

toto1297488504 opened a new issue #816: 使用官网rocketmq远程调用rocketmq4.4,出现错误(只有sync的正常),将版本jar包依赖都换成4.2的rocketmq,相同代码所有的都正常了
URL: https://github.com/apache/rocketmq/issues/816
 
 
   使用官网rocketmq远程调用rocketmq4.4,出现错误(只有sync的正常),将版本jar包依赖都换成4.2的rocketmq,相同代码所有的都正常了
   
   错误现象:
   Exception in thread "main" org.apache.rocketmq.client.exception.MQClientException: No route info of this topic, TopicTest
   See http://rocketmq.apache.org/docs/faq/ for further details.
   	at org.apache.rocketmq.client.impl.producer.DefaultMQProducerImpl.sendDefaultImpl(DefaultMQProducerImpl.java:564)
   	at org.apache.rocketmq.client.impl.producer.DefaultMQProducerImpl.send(DefaultMQProducerImpl.java:420)
   	at org.apache.rocketmq.client.impl.producer.DefaultMQProducerImpl.send(DefaultMQProducerImpl.java:414)
   	at org.apache.rocketmq.client.producer.DefaultMQProducer.send(DefaultMQProducer.java:255)
   	at AsyncProducer.main(AsyncProducer.java:29)
   
   
   尝试过程:
   1、关闭远程Rocketmq4.4所在机器的防火墙
   2、设置topic权限为6
   3、安装在windows下,分别尝试4.3,4.4,4.2版本(安装方式:https://www.jianshu.com/p/4a275e779afa),最终发现只有4.2版本正常。
   4、修改远程Centos7下的rocketmq /bin/ runbroker.sh中的内存大小
   5、使用rocketmq-console 管理和监控过程。(另外,rocketmq-console中的源码要修改rocketmq的jar版本为正式release的版本,而不是githup中的版本才可以正常运行rocketmq-console)
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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