kafka.server.ZookeeperLeaderElector
Called when the leader information stored in zookeeper has changed.
Called when the leader information stored in zookeeper has changed. Record the new leader in memory
On any error.
Called when the leader information stored in zookeeper has been delete.
Called when the leader information stored in zookeeper has been delete. Try to elect as the leader
On any error.
We do not have session expiration listen in the ZkElection, but assuming the caller who uses this module will have its own session expiration listener and handler