Runs a zookeeper server.
Latest commit 5e67bbd Oct 6, 2015 @slyphon slyphon bump version to 1.1.8
Failed to load latest commit information.
.dotfiles add new-fangled rvm files to .dotfiles Sep 9, 2013
bin write a simple command line tool for spinning up a ZooKeeper server May 16, 2012
lib bump version to 1.1.8 Oct 7, 2015
spec initial support for creating clusters (re: #3) May 6, 2012
.gitignore ok, forget rubinius (sorry) May 2, 2012
Gemfile Updating zk-server Sep 8, 2013
MIT_LICENSE add yard stuff, more docs May 2, 2012 add yard stuff, more docs May 2, 2012
Rakefile ok, forget rubinius (sorry) May 2, 2012
zk-server.gemspec Keep compatibility with ruby < 2.0.0 by locking slop Jan 9, 2015


Sets up and runs a ZooKeeper standalone server process. Intended for use during testing of zookeeper-related code. The following are the design goals:

  • Easy to configure and run
  • Never ever leaks a process (barring impossible circumstances)


Example usage:

server = do |config|
  config.client_port = 21811
  config.enable_jmx = true
  config.force_sync = false

# do a bunch of stuff (like run your specs)


For full options, see ZK::Server::Config


  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request