Table of Contents

Interface IChangeFeedOptions

Namespace
Excalibur.Data.CloudNative
Assembly
Excalibur.Data.Abstractions.dll

Defines options for configuring a change feed subscription.

public interface IChangeFeedOptions

Properties

ContinuationToken

Gets the continuation token to resume from (if resuming).

string? ContinuationToken { get; }

Property Value

string

MaxBatchSize

Gets the maximum number of items to process in a batch.

int MaxBatchSize { get; }

Property Value

int

MaxConsecutiveCheckpointFailures

Gets the number of consecutive checkpoint-save failures after which a subscription reports itself degraded rather than continuing silently. Must be positive.

int MaxConsecutiveCheckpointFailures { get; }

Property Value

int

Defaults to 10.

PartitionKeyFilter

Gets the partition key to filter changes (null for all partitions).

IPartitionKey? PartitionKeyFilter { get; }

Property Value

IPartitionKey

PollingInterval

Gets the polling interval for providers that use polling.

TimeSpan PollingInterval { get; }

Property Value

TimeSpan

StartPosition

Gets the starting position for the subscription.

ChangeFeedStartPosition StartPosition { get; }

Property Value

ChangeFeedStartPosition

StartTimestamp

Gets the specific timestamp to start from (if using StartFromTimestamp).

DateTimeOffset? StartTimestamp { get; }

Property Value

DateTimeOffset?