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

Class CdcCaptureRuntimeState

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

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

Describes the latest operator-facing runtime state visible for one active CDC capture.

public sealed record CdcCaptureRuntimeState : IEquatable<CdcCaptureRuntimeState>

objectCdcCaptureRuntimeState

IEquatable<CdcCaptureRuntimeState>

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

CdcCaptureRuntimeState(string, string, string, string, string, string, string, IReadOnlyList<string>, string?, DateTimeOffset?, string?, int, int, int, int, int, int, long, long, string?, string?, string?, CdcCaptureFreshnessStatus, CdcCaptureFreshnessStatus, CdcCaptureLagStatus, CdcCapturePublicationStatus, EventDispatchRuntimeState?, IReadOnlyDictionary<string, string>)

Section titled “ CdcCaptureRuntimeState(string, string, string, string, string, string, string, IReadOnlyList<string>, string?, DateTimeOffset?, string?, int, int, int, int, int, int, long, long, string?, string?, string?, CdcCaptureFreshnessStatus, CdcCaptureFreshnessStatus, CdcCaptureLagStatus, CdcCapturePublicationStatus, EventDispatchRuntimeState?, IReadOnlyDictionary<string, string>)”

Describes the latest operator-facing runtime state visible for one active CDC capture.

public CdcCaptureRuntimeState(string CdcCaptureId, string SourceModuleId, string Provider, string SourceId, string OutboxId, string Mode, string EventFormat, IReadOnlyList<string> ResourceIds, string? LastOutcome, DateTimeOffset? LastObservedAtUtc, string? LastReportId, int LastCapturedChangeCount, int LastProducedMessageCount, int StartedCount, int CapturedCount, int IdleCount, int FailedCount, long TotalCapturedChangeCount, long TotalProducedMessageCount, string? LastChangeId, string? LastCheckpoint, string? LastError, CdcCaptureFreshnessStatus Freshness, CdcCaptureFreshnessStatus ObservationFreshness, CdcCaptureLagStatus Lag, CdcCapturePublicationStatus Publication, EventDispatchRuntimeState? OutboxDispatchState, IReadOnlyDictionary<string, string> Metadata)

CdcCaptureId string

The stable CDC capture identifier.

SourceModuleId string

The identifier of the module that owns the CDC capture.

Provider string

The logical provider identifier that supplies the change feed.

SourceId string

The logical source stream, database, or feed identifier.

OutboxId string

The outbox identifier that receives captured publications.

Mode string

The capture mode such as wal, change-stream, or table-tail.

EventFormat string

The emitted change-event format such as debezium-envelope.

ResourceIds IReadOnlyList<string>

The resource identifiers observed by the capture.

LastOutcome string?

The latest reported capture outcome identifier when one exists.

LastObservedAtUtc DateTimeOffset?

The UTC timestamp when the latest capture observation was reported.

LastReportId string?

The latest stable report identifier when the active runtime supplied one.

LastCapturedChangeCount int

The number of source changes observed in the latest report.

LastProducedMessageCount int

The number of outbox messages produced by the latest report.

StartedCount int

The number of started observations reported so far.

CapturedCount int

The number of captured observations reported so far.

IdleCount int

The number of idle observations reported so far.

FailedCount int

The number of failed observations reported so far.

TotalCapturedChangeCount long

The total number of source changes reported so far.

TotalProducedMessageCount long

The total number of outbox messages produced so far.

LastChangeId string?

The latest provider-facing change identifier when one was reported.

LastCheckpoint string?

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

LastError string?

The latest operator-facing error summary when one was reported.

Freshness CdcCaptureFreshnessStatus

The latest provider-facing freshness answer reported for the capture.

ObservationFreshness CdcCaptureFreshnessStatus

The latest report-freshness answer visible for the capture observation itself.

Lag CdcCaptureLagStatus

The latest provider-facing lag answer reported for the capture.

Publication CdcCapturePublicationStatus

The latest publication posture answer reported for the capture.

OutboxDispatchState EventDispatchRuntimeState?

The latest linked outbox dispatch state when the active runtime also reports publication posture for the capture’s outbox.

Metadata IReadOnlyDictionary<string, string>

The operator-facing metadata captured by the latest report.

The number of captured observations reported so far.

public int CapturedCount { get; init; }

int

The stable CDC capture identifier.

public string CdcCaptureId { get; init; }

string

The emitted change-event format such as debezium-envelope.

public string EventFormat { get; init; }

string

Gets the authored or effective execution-binding answer for the CDC capture.

public CdcCaptureExecutionBindingDescriptor ExecutionBinding { get; init; }

CdcCaptureExecutionBindingDescriptor

The number of failed observations reported so far.

public int FailedCount { get; init; }

int

The latest provider-facing freshness answer reported for the capture.

public CdcCaptureFreshnessStatus Freshness { get; init; }

CdcCaptureFreshnessStatus

Gets a value indicating whether the capture’s execution runtime currently has one active reporter owner.

public bool HasActiveReporterOwner { get; }

bool

Gets a value indicating whether the linked outbox dispatch path has reported runtime state.

public bool HasDispatchReports { get; }

bool

Gets a value indicating whether the capture still has a provider-reported freshness window.

public bool HasFreshnessWindow { get; }

bool

Gets a value indicating whether the capture observation still has a report-freshness window.

public bool HasObservationFreshnessWindow { get; }

bool

Gets a value indicating whether the capture still has provider-reported pending source changes.

public bool HasPendingChanges { get; }

bool

Gets a value indicating whether the capture still has provider-reported pending publications.

public bool HasPendingPublications { get; }

bool

Gets a value indicating whether the capture’s execution runtime currently reports degraded reporter ownership.

public bool HasReporterCoordinationIssue { get; }

bool

Gets a value indicating whether the capture currently carries reporter-lease metadata.

public bool HasReporterLease { get; }

bool

Gets a value indicating whether the capture has reported any runtime observations yet.

public bool HasReports { get; }

bool

The number of idle observations reported so far.

public int IdleCount { get; init; }

int

Gets a value indicating whether the latest reported capture posture is failed.

public bool IsFailed { get; }

bool

Gets a value indicating whether the latest report is now stale according to the execution-runtime reporting policy.

public bool IsObservationStale { get; }

bool

The latest provider-facing lag answer reported for the capture.

public CdcCaptureLagStatus Lag { get; init; }

CdcCaptureLagStatus

The number of source changes observed in the latest report.

public int LastCapturedChangeCount { get; init; }

int

The latest provider-facing change identifier when one was reported.

public string? LastChangeId { get; init; }

string?

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

public string? LastCheckpoint { get; init; }

string?

Gets the latest edge-node identifier visible for the capture when one was reported.

public string? LastEdgeNodeId { get; init; }

string?

The latest operator-facing error summary when one was reported.

public string? LastError { get; init; }

string?

The UTC timestamp when the latest capture observation was reported.

public DateTimeOffset? LastObservedAtUtc { get; init; }

DateTimeOffset?

The latest reported capture outcome identifier when one exists.

public string? LastOutcome { get; init; }

string?

The number of outbox messages produced by the latest report.

public int LastProducedMessageCount { get; init; }

int

The latest stable report identifier when the active runtime supplied one.

public string? LastReportId { get; init; }

string?

Gets the latest reporter identity visible for the capture when one was reported.

public string? LastReporterId { get; init; }

string?

The operator-facing metadata captured by the latest report.

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

IReadOnlyDictionary<string, string>

The capture mode such as wal, change-stream, or table-tail.

public string Mode { get; init; }

string

The latest report-freshness answer visible for the capture observation itself.

public CdcCaptureFreshnessStatus ObservationFreshness { get; init; }

CdcCaptureFreshnessStatus

The latest linked outbox dispatch state when the active runtime also reports publication posture for the capture’s outbox.

public EventDispatchRuntimeState? OutboxDispatchState { get; init; }

EventDispatchRuntimeState?

The outbox identifier that receives captured publications.

public string OutboxId { get; init; }

string

The logical provider identifier that supplies the change feed.

public string Provider { get; init; }

string

The latest publication posture answer reported for the capture.

public CdcCapturePublicationStatus Publication { get; init; }

CdcCapturePublicationStatus

Gets the reporter-coordination posture currently visible for the capture’s execution runtime.

public CdcCaptureReporterCoordinationStatus ReporterCoordination { get; init; }

CdcCaptureReporterCoordinationStatus

Gets the UTC timestamp when the latest reporter lease expires when one is known.

public DateTimeOffset? ReporterLeaseExpiresAtUtc { get; init; }

DateTimeOffset?

The resource identifiers observed by the capture.

public IReadOnlyList<string> ResourceIds { get; init; }

IReadOnlyList<string>

The logical source stream, database, or feed identifier.

public string SourceId { get; init; }

string

The identifier of the module that owns the CDC capture.

public string SourceModuleId { get; init; }

string

The number of started observations reported so far.

public int StartedCount { get; init; }

int

The total number of source changes reported so far.

public long TotalCapturedChangeCount { get; init; }

long

The total number of outbox messages produced so far.

public long TotalProducedMessageCount { get; init; }

long

Gets the total number of capture observations reported for the CDC capture.

public int TotalReports { get; }

int