You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by zh...@apache.org on 2020/05/12 13:45:07 UTC

[pulsar] 16/17: fix brokerPublisherThrottlingTickTimeMillis in broker.conf (#6877)

This is an automated email from the ASF dual-hosted git repository.

zhaijia pushed a commit to branch branch-2.5
in repository https://gitbox.apache.org/repos/asf/pulsar.git

commit aed2c17f3d8c70d5d66a3e1ff4c442fa0e4cde7e
Author: liudezhi <33...@users.noreply.github.com>
AuthorDate: Tue May 12 20:53:43 2020 +0800

    fix brokerPublisherThrottlingTickTimeMillis in broker.conf (#6877)
    
    Master Issue: #6876
    
    Motivation
    the brokerPublisherThrPottlingTickTimeMillis config spelling mistake
    
    Modifications
    broker.conf
    
      # Tick time to schedule task that checks broker publish rate limiting across all topics
    # Reducing to lower value can give more accuracy while throttling publish but
    # it uses more CPU to perform frequent check. (Disable publish throttling with value 0)
    brokerPublisherThrottlingTickTimeMillis=50
    
    * fix brokerPublisherThrottlingTickTimeMillis in broker.conf
    
    * fix brokerPublisherThrottlingTickTimeMillis in standalone.conf
    
    Co-authored-by: dezhiliu <de...@tencent.com>(cherry picked from commit 65dc9d99924e5ec00952a81c7091195304baa58e)
---
 conf/broker.conf     | 2 +-
 conf/standalone.conf | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/conf/broker.conf b/conf/broker.conf
index d0c942a..62107cb 100644
--- a/conf/broker.conf
+++ b/conf/broker.conf
@@ -194,7 +194,7 @@ topicPublisherThrottlingTickTimeMillis=10
 # Tick time to schedule task that checks broker publish rate limiting across all topics
 # Reducing to lower value can give more accuracy while throttling publish but
 # it uses more CPU to perform frequent check. (Disable publish throttling with value 0)
-brokerPublisherThrPottlingTickTimeMillis=50
+brokerPublisherThrottlingTickTimeMillis=50
 
 # Max Rate(in 1 seconds) of Message allowed to publish for a broker if broker publish rate limiting enabled
 # (Disable message rate limit with value 0)
diff --git a/conf/standalone.conf b/conf/standalone.conf
index 3d6c12e..6619e90 100644
--- a/conf/standalone.conf
+++ b/conf/standalone.conf
@@ -151,7 +151,7 @@ topicPublisherThrottlingTickTimeMillis=2
 # Tick time to schedule task that checks broker publish rate limiting across all topics
 # Reducing to lower value can give more accuracy while throttling publish but
 # it uses more CPU to perform frequent check. (Disable publish throttling with value 0)
-brokerPublisherThrPottlingTickTimeMillis=50
+brokerPublisherThrottlingTickTimeMillis=50
 
 # Max Rate(in 1 seconds) of Message allowed to publish for a broker if broker publish rate limiting enabled
 # (Disable message rate limit with value 0)