camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <>
Subject [jira] [Commented] (CAMEL-2472) A Zookeeper Component for Camel
Date Thu, 25 Aug 2011 07:06:29 GMT


Claus Ibsen commented on CAMEL-2472:

Thanks Stephan for this new great component.

I have polished the code a bit to use slf4j logging as we use in Camel by default. I also
removed some not needed dependency in the pom.xml such as on camel-spring. As well polished
the unit tests to *not* depend on camel-core-test JAR as this is discouraged.
As well as making the packaging as an osgi bundle.

I would suggest to only keep the zookeeper as the name for the component in the DSL. I am
not really a fan of "zoo".
Anyone object to remove "zoo" so you would have to use "zookeeper" in the DSL?

> A Zookeeper Component for Camel
> -------------------------------
>                 Key: CAMEL-2472
>                 URL:
>             Project: Camel
>          Issue Type: New Feature
>            Reporter: Stephen Gargan
>            Assignee: Hadrian Zbarcea
>             Fix For: 2.9.0
>         Attachments: zookeeper-3.3.0.jar, zookeeper.patch, zookeeper.patch
> I've put together a basic component implementation for interacting with a Zookeeper Cluster
( Its a reasonably complete implementation, providing
much of the available functionality of the 3.3.0 api. The main features being the abilities
> - 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 RoutePoilcy that leverages a Leader election coordinated by ZK to determine
if exchanges should get processed. 
> It's build against the Head of Zookeepers current release stream, 3.3.0. Zookeeper (Like
the rest of the Hadoop project) uses a custom ant build and so there are no SNAPSHOTS. This
is a bit of an impediment, but its likely that the Zookeepr project will cut a release before
too long. In the meantime, to get some soak time in the real world, I've attached a freshly
cut jar from the head today so you can try the component out. It can be installed using the
following command.
> mvn install:install-file -DgroupId=org.apache.zookeeper -DartifactId=zookeeper -Dversion=3.3.0
-Dpackaging=jar -Dfile=zookeeper-3.3.0.jar
> I'm putting together some documentation and will be happy to add it to the wiki if the
component gets picked up. I hope the project can find this useful.

This message is automatically generated by JIRA.
For more information on JIRA, see:


View raw message