Class PostgresCdcOptions
Configuration options for the Postgres Change Data Capture (CDC) processor.
public sealed class PostgresCdcOptions
- Inheritance
-
PostgresCdcOptions
- Inherited Members
Properties
BatchSize
Gets or sets the maximum number of changes to process in a single batch.
[Range(1, 2147483647)]
public int BatchSize { get; set; }
Property Value
ConnectionString
Gets or sets the connection string for the Postgres database.
[Required]
public string ConnectionString { get; set; }
Property Value
PollingInterval
Gets or sets the polling interval when no changes are available.
public TimeSpan PollingInterval { get; set; }
Property Value
ProcessorId
Gets or sets a unique identifier for this CDC processor instance.
[Required]
public string ProcessorId { get; set; }
Property Value
PublicationName
Gets or sets the name of the publication to subscribe to.
[Required]
public string PublicationName { get; set; }
Property Value
Replication
Gets or sets the replication configuration options.
public PostgresCdcReplicationOptions Replication { get; set; }
Property Value
ReplicationSlotName
Gets or sets the name of the replication slot.
[Required]
public string ReplicationSlotName { get; set; }
Property Value
TableNames
Gets or sets the table names to capture changes for.
public string[] TableNames { get; set; }
Property Value
- string[]
Timeout
Gets or sets the timeout for replication operations.
public TimeSpan Timeout { get; set; }
Property Value
Methods
Validate()
Validates the options and throws if invalid.
public void Validate()