opentelemetry-java-contrib/kafka-exporter
renovate[bot] dba60a384f
fix(deps): update dependency org.apache.kafka:kafka-clients to v4 (#1802)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lauri Tulmin <ltulmin@splunk.com>
2025-05-16 14:37:58 +00:00
..
src Reimplemented renovate fixes and change testcontainers image (#1527) 2024-10-30 16:59:55 -07:00
README.md implement kafka-exporter (#965) 2024-01-10 10:38:29 -08:00
build.gradle.kts fix(deps): update dependency org.apache.kafka:kafka-clients to v4 (#1802) 2025-05-16 14:37:58 +00:00

README.md

Exporting SpanData to Kafka

This module contains KafkaSpanExporter, which is an implementation of the io.opentelemetry.sdk.trace.export.SpanExporter interface.

KafkaSpanExporter can be used for sending SpanData to a Kafka topic.

Usage

In order to instantiate a KafkaSpanExporter, you either need to pass a Kafka Producer or the configuration of a Kafka Producer together with key and value serializers. You also need to pass the topic to which the SpanData need to be sent. For a sample usage, see KafkaSpanExporterIntegrationTest.

Component owners

Learn more about component owners in component_owners.yml.