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 
   `@Override
       public boolean isTopicPublishRateExceeded(int numberMessages, int bytes) 
{
           // whether topic publish rate exceed if precise rate limit is enable
           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:
[email protected]


Reply via email to