Public | Automated Build

Last pushed: 3 months ago
Short Description
A Docker image for Kafka
Full Description


Docker image of Apache Kafka

Console producer and consumer

Since this is secured Kafka so it is required to tell Kafka client security configuration to use for authentication and authorization

export KAFKA_OPTS="${KAFKA_HOME}/config/kafka-client-jaas.conf"

  • Console producer
    bin/ --broker-list [advertised-hostname]:9092 --producer.config config/ --topic [topic-name]
  • Console consumer
    bin/ --bootstrap-server [advertised-hostname]:9092 --consumer.config config/ --from-beginning --topic [topic-name]
Docker Pull Command
Source Repository