File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments