ข้ามไปยังเนื้อหา

Class CdcCaptureExecutionReport

เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน

Namespace: Cephalon.Data.Services
Assembly: Cephalon.Data.dll

Describes one reported runtime observation for a CDC capture.

public sealed class CdcCaptureExecutionReport

objectCdcCaptureExecutionReport

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

CdcCaptureExecutionReport(string, string, DateTimeOffset, string?, int, int, string?, string?, string?, CdcCaptureFreshnessStatus?, CdcCaptureFreshnessStatus?, CdcCaptureLagStatus?, CdcCapturePublicationStatus?, IReadOnlyDictionary<string, string>?, string?, string?)

Section titled “ CdcCaptureExecutionReport(string, string, DateTimeOffset, string?, int, int, string?, string?, string?, CdcCaptureFreshnessStatus?, CdcCaptureFreshnessStatus?, CdcCaptureLagStatus?, CdcCapturePublicationStatus?, IReadOnlyDictionary<string, string>?, string?, string?)”

Creates a new CDC capture runtime observation.

public CdcCaptureExecutionReport(string cdcCaptureId, string outcome, DateTimeOffset observedAtUtc, string? reportId = null, int capturedChangeCount = 0, int producedMessageCount = 0, string? changeId = null, string? checkpoint = null, string? error = null, CdcCaptureFreshnessStatus? freshness = null, CdcCaptureFreshnessStatus? observationFreshness = null, CdcCaptureLagStatus? lag = null, CdcCapturePublicationStatus? publication = null, IReadOnlyDictionary<string, string>? metadata = null, string? reporterId = null, string? edgeNodeId = null)

cdcCaptureId string

The stable CDC capture identifier that produced the observation.

outcome string

The stable outcome identifier, such as started, captured, idle, or failed.

observedAtUtc DateTimeOffset

The UTC timestamp when the observation occurred.

reportId string?

The optional stable report identifier used to make repeated submissions idempotent.

capturedChangeCount int

The number of source changes observed by this report.

producedMessageCount int

The number of outbox messages produced by this report.

changeId string?

The latest provider-facing change identifier when available.

checkpoint string?

The latest provider-facing checkpoint or cursor when available.

error string?

The operator-facing error summary when the observation represents a failure.

freshness CdcCaptureFreshnessStatus?

An optional typed freshness answer reported by the active provider/runtime.

observationFreshness CdcCaptureFreshnessStatus?

An optional report-freshness answer describing whether the observation itself is still current.

lag CdcCaptureLagStatus?

An optional typed lag answer reported by the active provider/runtime.

publication CdcCapturePublicationStatus?

An optional typed publication-posture answer reported by the active provider/runtime.

metadata IReadOnlyDictionary<string, string>?

Optional operator-facing metadata captured alongside the observation.

reporterId string?

The optional stable reporter identity that submitted the observation.

edgeNodeId string?

The optional stable edge-node identifier that originated the observation.

Gets the number of source changes observed by this report.

public int CapturedChangeCount { get; }

int

Gets the stable CDC capture identifier that produced the observation.

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 stable edge-node identifier that originated the observation when one was supplied.

public string? EdgeNodeId { get; }

string?

Gets the operator-facing error summary when the observation represents a failure.

public string? Error { get; }

string?

Gets the typed freshness answer reported by the active provider/runtime when one was supplied.

public CdcCaptureFreshnessStatus? Freshness { get; }

CdcCaptureFreshnessStatus?

Gets the typed lag answer reported by the active provider/runtime when one was supplied.

public CdcCaptureLagStatus? Lag { get; }

CdcCaptureLagStatus?

Gets optional operator-facing metadata captured alongside the observation.

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

IReadOnlyDictionary<string, string>

Gets the typed report-freshness answer reported for the observation itself when one was supplied.

public CdcCaptureFreshnessStatus? ObservationFreshness { get; }

CdcCaptureFreshnessStatus?

Gets the UTC timestamp when the observation occurred.

public DateTimeOffset ObservedAtUtc { get; }

DateTimeOffset

Gets the stable outcome identifier for the observed CDC activity.

public string Outcome { get; }

string

Gets the number of outbox messages produced by this report.

public int ProducedMessageCount { get; }

int

Gets the typed publication-posture answer reported by the active provider/runtime when one was supplied.

public CdcCapturePublicationStatus? Publication { get; }

CdcCapturePublicationStatus?

Gets the optional stable report identifier used to make repeated submissions idempotent.

public string? ReportId { get; }

string?

Gets the stable reporter identity that submitted the observation when one was supplied.

public string? ReporterId { get; }

string?