Apache ZooKeeper
More info
- Released
- Type
- Coordination service
- License
- Apache 2.0
- Website
- zookeeper.apache.org
The boring service that tracks who the leader is, who is alive and what the configuration says — so the rest of the cluster doesn't have to.
Built at Yahoo for the Hadoop ecosystem. The data model is a small hierarchical tree of znodes that looks like a filesystem, but it all fits in memory and writes go through a consensus protocol (ZAB, a relative of Paxos). Typical uses: leader election, distributed locks, service discovery.
For years it was mandatory underneath Kafka, HBase and Solr. Kafka has shipped its own built-in replacement (KRaft) since version 3.3 and the ZooKeeper dependency is on its way out — a pattern repeating across several projects.