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 CdcCaptureExecutionResultInheritance
Section titled “Inheritance”object ← CdcCaptureExecutionResult
Inherited Members
Section titled “Inherited Members”object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
Section titled “Constructors”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
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)Parameters
Section titled “Parameters”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.
Properties
Section titled “Properties”CapturedChangeCount
Section titled “ CapturedChangeCount”Gets the number of source changes observed by the capture batch.
public int CapturedChangeCount { get; }Property Value
Section titled “Property Value”ChangeId
Section titled “ ChangeId”Gets the latest provider-facing change identifier when one was reported.
public string? ChangeId { get; }Property Value
Section titled “Property Value”Checkpoint
Section titled “ Checkpoint”Gets the latest provider-facing checkpoint or cursor when one was reported.
public string? Checkpoint { get; }Property Value
Section titled “Property Value”Freshness
Section titled “ Freshness”Gets the typed freshness answer reported by the capture implementation when one was supplied.
public CdcCaptureFreshnessStatus? Freshness { get; }Property Value
Section titled “Property Value”Gets the typed lag answer reported by the capture implementation when one was supplied.
public CdcCaptureLagStatus? Lag { get; }Property Value
Section titled “Property Value”Messages
Section titled “ Messages”Gets the outbox publications produced by the capture batch.
public IReadOnlyList<OutboxMessage> Messages { get; }Property Value
Section titled “Property Value”Metadata
Section titled “ Metadata”Gets optional operator-facing metadata captured alongside the batch.
public IReadOnlyDictionary<string, string> Metadata { get; }Property Value
Section titled “Property Value”IReadOnlyDictionary<string, string>
ProducedMessageCount
Section titled “ ProducedMessageCount”Gets the number of outbox publications produced by the capture batch.
public int ProducedMessageCount { get; }Property Value
Section titled “Property Value”Publication
Section titled “ Publication”Gets the typed publication-posture answer reported by the capture implementation when one was supplied.
public CdcCapturePublicationStatus? Publication { get; }