Interface IPostgresCdcReplicationBuilder
Defines the contract for configuring Postgres CDC replication-specific options including slot naming, publication, processor identity, and protocol settings.
public interface IPostgresCdcReplicationBuilder
Methods
AutoCreateSlot(bool)
Sets whether to automatically create the replication slot if it doesn't exist.
IPostgresCdcBuilder AutoCreateSlot(bool autoCreate = true)
Parameters
autoCreateboolWhether to auto-create the slot.
Returns
- IPostgresCdcBuilder
The builder for fluent chaining.
ProcessorId(string)
Sets the processor identifier for this CDC processor instance.
IPostgresCdcBuilder ProcessorId(string processorId)
Parameters
processorIdstringThe processor identifier.
Returns
- IPostgresCdcBuilder
The builder for fluent chaining.
PublicationName(string)
Sets the Postgres publication name.
IPostgresCdcBuilder PublicationName(string publicationName)
Parameters
publicationNamestringThe publication name.
Returns
- IPostgresCdcBuilder
The builder for fluent chaining.
ReplicationSlotName(string)
Sets the Postgres replication slot name.
IPostgresCdcBuilder ReplicationSlotName(string slotName)
Parameters
slotNamestringThe replication slot name.
Returns
- IPostgresCdcBuilder
The builder for fluent chaining.
UseBinaryProtocol(bool)
Sets whether to use binary protocol for logical replication.
IPostgresCdcBuilder UseBinaryProtocol(bool useBinary = true)
Parameters
useBinaryboolWhether to use binary protocol.
Returns
- IPostgresCdcBuilder
The builder for fluent chaining.