Created
September 22, 2016 01:56
-
-
Save jmacqueen/0f9c3c226543364b34f6a63f3e182ad4 to your computer and use it in GitHub Desktop.
Basic docker-compose.yml for playing with Kafka
This file contains hidden or 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
zookeeper: | |
image: wurstmeister/zookeeper:3.4.6 | |
ports: | |
- "2181:2181" | |
kafka: | |
image: ches/kafka:0.9.0.1 | |
ports: | |
- "9092:9092" | |
links: | |
- zookeeper | |
volumes: | |
- /var/run/docker.sock:/var/run/docker.sock | |
kafkacat: | |
image: ryane/kafkacat | |
entrypoint: | |
- kafkacat | |
- -b kafka.local | |
links: | |
- kafka:kafka.local |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment