X-Git-Url: https://juplo.de/gitweb/?a=blobdiff_plain;f=docker-compose.yml;h=5400911c06495fdaa8ba38964e7300e3867ee44f;hb=6952a12b00e8c5f015c8211c545bb2e022400c9b;hp=7ae8d9b1c666adac2867d326154ab917e350a47f;hpb=bd90c4a5a2ddb52dbcddb655b25ffc2a6db5f391;p=demos%2Fkafka%2Ftraining diff --git a/docker-compose.yml b/docker-compose.yml index 7ae8d9b..5400911 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -73,15 +73,34 @@ services: image: juplo/toolbox command: sleep infinity - producer: - image: juplo/rest-producer:1.0-SNAPSHOT + gateway-partition-0: + image: juplo/sumup-gateway-springified:1.0-SNAPSHOT ports: - 8080:8080 environment: server.port: 8080 - producer.bootstrap-server: kafka:9092 - producer.client-id: producer - producer.topic: test + spring-kafka.bootstrap-servers: kafka:9092 + spring.kafka.client-id: gateway-partition-0 + sumup.gateway.partition: 0 + + gateway-partition-0: + image: juplo/sumup-gateway-springified:1.0-SNAPSHOT + ports: + - 8081:8080 + environment: + server.port: 8080 + spring-kafka.bootstrap-servers: kafka:9092 + spring.kafka.client-id: gateway-partition-1 + sumup.gateway.partition: 1 + + gateway-hashed: + image: juplo/sumup-gateway-springified:1.0-SNAPSHOT + ports: + - 8082:8080 + environment: + server.port: 8080 + spring-kafka.bootstrap-servers: kafka:9092 + spring.kafka.client-id: gateway-hashed consumer: image: juplo/toolbox