mycdc/config.json

44 lines
805 B
JSON
Raw Normal View History

2022-08-15 16:12:17 +00:00
{
"db": {
"host": "localhost",
"port": 3306,
"user": "zongji",
2022-08-16 09:45:25 +00:00
"password": "password"
2022-08-15 16:12:17 +00:00
},
"includeEvents": [
"tablemap",
"writerows",
"updaterows",
"deleterows"
],
2022-08-16 10:53:59 +00:00
"flushInterval": 5000,
2022-08-16 09:45:25 +00:00
"queue": "orderRecalc",
"addQuery": "INSERT INTO `hedera`.`orderRecalc` (`orderFk`) VALUES ?",
2022-08-15 16:12:17 +00:00
"includeSchema": {
"hedera": {
"order": {
"fk": "id",
"events": ["updaterows"],
"columns": [
"id",
"address_id",
"company_id",
"date_send",
"customer_id"
]
},
"orderRow": {
"fk": "orderFk",
"columns": [
"id",
"orderFk",
"itemFk",
"warehouseFk",
"shipment",
"amount"
]
}
}
}
}