Table of Contents

Class PostgresCdcOptions

Namespace
Excalibur.Cdc.Postgres
Assembly
Excalibur.Cdc.Postgres.dll

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

int

ConnectionString

Gets or sets the connection string for the Postgres database.

[Required]
public string ConnectionString { get; set; }

Property Value

string

PollingInterval

Gets or sets the polling interval when no changes are available.

public TimeSpan PollingInterval { get; set; }

Property Value

TimeSpan

ProcessorId

Gets or sets a unique identifier for this CDC processor instance.

[Required]
public string ProcessorId { get; set; }

Property Value

string

PublicationName

Gets or sets the name of the publication to subscribe to.

[Required]
public string PublicationName { get; set; }

Property Value

string

Replication

Gets or sets the replication configuration options.

public PostgresCdcReplicationOptions Replication { get; set; }

Property Value

PostgresCdcReplicationOptions

ReplicationSlotName

Gets or sets the name of the replication slot.

[Required]
public string ReplicationSlotName { get; set; }

Property Value

string

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

TimeSpan

Methods

Validate()

Validates the options and throws if invalid.

public void Validate()