Lockdown Offer: FLAT 75% + Addl. 25% Off + 30-days Extra Lab on ALL Courses | Use Coupon Code LD25 during Checkout | Offer Expires In

  Enroll Now

Apache ZooKeeper

11 / 47

ZooKeeper Hands-on - Getting Started

Getting Started

To get started login to webconsole or ssh at cloudxlab. Type zookeeper-client. This would bring the zoo keeper prompt. This is where we are going to type zookeeper commands.

Lets take a look of all the nodes at the top level by typing ls / You can see there are some znodes. Lets see what are the children znodes under a node called brokers using the following command: ls /brokers Do you see three children znode ids, topics, seqid?

Now, lets see the data inside the znode brokers using get /brokers

You will see all the details about the znode.