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