lordcheng10 opened a new pull request #14515:
URL: https://github.com/apache/pulsar/pull/14515


   ### Modifications
   issue: https://github.com/apache/pulsar/issues/14268
   
   In order to optimize memory consumption, in the consumer class, the map used 
by the pendingAcks variable needs to support automatic shrink.
   
   The original pendingAcks variable is defined by the 
ConcurrentLongLongPairHashMap class of bookkeeper. In order to be independent 
of the bookkeeper release version, this class is extracted into pulsar as a 
common class, similar to the ConcurrentLongHashMap class.
   
   See the PR corresponding to bookkeeper: 
https://github.com/apache/bookkeeper/pull/3061.
   
   
   ### Documentation
   
   Check the box below or label this PR directly (if you have committer 
privilege).
   
   Need to update docs? 
   
   - [ ] `doc-required` 
     
     (If you need help on updating docs, create a doc issue)
     
   - [x] `no-need-doc` 
     
     (Please explain why)
     
   - [ ] `doc` 
     
     (If this PR contains doc changes)
   
   
   


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