projects
/
demos
/
kafka
/
training
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Implementierung vereinfacht & an Spring-Beispiele angepasst
[demos/kafka/training]
/
docker-compose.yml
diff --git
a/docker-compose.yml
b/docker-compose.yml
index
f4b271f
..
824a275
100644
(file)
--- a/
docker-compose.yml
+++ b/
docker-compose.yml
@@
-73,23
+73,23
@@
services:
image: juplo/toolbox
command: sleep infinity
image: juplo/toolbox
command: sleep infinity
- gateway-
partition-
0:
+ gateway-0:
image: juplo/sumup-gateway--springified:1.0-SNAPSHOT
ports:
- 8080:8080
environment:
server.port: 8080
image: juplo/sumup-gateway--springified:1.0-SNAPSHOT
ports:
- 8080:8080
environment:
server.port: 8080
- spring
-
kafka.bootstrap-servers: kafka:9092
+ spring
.
kafka.bootstrap-servers: kafka:9092
spring.kafka.client-id: gateway-0
sumup.gateway.partition: 0
spring.kafka.client-id: gateway-0
sumup.gateway.partition: 0
- gateway-
0
:
+ gateway-
1
:
image: juplo/sumup-gateway--springified:1.0-SNAPSHOT
ports:
- 8081:8080
environment:
server.port: 8080
image: juplo/sumup-gateway--springified:1.0-SNAPSHOT
ports:
- 8081:8080
environment:
server.port: 8080
- spring
-
kafka.bootstrap-servers: kafka:9092
+ spring
.
kafka.bootstrap-servers: kafka:9092
spring.kafka.client-id: gateway-1
sumup.gateway.partition: 1
spring.kafka.client-id: gateway-1
sumup.gateway.partition: 1
@@
-99,7
+99,7
@@
services:
- 8082:8080
environment:
server.port: 8080
- 8082:8080
environment:
server.port: 8080
- spring
-
kafka.bootstrap-servers: kafka:9092
+ spring
.
kafka.bootstrap-servers: kafka:9092
spring.kafka.client-id: gateway
consumer:
spring.kafka.client-id: gateway
consumer: