From the course: Apache Kafka Essential Training: Building Scalable Applications (2021)

Unlock the full course today

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

Kafka cluster setup

Kafka cluster setup

- In this chapter, we will set up and run a Kafka-cluster and observe its scalability and resiliency features. The instructions for this chapter are available under the resources slash chapter-3-commands.txt file in the Java project. In this video, let's review the Kafka-cluster set up Docker compose file. The Docker compose file called Kafka-cluster.yml is available as a part of the downloaded exercises. As seen before all Docker images are pulled from the Docker repository and this only pulls the latest versions. So the version you would be getting maybe different than the versions used in the exercises. If you want the same version, as in the video then use the image demo tag that is provided as part of the comments. Let's now review the contents of the file. This file starts five separate Docker containers as part of the Kafka-cluster. First, we have the zookeeper instance. As discussed in the previous chapter,…

Contents