gaoran10 commented on code in PR #18865:
URL: https://github.com/apache/pulsar/pull/18865#discussion_r1094053463
##########
pulsar-broker-common/src/main/java/org/apache/pulsar/broker/ServiceConfiguration.java:
##########
@@ -2450,6 +2450,64 @@ The delayed message index bucket time step(in seconds)
in per bucket snapshot se
)
private long namespaceBundleUnloadingTimeoutMs = 60000;
+ @FieldContext(
+ category = CATEGORY_LOAD_BALANCER,
+ doc = "Option to enable the debug mode for the load balancer
logics. "
+ + "The debug mode prints more logs to provide more
information "
+ + "such as load balance states and decisions. "
+ + "(only used in load balancer extension logics)"
+ )
+ private boolean loadBalancerDebugModeEnabled = false;
Review Comment:
OK, but it's a little strange to add a separate param to control debug log
information, we also need to add extra judgment logic.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]