Table of Contents

Interface IDataChangeEventProcessorFactory

Namespace
Excalibur.Cdc.SqlServer
Assembly
Excalibur.Cdc.SqlServer.dll

Factory interface for creating instances of IDataChangeEventProcessor with specified configuration and database connections.

public interface IDataChangeEventProcessorFactory

Methods

Create(IDatabaseOptions, CdcRepository, Func<IDbConnection>)

Creates a new instance of IDataChangeEventProcessor using the specified database configuration and connections.

IDataChangeEventProcessor Create(IDatabaseOptions dbConfig, CdcRepository cdcRepository, Func<IDbConnection> stateStoreConnectionFactory)

Parameters

dbConfig IDatabaseOptions

The database configuration containing details for the CDC process.

cdcRepository CdcRepository

The CDC repository for querying change data.

stateStoreConnectionFactory Func<IDbConnection>

Supplies a connection per CDC-state operation.

Returns

IDataChangeEventProcessor

An instance of IDataChangeEventProcessor configured with the provided inputs.

Exceptions

ArgumentNullException

Thrown if any of the parameters are null .