This is an automated email from the ASF dual-hosted git repository. wanghailin pushed a commit to branch dev in repository https://gitbox.apache.org/repos/asf/seatunnel.git
The following commit(s) were added to refs/heads/dev by this push: new 0bb50c77b7 [Improve][Doc] Improve DingTalk doc (#7075) 0bb50c77b7 is described below commit 0bb50c77b7b67deda7344394dedd0a108667c1bc Author: Coen <ppoljk...@163.com> AuthorDate: Fri Jul 5 22:37:41 2024 +0800 [Improve][Doc] Improve DingTalk doc (#7075) --- docs/en/connector-v2/sink/DingTalk.md | 22 +++++++++----- docs/zh/connector-v2/sink/DingTalk.md | 55 +++++++++++++++++++++++++++++++++++ 2 files changed, 69 insertions(+), 8 deletions(-) diff --git a/docs/en/connector-v2/sink/DingTalk.md b/docs/en/connector-v2/sink/DingTalk.md index 52d896df40..13a7e534de 100644 --- a/docs/en/connector-v2/sink/DingTalk.md +++ b/docs/en/connector-v2/sink/DingTalk.md @@ -2,29 +2,35 @@ > DinkTalk sink connector -## Description +## Support Those Engines -A sink plugin which use DingTalk robot send message +> Spark<br/> +> Flink<br/> +> SeaTunnel Zeta<br/> ## Key features - [ ] [exactly-once](../../concept/connector-v2-features.md) +## Description + +A sink plugin which use DingTalk robot send message + ## Options | name | type | required | default value | |----------------|--------|----------|---------------| -| url | string | yes | - | -| secret | string | yes | - | +| url | String | yes | - | +| secret | String | yes | - | | common-options | | no | - | -### url [string] +### url [String] -DingTalk robot address format is https://oapi.dingtalk.com/robot/send?access_token=XXXXXX(string) +DingTalk robot address format is https://oapi.dingtalk.com/robot/send?access_token=XXXXXX(String) -### secret [string] +### secret [String] -DingTalk robot secret (string) +DingTalk robot secret (String) ### common options diff --git a/docs/zh/connector-v2/sink/DingTalk.md b/docs/zh/connector-v2/sink/DingTalk.md new file mode 100644 index 0000000000..8f584fc7ad --- /dev/null +++ b/docs/zh/connector-v2/sink/DingTalk.md @@ -0,0 +1,55 @@ +# 钉钉 + +> 钉钉 数据接收器 + +## 支持的引擎 + +> Spark<br/> +> Flink<br/> +> SeaTunnel Zeta<br/> + +## 主要特性 + +- [ ] [精确一次](../../concept/connector-v2-features.md) + +## 描述 + +一个使用钉钉机器人发送消息的Sink插件。 + +## Options + +| 名称 | 类型 | 是否必须 | 默认值 | +|----------------|--------|------|-----| +| url | String | 是 | - | +| secret | String | 是 | - | +| common-options | | 否 | - | + +### url [String] + +钉钉机器人地址格式为 https://oapi.dingtalk.com/robot/send?access_token=XXXXXX(String) + +### secret [String] + +钉钉机器人的密钥 (String) + +### common options + +Sink插件的通用参数,请参考 [Sink Common Options](common-options.md) 了解详情 + +## 任务示例 + +```hocon +sink { + DingTalk { + url="https://oapi.dingtalk.com/robot/send?access_token=ec646cccd028d978a7156ceeac5b625ebd94f586ea0743fa501c100007890" + secret="SEC093249eef7aa57d4388aa635f678930c63db3d28b2829d5b2903fc1e5c10000" + } +} +``` + +## 更新日志 + +### 2.2.0-beta 2022-09-26 + +- 添加钉钉接收器 +