Skip to content

Commit 2d69bcd

Browse files
committed
build(samples): Use Spring Boot Kafka starter in Boot 4 samples
1 parent 11a211c commit 2d69bcd

4 files changed

Lines changed: 4 additions & 3 deletions

File tree

gradle/libs.versions.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,7 @@ springboot4-starter-webclient = { module = "org.springframework.boot:spring-boot
202202
springboot4-starter-jdbc = { module = "org.springframework.boot:spring-boot-starter-jdbc", version.ref = "springboot4" }
203203
springboot4-starter-actuator = { module = "org.springframework.boot:spring-boot-starter-actuator", version.ref = "springboot4" }
204204
springboot4-starter-cache = { module = "org.springframework.boot:spring-boot-starter-cache", version.ref = "springboot4" }
205+
springboot4-starter-kafka = { module = "org.springframework.boot:spring-boot-starter-kafka", version.ref = "springboot4" }
205206
timber = { module = "com.jakewharton.timber:timber", version = "4.7.1" }
206207

207208
# Animalsniffer signature

sentry-samples/sentry-samples-spring-boot-4-opentelemetry-noagent/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ dependencies {
5959
implementation(projects.sentryAsyncProfiler)
6060

6161
// kafka
62-
implementation(libs.spring.kafka4)
62+
implementation(libs.springboot4.starter.kafka)
6363
implementation(projects.sentryKafka)
6464

6565
// database query tracing

sentry-samples/sentry-samples-spring-boot-4-opentelemetry/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ dependencies {
6060
implementation(libs.otel)
6161

6262
// kafka
63-
implementation(libs.spring.kafka4)
63+
implementation(libs.springboot4.starter.kafka)
6464
implementation(projects.sentryKafka)
6565

6666
// cache tracing

sentry-samples/sentry-samples-spring-boot-4/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ dependencies {
6262
implementation(libs.caffeine)
6363

6464
// kafka
65-
implementation(libs.spring.kafka4)
65+
implementation(libs.springboot4.starter.kafka)
6666
implementation(projects.sentryKafka)
6767

6868
// database query tracing

0 commit comments

Comments
 (0)