Add flag for controlling dynamic reconfiguration of zookeeper clusters
Flag will be used in code in zookeeper-server modules
@@ -344,6 +344,13 @@ public class Flags {
"Takes effect on next internal redeployment",
APPLICATION_ID);
+ public static final UnboundBooleanFlag DYNAMIC_RECONFIGURATION_OF_ZOOKEEPER_CLUSTER = defineFeatureFlag(
+ "dynamic-reconfiguration-of-zookeeper-cluster",
+ false,
+ "Whether to allow dynamic reconfiguration of zookeeper cluster",
+ "Takes effect on next deployment",
+ APPLICATION_ID);
+
/** WARNING: public for testing: All flags should be defined in {@link Flags}. */
public static UnboundBooleanFlag defineFeatureFlag(String flagId, boolean defaultValue, String description,
String modificationEffect, FetchVector.Dimension... dimensions) {
