Skip to content

Cluster Manager for Apache Kafka (previously Kafka Manager) support for Docker

Notifications You must be signed in to change notification settings

TrivadisPF/docker-cmak

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

kafka manager Dockerfile

kafka manager is a tool from Yahoo Inc. for managing Apache Kafka.

Base Docker Image

Howto

Quick Start

docker run -it --rm  -p 9000:9000 -e ZK_HOSTS="your-zk.domain:2181" -e APPLICATION_SECRET=letmein sheepkiller/kafka-manager

(if you don't define ZK_HOSTS, default value has been set to "localhost:2181")

Use your own configuration file

Until 1.3.0.4, you were able to override default configuration file via a docker volume to overi:

docker run [...] -v /path/to/confdir:/kafka-manager-${KM_VERSION}/conf [...]

From > 1.3.0.4, you can specify a configuration file via an environment variable.

docker run [...] -v /path/to/confdir:/opt -e KM_CONFIG=/opt/my_shiny.conf sheepkiller/kafka-manager

Pass arguments to kafka-manager

For release <= 1.3.0.4, you can pass options via command/args.

docker run -it --rm  -p 9000:9000 -e ZK_HOSTS="your-zk.domain:2181" -e APPLICATION_SECRET=letmein sheepkiller/kafka-manager -Djava.net.preferIPv4Stack=true

For release > 1.3.0.4, you can use env variable KM_ARGS.

docker run -it --rm  -p 9000:9000 -e ZK_HOSTS="your-zk.domain:2181" -e APPLICATION_SECRET=letmein -e KM_ARGS=-Djava.net.preferIPv4Stack=true sheepkiller/kafka-manager 

Specify a revision

If you want to upgrade/downgrade this Dockerfile, edit it and set KM_VERSION and KM_REVISION to fetch the release from github.

ToDo

  • don't run kafka-manager as root

About

Cluster Manager for Apache Kafka (previously Kafka Manager) support for Docker

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published