Table of Contents

Interface ICdcStateStoreBuilder

Namespace
Excalibur.Cdc
Assembly
Excalibur.Cdc.dll

Configures CDC state store persistence settings shared by all providers (table name, configuration binding).

public interface ICdcStateStoreBuilder

Remarks

This builder is used with WithStateStore on provider-specific CDC builders to configure the state store independently from the CDC source connection.

For relational providers (SQL Server, Postgres) that also need schema and connection string configuration, see ICdcRelationalStateStoreBuilder.

Methods

BindConfiguration(string)

Binds state store options from an IConfiguration section.

ICdcStateStoreBuilder BindConfiguration(string sectionPath)

Parameters

sectionPath string

The configuration section path (e.g., "Cdc:State").

Returns

ICdcStateStoreBuilder

The builder for fluent chaining.

Remarks

Uses OptionsBuilder<T>.BindConfiguration() with ValidateDataAnnotations and ValidateOnStart. When the bound section contains a ConnectionString property, it acts as an implicit WithStateStore call.

Exceptions

ArgumentException

Thrown when sectionPath is null or whitespace.

TableName(string)

Sets the table name for CDC checkpoint persistence.

ICdcStateStoreBuilder TableName(string tableName)

Parameters

tableName string

The table name.

Returns

ICdcStateStoreBuilder

The builder for fluent chaining.

Exceptions

ArgumentException

Thrown when tableName is null or whitespace.