Skip to content

Integrate the Micrometer Context Propagation library #29056

Closed
@rstoyanchev

Description

@rstoyanchev

The Micrometer context-propagation library propagates context across different types of context such as ThreadLocal, Reactor Context, and others. It does not replace those but rather helps to propagate values from one type of context to another, or simply to restore ThreadLocal values on a different thread.

One place where we can integrate the library is in Spring MVC. When a controller method returns Flux or Mono, we can use the Context Propagation library to populate the Reactor Context with values from any ThreadLocal's for which there is a registered ThreadLocalAccessor.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions