Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Apache ZooKeeper Examples
Java
branch: master

README.textile

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
Something went wrong with that request. Please try again.