From 7640c29495f694c7eb161dcff4a49dd8272622e5 Mon Sep 17 00:00:00 2001 From: zhangbaipeng <37992852+zhangbaipeng@users.noreply.github.com> Date: Fri, 1 Sep 2023 12:35:39 +0800 Subject: [PATCH] [Improvement] [Task] Change Seatunnel task run-mode to deploy-mode (#14800) --- docs/docs/en/guide/task/seatunnel.md | 14 ++++++++++++-- docs/docs/zh/guide/task/seatunnel.md | 10 ++++++++-- .../seatunnel/flink/SeatunnelFlinkParameters.java | 4 ++-- 3 files changed, 22 insertions(+), 6 deletions(-) diff --git a/docs/docs/en/guide/task/seatunnel.md b/docs/docs/en/guide/task/seatunnel.md index 8d8e02240d..a622ab49ef 100644 --- a/docs/docs/en/guide/task/seatunnel.md +++ b/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 + diff --git a/docs/docs/zh/guide/task/seatunnel.md b/docs/docs/zh/guide/task/seatunnel.md index 872279ddbc..48d0175f3e 100644 --- a/docs/docs/zh/guide/task/seatunnel.md +++ b/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 + diff --git a/dolphinscheduler-task-plugin/dolphinscheduler-task-seatunnel/src/main/java/org/apache/dolphinscheduler/plugin/task/seatunnel/flink/SeatunnelFlinkParameters.java b/dolphinscheduler-task-plugin/dolphinscheduler-task-seatunnel/src/main/java/org/apache/dolphinscheduler/plugin/task/seatunnel/flink/SeatunnelFlinkParameters.java index 0c4bf34046..e546f0f5ee 100644 --- a/dolphinscheduler-task-plugin/dolphinscheduler-task-seatunnel/src/main/java/org/apache/dolphinscheduler/plugin/task/seatunnel/flink/SeatunnelFlinkParameters.java +++ b/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;