Setting Up Using Docker Start Kafka Server Run docker-compose docker-compose up -d New Topic Access the container docker exec -it kakfa /bin/sh Navigate the container directory cd /opt/bitnami/kafka/bin Create a topic kafka-topics.sh --create --bootstrap-server localhost:9092 --topic example