es8x adapter (#4640)

This commit is contained in:
ymz
2023-09-01 19:56:03 +08:00
committed by GitHub
parent d90066e01b
commit 63dfbf65df
15 changed files with 1463 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
dataSourceKey: defaultDS
destination: example
groupId: g1
esMapping:
_index: customer
_id: _id
relations:
customer_order:
name: order
parent: customer_id
sql: "select concat('oid_', t.id) as _id,
t.customer_id,
t.id as order_id,
t.serial_code as order_serial,
t.c_time as order_time
from biz_order t"
skips:
- customer_id
etlCondition: "where t.c_time>={}"
commitBatch: 3000