-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathconnector-postgres-source.json
More file actions
29 lines (26 loc) · 1.05 KB
/
connector-postgres-source.json
File metadata and controls
29 lines (26 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{
"name": "postgres-source-connector",
"config": {
"connector.class": "io.debezium.connector.postgresql.PostgresConnector",
"database.hostname": "postgres",
"database.port": "5432",
"database.user": "postgres",
"database.password": "postgres",
"database.dbname": "postgres",
"topic.prefix": "cdc",
"schema.include.list": "ecommerce",
"table.include.list": "ecommerce.orders",
"plugin.name": "pgoutput",
"publication.autocreate.mode": "filtered",
"slot.name": "debezium_orders",
"decimal.handling.mode": "double",
"transforms": "unwrap,addSource",
"transforms.unwrap.type": "io.debezium.transforms.ExtractNewRecordState",
"transforms.unwrap.add.fields": "op,table,source.ts_ms",
"transforms.unwrap.delete.handling.mode": "rewrite",
"transforms.unwrap.drop.tombstones": "true",
"transforms.addSource.type": "org.apache.kafka.connect.transforms.InsertField$Value",
"transforms.addSource.static.field": "__message_source",
"transforms.addSource.static.value": "Kafka Connect"
}
}