From 123a26f9d9864f422d6d9fe1c0f94e35d3b081de Mon Sep 17 00:00:00 2001 From: lvyanquan Date: Wed, 22 Jan 2025 19:21:49 +0800 Subject: [PATCH] [FLINK-37199][doc] Update configuration in quickstart. --- .../docs/get-started/quickstart/mysql-to-doris.md | 6 ++++-- .../docs/get-started/quickstart/mysql-to-starrocks.md | 6 ++++-- docs/content/docs/get-started/quickstart/mysql-to-doris.md | 6 ++++-- .../docs/get-started/quickstart/mysql-to-starrocks.md | 6 ++++-- 4 files changed, 16 insertions(+), 8 deletions(-) diff --git a/docs/content.zh/docs/get-started/quickstart/mysql-to-doris.md b/docs/content.zh/docs/get-started/quickstart/mysql-to-doris.md index 6270c2e8a1d..62c3a887df8 100644 --- a/docs/content.zh/docs/get-started/quickstart/mysql-to-doris.md +++ b/docs/content.zh/docs/get-started/quickstart/mysql-to-doris.md @@ -40,10 +40,12 @@ under the License. cd flink-1.19.1 ``` -2. 通过在 conf/flink-conf.yaml 配置文件追加下列参数开启 checkpoint,每隔 3 秒做一次 checkpoint。 +2. 通过在 conf/config.yaml 配置文件追加下列参数开启 checkpoint,每隔 3 秒做一次 checkpoint。 ```yaml - execution.checkpointing.interval: 3000 + execution: + checkpointing: + interval: 3s ``` 3. 使用下面的命令启动 Flink 集群。 diff --git a/docs/content.zh/docs/get-started/quickstart/mysql-to-starrocks.md b/docs/content.zh/docs/get-started/quickstart/mysql-to-starrocks.md index ca7c26fe18a..38676c4bf90 100644 --- a/docs/content.zh/docs/get-started/quickstart/mysql-to-starrocks.md +++ b/docs/content.zh/docs/get-started/quickstart/mysql-to-starrocks.md @@ -40,10 +40,12 @@ under the License. cd flink-1.19.1 ``` -2. 通过在 conf/flink-conf.yaml 配置文件追加下列参数开启 checkpoint,每隔 3 秒做一次 checkpoint。 +2. 通过在 conf/config.yaml 配置文件追加下列参数开启 checkpoint,每隔 3 秒做一次 checkpoint。 ```yaml - execution.checkpointing.interval: 3000 + execution: + checkpointing: + interval: 3s ``` 3. 使用下面的命令启动 Flink 集群。 diff --git a/docs/content/docs/get-started/quickstart/mysql-to-doris.md b/docs/content/docs/get-started/quickstart/mysql-to-doris.md index 431508750d5..0803c9c663b 100644 --- a/docs/content/docs/get-started/quickstart/mysql-to-doris.md +++ b/docs/content/docs/get-started/quickstart/mysql-to-doris.md @@ -42,10 +42,12 @@ Prepare a Linux or MacOS computer with Docker installed. cd flink-1.19.1 ``` -2. Enable checkpointing by appending the following parameters to the conf/flink-conf.yaml configuration file to perform a checkpoint every 3 seconds. +2. Enable checkpointing by appending the following parameters to the conf/config.yaml configuration file to perform a checkpoint every 3 seconds. ```yaml - execution.checkpointing.interval: 3000 + execution: + checkpointing: + interval: 3s ``` 3. Start the Flink cluster using the following command. diff --git a/docs/content/docs/get-started/quickstart/mysql-to-starrocks.md b/docs/content/docs/get-started/quickstart/mysql-to-starrocks.md index 690da003143..95ebf6f4937 100644 --- a/docs/content/docs/get-started/quickstart/mysql-to-starrocks.md +++ b/docs/content/docs/get-started/quickstart/mysql-to-starrocks.md @@ -42,10 +42,12 @@ Prepare a Linux or MacOS computer with Docker installed. cd flink-1.19.1 ``` -2. Enable checkpointing by appending the following parameters to the conf/flink-conf.yaml configuration file to perform a checkpoint every 3 seconds. +2. Enable checkpointing by appending the following parameters to the conf/config.yaml configuration file to perform a checkpoint every 3 seconds. ```yaml - execution.checkpointing.interval: 3000 + execution: + checkpointing: + interval: 3s ``` 3. Start the Flink cluster using the following command.