You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by li...@apache.org on 2023/08/24 08:36:49 UTC
[seatunnel] branch dev updated: [Docs][Connector-V2][Feishu]Refactor connector-v2 docs using unified format Slack (#5344)
This is an automated email from the ASF dual-hosted git repository.
liugddx 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 306b214b87 [Docs][Connector-V2][Feishu]Refactor connector-v2 docs using unified format Slack (#5344)
306b214b87 is described below
commit 306b214b872205c0870860869c335169e86df148
Author: Wenjun Ruan <we...@apache.org>
AuthorDate: Thu Aug 24 16:36:43 2023 +0800
[Docs][Connector-V2][Feishu]Refactor connector-v2 docs using unified format Slack (#5344)
---
docs/en/connector-v2/sink/Slack.md | 41 ++++++++++++++++++--------------------
1 file changed, 19 insertions(+), 22 deletions(-)
diff --git a/docs/en/connector-v2/sink/Slack.md b/docs/en/connector-v2/sink/Slack.md
index 27ba01c32b..7ed87d2022 100644
--- a/docs/en/connector-v2/sink/Slack.md
+++ b/docs/en/connector-v2/sink/Slack.md
@@ -2,42 +2,39 @@
> Slack sink connector
-## Description
-
-Used to send data to Slack Channel. Both support streaming and batch mode.
+## Support Those Engines
-> For example, if the data from upstream is [`age: 12, name: huan`], the content send to socket server is the following: `{"name":"huan","age":17}`
+> Spark<br/>
+> Flink<br/>
+> SeaTunnel Zeta<br/>
## Key features
- [ ] [exactly-once](../../concept/connector-v2-features.md)
+- [ ] [cdc](../../concept/connector-v2-features.md)
-## Options
-
-| name | type | required | default value |
-|----------------|--------|----------|---------------|
-| webhooks_url | String | Yes | - |
-| oauth_token | String | Yes | - |
-| slack_channel | String | Yes | - |
-| common-options | | no | - |
-
-### webhooks_url [string]
+## Description
-Slack webhook url
+Used to send data to Slack Channel. Both support streaming and batch mode.
-### oauth_token [string]
+> For example, if the data from upstream is [`age: 12, name: huan`], the content send to socket server is the following: `{"name":"huan","age":17}`
-Slack oauth token used for the actual authentication
+## Data Type Mapping
-### slack_channel [string]
+All data types are mapped to string.
-slack channel for data write
+## Options
-### common options
+| Name | Type | Required | Default | Description |
+|----------------|--------|----------|---------|-----------------------------------------------------------------------------------------------------|
+| webhooks_url | String | Yes | - | Slack webhook url |
+| oauth_token | String | Yes | - | Slack oauth token used for the actual authentication |
+| slack_channel | String | Yes | - | slack channel for data write |
+| common-options | | no | - | Sink plugin common parameters, please refer to [Sink Common Options](common-options.md) for details |
-Sink plugin common parameters, please refer to [Sink Common Options](common-options.md) for details
+## Task Example
-## Example
+### Simple:
```hocon
sink {