Skip to content

Commit 741c645

Browse files
authored
Merge pull request #5314 from getsentry/ref/queue-instrumentation-kafka-sample-autoconfig
ref(samples): [Queue Instrumentation 19] Drop Kafka auto-config exclude from Spring Boot samples
2 parents da700e7 + 118d244 commit 741c645

6 files changed

Lines changed: 0 additions & 12 deletions

File tree

sentry-samples/sentry-samples-spring-boot-jakarta-opentelemetry-noagent/src/main/resources/application-kafka.properties

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# Kafka — activate with: --spring.profiles.active=kafka
22
sentry.enable-queue-tracing=true
33

4-
spring.autoconfigure.exclude=
54
spring.kafka.bootstrap-servers=localhost:9092
65
spring.kafka.consumer.group-id=sentry-sample-group
76
spring.kafka.consumer.auto-offset-reset=earliest

sentry-samples/sentry-samples-spring-boot-jakarta-opentelemetry-noagent/src/main/resources/application.properties

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,6 @@ spring.graphql.graphiql.enabled=true
3535
spring.graphql.websocket.path=/graphql
3636
spring.quartz.job-store-type=memory
3737

38-
# Kafka is only active with the 'kafka' profile (--spring.profiles.active=kafka)
39-
spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.kafka.KafkaAutoConfiguration
40-
4138
# Cache tracing
4239
sentry.enable-cache-tracing=true
4340
spring.cache.cache-names=todos

sentry-samples/sentry-samples-spring-boot-jakarta-opentelemetry/src/main/resources/application-kafka.properties

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# Kafka — activate with: --spring.profiles.active=kafka
22
sentry.enable-queue-tracing=true
33

4-
spring.autoconfigure.exclude=
54
spring.kafka.bootstrap-servers=localhost:9092
65
spring.kafka.consumer.group-id=sentry-sample-group
76
spring.kafka.consumer.auto-offset-reset=earliest

sentry-samples/sentry-samples-spring-boot-jakarta-opentelemetry/src/main/resources/application.properties

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,6 @@ spring.graphql.graphiql.enabled=true
3535
spring.graphql.websocket.path=/graphql
3636
spring.quartz.job-store-type=memory
3737

38-
# Kafka is only active with the 'kafka' profile (--spring.profiles.active=kafka)
39-
spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.kafka.KafkaAutoConfiguration
40-
4138
# Cache tracing
4239
sentry.enable-cache-tracing=true
4340
spring.cache.cache-names=todos

sentry-samples/sentry-samples-spring-boot-jakarta/src/main/resources/application-kafka.properties

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# Kafka — activate with: --spring.profiles.active=kafka
22
sentry.enable-queue-tracing=true
33

4-
spring.autoconfigure.exclude=
54
spring.kafka.bootstrap-servers=localhost:9092
65
spring.kafka.consumer.group-id=sentry-sample-group
76
spring.kafka.consumer.auto-offset-reset=earliest

sentry-samples/sentry-samples-spring-boot-jakarta/src/main/resources/application.properties

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,6 @@ spring.quartz.job-store-type=memory
3838
# Cache tracing
3939
sentry.enable-cache-tracing=true
4040

41-
# Kafka is only active with the 'kafka' profile (--spring.profiles.active=kafka)
42-
spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.kafka.KafkaAutoConfiguration
43-
4441
spring.cache.cache-names=todos
4542
spring.cache.caffeine.spec=maximumSize=500,expireAfterAccess=600s
4643

0 commit comments

Comments
 (0)