X-Git-Url: https://juplo.de/gitweb/?a=blobdiff_plain;f=docker-compose.yml;h=b7b314483e472f45d05f503cac7b81039393dd14;hb=refs%2Fheads%2Favro-holzweg;hp=b65635b2b3cc3c43b9e5ee0f2e4eb4674563661f;hpb=edfbe10e029271145f8105f40c903de7ee24fd2e;p=demos%2Fkafka%2Fwordcount diff --git a/docker-compose.yml b/docker-compose.yml index b65635b..b7b3144 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -24,6 +24,20 @@ services: depends_on: - zookeeper + schema-registry: + image: confluentinc/cp-schema-registry:6.2.0 + hostname: schema-registry + ports: + - "9081:9081" + environment: + SCHEMA_REGISTRY_KAFKASTORE_BOOTSTRAP_SERVERS: PLAINTEXT://kafka:9092 + SCHEMA_REGISTRY_HOST_NAME: schema-registry + SCHEMA_REGISTRY_LISTENERS: http://0.0.0.0:9081 + depends_on: + - zookeeper + - kafka + + recorder: image: juplo/wordcount--recorder:1.0.0 environment: @@ -35,7 +49,7 @@ services: - kafka users: - image: juplo/wordcount--users:1.0.0 + image: juplo/wordcount--users:2.0-avro-SNAPSHOT environment: juplo.wordcount.users.bootstrap-server: kafka:9092 juplo.wordcount.users.topic: users @@ -45,7 +59,7 @@ services: - kafka counter: - image: juplo/wordcount--counter:1.0.0 + image: juplo/wordcount--counter:2.0-avro-SNAPSHOT environment: juplo.wordcount.counter.bootstrap-server: kafka:9092 juplo.wordcount.counter.application-id: counter @@ -57,7 +71,7 @@ services: - kafka top10: - image: juplo/wordcount--top10:1.0.0 + image: juplo/wordcount--top10:2.0-avro-SNAPSHOT environment: juplo.wordcount.top10.bootstrap-server: kafka:9092 juplo.wordcount.top10.application-id: top10 @@ -69,7 +83,7 @@ services: - kafka query: - image: juplo/wordcount--query:1.0.2 + image: juplo/wordcount--query:2.0-avro-SNAPSHOT environment: juplo.wordcount.query.bootstrap-server: kafka:9092 juplo.wordcount.query.application-id: query @@ -117,7 +131,7 @@ services: done" cli: - image: confluentinc/cp-kafka:6.2.0 + image: juplo/toolbox command: bash -c " cub kafka-ready -b kafka:9092 1 60 ; kafka-topics --bootstrap-server kafka:9092 --create --partitions 10 --topic recordings ; @@ -126,10 +140,6 @@ services: kafka-topics --bootstrap-server kafka:9092 --create --partitions 10 --topic top10 ; sleep infinity" - kafkacat: - image: confluentinc/cp-kafkacat:6.2.0 - command: sleep infinity - networks: default: external: