From 87304bca8ee53e4b4c36fb56d35099273e88e3b5 Mon Sep 17 00:00:00 2001 From: Kai Moritz Date: Sun, 10 Nov 2024 13:50:32 +0100 Subject: [PATCH] Das Docker-Setup verwendet den `spring-producer` MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit * Die Konfiguration wurde außerdem so überarbeitet, dass der Producer mehr Nachrichten verschickt (ca. 10 Nachrichten pro Sekunde) und diese in Batches à ca. 6 Nachrichten verpackt. --- docker/docker-compose.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index 82c264d..6bd2766 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -190,8 +190,13 @@ services: - kafka-3 producer: - image: juplo/simple-producer:1.0-SNAPSHOT - command: kafka:9092 test producer + image: juplo/spring-producer:1.0-SNAPSHOT + environment: + juplo.bootstrap-server: kafka:9092 + juplo.client-id: producer + juplo.producer.topic: test + juplo.producer.linger-ms: 666 + juplo.producer.throttle-ms: 100 consumer: image: juplo/spring-consumer:1.1-SNAPSHOT -- 2.20.1