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-0
+ sumup.gateway.partition: 0
+
+ gateway-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-1
+ sumup.gateway.partition: 1
+
+ gateway:
+ 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
consumer:
image: juplo/toolbox