Skip to content

Producing and consuming different tracing propagation formats doesn't work #37161

@michael-wirth

Description

@michael-wirth

The CompositeTextMapPropagator.java is using the same property for consumer and producer. I assume this is a copy-paste error.

See 9b72cc4#r126084189

Version

Spring Boot 3.1.3

Solution

Use the getEffectiveConsumedTypes() instead of the getEffectiveProducedTypes() method

Line 131: List<TextMapPropagator> extractors = properties.getEffectiveConsumedTypes().stream().map(mapper::map).toList();

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions