Skip to content

kaola-fed/zookeeper-querier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zookeeper-querier

Required

  • ⚠️ Node >= 8

Quick start

1. Install

$ npm i -g zookeeper-querier

2. Add registry

$ zk add test "zookeeper://10.237.12.1:2181,10.237.12.2:2181,10.237.12.3:2181"
$ zk add online "zookeeper://10.237.13.1:2181,10.237.13.2:2181,10.237.13.3:2181"
$ zk add testDisconf "zookeeper://10.237.14.1:2181,10.237.14.2:2181,10.237.14.3:2181"

Usage

1. Switch registry

$ zk switch

2. Query children

$ zk getChildren /dubbo

3. Query data

$ zk getData /dubbo

LICENSE

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published