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

This commit is contained in:
zhangbaipeng 2023-09-01 12:35:39 +08:00 committed by zhuangchong
parent ce92a4f455
commit a3a3c380dc
3 changed files with 22 additions and 6 deletions

View File

@ -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

View File

@ -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

View File

@ -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;