X-Git-Url: http://juplo.de/gitweb/?a=blobdiff_plain;f=docker-compose.yml;h=6bd5400896b027b0583623ef685823f4627ee10a;hb=0d72ab0d44e0887704a4be436525abb920f2a86a;hp=13e950d8a6d06973bb204c46f69db06a7c355db4;hpb=d4bf2b7400df95df6c3f2534519671e596163be2;p=demos%2Fkafka%2Ftraining diff --git a/docker-compose.yml b/docker-compose.yml index 13e950d..6bd5400 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -35,3 +35,57 @@ services: cli: image: juplo/toolbox command: sleep infinity + + producer: + image: juplo/endless-producer:1.0-SNAPSHOT + ports: + - 8080:8080 + environment: + producer.bootstrap-server: kafka:9092 + producer.client-id: producer + producer.topic: test + producer.throttle-ms: 500 + + + peter: + image: juplo/endless-consumer:1.0-SNAPSHOT + ports: + - 8081:8080 + environment: + server.port: 8080 + consumer.bootstrap-server: kafka:9092 + consumer.group-id: my-group + consumer.client-id: peter + consumer.topic: test + + beate: + image: juplo/endless-consumer:1.0-SNAPSHOT + ports: + - 8082:8080 + environment: + server.port: 8080 + consumer.bootstrap-server: kafka:9092 + consumer.group-id: my-group + consumer.client-id: beate + consumer.topic: test + + franz: + image: juplo/endless-consumer:1.0-SNAPSHOT + ports: + - 8083:8080 + environment: + server.port: 8080 + consumer.bootstrap-server: kafka:9092 + consumer.group-id: my-group + consumer.client-id: franz + consumer.topic: test + + klaus: + image: juplo/endless-consumer:1.0-SNAPSHOT + ports: + - 8084:8080 + environment: + consumer.bootstrap-server: kafka:9092 + consumer.group-id: my-group + consumer.client-id: klaus + consumer.topic: test