DataX 配置文件记录
{ "job": { "setting": { "speed": { "channel": 1 } }, "content": [ { "reader": { "name": "sqlserverreader", "parameter": { "username": "admin", "password": "admin", "column": [ "sn", "isnull(inputer,0)", "isnull(inpdate,convert(datetime, Getdate(),120) )" ], "where": "", "connection": [ { "jdbcUrl": [ "jdbc:sqlserver://db.xxxx.com;databaseName=xxxx" ], "table": [ "table1" ] } ] } }, "writer": { "name": "mysqlwriter", "parameter": { "writeMode": "insert", "username": "admin", "password": "admin", "column": [ "id", "contract_id", "invoice_id" ], "connection": [ { "jdbcUrl": "jdbc:mysql://xxxxxx/payment?serverTimezone=GMT%2B8&useUnicode=true&characterEncoding=utf8&useSSL=false", "table": [ "table2" ] } ] } } } ] } }