Cczzzz opened a new issue #1813: message trace can't record  sendResult in 
async send 
URL: https://github.com/apache/rocketmq/issues/1813
 
 
   In the call  SendMessageHook,In the asynchronous case , The sending 
unfinished achievement has been called executeSendMessageHookAfter.in 
DefaultMQProducerImpl  846 line.
   ```
     if (this.hasSendMessageHook()) {
                       context.setSendResult(sendResult);
                       this.executeSendMessageHookAfter(context);
                   }
   
   ```
   call this hook ,just  complete call sendMessage,Maybe asynchronous hasn't 
responded yet,so you can`t get  sendResult , It is also called once after a 
normal successful call   executeSendMessageHookAfter, but if it in exception 
,not call executeSendMessageHookAfter.
   And no exceptions were recorded .Would you consider enhancing it
   
   
   
   
   

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


With regards,
Apache Git Services

Reply via email to