Spickzettel-Übung auf `grundlagen/simple-consumer--consumergroup` umgestellt consumer/simple-consumer--spickzettel--vorlage consumer/simple-consumer--spickzettel--vorlage--2024-11-13--si
authorKai Moritz <kai@juplo.de>
Wed, 1 Nov 2023 12:31:06 +0000 (13:31 +0100)
committerKai Moritz <kai@juplo.de>
Sat, 9 Nov 2024 18:20:12 +0000 (19:20 +0100)
docker/docker-compose.yml

index 3b5752c..1d76d7d 100644 (file)
@@ -155,6 +155,9 @@ services:
     stop_grace_period: 0s
     depends_on:
       - cli
+      - producer
+      - spickzettel
+      - akhq
 
   zoonavigator:
     image: elkozmon/zoonavigator:1.1.2
@@ -205,6 +208,16 @@ services:
     image: juplo/simple-consumer:1.0-SNAPSHOT
     command: kafka:9092 test my-group consumer-3
 
+  spickzettel:
+    image: juplo/toolbox
+    command: >
+      bash -c '
+        kafka-console-consumer \
+          --bootstrap-server kafka:9092 \
+          --topic __consumer_offsets --from-beginning \
+          --formatter "kafka.coordinator.group.GroupMetadataManager\$$OffsetsMessageFormatter"
+      '
+
 volumes:
   zookeeper-data:
   zookeeper-log: