Skip to content

Instantly share code, notes, and snippets.

@zarinfam
Last active November 4, 2019 22:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zarinfam/3f124ecb8e0f2f4d034677f444aafc1a to your computer and use it in GitHub Desktop.
Save zarinfam/3f124ecb8e0f2f4d034677f444aafc1a to your computer and use it in GitHub Desktop.
$ docker run --name kafka-server1 --network kafka-net -e ALLOW_PLAINTEXT_LISTENER=yes -e KAFKA_CFG_ZOOKEEPER_CONNECT=zookeeper-server:2181 -e KAFKA_CFG_ADVERTISED_LISTENERS=PLAINTEXT://localhost:9092 -p 9092:9092 bitnami/kafka:latest -d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment