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/05/30 06:23:11 UTC
[incubator-inlong-website] branch master updated: [INLONG-389][Website] Update DataProxy example (#390)
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 bf50c7706 [INLONG-389][Website] Update DataProxy example (#390)
bf50c7706 is described below
commit bf50c7706d80ac344daa742169088ed564d5bf4d
Author: xuesongxs <54...@users.noreply.github.com>
AuthorDate: Mon May 30 14:23:07 2022 +0800
[INLONG-389][Website] Update DataProxy example (#390)
---
docs/sdk/dataproxy-sdk/example.md | 4 ++--
.../current/sdk/dataproxy-sdk/example.md | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/docs/sdk/dataproxy-sdk/example.md b/docs/sdk/dataproxy-sdk/example.md
index a87b5ab62..5c36684a9 100644
--- a/docs/sdk/dataproxy-sdk/example.md
+++ b/docs/sdk/dataproxy-sdk/example.md
@@ -79,7 +79,7 @@ Then the full path of the local file is:
The file configuration content is (json format), where host is the address of the DataProxy server, and port is the corresponding port, which requires at least two configurations (the same two items can be configured):
```json
- {"isInterVisit":1,"cluster_id":"1","size":1,"switch":1,"address":[{"host":"127.0.0.1","port":"46802"},{"host":"127.0.0.1","port":"46802"}]}
+ {"isInterVisit":1,"clusterId":"1","size":1,"switch":1,"address":[{"host":"127.0.0.1","port":"46802"},{"host":"127.0.0.1","port":"46802"}]}
```
### Send Message
@@ -165,7 +165,7 @@ Then the full path name of the local file is:
The file configuration content is (json format), where host is the address of the DataProxy server, and port is the corresponding port, which requires at least two configurations (the same two items can be configured):
```json
- {"isInterVisit":1,"cluster_id":"1","size":1,"switch":1,"address":[{"host":"127.0.0.1","port":"46802"},{"host":"127.0.0.1","port":"46802"}]}
+ {"isInterVisit":1,"clusterId":"1","size":1,"switch":1,"address":[{"host":"127.0.0.1","port":"46802"},{"host":"127.0.0.1","port":"46802"}]}
```
### Send Message
diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current/sdk/dataproxy-sdk/example.md b/i18n/zh-CN/docusaurus-plugin-content-docs/current/sdk/dataproxy-sdk/example.md
index 8e346ec3e..cf9cd1b61 100644
--- a/i18n/zh-CN/docusaurus-plugin-content-docs/current/sdk/dataproxy-sdk/example.md
+++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/sdk/dataproxy-sdk/example.md
@@ -79,7 +79,7 @@ Api 详情,请查看[总览](./overview)
文件配置内容为( json 格式),其中 host 为 DataProxy 服务器地址,port为对应的端口,这需要至少配置两个(可以配置为相同的两项):
```json
- {"isInterVisit":1,"cluster_id":"1","size":1,"switch":1,"address":[{"host":"127.0.0.1","port":"46802"},{"host":"127.0.0.1","port":"46802"}]}
+ {"isInterVisit":1,"clusterId":"1","size":1,"switch":1,"address":[{"host":"127.0.0.1","port":"46802"},{"host":"127.0.0.1","port":"46802"}]}
```
### 发送消息
@@ -162,7 +162,7 @@ Api 详情,请查看[总览](./overview)
```
文件配置内容为( json 格式),其中 host 为 DataProxy 服务器地址,port 为对应的端口,这需要至少配置两个(可以配置为相同的两项):
```json
- {"isInterVisit":1,"cluster_id":"1","size":1,"switch":1,"address":[{"host":"127.0.0.1","port":"46802"},{"host":"127.0.0.1","port":"46802"}]}
+ {"isInterVisit":1,"clusterId":"1","size":1,"switch":1,"address":[{"host":"127.0.0.1","port":"46802"},{"host":"127.0.0.1","port":"46802"}]}
```
### 发送消息