cdc

package module
v0.2.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 29, 2025 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Connector

type Connector interface {
	Start(ctx context.Context)
	WaitUntilReady(ctx context.Context) error
	Close()
	GetConfig() *config.Config

	// Dynamic table management
	AddTable(ctx context.Context, table publication.Table) error
	RemoveTable(ctx context.Context, schema, tableName string) error
	UpdateTableReplicaIdentity(ctx context.Context, table publication.Table) error
	ListTables(ctx context.Context) (publication.Tables, error)
}

func NewConnector

func NewConnector(ctx context.Context, cfg config.Config, listenerFunc replication.ListenerFunc) (Connector, error)

Directories

Path Synopsis
examples
simple command
internal
pg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL