From c805fe1bdab2102caa77fa358889fffef68d40d3 Mon Sep 17 00:00:00 2001 From: Kai Moritz Date: Wed, 11 Oct 2023 18:20:37 +0200 Subject: [PATCH] =?utf8?q?Producer=20und=20Consumer-Group=20hinzugef=C3=BC?= =?utf8?q?gt?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- docker/docker-compose.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) 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: -- 2.20.1