Sign inSign up

jarrydk/fedora-minimal-kafka

By jarrydk

•Updated about 3 years ago

Apache Kafka using jdk17 on fedora-minimal:38

Image
0

67

jarrydk/fedora-minimal-kafka repository overview

Option to the Container

Values to change

KAFKA_DATA_DIR='/tmp/zookeeper'
KAFKA_ADMIN_ENABLE_SERVER='false'
KAFKA_ADMIN_SERVER_PORT='8080'

TIP: Create the folder for KAFKA_DATA_DIR up front or use an existing one.

Default values

KAFKA_DATA_DIR_DEFAULT='/tmp/zookeeper'
KAFKA_ADMIN_ENABLE_SERVER_DEFAULT='false'
KAFKA_ADMIN_SERVER_PORT_DEFAULT='8080'

Start a container

Minimum options

docker run  -it \
    -e KAFKA_ZOOKEEPER_CONNECT=kafka-zookeeper:2181 \    
    docker.io/jarrydk/fedora-minimal-kafka:3.5.0

All options

docker run \
    -it \
    --rm=true \
    --name=kafka-server \
    -p 9092:9092 \
    -e KAFKA_ZOOKEEPER_CONNECT=kafka-zookeeper:2181 \
    -e KAFKA_LISTENERS=PLAINTEXT://:9092 \
    -e KAFKA_ADVERTISED_LISTENERS=PLAINTEXT://localhost:9092 \
    -e KAFKA_BROKER_ID=0 \
    -e KAFKA_LOG_DIRS=/tmp/kafka-logs \
    docker.io/jarrydk/fedora-minimal-kafka:3.5.0

Tag summary

Content type

Image

Digest

sha256:7ff80b243…

Size

490.9 MB

Last updated

about 3 years ago

docker pull jarrydk/fedora-minimal-kafka:3.5.0-v2