coderzc commented on PR #22011:
URL: https://github.com/apache/pulsar/pull/22011#issuecomment-1926868647

   > @coderzc A better fix is to remove the exception that is thrown when the 
rate limiter is closed. Simply return if it is closed. This could be logged at 
info level.
   > 
   > 
https://github.com/apache/pulsar/blob/82237d3684fe506bcb6426b3b23f413422e6e4fb/pulsar-common/src/main/java/org/apache/pulsar/common/util/RateLimiter.java#L178
   
   @lhotari Good idea, If the current RateLimiter is already shutdown, then we 
only return `true` and print the info log.


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