From the course: Apache Kafka Essential Training: Getting Started (2021)

Unlock the full course today

Join today to access over 22,500 courses taught by industry experts or purchase this course individually.

Kafka setup

Kafka setup

From the course: Apache Kafka Essential Training: Getting Started (2021)

Start my 1-month free trial

Kafka setup

- [Instructor] In this video, we will review the Kafka setup and see how things are organized inside Kafka. Let's first start from zookeeper. We will log in to the Docker instance of the zookeeper container using docker exec -it zookeeper /bin/bash. Once inside the zookeeper, let's navigate to the zookeeper bin directory. The bin directory is /opt/bitnami/zookeeper/bin. Once inside here, let us execute the zookeeper client. We are now logged in to the zookeeper client. Let us clear the screen for now. Kafka creates multiple zookeeper nodes to keep track of its configuration and status. Running ls / command shows all the various nodes available. Running ls /brokers/ids shows all the brokers that are registered with zookeeper. We only have one Kafka broker registered for now, which is 1001. Executing a get /brokers/ids/1001 shows further details about the specific broker. We see the endpoints and ports registered. This…

Contents