Kafka Manager
What is Kafka Manager?
Kafka Manager is a web-based tool for managing and monitoring Apache Kafka clusters: view brokers, topics, partitions, and consumer group offsets from a browser instead of the Kafka CLI tools.
Start Kafka Manager
docker compose up -d zookeeper kafka kafka-manager
Kafka Manager talks to ZooKeeper to discover the cluster, so both zookeeper and kafka need to be running for it to be useful.
Stop Kafka Manager
docker compose stop kafka-manager
Configuration
kafka-manager/defaults.env doesn't exist, the container has no configurable .env variables. Its settings are fixed directly in kafka-manager/compose.yml:
| Setting | Value | What it does |
|---|---|---|
| Host port | 9020 | Fixed mapping to the container's port 9000 (not overridable via .env). |
ZK_HOSTS | zookeeper:2181 | ZooKeeper connection string the manager uses to discover the cluster. |
Add your cluster
- Open http://localhost:9020.
- Add a cluster pointing at the ZooKeeper host
zookeeper:2181.
Common issues
- Port
9020already in use on your host. Since it's hardcoded incompose.yml(not an.envvariable), you'll need to editkafka-manager/compose.ymldirectly to change it, or stop whatever else is bound to that port. - "No clusters" or connection errors when adding a cluster. Confirm
zookeeperis actually running (docker compose ps zookeeper) before adding the cluster, and that you usedzookeeper:2181, notkafka:9092, as the connection string. - Topics/brokers don't show up. Confirm
kafkaitself is up and has successfully registered with ZooKeeper; checkdocker compose logs kafkafor startup errors.
Need the Kafka broker itself? See Apache Kafka. New to Laradock? Start at Getting Started.