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>Inheritance
Section titled “Inheritance”object ← CdcCaptureRuntimeState
Implements
Section titled “Implements”IEquatable<CdcCaptureRuntimeState>
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”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)Parameters
Section titled “Parameters”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.
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.
Properties
Section titled “Properties”CapturedCount
Section titled “ CapturedCount”The number of captured observations reported so far.
public int CapturedCount { get; init; }Property Value
Section titled “Property Value”CdcCaptureId
Section titled “ CdcCaptureId”The stable CDC capture identifier.
public string CdcCaptureId { get; init; }Property Value
Section titled “Property Value”EventFormat
Section titled “ EventFormat”The emitted change-event format such as debezium-envelope.
public string EventFormat { get; init; }Property Value
Section titled “Property Value”ExecutionBinding
Section titled “ ExecutionBinding”Gets the authored or effective execution-binding answer for the CDC capture.
public CdcCaptureExecutionBindingDescriptor ExecutionBinding { get; init; }Property Value
Section titled “Property Value”CdcCaptureExecutionBindingDescriptor
FailedCount
Section titled “ FailedCount”The number of failed observations reported so far.
public int FailedCount { get; init; }Property Value
Section titled “Property Value”Freshness
Section titled “ Freshness”The latest provider-facing freshness answer reported for the capture.
public CdcCaptureFreshnessStatus Freshness { get; init; }Property Value
Section titled “Property Value”HasActiveReporterOwner
Section titled “ HasActiveReporterOwner”Gets a value indicating whether the capture’s execution runtime currently has one active reporter owner.
public bool HasActiveReporterOwner { get; }Property Value
Section titled “Property Value”HasDispatchReports
Section titled “ HasDispatchReports”Gets a value indicating whether the linked outbox dispatch path has reported runtime state.
public bool HasDispatchReports { get; }Property Value
Section titled “Property Value”HasFreshnessWindow
Section titled “ HasFreshnessWindow”Gets a value indicating whether the capture still has a provider-reported freshness window.
public bool HasFreshnessWindow { get; }Property Value
Section titled “Property Value”HasObservationFreshnessWindow
Section titled “ HasObservationFreshnessWindow”Gets a value indicating whether the capture observation still has a report-freshness window.
public bool HasObservationFreshnessWindow { get; }Property Value
Section titled “Property Value”HasPendingChanges
Section titled “ HasPendingChanges”Gets a value indicating whether the capture still has provider-reported pending source changes.
public bool HasPendingChanges { get; }Property Value
Section titled “Property Value”HasPendingPublications
Section titled “ HasPendingPublications”Gets a value indicating whether the capture still has provider-reported pending publications.
public bool HasPendingPublications { get; }Property Value
Section titled “Property Value”HasReporterCoordinationIssue
Section titled “ HasReporterCoordinationIssue”Gets a value indicating whether the capture’s execution runtime currently reports degraded reporter ownership.
public bool HasReporterCoordinationIssue { get; }Property Value
Section titled “Property Value”HasReporterLease
Section titled “ HasReporterLease”Gets a value indicating whether the capture currently carries reporter-lease metadata.
public bool HasReporterLease { get; }Property Value
Section titled “Property Value”HasReports
Section titled “ HasReports”Gets a value indicating whether the capture has reported any runtime observations yet.
public bool HasReports { get; }Property Value
Section titled “Property Value”IdleCount
Section titled “ IdleCount”The number of idle observations reported so far.
public int IdleCount { get; init; }Property Value
Section titled “Property Value”IsFailed
Section titled “ IsFailed”Gets a value indicating whether the latest reported capture posture is failed.
public bool IsFailed { get; }Property Value
Section titled “Property Value”IsObservationStale
Section titled “ IsObservationStale”Gets a value indicating whether the latest report is now stale according to the execution-runtime reporting policy.
public bool IsObservationStale { get; }Property Value
Section titled “Property Value”The latest provider-facing lag answer reported for the capture.
public CdcCaptureLagStatus Lag { get; init; }Property Value
Section titled “Property Value”LastCapturedChangeCount
Section titled “ LastCapturedChangeCount”The number of source changes observed in the latest report.
public int LastCapturedChangeCount { get; init; }Property Value
Section titled “Property Value”LastChangeId
Section titled “ LastChangeId”The latest provider-facing change identifier when one was reported.
public string? LastChangeId { get; init; }Property Value
Section titled “Property Value”LastCheckpoint
Section titled “ LastCheckpoint”The latest provider-facing checkpoint or cursor when one was reported.
public string? LastCheckpoint { get; init; }Property Value
Section titled “Property Value”LastEdgeNodeId
Section titled “ LastEdgeNodeId”Gets the latest edge-node identifier visible for the capture when one was reported.
public string? LastEdgeNodeId { get; init; }Property Value
Section titled “Property Value”LastError
Section titled “ LastError”The latest operator-facing error summary when one was reported.
public string? LastError { get; init; }Property Value
Section titled “Property Value”LastObservedAtUtc
Section titled “ LastObservedAtUtc”The UTC timestamp when the latest capture observation was reported.
public DateTimeOffset? LastObservedAtUtc { get; init; }Property Value
Section titled “Property Value”LastOutcome
Section titled “ LastOutcome”The latest reported capture outcome identifier when one exists.
public string? LastOutcome { get; init; }Property Value
Section titled “Property Value”LastProducedMessageCount
Section titled “ LastProducedMessageCount”The number of outbox messages produced by the latest report.
public int LastProducedMessageCount { get; init; }Property Value
Section titled “Property Value”LastReportId
Section titled “ LastReportId”The latest stable report identifier when the active runtime supplied one.
public string? LastReportId { get; init; }Property Value
Section titled “Property Value”LastReporterId
Section titled “ LastReporterId”Gets the latest reporter identity visible for the capture when one was reported.
public string? LastReporterId { get; init; }Property Value
Section titled “Property Value”Metadata
Section titled “ Metadata”The operator-facing metadata captured by the latest report.
public IReadOnlyDictionary<string, string> Metadata { get; init; }Property Value
Section titled “Property Value”IReadOnlyDictionary<string, string>
The capture mode such as wal, change-stream, or table-tail.
public string Mode { get; init; }Property Value
Section titled “Property Value”ObservationFreshness
Section titled “ ObservationFreshness”The latest report-freshness answer visible for the capture observation itself.
public CdcCaptureFreshnessStatus ObservationFreshness { get; init; }Property Value
Section titled “Property Value”OutboxDispatchState
Section titled “ OutboxDispatchState”The latest linked outbox dispatch state when the active runtime also reports publication posture for the capture’s outbox.
public EventDispatchRuntimeState? OutboxDispatchState { get; init; }Property Value
Section titled “Property Value”OutboxId
Section titled “ OutboxId”The outbox identifier that receives captured publications.
public string OutboxId { get; init; }Property Value
Section titled “Property Value”Provider
Section titled “ Provider”The logical provider identifier that supplies the change feed.
public string Provider { get; init; }Property Value
Section titled “Property Value”Publication
Section titled “ Publication”The latest publication posture answer reported for the capture.
public CdcCapturePublicationStatus Publication { get; init; }Property Value
Section titled “Property Value”ReporterCoordination
Section titled “ ReporterCoordination”Gets the reporter-coordination posture currently visible for the capture’s execution runtime.
public CdcCaptureReporterCoordinationStatus ReporterCoordination { get; init; }Property Value
Section titled “Property Value”CdcCaptureReporterCoordinationStatus
ReporterLeaseExpiresAtUtc
Section titled “ ReporterLeaseExpiresAtUtc”Gets the UTC timestamp when the latest reporter lease expires when one is known.
public DateTimeOffset? ReporterLeaseExpiresAtUtc { get; init; }Property Value
Section titled “Property Value”ResourceIds
Section titled “ ResourceIds”The resource identifiers observed by the capture.
public IReadOnlyList<string> ResourceIds { get; init; }Property Value
Section titled “Property Value”SourceId
Section titled “ SourceId”The logical source stream, database, or feed identifier.
public string SourceId { get; init; }Property Value
Section titled “Property Value”SourceModuleId
Section titled “ SourceModuleId”The identifier of the module that owns the CDC capture.
public string SourceModuleId { get; init; }Property Value
Section titled “Property Value”StartedCount
Section titled “ StartedCount”The number of started observations reported so far.
public int StartedCount { get; init; }Property Value
Section titled “Property Value”TotalCapturedChangeCount
Section titled “ TotalCapturedChangeCount”The total number of source changes reported so far.
public long TotalCapturedChangeCount { get; init; }Property Value
Section titled “Property Value”TotalProducedMessageCount
Section titled “ TotalProducedMessageCount”The total number of outbox messages produced so far.
public long TotalProducedMessageCount { get; init; }Property Value
Section titled “Property Value”TotalReports
Section titled “ TotalReports”Gets the total number of capture observations reported for the CDC capture.
public int TotalReports { get; }