315157973 opened a new pull request #8235:
URL: https://github.com/apache/pulsar/pull/8235


   Fixes #8222 
   
   ### Motivation
   Currently, we can set up the publish rate limitation of the topic by user 
pulsar-admin. It's better to introduce a broker level setting as the default 
setting. The namespace level setting can rewrite the broker level setting.
   
   ### Modifications
   1)Add `maxPublishRatePerTopicInMessages` and `maxPublishRatePerTopicInBytes` 
in the broker.conf
   2)Add `RemovePublishRate` API for namespace
   3)The priority of the policies is modified to topic-level > namespace-level 
> broker-level
   
   ### Verifying this change
   TopicPoliciesTest#testPublishRateInDifferentLevelPolicy


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