Closed
Description
reactor-core 3.5.3 introduced a way to automatically propagate ThreadLocal
values registered with the context-propagation library. Combined with the use of micrometer-tracing it can allow users to log anywhere in their reactive chains with tracing information present, without the need to use handle
/tap
operators.
reactor/reactor-core#3335 adds a static method: Hooks.enableAutomaticContextPropagation()
that can be triggered at the start of an application to enable this feature.
The call to this method can be handled by Spring Boot and users would just interact with a Spring Boot property to enable/disable this feature.