Browse Source

[Improvement] [Task] Change Seatunnel task run-mode to deploy-mode (#14800)

3.2.1-prepare
zhangbaipeng 1 year ago committed by GitHub
parent
commit
7640c29495
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 14
      docs/docs/en/guide/task/seatunnel.md
  2. 10
      docs/docs/zh/guide/task/seatunnel.md
  3. 4
      dolphinscheduler-task-plugin/dolphinscheduler-task-seatunnel/src/main/java/org/apache/dolphinscheduler/plugin/task/seatunnel/flink/SeatunnelFlinkParameters.java

14
docs/docs/en/guide/task/seatunnel.md

@ -26,11 +26,15 @@ Click [here](https://seatunnel.apache.org/) for more information about `Apache S
- SEATUNNEL_ENGINE
- Deployment mode: specify the deployment mode, `cluster` `local`
> Click [here](https://seatunnel.apache.org/docs/2.1.2/command/usage) for more information on the usage of `Apache SeaTunnel command`
> Click [here](https://seatunnel.apache.org/docs/2.3.3/command/usage) for more information on the usage of
`Apache SeaTunnel command`
- Custom Configuration: Supports custom configuration or select configuration file from Resource Center
> Click [here](https://seatunnel.apache.org/docs/2.1.2/concept/config) for more information about `Apache SeaTunnel config` file
> Click [here](https://seatunnel.apache.org/docs/2.3.3/concept/config) for more information about `Apache
>
>> SeaTunnel config` file
- Script: Customize configuration information on the task node, including four parts: `env` `source` `transform` `sink`
@ -77,3 +81,9 @@ sink {
```
### Support SeaTunnel Version
- v2.3.1
- v2.3.2
- v2.3.3

10
docs/docs/zh/guide/task/seatunnel.md

@ -26,11 +26,11 @@
- SEATUNNEL_ENGINE
- 部署方式:指定部署模式,`cluster` `local`
> 点击 [这里](https://seatunnel.apache.org/docs/2.1.2/command/usage) 获取更多关于`Apache SeaTunnel command` 使用的信息
> 点击 [这里](https://seatunnel.apache.org/docs/2.3.3/command/usage) 获取更多关于`Apache SeaTunnel command` 使用的信息
- 自定义配置:支持自定义配置或从资源中心选择配置文件
> 点击 [这里](https://seatunnel.apache.org/docs/2.1.2/concept/config) 获取更多关于`Apache SeaTunnel config` 文件介绍
> 点击 [这里](https://seatunnel.apache.org/docs/2.3.3/concept/config) 获取更多关于`Apache SeaTunnel config` 文件介绍
- 脚本:在任务节点那自定义配置信息,包括四部分:`env` `source` `transform` `sink`
@ -77,3 +77,9 @@ sink {
```
### 支持 SeaTunnel 版本
- 2.3.1
- 2.3.2
- 2.3.3

4
dolphinscheduler-task-plugin/dolphinscheduler-task-seatunnel/src/main/java/org/apache/dolphinscheduler/plugin/task/seatunnel/flink/SeatunnelFlinkParameters.java

@ -36,8 +36,8 @@ public class SeatunnelFlinkParameters extends SeatunnelParameters {
public enum RunModeEnum {
NONE("none"),
RUN("--run-mode run"),
RUN_APPLICATION("--run-mode run-application");
RUN("--deploy-mode run"),
RUN_APPLICATION("--deploy-mode run-application");
private final String command;

Loading…
Cancel
Save