Camel Component: Zookeeper

Talend ESB Mediation Developer Guide

EnrichVersion
6.2
EnrichProdName
Talend ESB
task
Installation and Upgrade
Design and Development
EnrichPlatform
Talend ESB

The ZooKeeper component allows interaction with a ZooKeeper cluster and exposes the following features to Camel:

  • Creation of nodes in any of the ZooKeeper create modes.
  • Get and Set the data contents of arbitrary cluster nodes.
  • Create and retrieve the list the child nodes attached to a particular node.
  • A Distributed RoutePolicy that leverages a Leader election coordinated by ZooKeeper to determine if exchanges should get processed.

Maven users will need to add the following dependency to their pom.xml for this component:

<dependency>
   <groupId>org.apache.camel</groupId>
   <artifactId>camel-zookeeper</artifactId>
   <!-- use the same version as your Camel core version -->
   <version>x.x.x</version>
</dependency>