Zookeeper: Practical

In this lesson we discuss the command line tool zkCli.sh that can be used to connect and interact with the Zookeeper server.

We'll cover the following

Zookeeper in Practice

So far, we discussed the theory behind Zookeeper and saw a Java example with Zookeeper’s programmatic API. In this lesson, we’ll exercise different commands offered by the zkCli.sh utility that come 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.