From: Kai Moritz Date: Wed, 11 Oct 2023 17:16:56 +0000 (+0200) Subject: Auf die Spring-Version des Simple Consumer umgestellt X-Git-Tag: config/cruise-control---2023-10-signal~1 X-Git-Url: http://juplo.de/gitweb/?a=commitdiff_plain;h=0858d22c831b4c99654b04814fee0c555a7d567d;p=demos%2Fkafka%2Ftraining Auf die Spring-Version des Simple Consumer umgestellt --- diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index 65207a2..294b0fc 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -272,16 +272,22 @@ services: command: kafka:9092 test producer consumer-1: - image: juplo/simple-consumer:1.0-SNAPSHOT - command: kafka:9092 test my-group consumer + image: juplo/spring-consumer:1.0-SNAPSHOT + environment: + spring.kafka.bootstrap-servers: kafka-1:9092, kafka-2:9092, kafka-3:9092 + spring.kafka.client-id: consumer-1 consumer-2: - image: juplo/simple-consumer:1.0-SNAPSHOT - command: kafka:9092 test my-group consumer-2 + image: juplo/spring-consumer:1.0-SNAPSHOT + environment: + spring.kafka.bootstrap-servers: kafka-1:9092, kafka-2:9092, kafka-3:9092 + spring.kafka.client-id: consumer-1 consumer-3: - image: juplo/simple-consumer:1.0-SNAPSHOT - command: kafka:9092 test my-group consumer-3 + image: juplo/spring-consumer:1.0-SNAPSHOT + environment: + spring.kafka.bootstrap-servers: kafka-1:9092, kafka-2:9092, kafka-3:9092 + spring.kafka.client-id: consumer-1 volumes: zookeeper-data: