From: Kai Moritz Date: Sat, 2 Nov 2024 09:24:24 +0000 (+0100) Subject: WIP:setup X-Git-Url: http://juplo.de/gitweb/?a=commitdiff_plain;h=3bcb84dafa6c51035afcafe2ca64c984f01274ae;p=demos%2Fkafka%2Ftraining WIP:setup --- diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index 7bfb5fe..b03f508 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -212,13 +212,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: