Running Kafka 1.0 in Docker

With the recent release of Kafka 1.0.0, I have just released the Docker image teivah/kafka (forked from spotify/kafka).

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:




Software Engineer, Go, Rust, Java | 改善

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

A Microservices implementation journey — Part 4

What I like about OutSystems

Smoke Testing vs Sanity Testing

Mac Os Ios Download For Pc

How Build Deploy WordPress MySQL Kubernetes

Impact of foldable screens on the App development Market

How to automatically generate requirements.txt 📃 for your Python project.

Download Java For Mac Oracle

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Teiva Harsanyi

Teiva Harsanyi

Software Engineer, Go, Rust, Java | 改善

More from Medium

[Kafka] Running Kafka with Docker

Real-Time ETL with Java & Groovy

Kafka-Streams with Spring-Boot | Part1

Kafka Partitions and Consumer Groups in 6 mins