@NonNullByDefault
Package com.linecorp.armeria.server.zookeeper
/**
Automatic service registration and discovery with ZooKeeper.
A ZooKeeperUpdatingListener
automatically
registers the server to a ZooKeeper cluster. The registered ZooKeeper node is EPHEMERAL, so when server
stops or a network partition occurs, the underlying ZooKeeper session will be closed, and the node will be
automatically removed. As a result, the clients that use a
ZooKeeperEndpointGroup
will be notified, and they will update
their endpoint list automatically so that they do not attempt to connect to the unreachable servers.
-
Class Summary Class Description ZooKeeperUpdatingListener A ZooKeeper Server Listener.ZooKeeperUpdatingListenerBuilder Builds a newZooKeeperUpdatingListener
, which registers the server to a ZooKeeper cluster.