the zookeeper connection
As I am beginning to work more with ZooKeeper, I find it helpful to enter a terminal session inside ZooKeeper to poke around and explore.
It’s very easy on a Mac:
Once you see a watcher has been established, press enter to begin a terminal session.
help
provides a list of commands. The commands I found useful are
The utility is also available as a shell script that can be placed on the path for quick access: https://github.com/apache/zookeeper/blob/master/bin/zkCli.sh