#zookeeper #client #letter #four #words #command #4lw

zk-4lw

Client and parser for ZooKeeper four letter words

1 unstable release

Uses old Rust 2015

0.1.0 Feb 23, 2018

#8 in #four

Apache-2.0

11KB
166 lines

zk-4lw

ZooKeeper Four Letter Words Client Library

Examples

use zk_4lw::{Client, Mntr};

// Create a client for ZooKeeper
let client = Client::new("localhost:2181");

// Run the "mntr" command
let res: ::zk_4lw::mntr::Response = client.exec::<Mntr>().unwrap();

Run the tests

Static tests can be run with a simple cargo test. Additionally, commands can be run against a ZooKeeper instance with cargo test --features with-client.


lib.rs:

ZooKeeper "For Letter Word" commands

Provides a high-level TCP client for monitoring ZooKeeper

Dependencies

~64KB