Class MetadataPropagatorSetter
java.lang.Object
io.axoniq.framework.tracing.micrometer.propagator.MetadataPropagatorSetter
@Internal
public final class MetadataPropagatorSetter
extends Object
implements io.micrometer.tracing.propagation.Propagator.Setter<Map<String,String>>
Propagator.Setter implementation that writes the active trace context into a mutable Map.
Since an Message is immutable, this setter cannot mutate the message
directly. Instead it writes the propagation entries into a temporary Map, which the binding's span
implementation then merges onto the message via
Message.andMetadata(Map).
This type is Internal because it is an implementation detail of the Micrometer Tracing binding; it is
exposed only so the binding and tests can reference the shared INSTANCE.
- Since:
- 5.3.0
- Author:
- Mateusz Nowak
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final MetadataPropagatorSetterShared singleton instance used by the Micrometer binding.Fields inherited from interface io.micrometer.tracing.propagation.Propagator.Setter
NOOP -
Method Summary