-
Notifications
You must be signed in to change notification settings - Fork 0
/
connector.json
37 lines (37 loc) · 1.71 KB
/
connector.json
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
30
31
32
33
34
35
36
37
{
"name": "outbox-connector",
"config": {
"connector.class": "io.debezium.connector.postgresql.PostgresConnector",
"plugin.name": "pgoutput",
"tasks.max": "1",
"database.hostname": "postgres",
"database.port": "5432",
"database.user": "postgres",
"database.password": "postgres",
"database.dbname": "feed_local",
"database.server.name": "postgres",
"table.include.list": "public.outbox",
"topic.prefix": "postgres",
"topic.creation.enable": "true",
"topic.creation.default.replication.factor": "1",
"topic.creation.default.partitions": "1",
"topic.creation.default.cleanup.policy": "delete",
"topic.creation.default.retention.ms": "604800000",
"schema.whitelist" : "public",
"table.whitelist" : "public.outbox",
"tombstones.on.delete" : "false",
"transforms" : "outbox",
"transforms.outbox.type": "io.debezium.transforms.outbox.EventRouter",
"transforms.outbox.table.field.event.key": "aggregate_id",
"transforms.outbox.table.expand.json.payload": "true",
"transforms.outbox.route.by.field": "aggregate_type",
"transforms.outbox.table.fields.additional.placement":"request_id:header:x-request-id",
"transforms.outbox.route.topic.replacement": "dev.content_service.${routedByValue}",
"value.converter":"io.debezium.converters.BinaryDataConverter",
"value.converter.delegate.converter.type":"org.apache.kafka.connect.json.JsonConverter",
"value.converter.delegate.converter.type.schemas.enable": "false",
"key.converter":"io.debezium.converters.BinaryDataConverter",
"key.converter.delegate.converter.type":"org.apache.kafka.connect.json.JsonConverter",
"key.converter.delegate.converter.type.schemas.enable": "false"
}
}