etl实现

This commit is contained in:
mcy
2018-11-05 13:36:35 +08:00
parent 347601b9fe
commit 650446de5b
4 changed files with 81 additions and 10 deletions

View File

@@ -10,7 +10,5 @@ esMapping:
left join role b on b.id=a.role_id
left join (select user_id, group_concat(label order by id desc separator ';') as labels from label
group by user_id) c on c.user_id=a.id"
# syncByTimestamp: false
# syncInterval: 2000 # ms
etlCondition: "where a.c_time>='{0}'"
commitBatch: 3000