Skip to content

Instantly share code, notes, and snippets.

@johnallen3d
Created July 23, 2015 22:45
Show Gist options
  • Save johnallen3d/cdc0438913104f4eac00 to your computer and use it in GitHub Desktop.
Save johnallen3d/cdc0438913104f4eac00 to your computer and use it in GitHub Desktop.
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment