Instead of writing your own recipes (which is not trivial) consider using Curator which has all of the recipes from the ZK website and more.
On Jul 22, 2013, at 11:54 PM, bsargurunathan <[EMAIL PROTECTED]> wrote:
> Hi Guys,
> Please guide me how to implement the Barrier and producer-consumer queue in
> Basically I implemented the code whatever the wiki is having, but I am
> facing some issues and its follows.
> Keeper exception when instantiating queue: KeeperErrorCode = ConnectionLoss
> for /b1
> Its happens while checking the barrier node exist in zookeeper.
> Please guide me how to implement it.
> View this message in context: http://zookeeper-user.578899.n2.nabble.com/How-to-implement-the-Barrier-and-producer-consumer-Queue-tp7578947.html
> Sent from the zookeeper-user mailing list archive at Nabble.com.