GithubHelp home page GithubHelp logo

isabella232 / kafka-manager-docker Goto Github PK

View Code? Open in Web Editor NEW

This project forked from videoamp/kafka-manager-docker

0.0 0.0 0.0 41 KB

Kafka Manager Dockerfile

License: Apache License 2.0

Shell 100.00%

kafka-manager-docker's Introduction

kafka manager Dockerfile

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

Base Docker Image

RoadMap

  • 1.3.1.6 + 1 : defaulting to openjdk
  • 1.3.1.6 + 2 : switch to non root user
  • 1.3.1.6 + 3 : switch to alpine linux

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.

Known issues

  • release before 1.3.1.6 may have APPLICATION_SECRET incorrectly set (default value) and kafka-manager will fail to start. Remove /kafka-manager znode from zookeeeper and reconfigure kafka-manager.

kafka-manager-docker's People

Contributors

kevinleetca avatar sheepkiller avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.