Zookeeper: Practical

Let's discuss the command line tool zkCli.sh that can be used to connect and interact with the Zookeeper server.

So far, we discussed the theory behind Zookeeper and have seen a Java example with Zookeeper’s programmatic API. In this lesson, we’ll exercise different commands offered by the zkCli.sh utility that comes with the Zookeeper download. We fire up the Zookeeper server and then invoke the command line client to connect to the server. The various commands are listed in the widget below with an explanation for each. You can connect to the terminal below and execute the commands to see their outcome.

Get hands-on with 1200+ tech skills courses.