Class SqlServerCdcOptions
Configuration options for SQL Server CDC processor.
public sealed class SqlServerCdcOptions
- Inheritance
-
SqlServerCdcOptions
- Inherited Members
Properties
BatchSize
Gets or sets the batch size for CDC change processing.
[Range(1, 2147483647)]
public int BatchSize { get; set; }
Property Value
- int
The batch size. Default is 100.
CaptureInstances
Gets or sets the CDC capture instances to process.
public string[]? CaptureInstances { get; set; }
Property Value
CommandTimeout
Gets or sets the command timeout for database operations.
public TimeSpan CommandTimeout { get; set; }
Property Value
- TimeSpan
The command timeout. Default is 30 seconds.
Connection
Gets the connection-identity options for the SQL Server CDC processor.
public SqlServerCdcConnectionOptions Connection { get; }
Property Value
PollingInterval
Gets or sets the polling interval for CDC change detection.
public TimeSpan PollingInterval { get; set; }
Property Value
- TimeSpan
The polling interval. Default is 5 seconds.
QualifiedTableName
Gets the fully qualified table name for CDC state.
public string QualifiedTableName { get; }
Property Value
SchemaName
Gets or sets the schema name for CDC state tables.
[Required]
public string SchemaName { get; set; }
Property Value
- string
The schema name. Default is "Cdc".
StateTableName
Gets or sets the table name for CDC processing state.
[Required]
public string StateTableName { get; set; }
Property Value
- string
The table name. Default is "CdcProcessingState".
StopOnMissingTableHandler
Gets or sets whether processing should stop when a table handler is missing.
public bool StopOnMissingTableHandler { get; set; }
Property Value
Methods
Validate()
Validates the options and throws if invalid.
public void Validate()