This is an automated email from the ASF dual-hosted git repository.

fanjia 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 fc5948e643 [Doc][Improve] support chinese 
[docs/zh/connector-v2/sink/Slack.md] (#8701)
fc5948e643 is described below

commit fc5948e643641381ce9a2b6a670cea75317ba4c2
Author: mickeyzzm <[email protected]>
AuthorDate: Fri Feb 14 20:00:38 2025 +0800

    [Doc][Improve] support chinese [docs/zh/connector-v2/sink/Slack.md] (#8701)
    
    Co-authored-by: zhaoziming <[email protected]>
---
 docs/zh/connector-v2/sink/Slack.md | 54 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 54 insertions(+)

diff --git a/docs/zh/connector-v2/sink/Slack.md 
b/docs/zh/connector-v2/sink/Slack.md
new file mode 100644
index 0000000000..45fb2ede66
--- /dev/null
+++ b/docs/zh/connector-v2/sink/Slack.md
@@ -0,0 +1,54 @@
+# Slack
+
+> Slack 接收器连接器
+
+## 支持以下引擎
+
+> Spark<br/>
+> Flink<br/>
+> SeaTunnel Zeta<br/>
+
+## 关键特性
+
+- [ ] [精确一次](../../concept/connector-v2-features.md)
+- [ ] [cdc](../../concept/connector-v2-features.md)
+
+## 描述
+
+用于将数据发送到Slack Channel.两者都支持流媒体和批处理模式.
+
+> 例如,如果来自上游的数据是 [`age: 12, name: huan`], 则发送到套接字服务器的内容如下: 
`{"name":"huan","age":17}`
+
+## 数据类型映射
+
+所有数据类型都映射到字符串.
+
+## 选项
+
+|      名称                 |  类型   | 必需 | 默认值 | 描述                              
                               |
+|----------------|--------|----------|---------|----------------------------------------------------------------|
+| webhooks_url   | String | Yes      | -       | Slack webhook 的 url           
                                 |
+| oauth_token    | String | Yes      | -       | 用于实际身份验证的Slack oauth令牌        
                                 |
+| slack_channel  | String | Yes      | -       | 用于数据写入的slack channel          
                                 |
+| common-options |        | no       | -       | 接收器插件常用参数, 详见 [Sink 
常见选项](../sink-common-options.md) |
+
+## 任务示例
+
+### 简单示例:
+
+```hocon
+sink {
+ SlackSink {
+  webhooks_url = 
"https://hooks.slack.com/services/xxxxxxxxxxxx/xxxxxxxxxxxx/xxxxxxxxxxxxxxxx";
+  oauth_token = "xoxp-xxxxxxxxxx-xxxxxxxx-xxxxxxxxx-xxxxxxxxxxx"
+  slack_channel = "channel name"
+ }
+}
+```
+
+## 变更日志
+
+### 新版本
+
+- 添加 Slack 接收器连接器
+

Reply via email to