Table of Contents

Property PropagateBaggage

Namespace
NATS.Client.Core
Assembly
NATS.Client.Core.dll

PropagateBaggage

Gets or sets a value indicating whether W3C Baggage is propagated with messages.

public bool PropagateBaggage { get; set; }

Property Value

bool

Remarks

When enabled, baggage is written to the message as a W3C baggage header on publish (sourced from BaggageSource when set, otherwise from the send activity's Baggage), and extracted from the baggage header and restored onto the receive activity on consume. Disabled by default because baggage can carry sensitive or high-cardinality data.