You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "Gezi-lzq (via GitHub)" <gi...@apache.org> on 2023/08/09 07:00:56 UTC

[GitHub] [rocketmq-clients] Gezi-lzq commented on a diff in pull request #585: [ISSUE #132] docs: correct images and add explanation for Ack/ChangeInvisibleTime retry policy

Gezi-lzq commented on code in PR #585:
URL: https://github.com/apache/rocketmq-clients/pull/585#discussion_r1288036439


##########
docs/workflow.md:
##########
@@ -83,6 +83,10 @@ The receiving procedure is as follows:
 <img src="./artwork/message_consumption_in_push_consumer_non_FIFO.png" width="50%">
 </div>
 
+In PushConsumer, we provide retry policies for Ack/ChangeInvisibleTime to ensure the reliability of message processing.
+
+When calling ackMessage or changeInvisibleDuration methods, if receiving a non-OK response code, we will log the error and retry later. We will retry the method with an increasing attempt value until it succeeds. If receiving an INVALID_RECEIPT_HANDLE response code, we will not retry and directly return the exception to the caller.

Review Comment:
   The changes have been made, please help to check.



-- 
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: commits-unsubscribe@rocketmq.apache.org

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