From: Kai Moritz Date: Sat, 2 Nov 2024 17:38:18 +0000 (+0100) Subject: Setup mit 3 Konsumern und ein bischen mehr Dampf X-Git-Url: http://juplo.de/gitweb/?a=commitdiff_plain;h=a546df347b5630fc2a8579af934818f96c9525d4;p=demos%2Fkafka%2Ftraining Setup mit 3 Konsumern und ein bischen mehr Dampf --- diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index 7efe231..0c2b3c4 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -214,13 +214,35 @@ services: juplo.bootstrap-server: kafka:9092 juplo.client-id: producer juplo.producer.topic: test + juplo.producer.linger-ms: 666 + juplo.producer.throttle-ms: 10 - consumer: + consumer-1: image: juplo/spring-consumer:1.1-SNAPSHOT environment: juplo.bootstrap-server: kafka:9092 - juplo.client-id: consumer + juplo.client-id: consumer-1 juplo.consumer.topic: test + juplo.producer.linger-ms: 1000 + logging.level.de.juplo: TRACE + + consumer-2: + image: juplo/spring-consumer:1.1-SNAPSHOT + environment: + juplo.bootstrap-server: kafka:9092 + juplo.client-id: consumer-2 + juplo.consumer.topic: test + juplo.producer.linger-ms: 1000 + logging.level.de.juplo: TRACE + + consumer-3: + image: juplo/spring-consumer:1.1-SNAPSHOT + environment: + juplo.bootstrap-server: kafka:9092 + juplo.client-id: consumer-3 + juplo.consumer.topic: test + juplo.producer.linger-ms: 1000 + logging.level.de.juplo: TRACE volumes: zookeeper-data: