Created
November 3, 2020 14:03
-
-
Save HassankSalim/dcbf5a900f207ee3cdd67adec5212b10 to your computer and use it in GitHub Desktop.
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 stop kafka-server && docker rm kafka-server | |
docker stop zookeeper-server && docker rm zookeeper-server | |
docker run -d --name zookeeper-server --network host -e ALLOW_ANONYMOUS_LOGIN=yes bitnami/zookeeper:latest | |
docker run -d --name kafka-server --network host -e ALLOW_PLAINTEXT_LISTENER=yes -e KAFKA_CFG_ZOOKEEPER_CONNECT=localhost:2181 bitnami/kafka:latest |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment