From: Kai Moritz Date: Wed, 10 Jul 2024 14:22:21 +0000 (+0200) Subject: recorder: 1.0.1 - UPDATE 001 X-Git-Url: http://juplo.de/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2Frecorder-1.0.1;p=demos%2Fkafka%2Fwordcount recorder: 1.0.1 - UPDATE 001 --- diff --git a/Dockerfile b/Dockerfile index 9c0b843..83f65d0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM openjdk:11-jre-slim +FROM eclipse-temurin:21-jre COPY target/*.jar /opt/app.jar EXPOSE 8081 ENTRYPOINT ["java", "-jar", "/opt/app.jar"] diff --git a/pom.xml b/pom.xml index edcedf5..9c9b1ee 100644 --- a/pom.xml +++ b/pom.xml @@ -5,18 +5,17 @@ org.springframework.boot spring-boot-starter-parent - 2.5.4 + 3.2.7 de.juplo.kafka.wordcount recorder - 1.0.1 + 1.0.1.001 Wordcount-Recorder Recorder-service of the multi-user wordcount-example - 0.33.0 - 11 - 2.8.0 + 21 + 0.44.0 @@ -28,8 +27,8 @@ spring-boot-starter-web - org.apache.kafka - kafka-clients + org.springframework.kafka + spring-kafka org.hibernate.validator @@ -57,10 +56,23 @@ spring-boot-starter-test test + + org.springframework.kafka + spring-kafka-test + test + + + org.awaitility + awaitility + test + + + maven-failsafe-plugin + org.springframework.boot spring-boot-maven-plugin diff --git a/src/main/java/de/juplo/kafka/wordcount/recorder/RecorderController.java b/src/main/java/de/juplo/kafka/wordcount/recorder/RecorderController.java index 5fe69ad..f7e32e2 100644 --- a/src/main/java/de/juplo/kafka/wordcount/recorder/RecorderController.java +++ b/src/main/java/de/juplo/kafka/wordcount/recorder/RecorderController.java @@ -11,7 +11,7 @@ import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RestController; import org.springframework.web.context.request.async.DeferredResult; -import javax.validation.constraints.NotEmpty; +import jakarta.validation.constraints.NotEmpty; @RestController