Skip to content

Commit

Permalink
[INLONG-1062][Doc] Improve doc for pulsar->mysql offline data sync (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
aloyszhang authored Oct 23, 2024
1 parent 487ba06 commit 06ed0c4
Show file tree
Hide file tree
Showing 10 changed files with 0 additions and 48 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
24 changes: 0 additions & 24 deletions docs/quick_start/offline_data_sync/pulsar_mysql_example.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,30 +17,6 @@ Before we begin, we need to install InLong. Here we provide two ways:
Download the [connectors](https://inlong.apache.org/downloads/) corresponding to Flink version, and after decompression, place `sort-connector-jdbc-[version]-SNAPSHOT.jar` in `/inlong-sort/connectors/` directory.
> Currently, Apache InLong's offline data synchronization capability only supports Flink-1.18, so please download the 1.18 version of connectors.
### Install Pulsar
First, download the binary release package of Pulsar (the version can be modified as needed):

```shell
wget https://archive.apache.org/dist/pulsar/pulsar-3.3.1/apache-pulsar-3.3.1-bin.tar.gz
```
Then, unzip it:
```shell
tar xvfz apache-pulsar-3.3.1-bin.tar.gz
```
Navigate to the Pulsar directory:
```shell
cd apache-pulsar-3.3.1
```
Quickly start a Pulsar cluster in Standalone mode:
```shell
sh bin/pulsar-daemon start standalone
```
After starting, the Pulsar cluster will have:
- `adminUrl` as http://localhost:8080
- `serviceUrl` as pulsar://localhost:6650

You can manage the cluster through `adminUrl` and produce and consume data via `serviceUrl`.

## Cluster Initialize
When all containers are successfully started, you can access the InLong dashboard address http://localhost, and use the following default account to log in.
```
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -17,30 +17,6 @@ sidebar_position: 1
下载与 Flink 版本对应的 [connectors](https://inlong.apache.org/zh-CN/downloads),解压后将 `sort-connector-jdbc-[version]-SNAPSHOT.jar` 放在 `/inlong-sort/connectors/` 目录下。
> 当前 Apache InLong 的离线数据同步能力只支持 Flink-1.18 版本,所以请下载 1.18 版本的 connectors。
### 安装 Pulsar

首先下载 Pulsar 的二进制发布包(版本可以根据需要修改):
```shell
wget https://archive.apache.org/dist/pulsar/pulsar-3.3.1/apache-pulsar-3.3.1-bin.tar.gz
```
然后,解压:
```shell
tar xvfz apache-pulsar-3.3.1-bin.tar.gz
```
进入 Pulsar 目录:
```shell
cd apache-pulsar-3.3.1
```
通过 Standalone 的方式快速启动一个 Pulsar 集群:
```shell
sh bin/pulsar-daemon start standalone
```
启动之后的 Pulsar 集群:
- `adminUrl``http://localhost:8080`
- `serviceUrl``pulsar://localhost:6650`

可以通过 `adminUrl` 来管理集群,通过 `serviceUrl` 进行数据的生产和消费。

## 集群初始化
InLong 服务启动后,可以访问 InLong Dashboard 地址 http://localhost,并使用以下默认账号登录:
```
Expand Down

0 comments on commit 06ed0c4

Please sign in to comment.