# sql server 数据同步到 文本中_datax模板
{
"core": {
"transport" : {
"channel": {
"speed": {
"channel": 1,
"record": 5000,
"byte": 524288
}
}
}
},
"job": {
"setting": {
"speed": {
"channel": 1,
"record": 5000,
"byte": 100
},
"errorLimit": {
"record": 0,
"percentage": 0.00
}
},
"content": [
{
"reader": {
"name": "sqlserverreader",
"parameter": {
"connection": [
{
"jdbcUrl": [
"jdbc:sqlserver://prod.sqlservxxx;DatabaseName=BD_NAME"
],
"querySql": [
"select * from dbo.TABLE_NAME;"
]
}
],
"password": "MIMA",
"username": "ROOT",
"column": [
]
}
},
"writer": {
"name": "txtfilewriter",
"parameter": {
"encoding": "UTF-8",
"path": "/bigdata/json_script/tmp",
"fileName": "FILE_NAME",
"writeMode": "truncate",
"format": "yyyy-MM-dd",
"fieldDelimiter":"|"
}
}
}
]
}
}