BewareMyPower opened a new pull request, #128:
URL: https://github.com/apache/pulsar-client-cpp/pull/128

   ### Motivation
   
   When `ackGroupingTimeMs` is 0, `AckGroupingTrackerDisabled` will be created 
to acknowledge messages immediately. However, since the `addAcknowledgeList` 
method is not implemented in #23, it doesn't work.
   
   ### Modifications
   
   Implement `AckGroupingTrackerDisabled::addAcknowledgeList`. Move the 
protocol version validation from `AckGroupingTrackerEnabled` to the base class 
`AckGroupingTracker` so that the `doImmediateAck` overload that accepts 
`std::set<MessageId>` can be reused.
   
   Add testing params to `testAckMsgList` and
   `testAckMsgListWithMultiConsumer` so that various `ackGroupingTimeMs` can be 
verified.
   
   ### Documentation
   
   <!-- DO NOT REMOVE THIS SECTION. CHECK THE PROPER BOX ONLY. -->
   
   - [ ] `doc-required` 
   (Your PR needs to update docs and you will update later)
   
   - [x] `doc-not-needed` 
   (Please explain why)
   
   - [ ] `doc` 
   (Your PR contains doc changes)
   
   - [ ] `doc-complete`
   (Docs have been already added)
   


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