github.com/kikinteractive/curator-go (go): Curator-go is a Golang porting for Curator, make it easy to access Zookeeper  Curator-go users are assumed to know ZooKeeper. A good place to start is http://zookeeper.apache.org/doc/trunk/zookeeperStarted.html  The Curator-go are available from github.com.  You can easily include Curator-go into your code.  Curator uses Fluent Style. If you haven't used this before, it might seem odd so it's suggested that you familiarize yourself with the style.  Curator connection instances (CuratorFramework) are allocated from the CuratorFrameworkBuilder. You only need one CuratorFramework object for each ZooKeeper cluster you are connecting to:  This will create a connection to a ZooKeeper cluster using default values. The only thing that you need to specify is the retry policy. For most cases, you should use:  The client must be started (and closed when no longer needed).  Once you have a CuratorFramework instance, you can make direct calls to ZooKeeper in a similar way to using the raw ZooKeeper object provided in the ZooKeeper distribution. E.g.:  The benefit here is that Curator manages the ZooKeeper connection and will retry operations if there are connection problems.  Distributed Lock  Leader Election  Curator provides generic API for builder
Keywords: curator|go|zookeeper