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/11/04 03:33:34 UTC

[incubator-inlong-website] branch master updated: [Feature] [InLong-Agent] Modify bid and tid to inlongGroupId and inlongStreamId (#171)

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 d69b1ae  [Feature] [InLong-Agent] Modify bid and tid to inlongGroupId and inlongStreamId (#171)
d69b1ae is described below

commit d69b1ae5c8806eba217ba1c09fd1c67193c50c1f
Author: ziruipeng <zp...@connect.ust.hk>
AuthorDate: Thu Nov 4 11:33:24 2021 +0800

    [Feature] [InLong-Agent] Modify bid and tid to inlongGroupId and inlongStreamId (#171)
    
    Co-authored-by: EMsnap <st...@tencent.com>
---
 docs/modules/agent/quick_start.md                      | 18 +++++++++---------
 .../current/modules/agent/quick_start.md               | 16 ++++++++--------
 2 files changed, 17 insertions(+), 17 deletions(-)

diff --git a/docs/modules/agent/quick_start.md b/docs/modules/agent/quick_start.md
index c6fed54..7e567c2 100644
--- a/docs/modules/agent/quick_start.md
+++ b/docs/modules/agent/quick_start.md
@@ -61,9 +61,9 @@ agent.http.port=Available ports
     "sink": "org.apache.inlong.agent.plugin.sinks.ProxySink",
     "channel": "org.apache.inlong.agent.plugin.channel.MemoryChannel"
     },
-    "bus": {
-  "bid": "bid10",
-  "tid": "bid10"
+    "proxy": {
+  "groupId": "groupId10",
+  "streamId": "groupId10"
     },
     "op": "add"
     }'
@@ -74,8 +74,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, 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
+    - proxy.groupId: The groupId type used when writing proxy, groupId is group id showed on data access in inlong-manager, not the topic name.
+    - proxy.streamId: The streamId type used when writing proxy, streamId is the data flow id showed on data flow window in inlong-manager
 
 
 ## 4、eg for directory config
@@ -136,8 +136,8 @@ curl --location --request POST'http://localhost:8008/config/job' \
 "channel": "org.apache.inlong.agent.plugin.channel.MemoryChannel"
 },
 "proxy": {
-"bid": "bid10",
-"tid": "bid10"
+"group": "group10",
+"group": "group10"
 },
 "op": "add"
 }'
@@ -177,8 +177,8 @@ curl --location --request POST'http://localhost:8008/config/job' \
 "channel": "org.apache.inlong.agent.plugin.channel.MemoryChannel"
 },
 "proxy": {
-"bid": "bid10",
-"tid": "bid10"
+"groupId": "groupId10",
+"streamId": "streamId10"
 },
 "op": "add"
 }'
diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current/modules/agent/quick_start.md b/i18n/zh-CN/docusaurus-plugin-content-docs/current/modules/agent/quick_start.md
index 43a88bb..714c318 100644
--- a/i18n/zh-CN/docusaurus-plugin-content-docs/current/modules/agent/quick_start.md
+++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/modules/agent/quick_start.md
@@ -61,8 +61,8 @@ curl --location --request POST 'http://localhost:8008/config/job' \
 "channel": "org.apache.inlong.agent.plugin.channel.MemoryChannel"
 },
 "proxy": {
-"bid": "bid10",
-"tid": "bid10"
+"groupId": "groupId10",
+"streamId": "streamId10"
 },
 "op": "add"
 }'
@@ -73,8 +73,8 @@ curl --location --request POST 'http://localhost:8008/config/job' \
     - job.trigger: 触发器名称,默认为DirectoryTrigger,功能为监听文件夹下的文件产生事件,任务运行时已有的文件不会读取
     - job.source: 使用的数据源类型,默认为TextFileSource,读取文本文件
     - job.sink:使用的写入器类型,默认为ProxySink,发送消息到dataproxy中
-    - proxy.bid: 写入proxy时使用的bid,bid是指manager界面中,数据接入中业务信息的业务ID,此处不是创建的tube topic名称
-    - proxy.tid: 写入proxy时使用的tid,tid是指manager界面中,数据接入中数据流的数据流ID
+    - proxy.groupId: 写入proxy时使用的groupId,groupId是指manager界面中,数据接入中业务信息的业务ID,此处不是创建的tube topic名称
+    - proxy.streamId: 写入proxy时使用的streamId,streamId是指manager界面中,数据接入中数据流的数据流ID
 
 ## 4、可支持的路径配置方案
 
@@ -133,8 +133,8 @@ curl --location --request POST 'http://localhost:8008/config/job' \
 "channel": "org.apache.inlong.agent.plugin.channel.MemoryChannel"
 },
 "proxy": {
-"bid": "bid10",
-"tid": "bid10"
+"groupId": "groupId",
+"streamId": "streamId"
 },
 "op": "add"
 }'
@@ -175,8 +175,8 @@ curl --location --request POST 'http://localhost:8008/config/job' \
 "channel": "org.apache.inlong.agent.plugin.channel.MemoryChannel"
 },
 "proxy": {
-"bid": "bid10",
-"tid": "bid10"
+"groupId": "groupId",
+"streamId": "streamId"
 },
 "op": "add"
 }'