From: Kai Moritz Date: Sat, 23 Jul 2022 10:13:05 +0000 (+0200) Subject: Merge der überarbeiteten Compose-Konfiguration ('endless-stream-producer') X-Git-Tag: uniform-sticky-DEPRECATED^2 X-Git-Url: http://juplo.de/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2Fsetup-partitionierung;p=demos%2Fkafka%2Ftraining Merge der überarbeiteten Compose-Konfiguration ('endless-stream-producer') --- d4f93e07dfb4236423cde84f1a67b41fdc46c1f7 diff --cc docker-compose.yml index 023bfdd,a368379..de99240 --- a/docker-compose.yml +++ b/docker-compose.yml @@@ -39,20 -39,10 +39,22 @@@ services producer: image: juplo/endless-producer:1.0-SNAPSHOT ports: - - 8080:8080 + - 8000:8080 environment: + server.port: 8080 producer.bootstrap-server: kafka:9092 producer.client-id: producer producer.topic: test - producer.throttle-ms: 200 + producer.throttle-ms: 10 + + + consumer: + image: juplo/counting-consumer:1.0-SNAPSHOT + ports: - - 8081:8081 ++ - 8081:8080 + environment: ++ server.port: 8080 + consumer.bootstrap-server: kafka:9092 + consumer.client-id: my-group + consumer.client-id: consumer + consumer.topic: test