To start the Kafka broker, you can start a new terminal window in your working directory and run docker-compose up . If ZooKeeper is still running from the previous step, you can use ctrl + c / cmd + c to stop it. Docker compose will start both ZooKeeper and Kafka together if necessary.