Skip to content

Class CdcCaptureExecutionBindingDescriptor

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

Describes how a CDC capture binds to an operator-facing execution runtime.

public sealed class CdcCaptureExecutionBindingDescriptor

objectCdcCaptureExecutionBindingDescriptor

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

CdcCaptureExecutionBindingDescriptor(string, string?, string?, string?, string, string, IReadOnlyDictionary<string, string>?)

Section titled “ CdcCaptureExecutionBindingDescriptor(string, string?, string?, string?, string, string, IReadOnlyDictionary<string, string>?)”

Creates a new CDC capture execution binding descriptor.

[JsonConstructor]
public CdcCaptureExecutionBindingDescriptor(string cdcCaptureId, string? authoredExecutionRuntimeId = null, string? requestedExecutionRuntimeId = null, string? effectiveExecutionRuntimeId = null, string executionOwnership = "not-configured", string resolutionMode = "unbound", IReadOnlyDictionary<string, string>? metadata = null)

cdcCaptureId string

The stable CDC capture identifier.

authoredExecutionRuntimeId string?

The execution-runtime identifier authored directly on the CDC capture when one was declared.

requestedExecutionRuntimeId string?

The execution-runtime identifier requested for the CDC capture after any additive overrides are applied.

effectiveExecutionRuntimeId string?

The execution-runtime identifier that currently owns execution for the CDC capture.

executionOwnership string

The operator-facing ownership mode for the effective execution runtime, such as host-managed or external-managed.

resolutionMode string

The operator-facing reason that explains how the effective execution-runtime binding was selected.

metadata IReadOnlyDictionary<string, string>?

Optional operator-facing metadata for the resolved binding.

CdcCaptureExecutionBindingDescriptor(string, string?, string?, string?, string, string, string, IReadOnlyDictionary<string, string>?)

Section titled “ CdcCaptureExecutionBindingDescriptor(string, string?, string?, string?, string, string, string, IReadOnlyDictionary<string, string>?)”

Creates a new CDC capture execution binding descriptor with a first-class topology classification.

public CdcCaptureExecutionBindingDescriptor(string cdcCaptureId, string? authoredExecutionRuntimeId, string? requestedExecutionRuntimeId, string? effectiveExecutionRuntimeId, string executionOwnership, string executionTopology, string resolutionMode = "unbound", IReadOnlyDictionary<string, string>? metadata = null)

cdcCaptureId string

The stable CDC capture identifier.

authoredExecutionRuntimeId string?

The execution-runtime identifier authored directly on the CDC capture when one was declared.

requestedExecutionRuntimeId string?

The execution-runtime identifier requested for the CDC capture after any additive overrides are applied.

effectiveExecutionRuntimeId string?

The execution-runtime identifier that currently owns execution for the CDC capture.

executionOwnership string

The operator-facing ownership mode for the effective execution runtime, such as host-managed or external-managed.

executionTopology string

The operator-facing topology classification for the effective execution runtime, such as shared-in-process-polling or provider-native.

resolutionMode string

The operator-facing reason that explains how the effective execution-runtime binding was selected.

metadata IReadOnlyDictionary<string, string>?

Optional operator-facing metadata for the resolved binding.

Gets the execution-runtime identifier authored directly on the CDC capture when one was declared.

public string? AuthoredExecutionRuntimeId { get; }

string?

Gets the stable CDC capture identifier.

public string CdcCaptureId { get; }

string

Gets the execution-runtime identifier that currently owns execution for the CDC capture.

public string? EffectiveExecutionRuntimeId { get; }

string?

Gets the operator-facing ownership mode for the effective execution runtime.

public string ExecutionOwnership { get; }

string

Gets the operator-facing topology classification for the effective execution runtime.

public string ExecutionTopology { get; }

string

Gets a value indicating whether the CDC capture currently resolves to an active execution runtime.

public bool IsBound { get; }

bool

Gets operator-facing metadata for the resolved binding.

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

IReadOnlyDictionary<string, string>

Gets the execution-runtime identifier requested for the CDC capture after additive overrides are applied.

public string? RequestedExecutionRuntimeId { get; }

string?

Gets the operator-facing explanation for how the effective execution-runtime binding was selected.

public string ResolutionMode { get; }

string

Creates the default unbound execution-binding descriptor for the requested CDC capture.

public static CdcCaptureExecutionBindingDescriptor Unbound(string cdcCaptureId)

cdcCaptureId string

The CDC capture identifier to bind.

CdcCaptureExecutionBindingDescriptor

An unbound execution-binding descriptor.