Technoboy- commented on code in PR #15520:
URL: https://github.com/apache/pulsar/pull/15520#discussion_r870052674


##########
pulsar-broker/src/main/java/org/apache/pulsar/broker/service/AbstractTopic.java:
##########
@@ -1166,6 +1166,14 @@ public void updatePublishDispatcher() {
             }
         } else {
             log.info("Disabling publish throttling for {}", this.topic);
+            if (topicPublishRateLimiter != null
+                && topicPublishRateLimiter != 
PublishRateLimiter.DISABLED_RATE_LIMITER) {

Review Comment:
   I have override the `close` method by 
https://github.com/apache/pulsar/pull/15529
   So you need to rebase and no need to try/catch.



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