python-zk / kazoo

Kazoo is a high-level Python library that makes it easier to use Apache Zookeeper.
https://kazoo.readthedocs.io
Apache License 2.0
1.3k stars 386 forks source link

Documentation of the ZooKeeper wire protocol? #723

Closed madelson closed 7 months ago

madelson commented 1 year ago

Apologies for misusing the issue tracker to ask this question, but I am trying to find documentation of ZooKeeper's "wire protocol" (aka the expected behavior of a client library).

Is there a spec that kazoo itself is based on in this regard? Thanks!

StephenSorriaux commented 1 year ago

Hello,

No worries! I think you probably already have found it, but the official Developer guide would be of help: https://zookeeper.apache.org/doc/current/zookeeperProgrammers.html + https://zookeeper.apache.org/doc/current/recipes.html When I doubt or if the documentation does not help, I personally end up in the official C client (https://github.com/apache/zookeeper/tree/master/zookeeper-client) and some other of the modules (recipe, server, specifications). I can't tell about the initial implementation though, so if any previous maintainer reading this at the moment want to step in, please feel free!