ZooKeeper

ZooKeeper

Scheme: zookeeper

ZooKeeperEndpoint

Name Kind Type Required Deprecated Default Value Enum Values Description
serverUrls path java.lang.String true false The zookeeper server hosts (multiple servers can be separated by comma)
path path java.lang.String true false The node in the ZooKeeper server (aka znode)
timeout parameter int false 5000 The time interval to wait on connection before timing out.
backoff parameter long false 5000 The time interval to backoff for after an error before retrying.
awaitExistence parameter boolean true true Not in use @deprecated The usage of this option has no effect at all.
repeat parameter boolean false Should changes to the znode be 'watched' and repeatedly processed.
listChildren parameter boolean false Whether the children of the node should be listed
create parameter boolean false Should the endpoint create the node if it does not currently exist.
createMode parameter java.lang.String false EPHEMERAL PERSISTENT
PERSISTENT_SEQUENTIAL
EPHEMERAL
EPHEMERAL_SEQUENTIAL
The create mode that should be used for the newly created node
sendEmptyMessageOnDelete parameter boolean false true Upon the delete of a znode, should an empty message be send to the consumer
exchangePattern parameter org.apache.camel.ExchangePattern false InOnly InOnly
RobustInOnly
InOut
InOptionalOut
OutOnly
RobustOutOnly
OutIn
OutOptionalIn
Sets the default exchange pattern when creating an exchange
synchronous parameter boolean false false Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported).

zookeeper consumer

ZooKeeperConsumer uses various {@link ZooKeeperOperation} to interact and consume data from a ZooKeeper cluster.