- Fixed the changed package-naming (javax -> jakarta)
- Also switched from properties- to YAML-format
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
- <version>2.5.4</version>
+ <version>3.0.2</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
<groupId>de.juplo.kafka.wordcount</groupId>
<artifactId>splitter</artifactId>
<relativePath/> <!-- lookup parent from repository -->
</parent>
<groupId>de.juplo.kafka.wordcount</groupId>
<artifactId>splitter</artifactId>
- <version>1.0.0</version>
+ <version>1.0.1</version>
<name>Wordcount-Splitter</name>
<description>Stream-processor of the multi-user wordcount-example, that splits the sentences up into single words</description>
<properties>
<docker-maven-plugin.version>0.33.0</docker-maven-plugin.version>
<name>Wordcount-Splitter</name>
<description>Stream-processor of the multi-user wordcount-example, that splits the sentences up into single words</description>
<properties>
<docker-maven-plugin.version>0.33.0</docker-maven-plugin.version>
- <java.version>11</java.version>
- <kafka.version>2.8.0</kafka.version>
</properties>
<dependencies>
<dependency>
</properties>
<dependencies>
<dependency>
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.stereotype.Component;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.stereotype.Component;
-import javax.annotation.PostConstruct;
-import javax.annotation.PreDestroy;
+import jakarta.annotation.PostConstruct;
+import jakarta.annotation.PreDestroy;
import java.util.Arrays;
import java.util.Properties;
import java.util.concurrent.CompletableFuture;
import java.util.Arrays;
import java.util.Properties;
import java.util.concurrent.CompletableFuture;
+++ /dev/null
-server.port=8086
-management.endpoints.web.exposure.include=*
--- /dev/null
+server:
+ port: 8086
+management:
+ endpoints:
+ web:
+ exposure:
+ include: "*"