mycdc/config.json

49 lines
903 B
JSON
Raw Normal View History

2022-08-15 16:12:17 +00:00
{
2022-10-21 14:36:49 +00:00
"debug": true,
"testMode": true,
2022-08-15 16:12:17 +00:00
"db": {
"host": "localhost",
"port": 3306,
"user": "zongji",
"password": "password",
"database": "util"
2022-08-15 16:12:17 +00:00
},
"includeEvents": [
2022-10-21 14:36:49 +00:00
"rotate",
2022-08-15 16:12:17 +00:00
"tablemap",
"writerows",
"updaterows",
"deleterows"
],
2022-10-21 14:36:49 +00:00
"pingInterval": 60,
"flushInterval": 10000,
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"
]
}
}
}
}