Zookeeper Discovery

Manages endpoint descriptions as zookeeper nodes.

  • Local endpoints are published to zookeeper
  • Interests for services in the form of EndpointListener scopes are looked up in zookeeper and the listeners are informed about any changes on the matching endpoints

Discovery Configuration

PID: org.apache.aries.rsa.discovery.zookeeper

KeyDefaultDescription
zookeeper.hostlocalhostHostname or ipadress of the zookeeper server
zookeeper.port2181Client port of the zookeeper server
zookeeper.timeout3000Session timeout in ms

At least an empty config must be present to start the zookeeper discovery. The karaf feature will install such a config by default.

Zookeeper Server Configuration

PID: org.apache.aries.rsa.discovery.zookeeper.server

KeyDefaultDescription
clientPort2181Port to listen on for client connections
tickTime2000
initLimit10
syncLimit5
dataDirzkdata

At least an empty config must be created manually to start the zookeeper server.