Skip to content

QuangTung97/zk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Native Go Zookeeper Client Library

zk Coverage Status

Forked from https://github.com/go-zookeeper/zk

But have replaced most of its interface to help achieve better guarantees:

  • Watches, Response Function Calls and other Callbacks (Session Expired, Connection Retry, etc.) are all happened in a single thread
  • Strong watch guarantee: Watch Response Callback MUST happen BEFORE the Response of Create/Set/Delete that affects the Watch
  • When connection is disconnected, all pending operations MUST be finished or response with errors before a new connection is going to be established

Examples

Examples can be found here: https://github.com/QuangTung97/zk/tree/master/test-examples

License

3-clause BSD. See LICENSE file.