AnonHxy opened a new pull request #14890:
URL: https://github.com/apache/pulsar/pull/14890


   
   ### Motivation
   
    update broker-level subscribe-rate limter
   
   ### Modifications
   - Invoked` 
org.apache.pulsar.broker.service.BrokerService#registerConfigurationListener` 
to register listeners
   about `subscribeThrottlingRatePerConsumer` and 
`subscribeRatePeriodPerConsumerInSecond`
   -  Also add 
`org.apache.pulsar.broker.service.AbstractTopic#updateSubscribeRate` to update 
subscribe rate
   
   
   ### Verifying this change
   
   - [x] Make sure that the change passes the CI checks.
   
   This change added tests and can be verified as follows:
   
     - Added UT class `org.apache.pulsar.broker.service.SubscribeRateTest`
   
   ### Does this pull request potentially affect one of the following parts:
   
     - Dependencies (does it add or upgrade a dependency): (no)
     - The public API: (no)
     - The schema: (no)
     - The default values of configurations: (no)
     - The wire protocol: (no)
     - The rest endpoints: (no)
     - The admin cli options: (no)
     - Anything that affects deployment: (no)
   
   ### Documentation
     
   - [x] `no-need-doc` 
   
   
   


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