You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@inlong.apache.org by do...@apache.org on 2022/01/26 07:31:06 UTC
[incubator-inlong-website] branch master updated: [INLONG-2338] modify default dataproxy address (#270)
This is an automated email from the ASF dual-hosted git repository.
dockerzhang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-inlong-website.git
The following commit(s) were added to refs/heads/master by this push:
new 4c0eca6 [INLONG-2338] modify default dataproxy address (#270)
4c0eca6 is described below
commit 4c0eca6b92a65d6917b3d7c4550ff29542b9fe49
Author: dockerzhang <do...@apache.org>
AuthorDate: Wed Jan 26 15:31:02 2022 +0800
[INLONG-2338] modify default dataproxy address (#270)
Co-authored-by: dockerzhang(张超) <do...@tencent.com>
---
docs/modules/dataproxy/quick_start.md | 9 ++-------
.../current/modules/dataproxy/quick_start.md | 9 ++-------
2 files changed, 4 insertions(+), 14 deletions(-)
diff --git a/docs/modules/dataproxy/quick_start.md b/docs/modules/dataproxy/quick_start.md
index 7c79609..ed9b6b2 100644
--- a/docs/modules/dataproxy/quick_start.md
+++ b/docs/modules/dataproxy/quick_start.md
@@ -40,15 +40,10 @@ telnet 127.0.0.1 46801
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:
+The 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, creator, create_time, modify_time)
-values ("data_proxy_name", "data_proxy_ip", 46801, 0, 0, "admin", now(), now());
+UPDATE apache_inlong_manager.data_proxy_cluster SET address="replace_by_dataproxy_ip" WHERE name="default_dataproxy";
```
diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current/modules/dataproxy/quick_start.md b/i18n/zh-CN/docusaurus-plugin-content-docs/current/modules/dataproxy/quick_start.md
index 33aee79..dd1bfa3 100644
--- a/i18n/zh-CN/docusaurus-plugin-content-docs/current/modules/dataproxy/quick_start.md
+++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/modules/dataproxy/quick_start.md
@@ -40,15 +40,10 @@ telnet 127.0.0.1 46801
安装完 DataProxy 后,需要将 DataProxy 所在主机的 IP 插入到 InLong-Manager 的后台数据库中。
-InLong-Manager 的后台数据库地址,请参考 InLong-Manager 模块的部署文档。
-
-插入 SQL 语句为:
+SQL 语句为:
```sql
--- name 为 DataProxy 的名称,可自定义
-- address 为 DataProxy 服务所在主机的 IP
--- port 为 DataProxy 服务所在的端口号,默认是 46801
-insert into data_proxy_cluster (name, address, port, status, is_deleted, creator, create_time, modify_time)
-values ("data_proxy_name", "data_proxy_ip", 46801, 0, 0, "admin", now(), now());
+UPDATE apache_inlong_manager.data_proxy_cluster SET address="replace_by_dataproxy_ip" WHERE name="default_dataproxy";
```