From: Kai Moritz Date: Wed, 11 Oct 2023 16:20:37 +0000 (+0200) Subject: Producer und Consumer-Group hinzugefügt X-Git-Tag: config/cruise-control---2023-10-signal~2 X-Git-Url: http://juplo.de/gitweb/?a=commitdiff_plain;h=c805fe1bdab2102caa77fa358889fffef68d40d3;p=demos%2Fkafka%2Ftraining Producer und Consumer-Group hinzugefügt --- diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index 51858a2..65207a2 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -267,6 +267,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 + + 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: