Class CdcCaptureRuntimeObservation
Namespace: Cephalon.Abstractions.Data
Assembly: Cephalon.Abstractions.dll
Describes one operator-facing runtime observation reported for a CDC capture by an execution runtime.
public sealed class CdcCaptureRuntimeObservationInheritance
Section titled “Inheritance”object ← CdcCaptureRuntimeObservation
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”CdcCaptureRuntimeObservation(string, string, DateTimeOffset, string?, int, int, string?, string?, string?, CdcCaptureFreshnessStatus?, CdcCaptureLagStatus?, CdcCapturePublicationStatus?, IReadOnlyDictionary<string, string>?, string?, string?)
Section titled “ CdcCaptureRuntimeObservation(string, string, DateTimeOffset, string?, int, int, string?, string?, string?, CdcCaptureFreshnessStatus?, CdcCaptureLagStatus?, CdcCapturePublicationStatus?, IReadOnlyDictionary<string, string>?, string?, string?)”Creates a new CDC capture runtime observation.
[JsonConstructor]public CdcCaptureRuntimeObservation(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, CdcCaptureLagStatus? lag = null, CdcCapturePublicationStatus? publication = null, IReadOnlyDictionary<string, string>? metadata = null, string? reporterId = null, string? edgeNodeId = null)Parameters
Section titled “Parameters”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 external observation 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.
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, such as an external runner instance or edge agent id.
edgeNodeId string?
The optional stable edge-node identifier that originated the observation when the runtime topology is edge-aware.
Properties
Section titled “Properties”CapturedChangeCount
Section titled “ CapturedChangeCount”Gets the number of source changes observed by this report.
public int CapturedChangeCount { get; }Property Value
Section titled “Property Value”CdcCaptureId
Section titled “ CdcCaptureId”Gets the stable CDC capture identifier that produced the observation.
public string CdcCaptureId { 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”EdgeNodeId
Section titled “ EdgeNodeId”Gets the stable edge-node identifier that originated the observation when one was supplied.
public string? EdgeNodeId { get; }Property Value
Section titled “Property Value”Gets the operator-facing error summary when the observation represents a failure.
public string? Error { get; }Property Value
Section titled “Property Value”Freshness
Section titled “ Freshness”Gets the typed freshness answer reported by the active provider/runtime when one was supplied.
public CdcCaptureFreshnessStatus? Freshness { get; }Property Value
Section titled “Property Value”Gets the typed lag answer reported by the active provider/runtime when one was supplied.
public CdcCaptureLagStatus? Lag { get; }Property Value
Section titled “Property Value”Metadata
Section titled “ Metadata”Gets optional operator-facing metadata captured alongside the observation.
public IReadOnlyDictionary<string, string> Metadata { get; }Property Value
Section titled “Property Value”IReadOnlyDictionary<string, string>
ObservedAtUtc
Section titled “ ObservedAtUtc”Gets the UTC timestamp when the observation occurred.
public DateTimeOffset ObservedAtUtc { get; }Property Value
Section titled “Property Value”Outcome
Section titled “ Outcome”Gets the stable outcome identifier for the observed CDC activity.
public string Outcome { get; }Property Value
Section titled “Property Value”ProducedMessageCount
Section titled “ ProducedMessageCount”Gets the number of outbox messages produced by this report.
public int ProducedMessageCount { get; }Property Value
Section titled “Property Value”Publication
Section titled “ Publication”Gets the typed publication-posture answer reported by the active provider/runtime when one was supplied.
public CdcCapturePublicationStatus? Publication { get; }Property Value
Section titled “Property Value”ReportId
Section titled “ ReportId”Gets the optional stable report identifier used to make repeated submissions idempotent.
public string? ReportId { get; }Property Value
Section titled “Property Value”ReporterId
Section titled “ ReporterId”Gets the stable reporter identity that submitted the observation when one was supplied.
public string? ReporterId { get; }