jiazhai opened a new pull request #5710: Add publish rate limit for each broker 
to avoid OOM
URL: https://github.com/apache/pulsar/pull/5710
 
 
   
   Fixes #5513 
   
   ### Motivation
   
   Through #3985, user could set the publish rate for each topic, but the topic 
number for each broker is not limited, so there is case that a lot of topics 
served in same broker, and if each topic send too many message, it will cause 
the messages not able to send to BookKeeper in time,  and messages be hold in 
the direct memory of broker.  And cause Broker out of direct memory.
   
   ### Modifications
   
   - add broker publish rate limit base on #3985,
   - add unit test.
   
   ### Verifying this change
   unit test passed.

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


With regards,
Apache Git Services

Reply via email to