zk-server

1.1.8last stable release 9 years ago
Complexity Score
Low
Open Issues
N/A
Dependent Projects
3
Weekly Downloadsglobal
109

License

  • MIT
    • Yesattribution
    • Permissivelinking
    • Permissivedistribution
    • Permissivemodification
    • Nopatent grant
    • Yesprivate use
    • Permissivesublicensing
    • Notrademark grant

Downloads

Readme

ZK::Server

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)

Usage

Example usage:

server = ZK::Server.new do |config|
  config.client_port = 21811
  config.enable_jmx = true
  config.force_sync = false
end

server.run

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

server.shutdown

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

Contributing

  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

Dependencies

CVE IssuesActive
0
Scorecards Score
No Data
Test Coverage
No Data
Follows Semver
Yes
Github Stars
7
Dependenciestotal
4
DependenciesOutdated
1
DependenciesDeprecated
0
Threat Modelling
No
Repo Audits
No

Learn how to distribute zk-server in your own private RubyGems registry

gem install zk-server
Processing...
Done

16 Releases

RubyGems on Cloudsmith

Getting started with RubyGems on Cloudsmith is fast and easy.