wangjialing218 opened a new pull request #11325: URL: https://github.com/apache/pulsar/pull/11325
### Motivation Fixes #7720 Current we support broker level publish rate limiter. This PR will add broker level dispatch rate limiter. ### Modifications Add broker level dispatch rate limiter for msgs and bytes. Refact calculateToRead() to reduce duplicate code. ### Verifying this change Add testBrokerBytesRateLimitingReceiveAllMessagesAfterThrottling() -- 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: commits-unsubscr...@pulsar.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org