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/10/11 01:35:32 UTC
[GitHub] [pulsar] wangjialing218 commented on a change in pull request #11325: support broker level dispatch rate limiter
wangjialing218 commented on a change in pull request #11325:
URL: https://github.com/apache/pulsar/pull/11325#discussion_r725738547
##########
File path: pulsar-broker/src/main/java/org/apache/pulsar/broker/service/persistent/DispatchRateLimiter.java
##########
@@ -173,12 +188,20 @@ public void updateDispatchRate() {
}
updateDispatchRate(dispatchRate.get());
- log.info("[{}] configured {} message-dispatch rate at broker {}", this.topicName, type, dispatchRate.get());
- }
+ if (type == Type.BROKER) {
Review comment:
The existing log prints `topicName`. For broker dispatchRateLimiter `topicName` is null and makes log not friendly.
--
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: commits-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org