You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by GitBox <gi...@apache.org> on 2022/10/20 07:17:20 UTC

[GitHub] [rocketmq] codersfarm commented on issue #5315: DefaultLitePullConsumerImpl's persistConsumeOffset method should not be called by MQClientInstance if DefaultLitePullConsumerImpl disable autoCommit

codersfarm commented on issue #5315:
URL: https://github.com/apache/rocketmq/issues/5315#issuecomment-1285057220

   if disable autoCommit,the bleow code in MQClientInstance should be disable?
   ```
   this.scheduledExecutorService.scheduleAtFixedRate(new Runnable() {
   
               @Override
               public void run() {
                   try {
                       MQClientInstance.this.persistAllConsumerOffset();
                   } catch (Exception e) {
                       log.error("ScheduledTask persistAllConsumerOffset exception", e);
                   }
               }
           }, 1000 * 10, this.clientConfig.getPersistConsumerOffsetInterval(), TimeUnit.MILLISECONDS);
   ```


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