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

   ### Motivation
   
   
   * Fix bug: If only topic-level replicator rate limiter set, the limiter will 
not be initialized
   
   ### Modifications
   
   *  Add the method 
`org.apache.pulsar.broker.service.Replicator#updateRateLimiter` to initialize 
or update  the replicator rate limiter.
   *  Use this method to initialize or update all level replicator rate limiter
   
   ### Verifying this change
   
   - [x] Make sure that the change passes the CI checks.
   
   
   This change added tests and can be verified as follows:
   
   *(example:)*
     - *Added UT 
`org.apache.pulsar.broker.service.ReplicatorRateLimiterTest#testReplicatorRateLimiterWithOnlyTopicLevel`
   
   
   ### Documentation
   - [x] `doc-not-needed` 
   (Please explain why)
     


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