codelipenghui opened a new pull request #9182:
URL: https://github.com/apache/pulsar/pull/9182


   ### Motivation
   
   Fix incoming message size issue that introduced in #9113. We should decrease 
the incoming message size when taking messages from the queue and increase the 
incoming message size while adding messages to the queue. With #9113, will 
always increase the incoming queue size.
   
   ### Modifications
   
   Add method `increaseIncomingSize` and `decreaseIncomingSize`
   
   ### Verifying this change
   
   Add a new test for verifying the incoming message size should be zero while 
the incoming queue size is zero.
   
   ### Does this pull request potentially affect one of the following parts:
   
   *If `yes` was chosen, please highlight the changes*
   
     - Dependencies (does it add or upgrade a dependency): (no)
     - The public API: (no)
     - The schema: (no)
     - The default values of configurations: (no)
     - The wire protocol: (no)
     - The rest endpoints: (no)
     - The admin cli options: (no)
     - Anything that affects deployment: (no)
   
   ### Documentation
   
     - Does this pull request introduce a new feature? (no)
   


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


Reply via email to