This is an automated email from the ASF dual-hosted git repository.
jiabaosun pushed a commit to branch release-3.0
in repository https://gitbox.apache.org/repos/asf/flink-cdc.git
The following commit(s) were added to refs/heads/release-3.0 by this push:
new cbccc7e96 [minor][docs] Fix outdated StarRocks quickstart guide
cbccc7e96 is described below
commit cbccc7e96faa7a9a049ba3ca6a63351d641ac336
Author: yux <[email protected]>
AuthorDate: Tue Apr 23 09:07:20 2024 +0800
[minor][docs] Fix outdated StarRocks quickstart guide
---
.../content.zh/docs/get-started/quickstart/mysql-to-starrocks.md | 9 ++++-----
docs/content/docs/get-started/quickstart/mysql-to-starrocks.md | 9 ++++-----
2 files changed, 8 insertions(+), 10 deletions(-)
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 04e67dcef..a52895a40 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
@@ -65,10 +65,9 @@ under the License.
version: '2.1'
services:
StarRocks:
- image: registry.starrocks.io/starrocks/allin1-ubuntu
+ image: starrocks/allin1-ubuntu:3.2.6
ports:
- - "8030:8030"
- - "8040:8040"
+ - "8080:8080"
- "9030:9030"
MySQL:
image: debezium/example-mysql:1.1
@@ -95,7 +94,7 @@ under the License.
1. 进入 MySQL 容器
```shell
- docker-compose exec mysql mysql -uroot -p123456
+ docker-compose exec MySQL mysql -uroot -p123456
```
2. 创建数据库 `app_db` 和表 `orders`,`products`,`shipments`,并插入数据
@@ -172,7 +171,7 @@ under the License.
type: starrocks
name: StarRocks Sink
jdbc-url: jdbc:mysql://127.0.0.1:9030
- load-url: 127.0.0.1:8030
+ load-url: 127.0.0.1:8080
username: root
password: ""
table.create.properties.replication_num: 1
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 9c1cc3121..47c0a6c51 100644
--- a/docs/content/docs/get-started/quickstart/mysql-to-starrocks.md
+++ b/docs/content/docs/get-started/quickstart/mysql-to-starrocks.md
@@ -68,10 +68,9 @@ Create a `docker-compose.yml` file using the content
provided below:
version: '2.1'
services:
StarRocks:
- image: registry.starrocks.io/starrocks/allin1-ubuntu
+ image: starrocks/allin1-ubuntu:3.2.6
ports:
- - "8030:8030"
- - "8040:8040"
+ - "8080:8080"
- "9030:9030"
MySQL:
image: debezium/example-mysql:1.1
@@ -98,7 +97,7 @@ This command automatically starts all the containers defined
in the Docker Compo
1. Enter MySQL container
```shell
- docker-compose exec mysql mysql -uroot -p123456
+ docker-compose exec MySQL mysql -uroot -p123456
```
2. create `app_db` database and `orders`,`products`,`shipments` tables, then
insert records
@@ -175,7 +174,7 @@ This command automatically starts all the containers
defined in the Docker Compo
type: starrocks
name: StarRocks Sink
jdbc-url: jdbc:mysql://127.0.0.1:9030
- load-url: 127.0.0.1:8030
+ load-url: 127.0.0.1:8080
username: root
password: ""
table.create.properties.replication_num: 1