From: Kai Moritz Date: Sat, 23 Jul 2022 09:27:34 +0000 (+0200) Subject: Merge der überarbeiteten Compose-Konfiguration ('endless-stream-producer') X-Git-Tag: setup-producer^2 X-Git-Url: http://juplo.de/gitweb/?a=commitdiff_plain;h=634e128465f67a397bf3cc1583e3b9289351becc;p=demos%2Fkafka%2Ftraining Merge der überarbeiteten Compose-Konfiguration ('endless-stream-producer') --- 634e128465f67a397bf3cc1583e3b9289351becc diff --cc docker-compose.yml index 1e8a8df,a368379..a16bf67 --- a/docker-compose.yml +++ b/docker-compose.yml @@@ -37,20 -37,12 +37,22 @@@ services command: sleep infinity producer: - image: juplo/endless-producer:1.0-SNAPSHOT + image: juplo/rest-producer:1.0-SNAPSHOT ports: - - 8080:8880 + - 8080:8080 environment: + server.port: 8080 producer.bootstrap-server: kafka:9092 producer.client-id: producer producer.topic: test - producer.throttle-ms: 200 + + consumer: + image: juplo/endless-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