{ "job": { "content": [ { "reader": { "name": "mysqlreader", "parameter": { "column": [ "id", "equipment_id", "connector_sn", "connector_short_sn", "connector_no", "connector_name", "connector_type", "voltage_upper_limits", "voltage_lower_limits", "current", "power", "parkno", "appointment_id", "appointment_user_id", "open_lock_user_id", "detection_type", "is_ground_lock", "is_ground_lock_msg", "is_geomagnetic", "is_geomagnetic_msg", "is_appointment", "is_appointment_msg", "auto_open_lock_time", "create_time", "update_time" ], "connection": [ { "jdbcUrl": [ "${src_jdbc}" ], "table": [ "t_connector" ] } ], "username": "${src_user}", "password": "${src_pwd}", "where": "" } }, "writer": { "name": "doriswriter", "parameter": { "loadUrl": [ "${dest_load_url}" ], "column": [ "id", "equipment_id", "connector_sn", "connector_short_sn", "connector_no", "connector_name", "connector_type", "voltage_upper_limits", "voltage_lower_limits", "current", "power", "parkno", "appointment_id", "appointment_user_id", "open_lock_user_id", "detection_type", "is_ground_lock", "is_ground_lock_msg", "is_geomagnetic", "is_geomagnetic_msg", "is_appointment", "is_appointment_msg", "auto_open_lock_time", "create_time", "update_time" ], "username": "${dest_user}", "password": "${dest_pwd}", "postSql": [], "preSql": [ "TRUNCATE TABLE t_connector" ], "flushInterval": 30000, "connection": [ { "jdbcUrl": "${dest_jdbc}", "selectedDatabase": "yltcharge", "table": [ "t_connector" ] } ], "loadProps": { "format": "json", "strip_outer_array": true } } } } ], "setting": { "speed": { "channel": "1" } } } }