BewareMyPower commented on issue #424:
URL: 
https://github.com/apache/pulsar-client-cpp/issues/424#issuecomment-2096069428

   From the `markDeletePosition` you provided,
   
   ```
               "markDeletePosition": "17:1",
   ```
   
   it means the entry of `17:1` has been acknowledged. However, from the logs:
   
   ```
   Message with batch index: 190, of batch size: 309, ledger: 17, entry: 1, 
full message was: [...]
   2024-04-26 14:44:32.324 INFO  [3944048800] - 
<connectivity.pulsarTransport.my_dynamic_chain_instance> SUCCESS ACK - 
partition: -1, ledgerId: 17, entryId: 1, batchIndex: 190, topicName: 
persistent://public/default/ConnPlugincor24546ea9837f45e49629df60696e54502e4
   ```
   
   If you didn't acknowledge batch messages of the index range `[191, 309)`, 
then there must be something wrong with the `BitSet::clear` operations 
determined by the method you use (`acknowledge` or `acknowledgeCumulative`)
   
   
https://github.com/apache/pulsar-client-cpp/blob/3f0b33bfad746fd2da63fe062ea745d9a9caed55/lib/BatchMessageAcker.h#L74
   
   
https://github.com/apache/pulsar-client-cpp/blob/3f0b33bfad746fd2da63fe062ea745d9a9caed55/lib/BatchMessageAcker.h#L82
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to