From 08e6da28c092784237314760ac1418020c247920 Mon Sep 17 00:00:00 2001 From: Alexander Dinauer Date: Wed, 22 Apr 2026 08:28:34 +0200 Subject: [PATCH] fix(kafka): [Queue Instrumentation 26] Mark producer interceptor experimental The raw kafka producer path requires customers to reference SentryKafkaProducerInterceptor directly by class name, so it should not be marked internal. Align it with the customer-facing queue tracing surface by marking it experimental instead. Audit the remaining Kafka classes still marked internal and keep them as-is: the Spring bean post processors and Spring record interceptor remain framework wiring internals rather than direct customer entry points. Co-Authored-By: Claude --- .../java/io/sentry/kafka/SentryKafkaProducerInterceptor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sentry-kafka/src/main/java/io/sentry/kafka/SentryKafkaProducerInterceptor.java b/sentry-kafka/src/main/java/io/sentry/kafka/SentryKafkaProducerInterceptor.java index 457ecd6b5f..ea961c3786 100644 --- a/sentry-kafka/src/main/java/io/sentry/kafka/SentryKafkaProducerInterceptor.java +++ b/sentry-kafka/src/main/java/io/sentry/kafka/SentryKafkaProducerInterceptor.java @@ -25,7 +25,7 @@ import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; -@ApiStatus.Internal +@ApiStatus.Experimental public final class SentryKafkaProducerInterceptor implements ProducerInterceptor { public static final @NotNull String TRACE_ORIGIN = "auto.queue.kafka.producer";