Docker image of yahoo/CMAK.
This repository builds and publishes a Docker image for CMAK (Cluster Manager for Apache Kafka, previously known as Kafka Manager).
- CMAK:
3.0.0.6
To run the image:
docker run -p 9000:9000 -e ZK_HOSTS=your_zookeeper_hosts panubo/cmakThe CMAK web interface will be available at http://localhost:9000.
A docker-compose.yaml is provided for a quick development and test setup. It includes Zookeeper, Kafka, and the CMAK image.
To start the services:
docker-compose upOnce running, you can add a new cluster in the CMAK UI.
- Cluster Zookeeper Hosts:
zk:2181
To build the Docker image locally, you can use the provided Makefile:
make buildThe CMAK instance can be configured using environment variables. The primary variable is ZK_HOSTS to point to your Zookeeper ensemble.
| Environment Variable | Description | Default |
|---|---|---|
ZK_HOSTS |
Zookeeper hosts for CMAK to use. | zk:2181 (in docker-compose) |
The project includes a test suite using bats. The tests are located in the tests/ directory.
To run the tests:
make testThis repository uses GitHub Actions to automatically build and publish multi-arch (linux/amd64, linux/arm64) Docker images to:
quay.io/panubo/cmakpublic.ecr.aws/panubo/cmak
Images are tagged based on git branches and tags.
Stable and production ready.