Skip to content

Commit

Permalink
[INLONG-906][DOC] Add MySQL to StarRocks example document for data sync
Browse files Browse the repository at this point in the history
  • Loading branch information
haifxu committed Dec 19, 2023
1 parent 325299b commit 33c22dc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions docs/quick_start/data_sync/mysql_starrocks_example.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Before we begin, we need to install InLong. Here we provide two ways:

### Add Connectors

Download the [connectors](https://inlong.apache.org/downloads/) corresponding to Flink 1.13, and after decompression, place `sort-connector-starrocks-[vsersion]-SNAPSHOT.jar` in `/inlong-sort/connectors/` directory.
Download the [connectors](https://inlong.apache.org/downloads/) corresponding to Flink 1.13, and after decompression, place `sort-connector-starrocks-[version]-SNAPSHOT.jar` in `/inlong-sort/connectors/` directory.

### Install StarRocks
Please refer to the [Installation Tutorial](https://docs.starrocks.io/docs/quick_start/) on the Apache StarRocks official website
Expand All @@ -27,7 +27,7 @@ Password: inlong
```

### Create Cluster Tag
Click [Clusters] -> [ClusterTags] -> [Create] on the page to specify the cluster label name and person in charge.
Click [Clusters] -> [ClusterTags] -> [Create] on the page to specify the cluster label name and responsible person.
![Create Cluster Tag](img/mysql_starrocks/create_cluster_tag.png)

:::caution
Expand Down Expand Up @@ -55,7 +55,7 @@ Click [DataNodes] -> [Create] on the page to register StarRocks DataNodes.

## Create Task
### Create Data Streams Group
Click [Synchronization][Create] on the page and input the Group ID, Steam ID and Full database migration:
Click [Synchronization][Create] on the page and input the Group ID, Stream ID and Full database migration:
![Create Group Stream](img/mysql_starrocks/create_group_stream.png)

### Create Data Source
Expand Down Expand Up @@ -108,7 +108,7 @@ do
done
```

Add a total of 1000 pieces of data to the `source_table`:
Modify the variables in the script according to the actual environment, and add a total of 1000 pieces of data to the `source_table`:

![Result Source](img/mysql_starrocks/result_source.png)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ sidebar_position: 2

### 添加 Connectors

下载 Flink 1.13 对应版本的 [connectors](https://inlong.apache.org/zh-CN/downloads),解压后将 `sort-connector-starrocks-[vsersion]-SNAPSHOT.jar` 放在 `/inlong-sort/connectors/` 目录下。
下载 Flink 1.13 对应版本的 [connectors](https://inlong.apache.org/zh-CN/downloads),解压后将 `sort-connector-starrocks-[version]-SNAPSHOT.jar` 放在 `/inlong-sort/connectors/` 目录下。

### 安装 StarRocks
请参考 Apache StarRocks 官网的[安装教程](https://docs.starrocks.io/docs/quick_start/)
Expand Down Expand Up @@ -102,7 +102,7 @@ do
done
```

`source_table` 表中累计添加 1000 条数据:
根据实际环境修改脚本中的变量,执行脚本向 `source_table` 表中累计添加 1000 条数据:

![Result Source](img/mysql_starrocks/result_source.png)

Expand Down

0 comments on commit 33c22dc

Please sign in to comment.