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 2022/08/24 11:14:58 UTC

[GitHub] [rocketmq] lizhanhui commented on pull request #4881: send async,time calculation rules Multiple method patches

lizhanhui commented on PR #4881:
URL: https://github.com/apache/rocketmq/pull/4881#issuecomment-1225578809

   @15712852007 1, The synchronous path shall also be updated; 2, For async method, we should have a timer, helping to respect timeout specified by the method.  
   For the async send, its workflow should be
   1. client call async method;
   2. create a timeout timer;
   3. invoke async rpc; perform transparent retries if timeout is not reached;
   4. if RPC is successful within time frame, cancel the timer; if timeout timer fires, call callback with timeout; 
   


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

To unsubscribe, e-mail: dev-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org