From the course: Apache Kafka Essential Training: Building Scalable Applications

Unlock the full course today

Join today to access over 24,900 courses taught by industry experts.

Running the cluster

Running the cluster

- [Instructor] In this video, we will start up the Kafka cluster and observe it through Kafdrop. The instructions for this chapter are available in the resources/chapter-3-commands.txt file. Please install Docker Desktop or your desktop or laptop if you have not already done so. Then open a terminal window if you have macOS or Linux. In Windows, please use the PowerShell window. We will be using a terminal window for this video. First, navigate to the directory where the Docker Compose file has been downloaded. Here, execute the command to start the cluster. The cluster can be started by the command docker-compose -f kafka-cluster.yml up -d. This command will now start downloading the images for the containers if they are not already present in your Docker setup, and then start up the containers. Downloading images may take some significant time. Once this command has completed, we can check the status of the containers…

Contents