Created
June 21, 2021 16:00
-
-
Save alanchavezgar/bdfa78c7fc82dae1dde126f867027c65 to your computer and use it in GitHub Desktop.
Run dockerized kafka
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker run --name zookeeper -p 2181:2181 --env ALLOW_ANONYMOUS_LOGIN=yes -d docker.io/bitnami/zookeeper:3 | |
docker run --name kafka -p 9092:9092 --env KAFKA_CFG_AUTO_CREATE_TOPICS_ENABLE=true --env KAFKA_CFG_ZOOKEEPER_CONNECT=zookeeper:2181 --env ALLOW_PLAINTEXT_LISTENER=yes --link=zookeeper -d docker.io/bitnami/kafka:2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment