ZooKeeper是用于维护配置信息,命名,提供分布式同步和提供组服务的集中式服务。 所有这些类型的服务都以分布式应用程序以某种形式或另一种形式使用。 每次实施时,都有大量的工作要去解决那些不可避免的错误和竞态条件。 由于实施这些服务的难度很大,应用程序最初通常会跳过他们,这使得它们在变化存在时变脆,难以管理。 即使正确完成,这些服务的不同实现也会导致应用程序部署时的管理复杂性。
Zookeeper
Apache ZooKeeper是开发和维护开放源代码服务器的一种努力,可实现高度可靠的分布式协调。(Apache ZooKeeper is an effort to develop and maintain an open-source server which enables highly reliable distributed coordination.)
Github星跟踪图
主要指标
- 概览
-
名称与所有者 apache/zookeeper 主编程语言 Java 编程语言 Shell (语言数: 19) 平台 许可证 Apache License 2.0 - 所有者活动
-
创建于 2009-03-27 15:41:56 推送于 2025-04-20 17:43:25 最后一次提交 2025-04-21 00:40:42 发布数 173 最新版本名称 release-3.9.3 (发布于 2024-10-24 17:28:47) 第一版名称 apache-initial-import (发布于 2010-11-24 21:19:37) - 用户参与
-
星数 12.5k 关注者数 663 派生数 7.3k 提交数 2.6k 已启用问题? 问题数 0 打开的问题数 0 拉请求数 191 打开的拉请求数 218 关闭的拉请求数 1835 - 项目设置
-
已启用Wiki? 已存档? 是复刻? 已锁定? 是镜像? 是私有?
Apache ZooKeeper

For the latest information about Apache ZooKeeper, please visit our website at:
and our wiki, at:
https://cwiki.apache.org/confluence/display/ZOOKEEPER
Packaging/release artifacts
Either downloaded from https://zookeeper.apache.org/releases.html or
found in zookeeper-assembly/target directory after building the project with maven.
apache-zookeeper-[version].tar.gz
Contains all the source files which can be built by running:
mvn clean install
To generate an aggregated apidocs for zookeeper-server and zookeeper-jute:
mvn javadoc:aggregate
(generated files will be at target/site/apidocs)
apache-zookeeper-[version]-bin.tar.gz
Contains all the jar files required to run ZooKeeper
Full documentation can also be found in the docs folder
As of version 3.5.5, the parent, zookeeper and zookeeper-jute artifacts
are deployed to the central repository after the release
is voted on and approved by the Apache ZooKeeper PMC:
https://repo1.maven.org/maven2/org/apache/zookeeper/zookeeper/
Java 8
If you are going to compile with Java 1.8, you should use a
recent release at u211 or above.
Contributing
We always welcome new contributors to the project! See How to Contribute for details on how to submit patch through pull request and our contribution workflow.