From: Kai Moritz Date: Sat, 23 Jul 2022 09:44:41 +0000 (+0200) Subject: Merge der überarbeiteten Compose-Konfiguration ('setup-acks') X-Git-Tag: acks---lvm-2-tage~8 X-Git-Url: http://juplo.de/gitweb/?a=commitdiff_plain;h=4af7377cec91a4a6a2691cbd0e6efaf120d40da6;p=demos%2Fkafka%2Ftraining Merge der überarbeiteten Compose-Konfiguration ('setup-acks') --- 4af7377cec91a4a6a2691cbd0e6efaf120d40da6 diff --cc docker-compose.yml index ad2c722,a874abf..a93444c --- a/docker-compose.yml +++ b/docker-compose.yml @@@ -73,31 -73,22 +73,34 @@@ services image: juplo/toolbox command: sleep infinity - producer: + acks-all: image: juplo/rest-producer:1.0-SNAPSHOT ports: - - 8080:8080 + - 8082:8080 environment: + server.port: 8080 producer.bootstrap-server: kafka:9092 - producer.client-id: producer + producer.client-id: acks-all producer.topic: test + producer.acks: all + + acks-1: + image: juplo/rest-producer:1.0-SNAPSHOT + ports: - - 8081:8880 ++ - 8081:8080 + environment: ++ server.port: 8080 + producer.bootstrap-server: kafka:9092 + producer.client-id: acks-1 + producer.topic: test + producer.acks: 1 consumer: image: juplo/endless-consumer:1.0-SNAPSHOT ports: - - 8000:8081 - - 8081:8080 ++ - 8000:8080 environment: + server.port: 8080 consumer.bootstrap-server: kafka:9092 consumer.client-id: my-group consumer.client-id: consumer