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
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
Kubernetes
Infrastructure & Containers
Production-Grade Container Scheduling and Management
Apache-2.0vs Amazon EKS★ 129k
Salt Project
CI/CD & DevOps
Software to automate the management and configuration of infrastructure and applications a
Apache-2.0vs Red Hat Ansible Automation Platform★ 16k
Consul
Password Management
Consul is a distributed, highly available, and data center aware solution to connect and c
OSSvs Azure App Configuration★ 30k
etcd
Databases
Distributed reliable key-value store for the most critical data of a distributed system
Apache-2.0vs Azure App Configuration★ 53k
Ansible
CI/CD & DevOps
Ansible is a radically simple IT automation platform that makes your applications and syst
GPL-3.0vs AWS CodeDeploy★ 71k
Flagsmith
Feature Flags
Flagsmith makes it easy to create and manage feature flags. Roll out, segment, and optimis
BSD-3-Clausevs Split★ 7.2k
SaaS alternatives to Apache ZooKeeper
See all
Azure App Configuration
Feature Flags
Azure service for central app settings and feature flags
SaaS
AWS AppConfig
Feature Flags
AWS service for feature flags and dynamic configuration with gradual rollouts
SaaS
Red Hat Ansible Automation Platform
Infrastructure & Containers
Enterprise automation platform for infrastructure, network and cloud provisioning
SaaS
Puppet Enterprise
Infrastructure & Containers
Configuration management and compliance automation platform for infrastructure
SaaS
Amazon ECR
Infrastructure & Containers
Managed container image registry on AWS
SaaS
Amazon ECS
Infrastructure & Containers
Managed container orchestration service on AWS
SaaS

