Skip to content

Commit 5858228

Browse files
lvyanquanqwencoder
andcommitted
[FLINK-39288][docs] Update postgres-to-fluss quickstart to Flink 2.2.0 in both EN and ZH docs
- Update Flink version references from 1.20.3 to 2.2.0 - Update fluss-flink connector jar from 1.20 to 2.2 Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
1 parent 66ca337 commit 5858228

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

docs/content.zh/docs/get-started/quickstart-for-2.2/postgres-to-fluss.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@ under the License.
3333
准备一台已经安装了 Docker 的 Linux 或者 MacOS 电脑。
3434

3535
### 准备 Flink Standalone 集群
36-
1. 下载 [Flink 1.20.3](https://archive.apache.org/dist/flink/flink-1.20.3/flink-1.20.3-bin-scala_2.12.tgz),解压后得到 flink-1.20.3 目录。
37-
使用下面的命令跳转至 Flink 目录下,并且设置 FLINK_HOME 为 flink-1.20.3 所在目录。
36+
1. 下载 [Flink 2.2.0](https://archive.apache.org/dist/flink/flink-2.2.0/flink-2.2.0-bin-scala_2.12.tgz),解压后得到 flink-2.2.0 目录。
37+
使用下面的命令跳转至 Flink 目录下,并且设置 FLINK_HOME 为 flink-2.2.0 所在目录。
3838

3939
```shell
40-
cd flink-1.20.3
40+
cd flink-2.2.0
4141
```
4242

4343
2. 通过在 conf/config.yaml 配置文件追加下列参数开启 checkpoint,每隔 3 秒做一次 checkpoint。
@@ -258,7 +258,7 @@ under the License.
258258
### 在 Fluss 中查询数据
259259
要查询已同步到 Fluss 的数据,需要配置 Flink SQL Client。
260260

261-
1. 下载 [fluss-flink-1.20-0.9.0-incubating.jar](https://repo1.maven.org/maven2/org/apache/fluss/fluss-flink-1.20/0.9.0-incubating/fluss-flink-1.20-0.9.0-incubating.jar) 并放入 Flink 的 `lib` 目录。
261+
1. 下载 [fluss-flink-2.2-0.9.0-incubating.jar](https://repo1.maven.org/maven2/org/apache/fluss/fluss-flink-2.2/0.9.0-incubating/fluss-flink-2.2-0.9.0-incubating.jar) 并放入 Flink 的 `lib` 目录。
262262

263263
2. 启动 Flink SQL Client:
264264
```shell
@@ -397,7 +397,7 @@ PostgreSQL 的表结构变更是**数据驱动**的 — DDL 变更不会立即
397397
```shell
398398
docker-compose down -v
399399
```
400-
在 Flink 所在目录 `flink-1.20.3` 下执行如下命令停止 Flink 集群:
400+
在 Flink 所在目录 `flink-2.2.0` 下执行如下命令停止 Flink 集群:
401401

402402
```shell
403403
./bin/stop-cluster.sh

docs/content/docs/get-started/quickstart-for-2.2/postgres-to-fluss.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@ without a single line of Java/Scala code or IDE installation.
3535
Prepare a Linux or MacOS computer with Docker installed.
3636

3737
### Prepare Flink Standalone cluster
38-
1. Download [Flink 1.20.3](https://archive.apache.org/dist/flink/flink-1.20.3/flink-1.20.3-bin-scala_2.12.tgz), unzip and get flink-1.20.3 directory.
39-
Use the following command to navigate to the Flink directory and set FLINK_HOME to the directory where flink-1.20.3 is located.
38+
1. Download [Flink 2.2.0](https://archive.apache.org/dist/flink/flink-2.2.0/flink-2.2.0-bin-scala_2.12.tgz), unzip and get flink-2.2.0 directory.
39+
Use the following command to navigate to the Flink directory and set FLINK_HOME to the directory where flink-2.2.0 is located.
4040

4141
```shell
42-
cd flink-1.20.3
42+
cd flink-2.2.0
4343
```
4444

4545
2. Enable checkpointing by appending the following parameters to the conf/config.yaml configuration file to perform a checkpoint every 3 seconds.
@@ -260,7 +260,7 @@ This command automatically starts all the containers defined in the Docker Compo
260260
### Query data in Fluss
261261
To query the synchronized data in Fluss, you need to set up the Flink SQL Client.
262262

263-
1. Download [fluss-flink-1.20-0.9.0-incubating.jar](https://repo1.maven.org/maven2/org/apache/fluss/fluss-flink-1.20/0.9.0-incubating/fluss-flink-1.20-0.9.0-incubating.jar) and place it in the Flink `lib` directory.
263+
1. Download [fluss-flink-2.2-0.9.0-incubating.jar](https://repo1.maven.org/maven2/org/apache/fluss/fluss-flink-2.2/0.9.0-incubating/fluss-flink-2.2-0.9.0-incubating.jar) and place it in the Flink `lib` directory.
264264

265265
2. Start the Flink SQL Client:
266266
```shell
@@ -399,7 +399,7 @@ After finishing the tutorial, run the following command to stop all containers i
399399
```shell
400400
docker-compose down -v
401401
```
402-
Run the following command to stop the Flink cluster in the directory of Flink `flink-1.20.3`:
402+
Run the following command to stop the Flink cluster in the directory of Flink `flink-2.2.0`:
403403

404404
```shell
405405
./bin/stop-cluster.sh

0 commit comments

Comments
 (0)