Sign inSign up

taggdev/kafka

By taggdev

•Updated over 7 years ago

Kafka and Zookeeper in Docker

Image
0

265

taggdev/kafka repository overview

⁠Kafka and Zookeeper in Docker

This repository use

    SCALA VERSION 2.11
    KAFKA VERSION 2.0.0

Run

    docker run -d -p 2181:2181 -p 9092:9092 \
		--hostname localhost \
		--env ADVERTISED_HOST=127.0.0.1 \
		--env ADVERTISED_PORT=9092 \
		--name kafkadev taggdev/kafka

Create a topic

    docker exec kafkadev \
        opt/kafka_[SCALA VERSION]-[KAFKA VERSION]/bin/kafka-topics.sh --create \
        --zookeeper localhost:2181 \
        --replication-factor 1 \
        --partitions 5 \
        --topic test

⁠Update

  • 31/052019 Add vim

⁠In the box

  • taggdev/kafka

⁠Public Builds

https://hub.docker.com/r/taggdev/kafka⁠

⁠Build from Source

docker build -t taggdev/kafka kafka/

⁠Ref

Tag summary

Content type

Image

Digest

Size

213.6 MB

Last updated

over 7 years ago

docker pull taggdev/kafka