codelipenghui commented 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.
   
   ```
   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:
[email protected]


With regards,
Apache Git Services

Reply via email to