You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2021/05/17 06:04:18 UTC

[GitHub] [pulsar] gaozhangmin edited a comment on issue #10603: Cannot produce message to those topics without setting topic policies, when enable preciseTopicPublishRateLimiterEnable

gaozhangmin edited a comment on issue #10603:
URL: https://github.com/apache/pulsar/issues/10603#issuecomment-842018623


   this issue is caused by:
   
   when topic and namespace publish rate are not set or its value <=0,  `updatePublishDispatcher` would return `PublishRateLimiter.DISABLED_RATE_LIMITER`. which caused 
   `return preciseTopicPublishRateLimitingEnable && !this.topicPublishRateLimiter.tryAcquire(numberMessages, bytes);`always true, 


-- 
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:
users@infra.apache.org