Ecosyste.ms: Packages

An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 4.2% dependent packages on proxy.golang.org
Top 4.8% dependent repos on proxy.golang.org

proxy.golang.org : github.com/kikinteractive/curator-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

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/kikinteractive/curator-go
Keywords: curator, go, zookeeper
License: MIT
Latest release: almost 7 years ago
First release: almost 7 years ago
Namespace: github.com/kikinteractive
Dependent packages: 2
Dependent repositories: 1
Stars: 0 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 7 days ago

    Loading...
    Readme
    Loading...