poorbarcode opened a new pull request, #24799:
URL: https://github.com/apache/pulsar/pull/24799

   ### Motivation
   
   See the PIP-434
   - https://github.com/apache/pulsar/pull/24510
   
   ### Modifications
   - Use `ServerCnxThrottleTracker`, instead of modifying `channel.readable` 
directly
   - Changes of `ServerCnxThrottleTracker`
     - Merge multiple tracker states into one.
     - Split the counter for each throttling type, to avoid them affecting each 
other, and make troubleshooting easier.
     - Instead of modifying per tracker state with CAS, let all changes in the 
same thread(`pulsar-io-thread`)
     - Add a new test to confirm that the limited state will be resumed after a 
period of the rate limiter, even though the producer was closed
   
   ### Documentation
   
   <!-- DO NOT REMOVE THIS SECTION. CHECK THE PROPER BOX ONLY. -->
   
   - [ ] `doc` <!-- Your PR contains doc changes. -->
   - [ ] `doc-required` <!-- Your PR changes impact docs and you will update 
later -->
   - [x] `doc-not-needed` <!-- Your PR changes do not impact docs -->
   - [ ] `doc-complete` <!-- Docs have been already added -->
   
   ### Matching PR in forked repository
   
   PR in forked repository: x
   


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