Skip to content

Instantly share code, notes, and snippets.

@soscler
Created March 21, 2019 23:00
Show Gist options
  • Save soscler/878a4f2b93d573edc542d9539fc690f0 to your computer and use it in GitHub Desktop.
Save soscler/878a4f2b93d573edc542d9539fc690f0 to your computer and use it in GitHub Desktop.
single node kafka env-file
KAFKA_ZOOKEEPER_CONNECT=zookeeper:2181
KAFKA_ADVERTISED_HOST_NAME=kafka
KAFKA_BROKER_ID=1
KAFKA_ADVERTISED_LISTENERS=PLAINTEXT://kafka:29092,PLAINTEXT_HOST://localhost:9092
KAFKA_LISTENER_SECURITY_PROTOCOL_MAP=PLAINTEXT:PLAINTEXT,PLAINTEXT_HOST:PLAINTEXT
KAFKA_INTER_BROKER_LISTENER_NAME=PLAINTEXT
KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR=1
KAFKA_CREATE_TOPICS=topic1:1:1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment