AppBreakup
Apache ZooKeeper logo

Apache ZooKeeper

Open-source coordination service for distributed systems: config, naming, locks and leader election.

Updated · AppBreakup editorial · Linux, macOS, Windows, Self-hosted

Is Apache ZooKeeper free?

Yes, free and open source

Switch from Apache ZooKeeper to

All 2
Verified facts
4 of 4
Alternatives ranked
2
Approved reviews
0
Visits sent from here
0

About Apache ZooKeeper

Apache ZooKeeper is a small, replicated data store that distributed applications use to agree on shared state. Clients read and write tiny records called znodes in a tree that looks like a file system, and can set watches to be told when something changes. On top of that, teams build leader election, distributed locks, service registration, cluster membership and shared configuration. A group of servers called an ensemble keeps copies of the data, so the service survives the loss of individual nodes. ZooKeeper has been the coordination layer behind Hadoop, HBase and older Kafka clusters for years, which is why many operators still run it. It is a free Apache project under the Apache 2.0 licence, written in Java, and you host and operate it yourself on Linux, macOS or Windows servers. Newer projects often choose etcd or Consul, and Kafka now ships its own KRaft mode, so ZooKeeper is mostly picked for stacks that already depend on it.

Best for: Teams running Hadoop, HBase, Solr or older Kafka stacks that need a proven coordination service..

Pros and cons

What works

  • Long track record as the coordination layer for major Apache data projects
  • Watches push changes to clients, so no polling is needed
  • Free and open source under Apache 2.0, with two supported release lines

Why people leave

  • Low-level primitives: locks and elections must be built with client recipes
  • Running a healthy ensemble needs Java tuning and careful operations
  • No built-in service mesh, health checks or DNS interface like Consul offers

Apache ZooKeeper vs etcd and Consul

From each app's listing and the prices verified on its own site. A dash means we haven't verified it yet.

AttributeApache ZooKeeperetcdConsul
PricingOpen sourceOpen sourceFree plan + paid
Verified price———
Free planFree appFree appYes
Open sourceNoNoNo
Self-hostableNoNoYes
PlatformsLinux, macOS, Windows, Self-hostedLinux, macOS, Windows, Self-hostedSelf-hosted, Linux, macOS, Windows

Top Apache ZooKeeper alternatives

See all 2
  1. 1etcd logo
    etcd

    Simpler key-value API over gRPC with Raft consensus, and the default store behind Kubernetes.

    68.8
  2. 2Consul logo
    Consul

    Adds health checks, DNS-based discovery and a service mesh on top of key-value config.

    64.8

Why people left Apache ZooKeeper

In reviewers' own words, from reviews of the apps they moved to. These are their opinions, not ours.

No switching stories yet. If you moved away from Apache ZooKeeper, review the app you switched to and tell us why.

Reviews

No approved reviews yet. How we verify reviewers

Write a review of Apache ZooKeeper
Your rating of Apache ZooKeeper

Never shown publicly. A work email helps us verify you.

What did you use it for, and what was good or bad? At least 40 characters.

A GitHub username, your company domain, or say you can send a screenshot. Verified reviews count more.

By submitting, you confirm you're at least 16 and agree to our terms. Your name, rating, review and the date are published; your email isn't. See our privacy policy.

Apache ZooKeeper: common questions

What is Apache ZooKeeper?

Apache ZooKeeper: Open-source coordination service for distributed systems: config, naming, locks and leader election. Best for teams running Hadoop, HBase, Solr or older Kafka stacks that need a proven coordination service. Available for Linux, macOS and Windows, and you can host it yourself.

Is Apache ZooKeeper free?

Yes. Apache ZooKeeper is free, open-source software.

Is Apache ZooKeeper open source?

No, Apache ZooKeeper is not open source.

What platforms does Apache ZooKeeper run on?

Apache ZooKeeper is available for Linux, macOS, Windows and Self-hosted.

What are the best alternatives to Apache ZooKeeper?

The highest-ranked Apache ZooKeeper alternatives right now are etcd and Consul. See the full ranked list for pricing, platforms and verified facts.

Apache ZooKeeper vs etcd: what's the difference?

Both Apache ZooKeeper and etcd are free and open source. Both run on Linux, macOS and Windows.

See all 2 Apache ZooKeeper alternatives