Class PipelineDeadLetterRecord<T>
- Namespace
- Pipelinez.Core.DeadLettering
- Assembly
- Pipelinez.dll
Represents the full dead-letter envelope persisted for a terminally handled pipeline record.
public sealed class PipelineDeadLetterRecord<T> where T : PipelineRecord
Type Parameters
TThe pipeline record type captured in the dead-letter envelope.
- Inheritance
-
PipelineDeadLetterRecord<T>
- Inherited Members
Properties
CreatedAtUtc
Gets the timestamp when the container carrying the record was created.
public required DateTimeOffset CreatedAtUtc { get; init; }
Property Value
DeadLetteredAtUtc
Gets the timestamp when the record was written to the dead-letter destination.
public required DateTimeOffset DeadLetteredAtUtc { get; init; }
Property Value
Distribution
Gets the distributed execution context associated with the record.
public required PipelineRecordDistributionContext Distribution { get; init; }
Property Value
Fault
Gets the fault state that caused the record to be dead-lettered.
public required PipelineFaultState Fault { get; init; }
Property Value
Metadata
Gets the metadata associated with the record at dead-letter time.
public required MetadataCollection Metadata { get; init; }
Property Value
Record
Gets the original record that was dead-lettered.
public required T Record { get; init; }
Property Value
- T
RetryHistory
Gets the retry history recorded for the record.
public required IReadOnlyList<PipelineRetryAttempt> RetryHistory { get; init; }
Property Value
SegmentHistory
Gets the execution history recorded for pipeline segments that processed the record.
public required IReadOnlyList<PipelineSegmentExecution> SegmentHistory { get; init; }
Property Value
Methods
Validate()
Validates that the dead-letter envelope contains the required values.
public void Validate()