xljnc opened a new issue #2909:
URL: https://github.com/apache/rocketmq/issues/2909


   按文档说的,配置了retryTimesWhenSendFailed,那消息发送失败的时候,会进行重试,
   DefaultMQProducerImpl的sendDefaultImpl方法中会根据这个配置计算重试次数。
   但是在调用sendKernelImpl获取到SendResult后,判断发送模式,为同步模式时,而且sendResult.getSendStatus() 
!= SendStatus.SEND_OK,我的理解应该要进行重试,但是代码还要判断是否重试另一个broker
       if (this.defaultMQProducer.isRetryAnotherBrokerWhenNotStoreOK()) {
                                           continue;
                                       }
    return sendResult;
   这个配置默认为false,而且单broker的情况下也没有配置的意义(选择queue时)。相当于默认情况下,即便配置了重试次数,
   也不会进行重试?请问这是设计原因还是代码缺陷?


-- 
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:
[email protected]


Reply via email to