Skip to content

Class CdcCaptureExecutionResult

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

Describes one bounded CDC capture batch and the outbox publications it produced.

public sealed class CdcCaptureExecutionResult

objectCdcCaptureExecutionResult

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

CdcCaptureExecutionResult(IReadOnlyList<OutboxMessage>?, int?, string?, string?, CdcCaptureFreshnessStatus?, CdcCaptureLagStatus?, CdcCapturePublicationStatus?, IReadOnlyDictionary<string, string>?)

Section titled “ CdcCaptureExecutionResult(IReadOnlyList<OutboxMessage>?, int?, string?, string?, CdcCaptureFreshnessStatus?, CdcCaptureLagStatus?, CdcCapturePublicationStatus?, IReadOnlyDictionary<string, string>?)”

Initializes a new instance of the class.

public CdcCaptureExecutionResult(IReadOnlyList<OutboxMessage>? messages = null, int? capturedChangeCount = null, string? changeId = null, string? checkpoint = null, CdcCaptureFreshnessStatus? freshness = null, CdcCaptureLagStatus? lag = null, CdcCapturePublicationStatus? publication = null, IReadOnlyDictionary<string, string>? metadata = null)

messages IReadOnlyList<OutboxMessage>?

The outbox publications produced by the capture batch.

capturedChangeCount int?

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

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.

freshness CdcCaptureFreshnessStatus?

The optional typed freshness answer reported by the capture implementation.

lag CdcCaptureLagStatus?

The optional typed lag answer reported by the capture implementation.

publication CdcCapturePublicationStatus?

The optional typed publication-posture answer reported by the capture implementation before any linked outbox-dispatch overlay is applied.

metadata IReadOnlyDictionary<string, string>?

Optional operator-facing metadata captured alongside the batch.

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

public int CapturedChangeCount { get; }

int

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 typed freshness answer reported by the capture implementation when one was supplied.

public CdcCaptureFreshnessStatus? Freshness { get; }

CdcCaptureFreshnessStatus?

Gets the typed lag answer reported by the capture implementation when one was supplied.

public CdcCaptureLagStatus? Lag { get; }

CdcCaptureLagStatus?

Gets the outbox publications produced by the capture batch.

public IReadOnlyList<OutboxMessage> Messages { get; }

IReadOnlyList<OutboxMessage>

Gets optional operator-facing metadata captured alongside the batch.

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

IReadOnlyDictionary<string, string>

Gets the number of outbox publications produced by the capture batch.

public int ProducedMessageCount { get; }

int

Gets the typed publication-posture answer reported by the capture implementation when one was supplied.

public CdcCapturePublicationStatus? Publication { get; }

CdcCapturePublicationStatus?