Class ZooKeeperLeaderElectionHaServices

java.lang.Object
org.apache.flink.runtime.highavailability.AbstractHaServices
org.apache.flink.runtime.highavailability.zookeeper.ZooKeeperLeaderElectionHaServices
All Implemented Interfaces:
AutoCloseable, GloballyCleanableResource, ClientHighAvailabilityServices, HighAvailabilityServices

public class ZooKeeperLeaderElectionHaServices extends AbstractHaServices
ZooKeeper HA services that only use a single leader election per process.
 /flink
      +/cluster_id_1/leader/latch
      |            |       /resource_manager/connection_info
      |            |       /dispatcher/connection_info
      |            |       /rest_server/connection_info
      |            |       /job-id-1/connection_info
      |            |       /job-id-2/connection_info
      |            |
      |            |
      |            +jobgraphs/job-id-1
      |            |         /job-id-2
      |            +jobs/job-id-1/checkpoints/latest
      |                 |                    /latest-1
      |                 |                    /latest-2
      |                 |       /checkpoint_id_counter