150 lines
6.5 KiB
JSON
150 lines
6.5 KiB
JSON
{
|
|
"job": {
|
|
"content": [
|
|
{
|
|
"reader": {
|
|
"name": "mysqlreader",
|
|
"parameter": {
|
|
"column": [
|
|
"id",
|
|
"user_name",
|
|
"nicker_name",
|
|
"sex",
|
|
"phone",
|
|
"qk_openid",
|
|
"open_id",
|
|
"ali_user_id",
|
|
"birthday",
|
|
"avatar",
|
|
"app_type",
|
|
"password",
|
|
"upper_user",
|
|
"master_flag",
|
|
"user_type",
|
|
"multi_charge",
|
|
"relation_phone",
|
|
"user_owner_id",
|
|
"union_id",
|
|
"state",
|
|
"reg_channel",
|
|
"reg_time",
|
|
"city_label_code",
|
|
"city_label",
|
|
"reg_source",
|
|
"create_time",
|
|
"update_time",
|
|
"operator",
|
|
"invite_code",
|
|
"identity_id",
|
|
"operator_id",
|
|
"address",
|
|
"vip_level",
|
|
"province_code",
|
|
"province",
|
|
"work_company",
|
|
"is_bind_wxinfo",
|
|
"company_min_charge_balance",
|
|
"enable_online_recharge",
|
|
"integral",
|
|
"shared_user",
|
|
"enable_online_refund",
|
|
"recommenderId",
|
|
"lx_wx_user_id",
|
|
"phone_area"
|
|
],
|
|
"connection": [
|
|
{
|
|
"jdbcUrl": [
|
|
"${src_jdbc}"
|
|
],
|
|
"querySql": [
|
|
"SELECT `id`, `user_name`, `nicker_name`, `sex`, `phone`, `qk_openid`, `open_id`, `ali_user_id`, `birthday`, `avatar`, `app_type`, `password`, `upper_user`, `master_flag`, `user_type`, `multi_charge`, `relation_phone`, `user_owner_id`, `union_id`, `state`, `reg_channel`, `reg_time`, `city_label_code`, `city_label`, `reg_source`, `create_time`, `update_time`, `operator`, `invite_code`, `identity_id`, `operator_id`, `address`, `vip_level`, `province_code`, `province`, `work_company`, `is_bind_wxinfo`, `company_min_charge_balance`, `enable_online_recharge`, `integral`, `shared_user`, `enable_online_refund`, `recommenderId`, `lx_wx_user_id`, `phone_area` FROM `t_user` ORDER BY id DESC LIMIT 10000"
|
|
]
|
|
}
|
|
],
|
|
"username": "${src_user}",
|
|
"password": "${src_pwd}"
|
|
}
|
|
},
|
|
"writer": {
|
|
"name": "doriswriter",
|
|
"parameter": {
|
|
"loadUrl": [
|
|
"${dest_load_url}"
|
|
],
|
|
"column": [
|
|
"id",
|
|
"user_name",
|
|
"nicker_name",
|
|
"sex",
|
|
"phone",
|
|
"qk_openid",
|
|
"open_id",
|
|
"ali_user_id",
|
|
"birthday",
|
|
"avatar",
|
|
"app_type",
|
|
"password",
|
|
"upper_user",
|
|
"master_flag",
|
|
"user_type",
|
|
"multi_charge",
|
|
"relation_phone",
|
|
"user_owner_id",
|
|
"union_id",
|
|
"state",
|
|
"reg_channel",
|
|
"reg_time",
|
|
"city_label_code",
|
|
"city_label",
|
|
"reg_source",
|
|
"create_time",
|
|
"update_time",
|
|
"operator",
|
|
"invite_code",
|
|
"identity_id",
|
|
"operator_id",
|
|
"address",
|
|
"vip_level",
|
|
"province_code",
|
|
"province",
|
|
"work_company",
|
|
"is_bind_wxinfo",
|
|
"company_min_charge_balance",
|
|
"enable_online_recharge",
|
|
"integral",
|
|
"shared_user",
|
|
"enable_online_refund",
|
|
"recommenderId",
|
|
"lx_wx_user_id",
|
|
"phone_area"
|
|
],
|
|
"username": "${dest_user}",
|
|
"password": "${dest_pwd}",
|
|
"postSql": [],
|
|
"preSql": [],
|
|
"flushInterval": 30000,
|
|
"connection": [
|
|
{
|
|
"jdbcUrl": "${dest_jdbc}",
|
|
"selectedDatabase": "yltcharge",
|
|
"table": [
|
|
"t_user"
|
|
]
|
|
}
|
|
],
|
|
"loadProps": {
|
|
"format": "json",
|
|
"strip_outer_array": true
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"setting": {
|
|
"speed": {
|
|
"channel": "1"
|
|
}
|
|
}
|
|
}
|
|
} |