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/11/12 07:34:06 UTC

[GitHub] [rocketmq] xiangwangcheng opened a new issue #1588: Retry doesn't work when sending msg in aync mode(eg. when broker is down)

xiangwangcheng opened a new issue #1588: Retry doesn't work when sending msg in aync mode(eg. when broker is down)
URL: https://github.com/apache/rocketmq/issues/1588
 
 
   **BUG REPORT**
   
   1. Please describe the issue you observed:
   When sending messages in async mode,  the retry times is set to be 1. The code is below:
   
   ![image](https://user-images.githubusercontent.com/8049014/68650700-9bf8e200-0560-11ea-94c0-a924e372b3b1.png)
   
   And if the chosen broker is down at that moment, messages sending will fail with no retry.
   
   - What did you do (The steps to reproduce)?
   1. Send messages in async mode.
   2. Pause the code after choosing a queue(Before really sending it)
   3. shutdown the chosen broker
   4. continue the code
   - What did you expect to see?
   The producer will retry another broker/queue.
   - What did you see instead?
   The producer throw exception without retrying.
   2. Please tell us about your environment:
   RMQ 4.6.0
   3. Other information (e.g. detailed explanation, logs, related issues, suggestions how to fix, etc):
   

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