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 03:23:34 UTC

[GitHub] [rocketmq] sunxiaojian commented on a diff in pull request #4820: [ISSUE #4805]In the subscribe mode, user-defined MessageQueueListener is supported. At the same time, you can specify the offset that the MessageQueue will commit

sunxiaojian commented on code in PR #4820:
URL: https://github.com/apache/rocketmq/pull/4820#discussion_r953292604


##########
client/src/main/java/org/apache/rocketmq/client/consumer/LitePullConsumer.java:
##########
@@ -170,6 +187,12 @@ public interface LitePullConsumer {
      */
     void commitSync();
 
+    /**
+     * Offset specified by batch commit
+     * @param messageQueues
+     * @param persist
+     */
+    void commitSync(Map<MessageQueue, Long> messageQueues, boolean persist);

Review Comment:
   done



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