-
Notifications
You must be signed in to change notification settings - Fork 60
/
debezium-mysql-connector-order-outbox.json
31 lines (31 loc) · 1.59 KB
/
debezium-mysql-connector-order-outbox.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
{
"connector.class": "io.debezium.connector.mysql.MySqlConnector",
"tasks.max": "1",
"database.hostname": "mysql",
"database.port": "3306",
"database.user": "root",
"database.password": "debezium",
"database.server.id": "184054",
"database.server.name": "dbserver1",
"database.history.kafka.bootstrap.servers": "kafka:9092",
"database.history.kafka.topic": "schema-changes.order-events",
"table.include.list": "orderweb.order_event",
"transforms" : "outbox,hoist,expand,extract",
"transforms.outbox.type" : "io.debezium.transforms.outbox.EventRouter",
"transforms.outbox.table.field.event.key" : "aggregate_id",
"transforms.outbox.table.field.event.id" : "event_id",
"transforms.outbox.table.field.event.payload" : "order_payload",
"transforms.outbox.table.field.event.payload.id" : "aggregate_id",
"transforms.outbox.route.by.field" : "aggregate_type",
"transforms.outbox.route.topic.replacement" : "debezium.${routedByValue}",
"transforms.hoist.type": "org.apache.kafka.connect.transforms.HoistField$Value",
"transforms.hoist.field": "payload",
"transforms.expand.type": "com.redhat.insights.expandjsonsmt.ExpandJSON$Value",
"transforms.expand.sourceFields": "payload",
"transforms.extract.type":"org.apache.kafka.connect.transforms.ExtractField$Value",
"transforms.extract.field":"payload",
"key.converter": "org.apache.kafka.connect.json.JsonConverter",
"value.converter": "org.apache.kafka.connect.json.JsonConverter",
"key.converter.schemas.enable": "false",
"value.converter.schemas.enable": "false"
}