Skip to content

feat: add pooled serializer for Kafka exporter#2553

Closed
XiaoWeiKIN wants to merge 1 commit intoopen-telemetry:mainfrom
XiaoWeiKIN:kafka-exporter
Closed

feat: add pooled serializer for Kafka exporter#2553
XiaoWeiKIN wants to merge 1 commit intoopen-telemetry:mainfrom
XiaoWeiKIN:kafka-exporter

Conversation

@XiaoWeiKIN
Copy link
Copy Markdown

In opentelemetry-java, when using exporter span, object pools are supported to optimize memory usage. It is hoped that the same can be done when using kafka-exporter.

Description:

  • Introduce PooledSpanDataSerializer with object pooling to reduce memory allocations
  • Add MemoryMode support to KafkaSpanExporterBuilder
  • Refactor SpanDataSerializer to use LowAllocationTraceRequestMarshaler
  • Add comprehensive tests including thread safety validation

@XiaoWeiKIN XiaoWeiKIN requested a review from a team as a code owner January 14, 2026 01:56
@linux-foundation-easycla
Copy link
Copy Markdown

linux-foundation-easycla bot commented Jan 14, 2026

CLA Missing ID

@XiaoWeiKIN XiaoWeiKIN closed this Jan 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant