davidzollo commented on code in PR #8833: URL: https://github.com/apache/seatunnel/pull/8833#discussion_r1970978648
########## docs/zh/connector-v2/sink/OssJindoFile.md: ########## @@ -0,0 +1,309 @@ +# OssJindoFile + +> OssJindo file sink 连接器 + +## 描述 + +使用jindo-api将数据输出到oss文件系统。 + +:::提示 + +您需要下载[jindosdk-4.6.1.tar.gz](https://jindodata-binary.oss-cn-shanghai.aliyuncs.com/release/4.6.1/jindosdk-4.6.1.tar.gz) +然后解压缩,将jindo-sdk-4.6.1.jar和jindo-core-4.6.1.jar从lib复制到${SEATUNNEL_HOME}/lib。 + +如果你使用spark/flink,为了使用这个连接器,你必须确保你的spark/flilk集群已经集成了hadoop。测试的hadoop版本是2.x。 + +如果你使用SeaTunnel引擎,当你下载并安装SeaTunnel引擎时,它会自动集成hadoop jar。您可以在${SEATUNNEL_HOME}/lib下检查jar包以确认这一点。 + +为了支持更多的文件类型,我们进行了一些权衡,因此我们使用HDFS协议对OSS进行内部访问,而这个连接器需要一些hadoop依赖。它只支持hadoop版本**2.9.X+**。 + +::: + +## 关键特性 + +- [x] [精准一次](../../concept/connector-v2-features.md) + +默认情况下,我们使用2PC commit来确保“精准一次” + +- [x] 文件格式类型 + - [x] text + - [x] csv + - [x] parquet + - [x] orc + - [x] json + - [x] excel + - [x] xml + - [x] binary + +## 选项 + +| 名称 | 类型 | 必需 | 默认值 | 描述 | +|---------------------------------------|---------|----------|--------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| path | string | 是 | - | | +| tmp_path | string | 否 | /tmp/seatunnel | 结果文件将首先写入tmp路径,然后使用`mv`将tmp-dir提交到目标目录。需要一个OSS 目录。 | Review Comment: ```suggestion | tmp_path | string | 否 | /tmp/seatunnel | 结果文件将首先写入临时路径,然后使用`mv`将tmp-dir提交到目标目录。需要一个OSS 目录。 | ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@seatunnel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org