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 2021/04/28 08:36:40 UTC

[GitHub] [rocketmq] biuabiu opened a new issue #2845: DefaultMQProducer sendMsgTimeout It's not fully effective

biuabiu opened a new issue #2845:
URL: https://github.com/apache/rocketmq/issues/2845


   mq version :4.8.0
   os: windows 10
   
   **BUG REPORT**
   
   1. Please describe the issue you observed:
   I only set the timeout to 10 seconds, but when connecting to namesrv, the timeout results in the timeout of sending messages. I don't think this is a complete timeout of 10 seconds. Is this a bug
   
   2. Please tell us about your environment:
   
   3. Other information (e.g. detailed explanation, logs, related issues, suggestions how to fix, etc):
   `org.apache.rocketmq.remoting.exception.RemotingTimeoutException: wait response on the channel <127.0.0.1:9876> timeout, 3000(ms)
   	at org.apache.rocketmq.remoting.netty.NettyRemotingAbstract.invokeSyncImpl(NettyRemotingAbstract.java:440) ~[classes/:na]
   	at org.apache.rocketmq.remoting.netty.NettyRemotingClient.invokeSync(NettyRemotingClient.java:377) ~[classes/:na]
   	at org.apache.rocketmq.client.impl.MQClientAPIImpl.getTopicRouteInfoFromNameServer(MQClientAPIImpl.java:1367) ~[classes/:na]
   	at org.apache.rocketmq.client.impl.MQClientAPIImpl.getTopicRouteInfoFromNameServer(MQClientAPIImpl.java:1357) ~[classes/:na]
   	at org.apache.rocketmq.client.impl.factory.MQClientInstance.updateTopicRouteInfoFromNameServer(MQClientInstance.java:622) ~[classes/:na]
   	at org.apache.rocketmq.client.impl.factory.MQClientInstance.updateTopicRouteInfoFromNameServer(MQClientInstance.java:509) ~[classes/:na]
   	at org.apache.rocketmq.client.impl.producer.DefaultMQProducerImpl.tryToFindTopicPublishInfo(DefaultMQProducerImpl.java:694) ~[classes/:na]
   	at org.apache.rocketmq.client.impl.producer.DefaultMQProducerImpl.sendDefaultImpl(DefaultMQProducerImpl.java:557) ~[classes/:na]
   	at org.apache.rocketmq.client.impl.producer.DefaultMQProducerImpl.send(DefaultMQProducerImpl.java:1344) ~[classes/:na]
   	at org.apache.rocketmq.client.impl.producer.DefaultMQProducerImpl.send(DefaultMQProducerImpl.java:1290) ~[classes/:na]
   	at org.apache.rocketmq.client.producer.DefaultMQProducer.send(DefaultMQProducer.java:326) ~[classes/:na]`
   `topicRouteData = this.mQClientAPIImpl.getTopicRouteInfoFromNameServer(topic, 1000 * 3);`
   
   **FEATURE REQUEST**
   
   1. Please describe the feature you are requesting.
   
   2. Provide any additional detail on your proposed use case for this feature.
   
   2. Indicate the importance of this issue to you (blocker, must-have, should-have, nice-to-have). Are you currently using any workarounds to address this issue?
   
   4. If there are some sub-tasks using -[] for each subtask and create a corresponding issue to map to the sub task:
   
   - [sub-task1-issue-number](example_sub_issue1_link_here): sub-task1 description here, 
   - [sub-task2-issue-number](example_sub_issue2_link_here): sub-task2 description here,
   - ...
   


-- 
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



[GitHub] [rocketmq] panzhi33 commented on issue #2845: DefaultMQProducer sendMsgTimeout It's not fully effective

Posted by GitBox <gi...@apache.org>.
panzhi33 commented on issue #2845:
URL: https://github.com/apache/rocketmq/issues/2845#issuecomment-828896428


   This is caused by the failure to get topic route,when a timeout exception occurs, it will not be retried, and the exception will be thrown directly。The step of getting topic route is very important, this step failed, and the following process cannot continue.


-- 
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



[GitHub] [rocketmq] duhenglucky closed issue #2845: DefaultMQProducer sendMsgTimeout It's not fully effective

Posted by GitBox <gi...@apache.org>.
duhenglucky closed issue #2845:
URL: https://github.com/apache/rocketmq/issues/2845


   


-- 
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