Update osswriter.md

fix the configuration of the osswriter sample
This commit is contained in:
dataccs 2020-02-17 19:56:27 +08:00 committed by GitHub
parent e1b1354a90
commit 9af6dfaf1d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -48,12 +48,13 @@ OSSWriter实现了从DataX协议转为OSS中的TXT文件功能OSS本身是无
}, },
"writer": { "writer": {
"name": "osswriter",
"parameter": { "parameter": {
"endpoint": "http://oss.aliyuncs.com", "endpoint": "http://oss.aliyuncs.com",
"accessId": "", "accessId": "",
"accessKey": "", "accessKey": "",
"bucket": "myBucket", "bucket": "myBucket",
"object": "/cdo/datax", "object": "cdo/datax",
"encoding": "UTF-8", "encoding": "UTF-8",
"fieldDelimiter": ",", "fieldDelimiter": ",",
"writeMode": "truncate|append|nonConflict" "writeMode": "truncate|append|nonConflict"