Running Kafka 1.0 in Docker
You simply need to run the following command by replacing <DOCKER_HOST> with your Docker host IP:
The Docker image will instantiate a Zookeeper server (port 2181) and a Kafka 1.0.0 (port 9092).
To create a Kafka producer you must run the following command in your Docker instance:
And for a Kafka consumer: