This project provides random examples of useful bits of ZooKeeper ephemera that I haven’t had a chance to submit back to the ASF ZooKeeper project yet.
What’s Apache ZooKeeper?
From the official site: “ZooKeeper is a high-performance coordination service for distributed applications.”
It exposes common services – such as naming, configuration management, synchronization, and group services – in a simple interface so you don’t have to write them from scratch. You can use it off-the-shelf to implement consensus, group management, leader election, and presence protocols.
This project is licensed under the Apache License Version 2.0
Currently just load this as a new project in Eclipse. You will need to download ZooKeeper and add the zookeeper and log4j jars into the Eclipse project. I’m currently building against the 3.2.x release of ZooKeeper.
Testing ZooKeeper Clients
- test_session_expiration – example of how to test session expiration in your ZK client
- See the faq for background