Class ReactorBaggage
java.lang.Object
io.micrometer.tracing.contextpropagation.reactor.ReactorBaggage
Helper class to work with Reactor
Context and BaggageToPropagate.- Since:
- 1.2.2
-
Method Summary
-
Method Details
-
append
public static Function<reactor.util.context.Context,reactor.util.context.Context> append(String key, String value) Appends a single baggage entry to the existingFunction.- Parameters:
key- baggage keyvalue- baggage value- Returns:
- function transforming
Contextto append the baggage entry to the existing baggage
-
append
public static Function<reactor.util.context.Context,reactor.util.context.Context> append(Map<String, String> baggage) Appends baggage entries to the existingFunction.- Parameters:
baggage- baggage entries- Returns:
- function transforming
Contextto append the baggage entries to the existing baggage
-