From: Kai Moritz Date: Wed, 11 Oct 2023 16:20:37 +0000 (+0200) Subject: Producer und Consumer-Group hinzugefügt X-Git-Url: http://juplo.de/gitweb/?a=commitdiff_plain;h=cf21facc90cd2e7dbc2ce6b11d85b6096e31d300;p=demos%2Fkafka%2Ftraining Producer und Consumer-Group hinzugefügt --- diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index dd7c830..3cc8402 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -187,6 +187,22 @@ services: - kafka-2 - kafka-3 + producer: + image: juplo/simple-producer:1.0-SNAPSHOT + command: kafka:9092 test producer + + consumer-1: + image: juplo/simple-consumer:1.0-SNAPSHOT + command: kafka:9092 test my-group consumer-1 + + consumer-2: + image: juplo/simple-consumer:1.0-SNAPSHOT + command: kafka:9092 test my-group consumer-2 + + consumer-3: + image: juplo/simple-consumer:1.0-SNAPSHOT + command: kafka:9092 test my-group consumer-3 + volumes: zookeeper-data: zookeeper-log: