zkcmd : Tools to Administer 'Zookeeper' Instances with Four-letter Commands

'Zookeeper' enables super-easy multi-node configuration management for distributed computing. The 'Zookeeper' instances themselves can be managed by issuing "four-letter words" over a TCP socket connection.. Methods are provided to interface with this administrative API.

The following functions are implemented inside the zmckd reference class:

Installation

devtools::install_git("https://gitlab.com/hrbrmstr/zkcmd.git")
options(width=120)

Usage

library(zkcmd)

# current verison
packageVersion("zkcmd")

zk <- zkcmd$new()

zk$ruok()

str(zk$srvr())

str(zk$conf())

zk$isro()

zk$cons()

zk$srst()

Test Results

library(zkcmd)
library(testthat)

date()

test_dir("tests/")


hrbrmstr/zkcmd documentation built on May 17, 2019, 5:54 p.m.