From: Kai Moritz Date: Wed, 1 Nov 2023 12:31:06 +0000 (+0100) Subject: Spickzettel-Übung auf `grundlagen/simple-consumer--consumergroup` umgestellt X-Git-Tag: consumer/simple-consumer--spickzettel--vorlage--2024-11-13--si X-Git-Url: http://juplo.de/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2Fconsumer%2Fsimple-consumer--spickzettel--vorlage;p=demos%2Fkafka%2Ftraining Spickzettel-Übung auf `grundlagen/simple-consumer--consumergroup` umgestellt --- diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index 3b5752c..1d76d7d 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -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: