Package org.apache.flink.configuration
Class HighAvailabilityOptions
- java.lang.Object
-
- org.apache.flink.configuration.HighAvailabilityOptions
-
@PublicEvolving public class HighAvailabilityOptions extends Object
The set of configuration options relating to high-availability settings.
-
-
Field Summary
Fields Modifier and Type Field Description static ConfigOption<String>HA_CLUSTER_IDThe ID of the Flink cluster, used to separate multiple Flink clusters Needs to be set for standalone clusters, is automatically inferred in YARN.static ConfigOption<String>HA_JOB_MANAGER_PORT_RANGEOptional port (range) used by the job manager in high-availability mode.static ConfigOption<String>HA_MODEDefines high-availability mode used for the cluster execution.static ConfigOption<String>HA_STORAGE_PATHFile system path (URI) where Flink persists metadata in high-availability setups.static ConfigOption<String>HA_ZOOKEEPER_EXECUTION_PLANS_PATHZooKeeper root path (ZNode) for execution plans.static ConfigOption<String>HA_ZOOKEEPER_QUORUMThe ZooKeeper quorum to use, when running Flink in a high-availability mode with ZooKeeper.static ConfigOption<String>HA_ZOOKEEPER_ROOTThe root path under which Flink stores its entries in ZooKeeper.static ConfigOption<String>ZOOKEEPER_CLIENT_ACLstatic ConfigOption<Map<String,String>>ZOOKEEPER_CLIENT_AUTHORIZATIONstatic ConfigOption<Duration>ZOOKEEPER_CONNECTION_TIMEOUTstatic ConfigOption<Boolean>ZOOKEEPER_ENSEMBLE_TRACKINGstatic ConfigOption<Duration>ZOOKEEPER_MAX_CLOSE_WAITstatic ConfigOption<Integer>ZOOKEEPER_MAX_RETRY_ATTEMPTSstatic ConfigOption<Duration>ZOOKEEPER_RETRY_WAITstatic ConfigOption<Duration>ZOOKEEPER_SESSION_TIMEOUTstatic ConfigOption<Integer>ZOOKEEPER_SIMULATED_SESSION_EXP_PERCENTstatic ConfigOption<Boolean>ZOOKEEPER_TOLERATE_SUSPENDED_CONNECTIONS
-
-
-
Field Detail
-
HA_MODE
public static final ConfigOption<String> HA_MODE
Defines high-availability mode used for the cluster execution. A value of "NONE" signals no highly available setup. To enable high-availability, set this mode to "ZOOKEEPER" or "KUBERNETES". Can also be set to the FQN of the HighAvailability factory class.
-
HA_CLUSTER_ID
public static final ConfigOption<String> HA_CLUSTER_ID
The ID of the Flink cluster, used to separate multiple Flink clusters Needs to be set for standalone clusters, is automatically inferred in YARN.
-
HA_STORAGE_PATH
public static final ConfigOption<String> HA_STORAGE_PATH
File system path (URI) where Flink persists metadata in high-availability setups.
-
HA_JOB_MANAGER_PORT_RANGE
public static final ConfigOption<String> HA_JOB_MANAGER_PORT_RANGE
Optional port (range) used by the job manager in high-availability mode.
-
HA_ZOOKEEPER_QUORUM
public static final ConfigOption<String> HA_ZOOKEEPER_QUORUM
The ZooKeeper quorum to use, when running Flink in a high-availability mode with ZooKeeper.
-
HA_ZOOKEEPER_ROOT
public static final ConfigOption<String> HA_ZOOKEEPER_ROOT
The root path under which Flink stores its entries in ZooKeeper.
-
HA_ZOOKEEPER_EXECUTION_PLANS_PATH
public static final ConfigOption<String> HA_ZOOKEEPER_EXECUTION_PLANS_PATH
ZooKeeper root path (ZNode) for execution plans.
-
ZOOKEEPER_SESSION_TIMEOUT
public static final ConfigOption<Duration> ZOOKEEPER_SESSION_TIMEOUT
-
ZOOKEEPER_CONNECTION_TIMEOUT
public static final ConfigOption<Duration> ZOOKEEPER_CONNECTION_TIMEOUT
-
ZOOKEEPER_RETRY_WAIT
public static final ConfigOption<Duration> ZOOKEEPER_RETRY_WAIT
-
ZOOKEEPER_MAX_RETRY_ATTEMPTS
public static final ConfigOption<Integer> ZOOKEEPER_MAX_RETRY_ATTEMPTS
-
ZOOKEEPER_CLIENT_ACL
public static final ConfigOption<String> ZOOKEEPER_CLIENT_ACL
-
ZOOKEEPER_TOLERATE_SUSPENDED_CONNECTIONS
public static final ConfigOption<Boolean> ZOOKEEPER_TOLERATE_SUSPENDED_CONNECTIONS
-
ZOOKEEPER_ENSEMBLE_TRACKING
public static final ConfigOption<Boolean> ZOOKEEPER_ENSEMBLE_TRACKING
-
ZOOKEEPER_CLIENT_AUTHORIZATION
public static final ConfigOption<Map<String,String>> ZOOKEEPER_CLIENT_AUTHORIZATION
-
ZOOKEEPER_MAX_CLOSE_WAIT
public static final ConfigOption<Duration> ZOOKEEPER_MAX_CLOSE_WAIT
-
ZOOKEEPER_SIMULATED_SESSION_EXP_PERCENT
public static final ConfigOption<Integer> ZOOKEEPER_SIMULATED_SESSION_EXP_PERCENT
-
-