Skip to content

Class EventDispatchRuntimeMetadataKeys

Namespace: Cephalon.Eventing.Services
Assembly: Cephalon.Eventing.dll

Defines stable metadata keys used by event-dispatch runtime observations.

public static class EventDispatchRuntimeMetadataKeys

objectEventDispatchRuntimeMetadataKeys

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

These keys appear in dispatch runtime reports and the derived event-dispatch runtime surfaces so operators and dispatch stores can distinguish retryable failures from terminal failures without parsing provider-specific metadata.

Identifies the next UTC time when a retryable dispatch failure should become eligible again.

public const string NextRetryAtUtc = "nextRetryAtUtc"

string

Identifies the retry delay in seconds when the active dispatch runtime uses a delayed retry policy.

public const string RetryDelaySeconds = "retryDelaySeconds"

string

Identifies where retry eligibility is persisted.

public const string RetryDurability = "retryDurability"

string

Identifies whether the retry budget was exhausted for the latest observation.

public const string RetryExhausted = "retryExhausted"

string

Identifies the maximum number of dispatch attempts allowed for one staged message.

public const string RetryMaxAttempts = "retryMaxAttempts"

string

Identifies the retry decision represented by the latest observation.

public const string RetryOutcome = "retryOutcome"

string

Identifies the retry policy applied by the active dispatch runtime.

public const string RetryPolicy = "retryPolicy"

string

Identifies who owns the retry policy.

public const string RetryScope = "retryScope"

string

Identifies whether the latest failure should stop re-entering pending-dispatch reads.

public const string TerminalFailure = "terminalFailure"

string

IsTerminalFailure(IReadOnlyDictionary<string, string>)

Section titled “ IsTerminalFailure(IReadOnlyDictionary<string, string>)”

Gets a value indicating whether the supplied metadata describes a terminal failure.

public static bool IsTerminalFailure(IReadOnlyDictionary<string, string> metadata)

metadata IReadOnlyDictionary<string, string>

The dispatch observation metadata to inspect.

bool

true when either or is set to true; otherwise, false.