Class DefaultLeaderRetrievalService

java.lang.Object
org.apache.flink.runtime.leaderretrieval.DefaultLeaderRetrievalService
All Implemented Interfaces:
LeaderRetrievalEventHandler, LeaderRetrievalService

public class DefaultLeaderRetrievalService extends Object implements LeaderRetrievalService, LeaderRetrievalEventHandler
The counterpart to the DefaultLeaderElectionService. Composed with different LeaderRetrievalDriver, we could retrieve the leader information from different storage. The leader address as well as the current leader session ID will be retrieved from LeaderRetrievalDriver.