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

Top 7.6% on proxy.golang.org
Top 4.6% dependent packages on proxy.golang.org
Top 5.5% forks on proxy.golang.org

proxy.golang.org : github.com/yext/curator

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/yext/curator
License: MIT
Latest release: about 3 years ago
First release: over 4 years ago
Namespace: github.com/yext
Dependent packages: 1
Stars: 0 on GitHub
Forks: 3 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: about 1 month ago

    Loading...
    Readme
    Loading...