Skip to content

Files

Latest commit

 

History

History
28 lines (15 loc) · 1.35 KB

README.textile

File metadata and controls

28 lines (15 loc) · 1.35 KB

ZooKeeper Examples

Author: Patrick Hunt (follow me on twitter)

Summary

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.

License

This project is licensed under the Apache License Version 2.0

Usage

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.

What’s here?

Testing ZooKeeper Clients

  • test_session_expiration – example of how to test session expiration in your ZK client