zookeeper endpoint

zookeeper endpoint

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 zookeeper path
timeout parameter int false 5000
backoff parameter long false 5000
awaitExistence parameter boolean false true @deprecated The usage of this option has no effect at all.
repeat parameter boolean false false
listChildren parameter boolean false false
shouldCreate parameter boolean false false
createMode parameter java.lang.String false false
sendEmptyMessageOnDelete parameter boolean false true
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.