You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2020/02/03 04:30:57 UTC

[GitHub] [pulsar] codelipenghui edited a comment on issue #6157: Failing to cumulative acknowledge messages as old as 15 seconds

codelipenghui edited a comment on issue #6157: Failing to cumulative acknowledge messages as old as 15 seconds
URL: https://github.com/apache/pulsar/issues/6157#issuecomment-581232095
 
 
   @youurayy I'm not sure the acknowledge request is sent.
   
   ```java
   if (++msgAckDelayCounter == 15) {
           V3.log("msg", "acknowledging message id", "messageId", Pulsar.msgIdToHex(firstMsgIdToAck));
           consumer.acknowledgeCumulativeAsync(firstMsgIdToAck);
           firstMsgIdToAck = null;
           msgAckDelayCounter = 0;
         }
   ```
   I notice that sending 15 messages from the log, `msgAckDelayCounter` can't reach 15 right?

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services