* Die Version des Addierer-Services, die JSON-Nachrichten verarbeitet,
hat jetzt eine explizite eigene Artefakt- und Image-ID.
* Außerdem wurde das Compose-Setup so umgestellt, dass es explizit die
JSON-Version des Requests- und des Adder-Services verwendet.
#!/bin/bash
-IMAGE=juplo/sumup-adder:1.0-SNAPSHOT
+IMAGE=juplo/sumup-adder-json:1.0-SNAPSHOT
if [ "$1" = "cleanup" ]
then
sumup.gateway.topic: in
requests-1:
- image: juplo/sumup-requests:1.0-SNAPSHOT
+ image: juplo/sumup-requests-json:1.0-SNAPSHOT
ports:
- 8081:8080
environment:
sumup.requests.client-id: requests-1
requests-2:
- image: juplo/sumup-requests:1.0-SNAPSHOT
+ image: juplo/sumup-requests-json:1.0-SNAPSHOT
ports:
- 8082:8080
environment:
sumup.requests.client-id: requests-2
adder-1:
- image: juplo/sumup-adder:1.0-SNAPSHOT
+ image: juplo/sumup-adder-json:1.0-SNAPSHOT
ports:
- 8091:8080
environment:
logging.level.org.apache.kafka.clients.consumer: DEBUG
adder-2:
- image: juplo/sumup-adder:1.0-SNAPSHOT
+ image: juplo/sumup-adder-json:1.0-SNAPSHOT
ports:
- 8092:8080
environment:
</parent>
<groupId>de.juplo.kafka</groupId>
- <artifactId>sumup-adder</artifactId>
+ <artifactId>sumup-adder-json</artifactId>
<version>1.0-SNAPSHOT</version>
<name>SumUp Adder</name>
- <description>Calculates the sum for the send messages</description>
+ <description>Calculates the sum for the send messages. This version consumes JSON-messages.</description>
<properties>
<java.version>11</java.version>