rdhabalia opened a new pull request #634: Introduce message-dispatch rate limiting URL: https://github.com/apache/incubator-pulsar/pull/634 ### Motivation As discussed in [PIP](https://github.com/apache/incubator-pulsar/wiki/PIP-3:-Message-dispatch-throttling), adding message-rate limiting to throttle message-dispatching. ### Modifications - add rate-limiting while dispatching message for shared and exclusive/failOver subscription. - added [RateLimiter](https://github.com/rdhabalia/pulsar/blob/07b0911c22f2a915434dc9c7469f68cde878327d/pulsar-common/src/main/java/org/apache/pulsar/common/util/RateLimiter.java) to [achieve per-second rate-limiting and also faster compare to others.](https://gist.github.com/rdhabalia/324519648b8a1008ef49d30c8f4a8bf2) - admiApi to set msg-rate at namespace and cluster level ### Result Broker can throttle message-dispatching at topic level. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org
With regards, Apache Git Services