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 2021/08/27 03:25:00 UTC
[incubator-inlong-website] branch master updated:
[INLONG-1484][Agent] Bid and Tid is not well explained in agent and might
cause send error (#130)
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 961a1ea [INLONG-1484][Agent] Bid and Tid is not well explained in agent and might cause send error (#130)
961a1ea is described below
commit 961a1ea04fbea73a3243090452720576d4df08de
Author: ziruipeng <zp...@connect.ust.hk>
AuthorDate: Fri Aug 27 11:24:52 2021 +0800
[INLONG-1484][Agent] Bid and Tid is not well explained in agent and might cause send error (#130)
Co-authored-by: stingpeng <st...@tencent.com>
---
docs/en-us/modules/agent/quick_start.md | 4 ++--
docs/zh-cn/modules/agent/quick_start.md | 6 +++---
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/docs/en-us/modules/agent/quick_start.md b/docs/en-us/modules/agent/quick_start.md
index d64fde1..e015889 100644
--- a/docs/en-us/modules/agent/quick_start.md
+++ b/docs/en-us/modules/agent/quick_start.md
@@ -79,8 +79,8 @@ agent.http.port=Available ports
- job.trigger: Trigger name, the default is DirectoryTrigger, the function is to monitor the files under the folder to generate events
- job.source: The type of data source used, the default is TextFileSource, which reads text files
- job.sink:The type of writer used, the default is ProxySink, which sends messages to the proxy
- - proxy.bid: The bid type used when writing proxy
- - proxy.tid: The tid type used when writing proxy
+ - proxy.bid: The bid type used when writing proxy, bid is business id showed on data access in inlong-manager, not the topic name.
+ - proxy.tid: The tid type used when writing proxy, tid is the data flow id showed on data flow window in inlong-manager
## 4、eg for directory config
diff --git a/docs/zh-cn/modules/agent/quick_start.md b/docs/zh-cn/modules/agent/quick_start.md
index bcd027b..8fb71fe 100644
--- a/docs/zh-cn/modules/agent/quick_start.md
+++ b/docs/zh-cn/modules/agent/quick_start.md
@@ -17,7 +17,7 @@ agent.manager.vip.http.port=manager web port
### 1.2 DataProxy 相关设置
在agent目录下新建.inlong文件夹,内部新建bid+.local文件,例如设置的发送bid为a, 则新建a.local文件
-
+bid是指manager界面中,数据接入中业务信息的业务ID,此处不是创建的tube topic名称
内部将写入:
```ini
{"cluster_id":1,"isInterVisit":1,"size":1,"address": [{"port":写入proxy port,"host":"写入proxy ip"}], "switch":0}
@@ -75,8 +75,8 @@ curl --location --request POST 'http://localhost:8008/config/job' \
- job.trigger: 触发器名称,默认为DirectoryTrigger,功能为监听文件夹下的文件产生事件,任务运行时已有的文件不会读取
- job.source: 使用的数据源类型,默认为TextFileSource,读取文本文件
- job.sink:使用的写入器类型,默认为ProxySink,发送消息到dataproxy中
- - proxy.bid: 写入proxy时使用的bid类型
- - proxy.tid: 写入proxy时使用的tid类型
+ - proxy.bid: 写入proxy时使用的bid,bid是指manager界面中,数据接入中业务信息的业务ID,此处不是创建的tube topic名称
+ - proxy.tid: 写入proxy时使用的tid,tid是指manager界面中,数据接入中数据流的数据流ID
## 4、可支持的路径配置方案