You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@inlong.apache.org by go...@apache.org on 2021/07/10 11:01:53 UTC
[incubator-inlong-website] branch master updated: [INLONG-711] add
tid in readme in agent (#95)
This is an automated email from the ASF dual-hosted git repository.
gosonzhang 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 96c9e5d [INLONG-711] add tid in readme in agent (#95)
96c9e5d is described below
commit 96c9e5dc9bdac15a32d3573fa48a3b213bf207a0
Author: ziruipeng <zp...@connect.ust.hk>
AuthorDate: Sat Jul 10 19:01:46 2021 +0800
[INLONG-711] add tid in readme in agent (#95)
Co-authored-by: stingpeng <st...@tencent.com>
---
docs/en-us/modules/agent/quick_start.md | 11 +++++------
docs/zh-cn/modules/agent/quick_start.md | 10 +++++++---
2 files changed, 12 insertions(+), 9 deletions(-)
diff --git a/docs/en-us/modules/agent/quick_start.md b/docs/en-us/modules/agent/quick_start.md
index 667d342..a39bf63 100644
--- a/docs/en-us/modules/agent/quick_start.md
+++ b/docs/en-us/modules/agent/quick_start.md
@@ -67,8 +67,8 @@ put
"proxy": {
- "bid": "testbid1"
-
+ "bid": "testbid1",
+ "tid": "testtid1"
}
}
@@ -80,6 +80,7 @@ The meaning of each parameter is :
- 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
### 2.4 Add job configuration in real time
@@ -115,10 +116,8 @@ agent.http.port=Available ports
"channel": "org.apache.inlong.agent.plugin.channel.MemoryChannel"
},
"bus": {
- "bid": "bid10",
- "tdmanager": {
- "port": "8099"
- }
+ "bid": "bid10",
+ "tid": "bid10"
},
"op": "add"
}'
diff --git a/docs/zh-cn/modules/agent/quick_start.md b/docs/zh-cn/modules/agent/quick_start.md
index a6baa2b..ab2658e 100644
--- a/docs/zh-cn/modules/agent/quick_start.md
+++ b/docs/zh-cn/modules/agent/quick_start.md
@@ -66,8 +66,9 @@ agent.manager.vip.http.port=manager open api port
"proxy": {
- "bid": "testbid1"
-
+ "bid": "testbid1",
+ "tid": "testtid1"
+
}
}
@@ -80,6 +81,7 @@ agent.manager.vip.http.port=manager open api port
- job.source: 使用的数据源类型,默认为TextFileSource,读取文本文件
- job.sink:使用的写入器类型,默认为ProxySink,发送消息到dataproxy中
- proxy.bid: 写入proxy时使用的bid类型
+- proxy.tid: 写入proxy时使用的tid类型
### 2.4 实时添加job配置
@@ -114,7 +116,8 @@ curl --location --request POST 'http://localhost:8018/config/job' \
"channel": "org.apache.inlong.agent.plugin.channel.MemoryChannel"
},
"proxy": {
-"bid": "bid10"
+"bid": "bid10",
+"tid": "bid10"
},
"op": "add"
}'
@@ -123,6 +126,7 @@ curl --location --request POST 'http://localhost:8018/config/job' \
其中参数分别为:
pattern: 代表读取/data/inlong-agent/test.log文件,需要新建任务后再创建文件
proxy.bid: 代表发送到dataproxy使用的bid
+ proxy.tid: 代表发送到dataproxy使用的tid
## 三、运行
解压后如下命令运行