Skip to content

Commit 3bfba65

Browse files
committed
changelog entry
1 parent 2f528bf commit 3bfba65

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,16 @@
1919
.configurator { it.isUseShakeGesture = true }
2020
.create()
2121
```
22+
- Add support for Kafka ([#5249](https://github.com/getsentry/sentry-java/pull/5249))
23+
- You will need to add the `sentry-kafka` dependency and opt-in via the new option.
24+
- Set `options.setEnableQueueTracing(true)` on `Sentry.init`
25+
- Or set `sentry.enable-queue-tracing=true` in `application.properties`
26+
- For Spring Boot Kafka is auto instrumented and no further configuration is needed.
27+
- also see https://docs.sentry.io/platforms/java/guides/spring-boot/integrations/kafka/
28+
- When using `kafka-clients` directly
29+
- you need to wrap your `KafkaProducer` via `SentryKafkaProducer.wrap(kafkaProducer)` to get `queue.publish` spans
30+
- and you may use our `SentryKafkaConsumerTracing.withTracing` helper to instrument the consumer side manually.
31+
- also see https://docs.sentry.io/platforms/java/integrations/kafka/
2232

2333
### Fixes
2434

0 commit comments

Comments
 (0)