Skip to content

fhuertas/docker-kafka

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kafka in Docker

Build Status

This repository provides everything you need to run Kafka in Docker. It is based on the spotify/docker-kafka repository.

Why?

spotify/docker-kafka it provides of a kafka docker image that contains a specific kafka version (the last version was 0.10.1.0) but it is useful to have similar images with other versions. This repo contain a parametrizable docker file and the public builds is tagged with the same kafka version that provedes Run

docker run -p 2181:2181 -p 9092:9092 --env ADVERTISED_HOST=`docker-machine ip \`docker-machine active\`` --env ADVERTISED_PORT=9092 fhuertas/docker-kafka

Public Builds

https://hub.docker.com/r/fhuertas/docker-kafka/

Build from Source

This is a example for scala 2.11 and kafka 0.10.0.1

docker build -t kafka:0.10.0.1 \
  --build-arg SCALA_VERSION=2.11 \
  --build-arg KAFKA_VERSION=0.10.0.1 \
  --build-arg DOWNLOAD_URL="https://archive.apache.org/dist/kafka"

Todo

  • More builds

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%