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 2022/09/07 15:26:01 UTC

[GitHub] [pulsar] 315157973 commented on a diff in pull request #17456: [feat][broker] Add a new range threshold shedder

315157973 commented on code in PR #17456:
URL: https://github.com/apache/pulsar/pull/17456#discussion_r964986961


##########
pulsar-broker-common/src/main/java/org/apache/pulsar/broker/ServiceConfiguration.java:
##########
@@ -2069,6 +2069,13 @@ public class ServiceConfiguration implements PulsarConfiguration {
     )
     private String loadBalancerLoadSheddingStrategy = "org.apache.pulsar.broker.loadbalance.impl.ThresholdShedder";
 
+    @FieldContext(
+            category = CATEGORY_LOAD_BALANCER,
+            doc = "When 【current usage < average usage - threshold】, "
+                    + "the broker with the highest load will be triggered to unload"
+    )
+    private boolean enableLowerBoundaryShedding = false;

Review Comment:
   What does it mean to set a value between 0 and 1?



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