본문으로 건너뛰기

ReplicationSource

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

connector_idConnector Id (string)필수

Minimum length: 1.

Possible values: non-empty

slotSlot (string)필수

Logical replication slot name (required)

Possible values: non-empty

publicationPublication (string)

Publication that decides which tables are streamed

Possible values: non-empty

기본값: datacdc
create_slotCreate Slot (boolean)

Create the slot on start when it does not exist

기본값: 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

기본값: false
tls_verifyTls Verify (boolean)

Verify the server certificate when tls is on

기본값: true
fetch_timeoutFetch Timeout (string)

Idle wait between change fetches

기본값: 1s
max_changesMax Changes (integer)

Max changes fetched per round

Possible values: >= 1

기본값: 256
commit_intervalCommit Interval (string)

Batch commit interval

기본값: 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"
}