Table of Contents

Interface IPostgresCdcReplicationBuilder

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

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

autoCreate bool

Whether 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

processorId string

The processor identifier.

Returns

IPostgresCdcBuilder

The builder for fluent chaining.

PublicationName(string)

Sets the Postgres publication name.

IPostgresCdcBuilder PublicationName(string publicationName)

Parameters

publicationName string

The publication name.

Returns

IPostgresCdcBuilder

The builder for fluent chaining.

ReplicationSlotName(string)

Sets the Postgres replication slot name.

IPostgresCdcBuilder ReplicationSlotName(string slotName)

Parameters

slotName string

The 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

useBinary bool

Whether to use binary protocol.

Returns

IPostgresCdcBuilder

The builder for fluent chaining.