- Docker installed and running.
- Any editor/IDE (VS Code shown in examples but any editor will work).
lensesio/fast-data-dev, a single image that bundles Kafka, Zookeeper and supporting services. Run it attached to kafka-net and publish ports you may want to access from the host.
When Docker cannot find the image locally, it will pull it from Docker Hub. Example output (truncated):
provectuslabs/kafka-ui) on the same network so it can reach the broker by container name.
kafka-cluster and kafka-ui in the output. If either is missing, check the container logs:
- Cluster name: Kafka local cluster
- Bootstrap servers / Host:
kafka-cluster:9092
kafka-net, the UI can reach the broker using the container name kafka-cluster. Click Validate to test connectivity, then Submit to save.



The Kafka web UI is a third‑party tool and not part of the Apache Kafka project. It provides a convenient visual way to explore cluster state (topics, brokers, consumers), but all cluster operations are still performed by Kafka itself.
If host ports (e.g.
7000, 9092, 3030) are already in use on your machine, Docker will fail to bind them. Stop conflicting services or change the published ports (host side) using -p HOST_PORT:CONTAINER_PORT.- Apache Kafka: https://kafka.apache.org
- Docker: https://www.docker.com
- Docker networking: https://docs.docker.com/network/
- provectus/kafka-ui: https://github.com/provectus/kafka-ui
- lensesio/fast-data-dev image on Docker Hub: https://hub.docker.com/r/lensesio/fast-data-dev