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

See https://github.com/spring-projects/spring-boot/commit/9b72cc41abbe8a61ddffe1d63a51f361919c8753#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();

Comment From: mhalbritter

Yes, that looks like a bug. Thank you!

The JavaDoc of org.springframework.boot.actuate.autoconfigure.tracing.CompositeTextMapPropagator#create is wrong, too. It references parameters which no longer exist.