Instead of keeping a separate redelivery tracker, would it be possible to reuse 
the `pendingAcks` maps on the `Consumer` class?

`pendingAcks` is a map for which the key is a pair longs and the value is a 
pair of longs as well. 

`(ledgerId, entryId) --> (batchSize, none)`

As you can see, the second `long` field in the value is currently unused. We 
could keep the counter there.

[ Full content available at: 
https://github.com/apache/incubator-pulsar/pull/2508 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to