Skip to main content

ReplicationSource

Data accepted by Create Replication. Required fields are connector_id, slot.

connector_idConnector Id (string)required

Minimum length: 1.

Possible values: non-empty

slotSlot (string)required

Logical replication slot name (required)

Possible values: non-empty

publicationPublication (string)

Publication that decides which tables are streamed

Possible values: non-empty

Default value: datacdc
create_slotCreate Slot (boolean)

Create the slot on start when it does not exist

Default value: true
schema object

Single-relation filter (with table). Omit both to stream the whole publication

anyOf
string
table object

Single-relation filter (with schema)

anyOf
string
tlsTls (boolean)

Connect with TLS

Default value: false
tls_verifyTls Verify (boolean)

Verify the server certificate when tls is on

Default value: true
fetch_timeoutFetch Timeout (string)

Idle wait between change fetches

Default value: 1s
max_changesMax Changes (integer)

Max changes fetched per round

Possible values: >= 1

Default value: 256
commit_intervalCommit Interval (string)

Batch commit interval

Default value: 5s
ReplicationSource
{
"connector_id": "string",
"slot": "string",
"publication": "datacdc",
"create_slot": true,
"schema": "string",
"table": "string",
"tls": false,
"tls_verify": true,
"fetch_timeout": "1s",
"max_changes": 256,
"commit_interval": "5s"
}