Apache ZooKeeper

Open source

Apache ZooKeeper is a centralized coordination service for distributed systems, used for configuration management, service discovery and consensus.

Open-source alternative to

zookeeper.apache.org
Apache ZooKeeper homepage screenshot
GitHub stars
13k
Last 30 days
+16(+0%)
Last commit
3 days ago
Repository age
17 years
Licence
Apache-2.0
Self-hosted
Yes

About Apache ZooKeeper

Apache ZooKeeper is an Apache Software Foundation project written in Java that provides coordination for distributed applications. Its topics describe it as a consensus and coordination service built around a replicated key-value style store, with uses such as service discovery and distributed configuration management.

Applications use ZooKeeper to keep shared configuration, elect leaders, track which nodes are alive and agree on state across a cluster. It relies on the ZAB protocol to keep replicas consistent. The repository documents how to build the project with Maven, produce source and binary tarballs, and generate API documentation, and release artifacts are published to Maven Central.

ZooKeeper is released under the Apache-2.0 licence and is operated by users themselves, usually as a small ensemble of servers. It is widely used as a building block beneath other distributed systems, so most teams meet it as a dependency of another tool rather than as a standalone product. Documentation and a wiki are available on the project website.

Key features

  • Distributed coordination and consensus
  • Replicated hierarchical key-value store
  • Service discovery support
  • Distributed configuration management
  • ZAB protocol for consistency
  • Java client libraries on Maven Central

Good fit for

  • Leader election in distributed systems
  • Sharing configuration across a cluster
  • Service discovery for distributed applications
Built with
Java tools
Tags
zookeeper
coordination
consensus
distributed-systems
service-discovery
configuration-management
apache
java

Apache ZooKeeper: questions and answers

What is Apache ZooKeeper used for?
Apache ZooKeeper is a centralized coordination service for distributed systems, used for configuration management, service discovery and consensus. It is a good fit for leader election in distributed systems, sharing configuration across a cluster and service discovery for distributed applications.
Is Apache ZooKeeper open source?
Yes. Apache ZooKeeper is open source under the Apache-2.0 licence. Its source code is on GitHub at apache/zookeeper and is written mainly in Java.
Is Apache ZooKeeper free?
Yes. Apache ZooKeeper is open source, so the software itself is free to use.
Can I self-host Apache ZooKeeper?
Yes. Apache ZooKeeper can be self-hosted on your own server or infrastructure.
What is Apache ZooKeeper an alternative to?
Apache ZooKeeper is an open-source alternative to Azure App Configuration and AWS AppConfig. Other open-source alternatives to Azure App Configuration include Kubernetes, Salt Project and Consul.
Is Apache ZooKeeper actively maintained?
Yes. The most recent commit to Apache ZooKeeper was on 10 November 2026. The project has 13k stars on GitHub, with 16 added in the last 30 days.

Open-source alternatives to Apache ZooKeeper

See all

SaaS alternatives to Apache ZooKeeper

See all