Table of Contents

Class CdcConsumerStatus

Namespace
Excalibur.Dispatch
Assembly
Excalibur.Dispatch.Abstractions.dll

Provides metadata about a CDC consumer's processing status.

public sealed record CdcConsumerStatus : IEquatable<CdcConsumerStatus>
Inheritance
CdcConsumerStatus
Implements
Inherited Members
Extension Methods

Constructors

CdcConsumerStatus(string, ChangePosition?, ChangePosition?, DateTimeOffset?)

Provides metadata about a CDC consumer's processing status.

public CdcConsumerStatus(string ConsumerId, ChangePosition? CurrentPosition, ChangePosition? HeadPosition, DateTimeOffset? LastCheckpointTime)

Parameters

ConsumerId string

The unique identifier of the consumer.

CurrentPosition ChangePosition

The last checkpointed position.

HeadPosition ChangePosition

The current head position of the CDC stream (if known).

LastCheckpointTime DateTimeOffset?

When the last checkpoint was saved.

Properties

CanCalculateLag

Gets a value indicating whether lag information is available.

public bool CanCalculateLag { get; }

Property Value

bool

ConsumerId

The unique identifier of the consumer.

public string ConsumerId { get; init; }

Property Value

string

CurrentPosition

The last checkpointed position.

public ChangePosition? CurrentPosition { get; init; }

Property Value

ChangePosition

HasCheckpoint

Gets a value indicating whether the consumer has any checkpoint.

public bool HasCheckpoint { get; }

Property Value

bool

HeadPosition

The current head position of the CDC stream (if known).

public ChangePosition? HeadPosition { get; init; }

Property Value

ChangePosition

LastCheckpointTime

When the last checkpoint was saved.

public DateTimeOffset? LastCheckpointTime { get; init; }

Property Value

DateTimeOffset?