Upgrade auf Spring Boot 3.3.4
authorKai Moritz <kai@juplo.de>
Wed, 25 Sep 2024 12:20:34 +0000 (14:20 +0200)
committerKai Moritz <kai@juplo.de>
Sun, 29 Sep 2024 19:22:58 +0000 (21:22 +0200)
pom.xml
src/main/java/de/juplo/kafka/Application.java
src/main/java/de/juplo/kafka/ApplicationProperties.java

diff --git a/pom.xml b/pom.xml
index f161e17..c81fd07 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -7,7 +7,7 @@
   <parent>
     <groupId>org.springframework.boot</groupId>
     <artifactId>spring-boot-starter-parent</artifactId>
-    <version>2.7.2</version>
+    <version>3.3.4</version>
     <relativePath/> <!-- lookup parent from repository -->
   </parent>
 
@@ -19,7 +19,6 @@
 
   <properties>
     <java.version>17</java.version>
-    <lombok.version>1.18.30</lombok.version>
   </properties>
 
   <dependencies>
index be152fa..3900c5f 100644 (file)
@@ -1,5 +1,6 @@
 package de.juplo.kafka;
 
+import jakarta.annotation.PreDestroy;
 import lombok.extern.slf4j.Slf4j;
 import org.apache.kafka.clients.consumer.Consumer;
 import org.springframework.beans.factory.annotation.Autowired;
@@ -11,7 +12,6 @@ import org.springframework.context.ConfigurableApplicationContext;
 import org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor;
 import org.springframework.util.concurrent.ListenableFuture;
 
-import javax.annotation.PreDestroy;
 import java.util.concurrent.ExecutionException;
 
 
index 4092fa2..43e15bf 100644 (file)
@@ -1,13 +1,12 @@
 package de.juplo.kafka;
 
+import jakarta.validation.constraints.NotEmpty;
+import jakarta.validation.constraints.NotNull;
 import lombok.Getter;
 import lombok.Setter;
 import org.springframework.boot.context.properties.ConfigurationProperties;
 import org.springframework.validation.annotation.Validated;
 
-import javax.validation.constraints.NotEmpty;
-import javax.validation.constraints.NotNull;
-
 
 @ConfigurationProperties(prefix = "simple.consumer")
 @Validated