WIP:setup
authorKai Moritz <kai@juplo.de>
Sat, 2 Nov 2024 09:24:24 +0000 (10:24 +0100)
committerKai Moritz <kai@juplo.de>
Sat, 2 Nov 2024 15:17:37 +0000 (16:17 +0100)
docker/docker-compose.yml

index 7bfb5fe..b03f508 100644 (file)
@@ -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: