From: Kai Moritz Date: Wed, 7 May 2025 18:12:09 +0000 (+0200) Subject: 1. Schritt Live-Umbau: POM anpassen X-Git-Tag: spring/spring-producer--livecoding--schritte--2026-03--vor-branchumbenennung--springframework~4 X-Git-Url: https://juplo.de/gitweb/?a=commitdiff_plain;h=3ab2e0552fc2d1dbcc5d14c1400ae101ee616ae2;p=demos%2Fkafka%2Ftraining 1. Schritt Live-Umbau: POM anpassen --- diff --git a/build.gradle b/build.gradle index 2b3515db..c9e3eb80 100644 --- a/build.gradle +++ b/build.gradle @@ -27,7 +27,7 @@ repositories { } dependencies { - implementation 'org.apache.kafka:kafka-clients' + implementation 'org.springframework.boot:spring-boot-starter-kafka' implementation 'org.springframework.boot:spring-boot-starter-actuator' implementation 'org.springframework.boot:spring-boot-starter-validation' implementation 'org.springframework.boot:spring-boot-starter-web' @@ -37,7 +37,6 @@ dependencies { annotationProcessor 'org.projectlombok:lombok' testImplementation 'org.springframework.boot:spring-boot-starter-test' testImplementation 'org.springframework.boot:spring-boot-starter-webmvc-test' - testImplementation 'org.springframework.boot:spring-boot-starter-kafka' testImplementation 'org.springframework.kafka:spring-kafka-test' testCompileOnly 'org.projectlombok:lombok' testAnnotationProcessor 'org.projectlombok:lombok' diff --git a/pom.xml b/pom.xml index 27fbed1a..b71fad19 100644 --- a/pom.xml +++ b/pom.xml @@ -40,8 +40,8 @@ spring-boot-starter-validation - org.apache.kafka - kafka-clients + org.springframework.boot + spring-boot-starter-kafka org.projectlombok @@ -58,11 +58,6 @@ spring-boot-starter-webmvc-test test - - org.springframework.boot - spring-boot-starter-kafka - test - org.springframework.kafka spring-kafka-test