Table of Contents

Interface IPostgresCdcBuilder

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

Fluent builder interface for configuring Postgres CDC settings.

public interface IPostgresCdcBuilder : IPostgresCdcConnectionBuilder, IPostgresCdcProcessingBuilder, IPostgresCdcReplicationBuilder
Inherited Members
Extension Methods

Examples

cdc.UsePostgres(pg =>
{
    pg.ConnectionString(connectionString)
      .SchemaName("excalibur")
      .StateTableName("cdc_state")
      .ReplicationSlotName("my_slot")
      .PublicationName("my_publication")
      .PollingInterval(TimeSpan.FromSeconds(1))
      .BatchSize(1000);
});

Remarks

This interface composes three focused sub-interfaces for consumers that need only a subset of capabilities: