Skip to content

Instantly share code, notes, and snippets.

@digitalist
Created July 15, 2017 12:54
Show Gist options
  • Save digitalist/3beac3f01d8e67b3f3fc52d5a36b50cb to your computer and use it in GitHub Desktop.
Save digitalist/3beac3f01d8e67b3f3fc52d5a36b50cb to your computer and use it in GitHub Desktop.
confluent:kafka/docker-compose
version: '3'
services:
zookeeper:
image: confluent/zookeeper
ports:
- 2181:2181
kafka:
#test: bin/kafka-topics --create --zookeeper zookeeper:2181 --replication-factor 1 --partitions 1 --topic test
image: confluent/kafka
depends_on:
- zookeeper
links:
- zookeeper
volumes:
- "./temp/:/temp"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment