scala-kafka / kafka / zookeeper / schema registry in docker-compose
eventstream:
build: .
command: tail -f /dev/null
volumes:
- .:/usr/src/app
- ./.ivy2:./root/.ivy2/cache
links:
- kafka
- registry
- zookeeper
kafka:
image: confluent/kafka
ports:
- "9092:9092"
links:
- zookeeper
registry:
image: confluent/schema-registry:latest
environment:
SCHEMA_REGISTRY_AVRO_COMPATIBILITY_LEVEL: none
ports:
- "8081:8081"
links:
- zookeeper
- kafka
zookeeper:
image: confluent/zookeeper:latest