Croway opened a new pull request, #22545: URL: https://github.com/apache/camel/pull/22545
## Summary Backport of #22544 to `camel-4.18.x`. - `AbstractMessagingSpanDecorator` used the default `CamelHeadersSpanContextPropagationExtractor` which only handles `String`-valued headers. Messaging transports like Kafka deliver headers as `byte[]`, so trace context headers (e.g. `traceparent`) were silently dropped, breaking distributed trace propagation across services. - Add `CamelMessagingHeadersSpanContextPropagationExtractor` that handles both `String` and `byte[]` headers, and override `getExtractor()` in `AbstractMessagingSpanDecorator` so all messaging components (Kafka, AMQP, SJMS, STOMP, Spring RabbitMQ, Azure Service Bus, etc.) benefit from the fix. ## Test plan - [x] 91 camel-telemetry tests pass on `camel-4.18.x` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
