
Security News
Rspack Introduces Rslint, a TypeScript-First Linter Written in Go
Rspack launches Rslint, a fast TypeScript-first linter built on typescript-go, joining in on the trend of toolchains creating their own linters.
An interface to the Zookeeper cluster coordination server.
For a higher-level interface with a more convenient API and features such as locks, have a look at ZK.
As of 1.1.0, this library is fork-safe (which was not easy to accomplish). This means you can use it without worry in unicorn, resque, and whatever other fork-philic frameworks you sick little monkeys are using this week. The only rule is that after a fork(), you need to call #reopen
on the client ASAP, because if you try to peform any other action, an exception will be raised. Other than that, there is no special action that is needed in the parent.
Copyright 2008 Phillip Pearson, and 2010 Twitter, Inc. Licensed under the MIT License. See the included LICENSE file.
Portions copyright 2008-2010 the Apache Software Foundation, licensed under the Apache 2 license, and used with permission.
Portions contributed to the open source community by HPDC, L.P.
sudo gem install zookeeper
Connect to a server:
require 'rubygems'
require 'zookeeper'
z = Zookeeper.new("localhost:2181")
z.get_children(:path => "/")
The following methods are initially supported:
get
set
get_children
stat
create
delete
get_acl
set_acl
All support async callbacks. get
, get_children
and stat
support both watchers and callbacks.
Calls take a dictionary of parameters. With the exception of set_acl, the only required parameter is :path
. Each call returns a dictionary with at minimum two keys :req_id and :rc.
Twitter's open source office was kind enough to transfer this repository to facilitate development and administration of this repository. The zookeeper
gem's last three releases were recorded in branches v0.4.2
, v0.4.3
and v0.4.4
. Releases of the slyphon-zookeeper
gem were cut off of the fork, and unfortunately (due to an oversight on my part) were tagged with unrelated versions. Those were tagged with names release/0.9.2
.
The plan is to keep the slyphon-zookeeper
tags, and to tag the zookeeper
releases twitter/release/0.4.x
.
Further work will be carried out on this repository. The 0.9.3
release of the zookeeper gem will be released under the 'zookeeper' name, and will bring the two divergent (conceptual) branches of development together.
FAQs
Unknown package
We found that zookeeper-ng demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 7 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Rspack launches Rslint, a fast TypeScript-first linter built on typescript-go, joining in on the trend of toolchains creating their own linters.
Security News
Hacker Demonstrates How Easy It Is To Steal Data From Popular Password Managers
Security News
Oxlint’s new preview brings type-aware linting powered by typescript-go, combining advanced TypeScript rules with native-speed performance.