Class PubSubOptions
- Namespace
- GroupeIsa.Neos.ClusterCommunication
- Assembly
- GroupeIsa.Neos.ClusterCommunication.dll
Represents the options for the pub/sub component.
public class PubSubOptions
- Inheritance
-
PubSubOptions
- Inherited Members
Properties
AdditionalMetadata
Gets the additional metadata to be sent with the event.
public IDictionary<string, string> AdditionalMetadata { get; }
Property Value
Remarks
In Dapr mode, additional metadata parameters are available based on each pubsub component. In non-Dapr mode, additional metadata parameters are ignored.
RawPayload
Gets or sets a value indicating whether the payload should be sent raw (without CloudEvent and Neos envelops).
public bool RawPayload { get; set; }
Property Value
TimeToLiveInSeconds
Gets or sets the event time to live in seconds.
public int TimeToLiveInSeconds { get; set; }
Property Value
WrapData
Gets or sets a value indicating whether the event should be sent wrapped in the Neos envelop.
public bool WrapData { get; set; }
Property Value
Remarks
If RawPayload is set to true, this option is ignored.
If the data is already wrapped in a Neos envelope EnvelopeHttpMessage, this option doesn't remove the envelope.