Coder Social home page Coder Social logo

docker-kafka's Introduction

Kafka in Docker

This repository provides everything you need to run Kafka in Docker.

Why?

The main hurdle of running Kafka in Docker is that it depends on Zookeeper. Compared to other Kafka docker images, this one runs both Zookeeper and Kafka in the same container. This means:

  • No dependency on an external Zookeeper host, or linking to another container
  • Zookeeper and Kafka are configured to work together out of the box

Run

$ docker build --rm -t docker-kafka .

$ docker run -it docker-kafka

Logs are stored in /tmp/kafka and /etc/kafka_manager.

KafkaManager

This script runs on the Kafka host machine and provides a way so that other containers on the same network can access Kafka CLI tools for creating and modifying topics and brokers, and other Kafka housekeeping tasks. It runs on the host and continuously polls to respond to requests made to a special topic that all processes using Kafka can post to.

  • Add/delete/list topics
  • Add/remove(todo) brokers
  • Scheduled infrastructure health check (todo)

docker-kafka's People

Contributors

apiri avatar eugenemi avatar jonaslindmark avatar mattnworb avatar mbruggmann avatar rohansingh avatar sherzberg avatar yazanobeidi avatar yutaono avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

diogoribeiro7

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.