You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@inlong.apache.org by gi...@apache.org on 2021/08/27 12:33:29 UTC
[incubator-inlong-website] branch asf-site updated: Automated
deployment: Fri Aug 27 12:33:26 UTC 2021
2f337314f50f88514b05a0c6375bd7dd7191f1d9
This is an automated email from the ASF dual-hosted git repository.
github-bot pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/incubator-inlong-website.git
The following commit(s) were added to refs/heads/asf-site by this push:
new 53a5dee Automated deployment: Fri Aug 27 12:33:26 UTC 2021 2f337314f50f88514b05a0c6375bd7dd7191f1d9
53a5dee is described below
commit 53a5dee9752a4e61fa360726ce895a71e0210944
Author: dockerzhang <do...@users.noreply.github.com>
AuthorDate: Fri Aug 27 12:33:26 2021 +0000
Automated deployment: Fri Aug 27 12:33:26 UTC 2021 2f337314f50f88514b05a0c6375bd7dd7191f1d9
---
docs/en-us/modules/agent/quick_start.md | 2 +-
docs/en-us/modules/dataproxy/quick_start.md | 22 +++++++++++++++++++++-
docs/zh-cn/modules/agent/quick_start.md | 5 ++++-
docs/zh-cn/modules/dataproxy/quick_start.md | 25 +++++++++++++++++++++++--
en-us/docs/modules/agent/quick_start.html | 2 +-
en-us/docs/modules/agent/quick_start.json | 2 +-
en-us/docs/modules/agent/quick_start.md | 2 +-
en-us/docs/modules/dataproxy/quick_start.html | 12 +++++++++++-
en-us/docs/modules/dataproxy/quick_start.json | 2 +-
en-us/docs/modules/dataproxy/quick_start.md | 22 +++++++++++++++++++++-
zh-cn/docs/modules/agent/quick_start.html | 2 +-
zh-cn/docs/modules/agent/quick_start.json | 2 +-
zh-cn/docs/modules/agent/quick_start.md | 5 ++++-
zh-cn/docs/modules/dataproxy/quick_start.html | 14 ++++++++++++--
zh-cn/docs/modules/dataproxy/quick_start.json | 2 +-
zh-cn/docs/modules/dataproxy/quick_start.md | 25 +++++++++++++++++++++++--
16 files changed, 127 insertions(+), 19 deletions(-)
diff --git a/docs/en-us/modules/agent/quick_start.md b/docs/en-us/modules/agent/quick_start.md
index b6283c6..ced8450 100644
--- a/docs/en-us/modules/agent/quick_start.md
+++ b/docs/en-us/modules/agent/quick_start.md
@@ -26,7 +26,7 @@ sh agent.sh start
## 3、Add job configuration in real time
-#### 3.1 agent.propertities Modify the following two places
+#### 3.1 agent.properties Modify the following two places
```ini
# whether enable http service
agent.http.enable=true
diff --git a/docs/en-us/modules/dataproxy/quick_start.md b/docs/en-us/modules/dataproxy/quick_start.md
index e1274a6..cfa0f71 100644
--- a/docs/en-us/modules/dataproxy/quick_start.md
+++ b/docs/en-us/modules/dataproxy/quick_start.md
@@ -1,7 +1,9 @@
## Deploy DataProxy
+
All deploying files at `inlong-dataproxy` directory.
### config TubeMQ master
+
`tubemq_master_list` is the rpc address of TubeMQ Master.
```
$ sed -i 's/TUBE_LIST/tubemq_master_list/g' conf/flume.conf
@@ -10,18 +12,21 @@ $ sed -i 's/TUBE_LIST/tubemq_master_list/g' conf/flume.conf
notice that conf/flume.conf FLUME_HOME is proxy the directory for proxy inner data
### Environmental preparation
+
```
sh prepare_env.sh
```
### config manager web url
-配置文件`conf/common.properties`:
+
+configuration file: `conf/common.properties`:
```
# manager web
manager_hosts=ip:port
```
## run
+
```
sh bin/start.sh
```
@@ -32,4 +37,19 @@ sh bin/start.sh
telnet 127.0.0.1 46801
```
+## Add DataProxy configuration to InLong-Manager
+
+After installing the DataProxy, you need to insert the IP and port of the DataProxy service is located into the backend database of InLong-Manager.
+
+For the background database address of InLong-Manager, please refer to the deployment document of the InLong-Manager module.
+
+The insert SQL statement is:
+
+```sql
+-- name is the name of the DataProxy, which can be customized
+-- address is the IP of the DataProxy service is located
+-- port is the port of the DataProxy service, default is 46801
+insert into data_proxy_cluster (name, address, port, status, is_deleted, create_time, modify_time)
+values ("data_proxy_name", "data_proxy_ip", 46801, 0, 0, now(), now());
+```
diff --git a/docs/zh-cn/modules/agent/quick_start.md b/docs/zh-cn/modules/agent/quick_start.md
index 21314d6..4bc12cd 100644
--- a/docs/zh-cn/modules/agent/quick_start.md
+++ b/docs/zh-cn/modules/agent/quick_start.md
@@ -16,6 +16,7 @@ agent.manager.vip.http.port=manager web port
```
## 2、运行
+
解压后如下命令运行
```bash
sh agent.sh start
@@ -23,7 +24,8 @@ sh agent.sh start
### 3 实时添加job配置
-#### 3.1 agent.propertities 修改下面两处
+#### 3.1 agent.properties 修改下面两处
+
```ini
# whether enable http service
agent.http.enable=true
@@ -32,6 +34,7 @@ agent.http.port=可用端口
```
#### 3.2 执行如下命令:
+
```bash
curl --location --request POST 'http://localhost:8008/config/job' \
--header 'Content-Type: application/json' \
diff --git a/docs/zh-cn/modules/dataproxy/quick_start.md b/docs/zh-cn/modules/dataproxy/quick_start.md
index ccde508..85ffcb7 100644
--- a/docs/zh-cn/modules/dataproxy/quick_start.md
+++ b/docs/zh-cn/modules/dataproxy/quick_start.md
@@ -1,7 +1,9 @@
## 部署 DataProxy
-所有安装文件在`inlong-dataproxy`目录。
+
+所有的安装文件都在 `inlong-dataproxy` 目录下。
### 配置tube地址和端口号
+
`tubemq_master_list`是TubeMQ master rpc地址,多个逗号分隔。
```
$ sed -i 's/TUBE_LIST/tubemq_master_list/g' conf/flume.conf
@@ -10,25 +12,44 @@ $ sed -i 's/TUBE_LIST/tubemq_master_list/g' conf/flume.conf
注意conf/flume.conf中FLUME_HOME为proxy的中间数据文件存放地址
### 环境准备
+
```
sh prepare_env.sh
```
### 配置manager地址
-configuration file `conf/common.properties`:
+
+配置文件:`conf/common.properties`:
```
# manager web url
manager_hosts=ip:port
```
## 启动
+
```
sh bin/start.sh
```
## 检查启动状态
+
```
telnet 127.0.0.1 46801
```
+## 将 DataProxy 配置添加到 InLong-Manager
+
+安装完 DataProxy 后,需要将 DataProxy 所在主机的 IP 插入到 InLong-Manager 的后台数据库中。
+
+InLong-Manager 的后台数据库地址,请参考 InLong-Manager 模块的部署文档。
+
+插入 SQL 语句为:
+
+```sql
+-- name 为 DataProxy 的名称,可自定义
+-- address 为 DataProxy 服务所在主机的 IP
+-- port 为 DataProxy 服务所在的端口号,默认是 46801
+insert into data_proxy_cluster (name, address, port, status, is_deleted, create_time, modify_time)
+values ("data_proxy_name", "data_proxy_ip", 46801, 0, 0, now(), now());
+```
diff --git a/en-us/docs/modules/agent/quick_start.html b/en-us/docs/modules/agent/quick_start.html
index f002948..7bf987e 100644
--- a/en-us/docs/modules/agent/quick_start.html
+++ b/en-us/docs/modules/agent/quick_start.html
@@ -28,7 +28,7 @@
<pre><code class="language-bash">sh agent.sh start
</code></pre>
<h2>3、Add job configuration in real time</h2>
-<h4>3.1 agent.propertities Modify the following two places</h4>
+<h4>3.1 agent.properties Modify the following two places</h4>
<pre><code class="language-ini"><span class="hljs-comment"># whether enable http service</span>
<span class="hljs-attr">agent.http.enable</span>=<span class="hljs-literal">true</span>
<span class="hljs-comment"># http default port</span>
diff --git a/en-us/docs/modules/agent/quick_start.json b/en-us/docs/modules/agent/quick_start.json
index c1b2c43..6c8c6ad 100644
--- a/en-us/docs/modules/agent/quick_start.json
+++ b/en-us/docs/modules/agent/quick_start.json
@@ -1,6 +1,6 @@
{
"filename": "quick_start.md",
- "__html": "<h2>1、Configuration</h2>\n<pre><code>cd inlong-agent\n</code></pre>\n<p>The agent supports two modes of operation: local operation and online operation</p>\n<h3>Agent configuration</h3>\n<p>Online operation needs to pull the configuration from inlong-manager, the configuration conf/agent.properties is as follows:</p>\n<pre><code class=\"language-ini\"><span class=\"hljs-attr\">agent.fetcher.classname</span>=org.apache.inlong.agent.plugin.fetcher.ManagerFetcher (the class nam [...]
+ "__html": "<h2>1、Configuration</h2>\n<pre><code>cd inlong-agent\n</code></pre>\n<p>The agent supports two modes of operation: local operation and online operation</p>\n<h3>Agent configuration</h3>\n<p>Online operation needs to pull the configuration from inlong-manager, the configuration conf/agent.properties is as follows:</p>\n<pre><code class=\"language-ini\"><span class=\"hljs-attr\">agent.fetcher.classname</span>=org.apache.inlong.agent.plugin.fetcher.ManagerFetcher (the class nam [...]
"link": "/en-us/docs/modules/agent/quick_start.html",
"meta": {}
}
\ No newline at end of file
diff --git a/en-us/docs/modules/agent/quick_start.md b/en-us/docs/modules/agent/quick_start.md
index b6283c6..ced8450 100644
--- a/en-us/docs/modules/agent/quick_start.md
+++ b/en-us/docs/modules/agent/quick_start.md
@@ -26,7 +26,7 @@ sh agent.sh start
## 3、Add job configuration in real time
-#### 3.1 agent.propertities Modify the following two places
+#### 3.1 agent.properties Modify the following two places
```ini
# whether enable http service
agent.http.enable=true
diff --git a/en-us/docs/modules/dataproxy/quick_start.html b/en-us/docs/modules/dataproxy/quick_start.html
index c4bb880..1ba9b45 100644
--- a/en-us/docs/modules/dataproxy/quick_start.html
+++ b/en-us/docs/modules/dataproxy/quick_start.html
@@ -23,7 +23,7 @@
<pre><code>sh prepare_env.sh
</code></pre>
<h3>config manager web url</h3>
-<p>配置文件<code>conf/common.properties</code>:</p>
+<p>configuration file: <code>conf/common.properties</code>:</p>
<pre><code># manager web
manager_hosts=ip:port
</code></pre>
@@ -33,6 +33,16 @@ manager_hosts=ip:port
<h2>check</h2>
<pre><code>telnet 127.0.0.1 46801
</code></pre>
+<h2>Add DataProxy configuration to InLong-Manager</h2>
+<p>After installing the DataProxy, you need to insert the IP and port of the DataProxy service is located into the backend database of InLong-Manager.</p>
+<p>For the background database address of InLong-Manager, please refer to the deployment document of the InLong-Manager module.</p>
+<p>The insert SQL statement is:</p>
+<pre><code class="language-sql"><span class="hljs-comment">-- name is the name of the DataProxy, which can be customized</span>
+<span class="hljs-comment">-- address is the IP of the DataProxy service is located</span>
+<span class="hljs-comment">-- port is the port of the DataProxy service, default is 46801</span>
+<span class="hljs-keyword">insert</span> <span class="hljs-keyword">into</span> data_proxy_cluster (<span class="hljs-keyword">name</span>, address, port, <span class="hljs-keyword">status</span>, is_deleted, create_time, modify_time)
+<span class="hljs-keyword">values</span> (<span class="hljs-string">"data_proxy_name"</span>, <span class="hljs-string">"data_proxy_ip"</span>, <span class="hljs-number">46801</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-keyword">now</span>(), <span class="hljs-keyword">now</span>());
+</code></pre>
</div></section><footer class="footer-container"><div class="footer-body"><img src="/img/incubator-logo.svg"/><div class="cols-container"><div class="col col-24"><p>Apache InLong (incubating) is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with [...]
<script src="https://f.alicdn.com/react/15.4.1/react-with-addons.min.js"></script>
<script src="https://f.alicdn.com/react/15.4.1/react-dom.min.js"></script>
diff --git a/en-us/docs/modules/dataproxy/quick_start.json b/en-us/docs/modules/dataproxy/quick_start.json
index 79cea5e..f295322 100644
--- a/en-us/docs/modules/dataproxy/quick_start.json
+++ b/en-us/docs/modules/dataproxy/quick_start.json
@@ -1,6 +1,6 @@
{
"filename": "quick_start.md",
- "__html": "<h2>Deploy DataProxy</h2>\n<p>All deploying files at <code>inlong-dataproxy</code> directory.</p>\n<h3>config TubeMQ master</h3>\n<p><code>tubemq_master_list</code> is the rpc address of TubeMQ Master.</p>\n<pre><code>$ sed -i 's/TUBE_LIST/tubemq_master_list/g' conf/flume.conf\n</code></pre>\n<p>notice that conf/flume.conf FLUME_HOME is proxy the directory for proxy inner data</p>\n<h3>Environmental preparation</h3>\n<pre><code>sh prepare_env.sh\n</code></pre>\n<h3>config ma [...]
+ "__html": "<h2>Deploy DataProxy</h2>\n<p>All deploying files at <code>inlong-dataproxy</code> directory.</p>\n<h3>config TubeMQ master</h3>\n<p><code>tubemq_master_list</code> is the rpc address of TubeMQ Master.</p>\n<pre><code>$ sed -i 's/TUBE_LIST/tubemq_master_list/g' conf/flume.conf\n</code></pre>\n<p>notice that conf/flume.conf FLUME_HOME is proxy the directory for proxy inner data</p>\n<h3>Environmental preparation</h3>\n<pre><code>sh prepare_env.sh\n</code></pre>\n<h3>config ma [...]
"link": "/en-us/docs/modules/dataproxy/quick_start.html",
"meta": {}
}
\ No newline at end of file
diff --git a/en-us/docs/modules/dataproxy/quick_start.md b/en-us/docs/modules/dataproxy/quick_start.md
index e1274a6..cfa0f71 100644
--- a/en-us/docs/modules/dataproxy/quick_start.md
+++ b/en-us/docs/modules/dataproxy/quick_start.md
@@ -1,7 +1,9 @@
## Deploy DataProxy
+
All deploying files at `inlong-dataproxy` directory.
### config TubeMQ master
+
`tubemq_master_list` is the rpc address of TubeMQ Master.
```
$ sed -i 's/TUBE_LIST/tubemq_master_list/g' conf/flume.conf
@@ -10,18 +12,21 @@ $ sed -i 's/TUBE_LIST/tubemq_master_list/g' conf/flume.conf
notice that conf/flume.conf FLUME_HOME is proxy the directory for proxy inner data
### Environmental preparation
+
```
sh prepare_env.sh
```
### config manager web url
-配置文件`conf/common.properties`:
+
+configuration file: `conf/common.properties`:
```
# manager web
manager_hosts=ip:port
```
## run
+
```
sh bin/start.sh
```
@@ -32,4 +37,19 @@ sh bin/start.sh
telnet 127.0.0.1 46801
```
+## Add DataProxy configuration to InLong-Manager
+
+After installing the DataProxy, you need to insert the IP and port of the DataProxy service is located into the backend database of InLong-Manager.
+
+For the background database address of InLong-Manager, please refer to the deployment document of the InLong-Manager module.
+
+The insert SQL statement is:
+
+```sql
+-- name is the name of the DataProxy, which can be customized
+-- address is the IP of the DataProxy service is located
+-- port is the port of the DataProxy service, default is 46801
+insert into data_proxy_cluster (name, address, port, status, is_deleted, create_time, modify_time)
+values ("data_proxy_name", "data_proxy_ip", 46801, 0, 0, now(), now());
+```
diff --git a/zh-cn/docs/modules/agent/quick_start.html b/zh-cn/docs/modules/agent/quick_start.html
index 4246554..3dad5e0 100644
--- a/zh-cn/docs/modules/agent/quick_start.html
+++ b/zh-cn/docs/modules/agent/quick_start.html
@@ -28,7 +28,7 @@
<pre><code class="language-bash">sh agent.sh start
</code></pre>
<h3>3 实时添加job配置</h3>
-<h4>3.1 agent.propertities 修改下面两处</h4>
+<h4>3.1 agent.properties 修改下面两处</h4>
<pre><code class="language-ini"><span class="hljs-comment"># whether enable http service</span>
<span class="hljs-attr">agent.http.enable</span>=<span class="hljs-literal">true</span>
<span class="hljs-comment"># http default port</span>
diff --git a/zh-cn/docs/modules/agent/quick_start.json b/zh-cn/docs/modules/agent/quick_start.json
index 76cdcaa..79f5700 100644
--- a/zh-cn/docs/modules/agent/quick_start.json
+++ b/zh-cn/docs/modules/agent/quick_start.json
@@ -1,6 +1,6 @@
{
"filename": "quick_start.md",
- "__html": "<h2>1、配置</h2>\n<pre><code>cd inlong-agent\n</code></pre>\n<p>agent 支持本地运行以及线上运行,其中线上运行从inlong manager拉取任务,本地运行可使用http请求提交任务</p>\n<h3>Agent 线上运行相关设置</h3>\n<p>线上运行需要从inlong-manager拉取配置,配置conf/agent.properties如下:</p>\n<pre><code class=\"language-ini\"><span class=\"hljs-attr\">agent.fetcher.classname</span>=org.apache.inlong.agent.plugin.fetcher.ManagerFetcher (设置任务获取的类名,默认为ManagerFetcher)\n<span class=\"hljs-attr\">agent.local.ip</span>=写入本机ip\n<span class=\"hljs-attr\">agent. [...]
+ "__html": "<h2>1、配置</h2>\n<pre><code>cd inlong-agent\n</code></pre>\n<p>agent 支持本地运行以及线上运行,其中线上运行从inlong manager拉取任务,本地运行可使用http请求提交任务</p>\n<h3>Agent 线上运行相关设置</h3>\n<p>线上运行需要从inlong-manager拉取配置,配置conf/agent.properties如下:</p>\n<pre><code class=\"language-ini\"><span class=\"hljs-attr\">agent.fetcher.classname</span>=org.apache.inlong.agent.plugin.fetcher.ManagerFetcher (设置任务获取的类名,默认为ManagerFetcher)\n<span class=\"hljs-attr\">agent.local.ip</span>=写入本机ip\n<span class=\"hljs-attr\">agent. [...]
"link": "/zh-cn/docs/modules/agent/quick_start.html",
"meta": {}
}
\ No newline at end of file
diff --git a/zh-cn/docs/modules/agent/quick_start.md b/zh-cn/docs/modules/agent/quick_start.md
index 21314d6..4bc12cd 100644
--- a/zh-cn/docs/modules/agent/quick_start.md
+++ b/zh-cn/docs/modules/agent/quick_start.md
@@ -16,6 +16,7 @@ agent.manager.vip.http.port=manager web port
```
## 2、运行
+
解压后如下命令运行
```bash
sh agent.sh start
@@ -23,7 +24,8 @@ sh agent.sh start
### 3 实时添加job配置
-#### 3.1 agent.propertities 修改下面两处
+#### 3.1 agent.properties 修改下面两处
+
```ini
# whether enable http service
agent.http.enable=true
@@ -32,6 +34,7 @@ agent.http.port=可用端口
```
#### 3.2 执行如下命令:
+
```bash
curl --location --request POST 'http://localhost:8008/config/job' \
--header 'Content-Type: application/json' \
diff --git a/zh-cn/docs/modules/dataproxy/quick_start.html b/zh-cn/docs/modules/dataproxy/quick_start.html
index 628062b..d98992b 100644
--- a/zh-cn/docs/modules/dataproxy/quick_start.html
+++ b/zh-cn/docs/modules/dataproxy/quick_start.html
@@ -13,7 +13,7 @@
</head>
<body>
<div id="root"><div class="documentation-page" data-reactroot=""><header class="header-container header-container-normal"><div class="header-body"><a href="/zh-cn/index.html"><a href="//www.apache.org"><img class="logo apache" style="width:120px" src="/img/asf_logo.svg"/></a><div class="logo-split"></div><img class="logo tube" style="width:120px;top:12px;position:absolute" src="/img/Tube logo.svg"/></a><div class="search search-normal"><span class="icon-search"></span></div><span class= [...]
-<p>所有安装文件在<code>inlong-dataproxy</code>目录。</p>
+<p>所有的安装文件都在 <code>inlong-dataproxy</code> 目录下。</p>
<h3>配置tube地址和端口号</h3>
<p><code>tubemq_master_list</code>是TubeMQ master rpc地址,多个逗号分隔。</p>
<pre><code>$ sed -i 's/TUBE_LIST/tubemq_master_list/g' conf/flume.conf
@@ -23,7 +23,7 @@
<pre><code>sh prepare_env.sh
</code></pre>
<h3>配置manager地址</h3>
-<p>configuration file <code>conf/common.properties</code>:</p>
+<p>配置文件:<code>conf/common.properties</code>:</p>
<pre><code># manager web url
manager_hosts=ip:port
</code></pre>
@@ -33,6 +33,16 @@ manager_hosts=ip:port
<h2>检查启动状态</h2>
<pre><code>telnet 127.0.0.1 46801
</code></pre>
+<h2>将 DataProxy 配置添加到 InLong-Manager</h2>
+<p>安装完 DataProxy 后,需要将 DataProxy 所在主机的 IP 插入到 InLong-Manager 的后台数据库中。</p>
+<p>InLong-Manager 的后台数据库地址,请参考 InLong-Manager 模块的部署文档。</p>
+<p>插入 SQL 语句为:</p>
+<pre><code class="language-sql"><span class="hljs-comment">-- name 为 DataProxy 的名称,可自定义</span>
+<span class="hljs-comment">-- address 为 DataProxy 服务所在主机的 IP</span>
+<span class="hljs-comment">-- port 为 DataProxy 服务所在的端口号,默认是 46801</span>
+<span class="hljs-keyword">insert</span> <span class="hljs-keyword">into</span> data_proxy_cluster (<span class="hljs-keyword">name</span>, address, port, <span class="hljs-keyword">status</span>, is_deleted, create_time, modify_time)
+<span class="hljs-keyword">values</span> (<span class="hljs-string">"data_proxy_name"</span>, <span class="hljs-string">"data_proxy_ip"</span>, <span class="hljs-number">46801</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-keyword">now</span>(), <span class="hljs-keyword">now</span>());
+</code></pre>
</div></section><footer class="footer-container"><div class="footer-body"><img src="/img/incubator-logo.svg"/><div class="cols-container"><div class="col col-24"><p>Apache InLong (incubating) is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with [...]
<script src="https://f.alicdn.com/react/15.4.1/react-with-addons.min.js"></script>
<script src="https://f.alicdn.com/react/15.4.1/react-dom.min.js"></script>
diff --git a/zh-cn/docs/modules/dataproxy/quick_start.json b/zh-cn/docs/modules/dataproxy/quick_start.json
index ee9d56c..b3eb014 100644
--- a/zh-cn/docs/modules/dataproxy/quick_start.json
+++ b/zh-cn/docs/modules/dataproxy/quick_start.json
@@ -1,6 +1,6 @@
{
"filename": "quick_start.md",
- "__html": "<h2>部署 DataProxy</h2>\n<p>所有安装文件在<code>inlong-dataproxy</code>目录。</p>\n<h3>配置tube地址和端口号</h3>\n<p><code>tubemq_master_list</code>是TubeMQ master rpc地址,多个逗号分隔。</p>\n<pre><code>$ sed -i 's/TUBE_LIST/tubemq_master_list/g' conf/flume.conf\n</code></pre>\n<p>注意conf/flume.conf中FLUME_HOME为proxy的中间数据文件存放地址</p>\n<h3>环境准备</h3>\n<pre><code>sh prepare_env.sh\n</code></pre>\n<h3>配置manager地址</h3>\n<p>configuration file <code>conf/common.properties</code>:</p>\n<pre><code># manager web url \ [...]
+ "__html": "<h2>部署 DataProxy</h2>\n<p>所有的安装文件都在 <code>inlong-dataproxy</code> 目录下。</p>\n<h3>配置tube地址和端口号</h3>\n<p><code>tubemq_master_list</code>是TubeMQ master rpc地址,多个逗号分隔。</p>\n<pre><code>$ sed -i 's/TUBE_LIST/tubemq_master_list/g' conf/flume.conf\n</code></pre>\n<p>注意conf/flume.conf中FLUME_HOME为proxy的中间数据文件存放地址</p>\n<h3>环境准备</h3>\n<pre><code>sh prepare_env.sh\n</code></pre>\n<h3>配置manager地址</h3>\n<p>配置文件:<code>conf/common.properties</code>:</p>\n<pre><code># manager web url \nmanager_ [...]
"link": "/zh-cn/docs/modules/dataproxy/quick_start.html",
"meta": {}
}
\ No newline at end of file
diff --git a/zh-cn/docs/modules/dataproxy/quick_start.md b/zh-cn/docs/modules/dataproxy/quick_start.md
index ccde508..85ffcb7 100644
--- a/zh-cn/docs/modules/dataproxy/quick_start.md
+++ b/zh-cn/docs/modules/dataproxy/quick_start.md
@@ -1,7 +1,9 @@
## 部署 DataProxy
-所有安装文件在`inlong-dataproxy`目录。
+
+所有的安装文件都在 `inlong-dataproxy` 目录下。
### 配置tube地址和端口号
+
`tubemq_master_list`是TubeMQ master rpc地址,多个逗号分隔。
```
$ sed -i 's/TUBE_LIST/tubemq_master_list/g' conf/flume.conf
@@ -10,25 +12,44 @@ $ sed -i 's/TUBE_LIST/tubemq_master_list/g' conf/flume.conf
注意conf/flume.conf中FLUME_HOME为proxy的中间数据文件存放地址
### 环境准备
+
```
sh prepare_env.sh
```
### 配置manager地址
-configuration file `conf/common.properties`:
+
+配置文件:`conf/common.properties`:
```
# manager web url
manager_hosts=ip:port
```
## 启动
+
```
sh bin/start.sh
```
## 检查启动状态
+
```
telnet 127.0.0.1 46801
```
+## 将 DataProxy 配置添加到 InLong-Manager
+
+安装完 DataProxy 后,需要将 DataProxy 所在主机的 IP 插入到 InLong-Manager 的后台数据库中。
+
+InLong-Manager 的后台数据库地址,请参考 InLong-Manager 模块的部署文档。
+
+插入 SQL 语句为:
+
+```sql
+-- name 为 DataProxy 的名称,可自定义
+-- address 为 DataProxy 服务所在主机的 IP
+-- port 为 DataProxy 服务所在的端口号,默认是 46801
+insert into data_proxy_cluster (name, address, port, status, is_deleted, create_time, modify_time)
+values ("data_proxy_name", "data_proxy_ip", 46801, 0, 0, now(), now());
+```