Skip to content

Class CdcCaptureExecutionAcknowledgement

Namespace: Cephalon.Abstractions.Data
Assembly: Cephalon.Abstractions.dll

Describes one CDC batch that the shared runtime has already staged through the linked outbox and is now safe to acknowledge durably.

public sealed class CdcCaptureExecutionAcknowledgement

objectCdcCaptureExecutionAcknowledgement

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

CdcCaptureExecutionAcknowledgement(string, string, IReadOnlyList<OutboxMessage>?, int?, string?, string?, IReadOnlyDictionary<string, string>?)

Section titled “ CdcCaptureExecutionAcknowledgement(string, string, IReadOnlyList<OutboxMessage>?, int?, string?, string?, IReadOnlyDictionary<string, string>?)”

Initializes a new instance of the class.

public CdcCaptureExecutionAcknowledgement(string cdcCaptureId, string outboxId, IReadOnlyList<OutboxMessage>? messages = null, int? capturedChangeCount = null, string? changeId = null, string? checkpoint = null, IReadOnlyDictionary<string, string>? metadata = null)

cdcCaptureId string

The stable CDC capture identifier that owns the staged batch.

outboxId string

The stable outbox identifier that already accepted the staged publications.

messages IReadOnlyList<OutboxMessage>?

The outbox publications that the shared runtime staged successfully.

capturedChangeCount int?

The number of source changes observed by the staged batch. When omitted, Cephalon uses the staged-message count as the default captured-change answer.

changeId string?

The latest provider-facing change identifier when one is available.

checkpoint string?

The latest provider-facing checkpoint or cursor when one is available.

metadata IReadOnlyDictionary<string, string>?

Optional operator-facing metadata captured alongside the staged batch.

Gets the number of source changes observed by the staged batch.

public int CapturedChangeCount { get; }

int

Gets the stable CDC capture identifier that owns the staged batch.

public string CdcCaptureId { get; }

string

Gets the latest provider-facing change identifier when one was reported.

public string? ChangeId { get; }

string?

Gets the latest provider-facing checkpoint or cursor when one was reported.

public string? Checkpoint { get; }

string?

Gets the outbox publications that the shared runtime staged successfully.

public IReadOnlyList<OutboxMessage> Messages { get; }

IReadOnlyList<OutboxMessage>

Gets optional operator-facing metadata captured alongside the staged batch.

public IReadOnlyDictionary<string, string> Metadata { get; }

IReadOnlyDictionary<string, string>

Gets the stable outbox identifier that already accepted the staged publications.

public string OutboxId { get; }

string

Gets the number of publications that the shared runtime staged successfully.

public int StagedMessageCount { get; }

int