You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@inlong.apache.org by gi...@apache.org on 2021/07/08 06:55:59 UTC

[incubator-inlong-website] branch asf-site updated: Automated deployment: Thu Jul 8 06:55:51 UTC 2021 bb3c465785f990142c2a5d0ae9329e37eae744a3

This is an automated email from the ASF dual-hosted git repository.

github-bot pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/incubator-inlong-website.git


The following commit(s) were added to refs/heads/asf-site by this push:
     new 9c03f7f  Automated deployment: Thu Jul  8 06:55:51 UTC 2021 bb3c465785f990142c2a5d0ae9329e37eae744a3
9c03f7f is described below

commit 9c03f7fa4c489a104a0e587b6fa0b4e542dda7a6
Author: gosonzhang <go...@users.noreply.github.com>
AuthorDate: Thu Jul 8 06:55:52 2021 +0000

    Automated deployment: Thu Jul  8 06:55:51 UTC 2021 bb3c465785f990142c2a5d0ae9329e37eae744a3
---
 docs/en-us/modules/agent/quick_start.md                 |  7 +++----
 docs/en-us/modules/tubemq/tubemq-manager/quick_start.md | 16 ++++++++++++++++
 docs/zh-cn/modules/agent/quick_start.md                 | 12 ++++++------
 docs/zh-cn/modules/tubemq/tubemq-manager/quick_start.md | 17 ++++++++++++++++-
 en-us/docs/modules/agent/quick_start.html               |  7 +++----
 en-us/docs/modules/agent/quick_start.json               |  2 +-
 en-us/docs/modules/agent/quick_start.md                 |  7 +++----
 .../docs/modules/tubemq/tubemq-manager/quick_start.html | 12 ++++++++++++
 .../docs/modules/tubemq/tubemq-manager/quick_start.json |  2 +-
 en-us/docs/modules/tubemq/tubemq-manager/quick_start.md | 16 ++++++++++++++++
 zh-cn/docs/modules/agent/quick_start.html               | 15 +++++++--------
 zh-cn/docs/modules/agent/quick_start.json               |  2 +-
 zh-cn/docs/modules/agent/quick_start.md                 | 12 ++++++------
 .../docs/modules/tubemq/tubemq-manager/quick_start.html | 12 ++++++++++++
 .../docs/modules/tubemq/tubemq-manager/quick_start.json |  2 +-
 zh-cn/docs/modules/tubemq/tubemq-manager/quick_start.md | 17 ++++++++++++++++-
 16 files changed, 120 insertions(+), 38 deletions(-)

diff --git a/docs/en-us/modules/agent/quick_start.md b/docs/en-us/modules/agent/quick_start.md
index 294e052..b3cc37c 100644
--- a/docs/en-us/modules/agent/quick_start.md
+++ b/docs/en-us/modules/agent/quick_start.md
@@ -27,7 +27,7 @@ agent.manager.vip.http.port=manager port
 ```
 
 ### 2.2 Proxy configuration
-Create a new folder named .inlong\.managerIps in the agent directory, and create a new bid+.local file inside. For example, if the sending bid is set to a, then create a new file a.local
+Create a new folder named .inlong in the agent directory, and create a new bid+.local file inside. For example, if the sending bid is set to a, then create a new file a.local
 
 write:
 ```ini
@@ -114,10 +114,9 @@ agent.http.port=Available ports
     "channel": "org.apache.inlong.agent.plugin.channel.MemoryChannel"
     },
     "bus": {
-    "bid": "thirtybid10",
+    "bid": "bid10",
     "tdmanager": {
-    "port": "8099",
-    "host": "http://tl-tdbank-tdmanger.tencent-distribute.com"
+    "port": "8099"
     }
     },
     "op": "add"
diff --git a/docs/en-us/modules/tubemq/tubemq-manager/quick_start.md b/docs/en-us/modules/tubemq/tubemq-manager/quick_start.md
index a2f8d3d..3b4ea81 100644
--- a/docs/en-us/modules/tubemq/tubemq-manager/quick_start.md
+++ b/docs/en-us/modules/tubemq/tubemq-manager/quick_start.md
@@ -130,3 +130,19 @@ return json
     { "result":false, "errCode": 101, "errMsg":"no such topic in master"}
 
 result is false as not writable
+
+
+
+### curls for operations
+
+    curl --header "Content-Type: application/json" --request POST --data \
+    '{"masterIp":"masterip","clusterName":"test","masterPort":"8099","masterWebPort":"8080","createUser":"test","token":"abc"}' \
+    http://tubemanagerip:tubemanagerport/v1/cluster?method=add
+
+    curl --header "Content-Type: application/json" --request POST --data \
+    '{"clusterId":"1","addTopicTasks":[{"topicName": "testfordocker"}],"user":"test"}' \
+    http://tubemanagerip:tubemanagerport/v1/task?method=addTopicTask
+
+    curl --header "Content-Type: application/json" --request POST --data \
+    '{"clusterId":"1","topicName":"testfordocker","user":"test"}' \
+    http://tubemanagerip:tubemanagerport/v1/topic?method=queryCanWrite
\ No newline at end of file
diff --git a/docs/zh-cn/modules/agent/quick_start.md b/docs/zh-cn/modules/agent/quick_start.md
index 3711af6..ff3444e 100644
--- a/docs/zh-cn/modules/agent/quick_start.md
+++ b/docs/zh-cn/modules/agent/quick_start.md
@@ -26,7 +26,7 @@ agent.manager.vip.http.port=manager port
 ```
 
 ### 2.2 Proxy 相关设置
-在agent目录下新建.inlong\.managerIps文件夹,内部新建bid+.local文件,例如设置的发送bid为a, 则新建a.local文件
+在agent目录下新建.inlong文件夹,内部新建bid+.local文件,例如设置的发送bid为a, 则新建a.local文件
 
 内部将写入:
 ```ini
@@ -76,7 +76,7 @@ vim job1.json:
 
 其中各个参数含义为:
 - job.dir.pattern: 配置读取的文件路径,可包含正则表达式
-- job.trigger: 触发器名称,默认为DirectoryTrigger,功能为监听文件夹下的文件产生事件
+- job.trigger: 触发器名称,默认为DirectoryTrigger,功能为监听文件夹下的文件产生事件,任务运行时已有的文件不会读取
 - job.source: 使用的数据源类型,默认为TextFileSource,读取文本文件
 - job.sink:使用的写入器类型,默认为ProxySink,发送消息到proxy中
 - proxy.bid: 写入proxy时使用的bid类型
@@ -114,15 +114,15 @@ curl --location --request POST 'http://localhost:8129/config/job' \
 "channel": "org.apache.inlong.agent.plugin.channel.MemoryChannel"
 },
 "proxy": {
-"bid": "thirtybid10"
+"bid": "bid10"
 },
 "op": "add"
 }'
 ```
 
-其中参数分别为:
-- pattern: 代表读取/data/inlong-agent/test.log文件
-- proxy.bid: 代表发送到proxy使用的bid
+	其中参数分别为:
+	pattern: 代表读取/data/inlong-agent/test.log文件,需要新建任务后再创建文件
+	proxy.bid: 代表发送到proxy使用的bid
 
 ## 三、运行
 解压后如下命令运行
diff --git a/docs/zh-cn/modules/tubemq/tubemq-manager/quick_start.md b/docs/zh-cn/modules/tubemq/tubemq-manager/quick_start.md
index f060931..560c75a 100644
--- a/docs/zh-cn/modules/tubemq/tubemq-manager/quick_start.md
+++ b/docs/zh-cn/modules/tubemq/tubemq-manager/quick_start.md
@@ -132,4 +132,19 @@ POST
     { "result":false, "errCode": 100, "errMsg":"topic thirty5is not writable"}
     { "result":false, "errCode": 101, "errMsg":"no such topic in master"}
 
-result为false为不可写
\ No newline at end of file
+result为false为不可写
+
+
+### 附录:以上操作的curl
+
+    curl --header "Content-Type: application/json" --request POST --data \
+    '{"masterIp":"masterip","clusterName":"test","masterPort":"8099","masterWebPort":"8080","createUser":"test","token":"abc"}' \
+    http://tubemanagerip:tubemanagerport/v1/cluster?method=add
+
+    curl --header "Content-Type: application/json" --request POST --data \
+    '{"clusterId":"1","addTopicTasks":[{"topicName": "testfordocker"}],"user":"test"}' \
+    http://tubemanagerip:tubemanagerport/v1/task?method=addTopicTask
+
+    curl --header "Content-Type: application/json" --request POST --data \
+    '{"clusterId":"1","topicName":"testfordocker","user":"test"}' \
+    http://tubemanagerip:tubemanagerport/v1/topic?method=queryCanWrite
\ No newline at end of file
diff --git a/en-us/docs/modules/agent/quick_start.html b/en-us/docs/modules/agent/quick_start.html
index 390f237..f84af25 100644
--- a/en-us/docs/modules/agent/quick_start.html
+++ b/en-us/docs/modules/agent/quick_start.html
@@ -32,7 +32,7 @@ The tgz installation package can be found in the target under the agent-release
 <span class="hljs-attr">agent.manager.vip.http.port</span>=manager port
 </code></pre>
 <h3>2.2 Proxy configuration</h3>
-<p>Create a new folder named .inlong.managerIps in the agent directory, and create a new bid+.local file inside. For example, if the sending bid is set to a, then create a new file a.local</p>
+<p>Create a new folder named .inlong in the agent directory, and create a new bid+.local file inside. For example, if the sending bid is set to a, then create a new file a.local</p>
 <p>write:</p>
 <pre><code class="language-ini">{"cluster_id":1,"isInterVisit":1,"size":1,"address": [{"port":write proxy port,"host":"write proxy ip"}], "switch":0}
 </code></pre>
@@ -110,10 +110,9 @@ vim job1.json:</p>
     "channel": "org.apache.inlong.agent.plugin.channel.MemoryChannel"
     },
     "bus": {
-    "bid": "thirtybid10",
+    "bid": "bid10",
     "tdmanager": {
-    "port": "8099",
-    "host": "http://tl-tdbank-tdmanger.tencent-distribute.com"
+    "port": "8099"
     }
     },
     "op": "add"
diff --git a/en-us/docs/modules/agent/quick_start.json b/en-us/docs/modules/agent/quick_start.json
index a2fb6a0..1bb764e 100644
--- a/en-us/docs/modules/agent/quick_start.json
+++ b/en-us/docs/modules/agent/quick_start.json
@@ -1,6 +1,6 @@
 {
   "filename": "quick_start.md",
-  "__html": "<h2>1、install</h2>\n<pre><code>env requirements:\njava JDK 1.8\nMaven 3.6 +\n\n\nmvn clean package -DskipTests\n\nThe tgz installation package can be found in the target under the agent-release\n</code></pre>\n<h2>2、Configuration</h2>\n<p>The agent supports two modes of operation: local operation and online operation</p>\n<h3>2.1 Agent configuration</h3>\n<p>Online operation needs to pull the configuration from inlong-manager, the configuration conf/agent.properties is as fo [...]
+  "__html": "<h2>1、install</h2>\n<pre><code>env requirements:\njava JDK 1.8\nMaven 3.6 +\n\n\nmvn clean package -DskipTests\n\nThe tgz installation package can be found in the target under the agent-release\n</code></pre>\n<h2>2、Configuration</h2>\n<p>The agent supports two modes of operation: local operation and online operation</p>\n<h3>2.1 Agent configuration</h3>\n<p>Online operation needs to pull the configuration from inlong-manager, the configuration conf/agent.properties is as fo [...]
   "link": "/en-us/docs/modules/agent/quick_start.html",
   "meta": {}
 }
\ No newline at end of file
diff --git a/en-us/docs/modules/agent/quick_start.md b/en-us/docs/modules/agent/quick_start.md
index 294e052..b3cc37c 100644
--- a/en-us/docs/modules/agent/quick_start.md
+++ b/en-us/docs/modules/agent/quick_start.md
@@ -27,7 +27,7 @@ agent.manager.vip.http.port=manager port
 ```
 
 ### 2.2 Proxy configuration
-Create a new folder named .inlong\.managerIps in the agent directory, and create a new bid+.local file inside. For example, if the sending bid is set to a, then create a new file a.local
+Create a new folder named .inlong in the agent directory, and create a new bid+.local file inside. For example, if the sending bid is set to a, then create a new file a.local
 
 write:
 ```ini
@@ -114,10 +114,9 @@ agent.http.port=Available ports
     "channel": "org.apache.inlong.agent.plugin.channel.MemoryChannel"
     },
     "bus": {
-    "bid": "thirtybid10",
+    "bid": "bid10",
     "tdmanager": {
-    "port": "8099",
-    "host": "http://tl-tdbank-tdmanger.tencent-distribute.com"
+    "port": "8099"
     }
     },
     "op": "add"
diff --git a/en-us/docs/modules/tubemq/tubemq-manager/quick_start.html b/en-us/docs/modules/tubemq/tubemq-manager/quick_start.html
index bc889ba..bad2adf 100644
--- a/en-us/docs/modules/tubemq/tubemq-manager/quick_start.html
+++ b/en-us/docs/modules/tubemq/tubemq-manager/quick_start.html
@@ -115,6 +115,18 @@ user	(Required) After the access authorization verification needs to verify the
 { &quot;result&quot;:false, &quot;errCode&quot;: 101, &quot;errMsg&quot;:&quot;no such topic in master&quot;}
 </code></pre>
 <p>result is false as not writable</p>
+<h3>curls for operations</h3>
+<pre><code>curl --header &quot;Content-Type: application/json&quot; --request POST --data \
+'{&quot;masterIp&quot;:&quot;masterip&quot;,&quot;clusterName&quot;:&quot;test&quot;,&quot;masterPort&quot;:&quot;8099&quot;,&quot;masterWebPort&quot;:&quot;8080&quot;,&quot;createUser&quot;:&quot;test&quot;,&quot;token&quot;:&quot;abc&quot;}' \
+http://tubemanagerip:tubemanagerport/v1/cluster?method=add
+
+curl --header &quot;Content-Type: application/json&quot; --request POST --data \
+'{&quot;clusterId&quot;:&quot;1&quot;,&quot;addTopicTasks&quot;:[{&quot;topicName&quot;: &quot;testfordocker&quot;}],&quot;user&quot;:&quot;test&quot;}' \
+http://tubemanagerip:tubemanagerport/v1/task?method=addTopicTask
+
+curl --header &quot;Content-Type: application/json&quot; --request POST --data \
+'{&quot;clusterId&quot;:&quot;1&quot;,&quot;topicName&quot;:&quot;testfordocker&quot;,&quot;user&quot;:&quot;test&quot;}' \
+http://tubemanagerip:tubemanagerport/v1/topic?method=queryCanWrite</code></pre>
 </div></section><footer class="footer-container"><div class="footer-body"><img src="/img/incubator-logo.svg"/><div class="cols-container"><div class="col col-24"><p>Apache InLong (incubating) is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with  [...]
 	<script src="https://f.alicdn.com/react/15.4.1/react-with-addons.min.js"></script>
 	<script src="https://f.alicdn.com/react/15.4.1/react-dom.min.js"></script>
diff --git a/en-us/docs/modules/tubemq/tubemq-manager/quick_start.json b/en-us/docs/modules/tubemq/tubemq-manager/quick_start.json
index 6215645..f7da12b 100644
--- a/en-us/docs/modules/tubemq/tubemq-manager/quick_start.json
+++ b/en-us/docs/modules/tubemq/tubemq-manager/quick_start.json
@@ -1,6 +1,6 @@
 {
   "filename": "quick_start.md",
-  "__html": "<h2>compile</h2>\n<pre><code>mvn clean package \n</code></pre>\n<h2>deploy</h2>\n<p>environment requirements:</p>\n<p>mysql\njava(1.8+)\nIn the InLong/inlong-tubemq/tubemq-manager/dist/ directory, you can find the file apache-inlong-tubemanager-0.9.0-incubating-SNAPSHOT-bin.tar.gz</p>\n<pre><code>tar -zxvf apache-inlong-tubemanager-0.9.0-incubating-SNAPSHOT-bin.tar.gz\n</code></pre>\n<p>Add mysql information in conf/application.properties:</p>\n<pre><code>spring.jpa.hibernat [...]
+  "__html": "<h2>compile</h2>\n<pre><code>mvn clean package \n</code></pre>\n<h2>deploy</h2>\n<p>environment requirements:</p>\n<p>mysql\njava(1.8+)\nIn the InLong/inlong-tubemq/tubemq-manager/dist/ directory, you can find the file apache-inlong-tubemanager-0.9.0-incubating-SNAPSHOT-bin.tar.gz</p>\n<pre><code>tar -zxvf apache-inlong-tubemanager-0.9.0-incubating-SNAPSHOT-bin.tar.gz\n</code></pre>\n<p>Add mysql information in conf/application.properties:</p>\n<pre><code>spring.jpa.hibernat [...]
   "link": "/en-us/docs/modules/tubemq/tubemq-manager/quick_start.html",
   "meta": {}
 }
\ No newline at end of file
diff --git a/en-us/docs/modules/tubemq/tubemq-manager/quick_start.md b/en-us/docs/modules/tubemq/tubemq-manager/quick_start.md
index a2f8d3d..3b4ea81 100644
--- a/en-us/docs/modules/tubemq/tubemq-manager/quick_start.md
+++ b/en-us/docs/modules/tubemq/tubemq-manager/quick_start.md
@@ -130,3 +130,19 @@ return json
     { "result":false, "errCode": 101, "errMsg":"no such topic in master"}
 
 result is false as not writable
+
+
+
+### curls for operations
+
+    curl --header "Content-Type: application/json" --request POST --data \
+    '{"masterIp":"masterip","clusterName":"test","masterPort":"8099","masterWebPort":"8080","createUser":"test","token":"abc"}' \
+    http://tubemanagerip:tubemanagerport/v1/cluster?method=add
+
+    curl --header "Content-Type: application/json" --request POST --data \
+    '{"clusterId":"1","addTopicTasks":[{"topicName": "testfordocker"}],"user":"test"}' \
+    http://tubemanagerip:tubemanagerport/v1/task?method=addTopicTask
+
+    curl --header "Content-Type: application/json" --request POST --data \
+    '{"clusterId":"1","topicName":"testfordocker","user":"test"}' \
+    http://tubemanagerip:tubemanagerport/v1/topic?method=queryCanWrite
\ No newline at end of file
diff --git a/zh-cn/docs/modules/agent/quick_start.html b/zh-cn/docs/modules/agent/quick_start.html
index eea3373..90bb960 100644
--- a/zh-cn/docs/modules/agent/quick_start.html
+++ b/zh-cn/docs/modules/agent/quick_start.html
@@ -32,7 +32,7 @@ mvn clean package -DskipTests
 <span class="hljs-attr">agent.manager.vip.http.port</span>=manager port
 </code></pre>
 <h3>2.2 Proxy 相关设置</h3>
-<p>在agent目录下新建.inlong.managerIps文件夹,内部新建bid+.local文件,例如设置的发送bid为a, 则新建a.local文件</p>
+<p>在agent目录下新建.inlong文件夹,内部新建bid+.local文件,例如设置的发送bid为a, 则新建a.local文件</p>
 <p>内部将写入:</p>
 <pre><code class="language-ini">{"cluster_id":1,"isInterVisit":1,"size":1,"address": [{"port":写入proxy port,"host":"写入proxy ip"}], "switch":0}
 </code></pre>
@@ -76,7 +76,7 @@ vim job1.json:</p>
 <p>其中各个参数含义为:</p>
 <ul>
 <li>job.dir.pattern: 配置读取的文件路径,可包含正则表达式</li>
-<li>job.trigger: 触发器名称,默认为DirectoryTrigger,功能为监听文件夹下的文件产生事件</li>
+<li>job.trigger: 触发器名称,默认为DirectoryTrigger,功能为监听文件夹下的文件产生事件,任务运行时已有的文件不会读取</li>
 <li>job.source: 使用的数据源类型,默认为TextFileSource,读取文本文件</li>
 <li>job.sink:使用的写入器类型,默认为ProxySink,发送消息到proxy中</li>
 <li>proxy.bid: 写入proxy时使用的bid类型</li>
@@ -110,16 +110,15 @@ vim job1.json:</p>
 "channel": "org.apache.inlong.agent.plugin.channel.MemoryChannel"
 },
 "proxy": {
-"bid": "thirtybid10"
+"bid": "bid10"
 },
 "op": "add"
 }'</span>
 </code></pre>
-<p>其中参数分别为:</p>
-<ul>
-<li>pattern: 代表读取/data/inlong-agent/test.log文件</li>
-<li>proxy.bid: 代表发送到proxy使用的bid</li>
-</ul>
+<pre><code>其中参数分别为:
+pattern: 代表读取/data/inlong-agent/test.log文件,需要新建任务后再创建文件
+proxy.bid: 代表发送到proxy使用的bid
+</code></pre>
 <h2>三、运行</h2>
 <p>解压后如下命令运行</p>
 <pre><code class="language-bash">sh agent.sh start
diff --git a/zh-cn/docs/modules/agent/quick_start.json b/zh-cn/docs/modules/agent/quick_start.json
index 7db6905..6eecb8f 100644
--- a/zh-cn/docs/modules/agent/quick_start.json
+++ b/zh-cn/docs/modules/agent/quick_start.json
@@ -1,6 +1,6 @@
 {
   "filename": "quick_start.md",
-  "__html": "<h2>~~~~一、安装</h2>\n<pre><code>环境要求:\njava JDK 1.8\nMaven 3.6 +\n\ninlong目录下执行命令\nmvn clean package -DskipTests\n\n在项目下的agent-release/target里面可以找到tgz安装包\n</code></pre>\n<h2>二、配置</h2>\n<p>agent 支持两种运行模式:本地运行以及线上运行</p>\n<h3>2.1 Agent 线上运行相关设置</h3>\n<p>线上运行需要从inlong-manager拉取配置,配置conf/agent.properties如下:</p>\n<pre><code class=\"language-ini\"><span class=\"hljs-attr\">agent.fetcher.classname</span>=org.apache.inlong.agent.plugin.fetcher.ManagerFetcher (设置任务获取的类名,默认为ManagerFetche [...]
+  "__html": "<h2>~~~~一、安装</h2>\n<pre><code>环境要求:\njava JDK 1.8\nMaven 3.6 +\n\ninlong目录下执行命令\nmvn clean package -DskipTests\n\n在项目下的agent-release/target里面可以找到tgz安装包\n</code></pre>\n<h2>二、配置</h2>\n<p>agent 支持两种运行模式:本地运行以及线上运行</p>\n<h3>2.1 Agent 线上运行相关设置</h3>\n<p>线上运行需要从inlong-manager拉取配置,配置conf/agent.properties如下:</p>\n<pre><code class=\"language-ini\"><span class=\"hljs-attr\">agent.fetcher.classname</span>=org.apache.inlong.agent.plugin.fetcher.ManagerFetcher (设置任务获取的类名,默认为ManagerFetche [...]
   "link": "/zh-cn/docs/modules/agent/quick_start.html",
   "meta": {}
 }
\ No newline at end of file
diff --git a/zh-cn/docs/modules/agent/quick_start.md b/zh-cn/docs/modules/agent/quick_start.md
index 3711af6..ff3444e 100644
--- a/zh-cn/docs/modules/agent/quick_start.md
+++ b/zh-cn/docs/modules/agent/quick_start.md
@@ -26,7 +26,7 @@ agent.manager.vip.http.port=manager port
 ```
 
 ### 2.2 Proxy 相关设置
-在agent目录下新建.inlong\.managerIps文件夹,内部新建bid+.local文件,例如设置的发送bid为a, 则新建a.local文件
+在agent目录下新建.inlong文件夹,内部新建bid+.local文件,例如设置的发送bid为a, 则新建a.local文件
 
 内部将写入:
 ```ini
@@ -76,7 +76,7 @@ vim job1.json:
 
 其中各个参数含义为:
 - job.dir.pattern: 配置读取的文件路径,可包含正则表达式
-- job.trigger: 触发器名称,默认为DirectoryTrigger,功能为监听文件夹下的文件产生事件
+- job.trigger: 触发器名称,默认为DirectoryTrigger,功能为监听文件夹下的文件产生事件,任务运行时已有的文件不会读取
 - job.source: 使用的数据源类型,默认为TextFileSource,读取文本文件
 - job.sink:使用的写入器类型,默认为ProxySink,发送消息到proxy中
 - proxy.bid: 写入proxy时使用的bid类型
@@ -114,15 +114,15 @@ curl --location --request POST 'http://localhost:8129/config/job' \
 "channel": "org.apache.inlong.agent.plugin.channel.MemoryChannel"
 },
 "proxy": {
-"bid": "thirtybid10"
+"bid": "bid10"
 },
 "op": "add"
 }'
 ```
 
-其中参数分别为:
-- pattern: 代表读取/data/inlong-agent/test.log文件
-- proxy.bid: 代表发送到proxy使用的bid
+	其中参数分别为:
+	pattern: 代表读取/data/inlong-agent/test.log文件,需要新建任务后再创建文件
+	proxy.bid: 代表发送到proxy使用的bid
 
 ## 三、运行
 解压后如下命令运行
diff --git a/zh-cn/docs/modules/tubemq/tubemq-manager/quick_start.html b/zh-cn/docs/modules/tubemq/tubemq-manager/quick_start.html
index cfeaed1..28c8433 100644
--- a/zh-cn/docs/modules/tubemq/tubemq-manager/quick_start.html
+++ b/zh-cn/docs/modules/tubemq/tubemq-manager/quick_start.html
@@ -117,6 +117,18 @@ user	(必填) 之后接入权限验证需要验证用户,这里预留出来
 { &quot;result&quot;:false, &quot;errCode&quot;: 101, &quot;errMsg&quot;:&quot;no such topic in master&quot;}
 </code></pre>
 <p>result为false为不可写</p>
+<h3>附录:以上操作的curl</h3>
+<pre><code>curl --header &quot;Content-Type: application/json&quot; --request POST --data \
+'{&quot;masterIp&quot;:&quot;masterip&quot;,&quot;clusterName&quot;:&quot;test&quot;,&quot;masterPort&quot;:&quot;8099&quot;,&quot;masterWebPort&quot;:&quot;8080&quot;,&quot;createUser&quot;:&quot;test&quot;,&quot;token&quot;:&quot;abc&quot;}' \
+http://tubemanagerip:tubemanagerport/v1/cluster?method=add
+
+curl --header &quot;Content-Type: application/json&quot; --request POST --data \
+'{&quot;clusterId&quot;:&quot;1&quot;,&quot;addTopicTasks&quot;:[{&quot;topicName&quot;: &quot;testfordocker&quot;}],&quot;user&quot;:&quot;test&quot;}' \
+http://tubemanagerip:tubemanagerport/v1/task?method=addTopicTask
+
+curl --header &quot;Content-Type: application/json&quot; --request POST --data \
+'{&quot;clusterId&quot;:&quot;1&quot;,&quot;topicName&quot;:&quot;testfordocker&quot;,&quot;user&quot;:&quot;test&quot;}' \
+http://tubemanagerip:tubemanagerport/v1/topic?method=queryCanWrite</code></pre>
 </div></section><footer class="footer-container"><div class="footer-body"><img src="/img/incubator-logo.svg"/><div class="cols-container"><div class="col col-24"><p>Apache InLong (incubating) is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with  [...]
 	<script src="https://f.alicdn.com/react/15.4.1/react-with-addons.min.js"></script>
 	<script src="https://f.alicdn.com/react/15.4.1/react-dom.min.js"></script>
diff --git a/zh-cn/docs/modules/tubemq/tubemq-manager/quick_start.json b/zh-cn/docs/modules/tubemq/tubemq-manager/quick_start.json
index 306835f..59ad09b 100644
--- a/zh-cn/docs/modules/tubemq/tubemq-manager/quick_start.json
+++ b/zh-cn/docs/modules/tubemq/tubemq-manager/quick_start.json
@@ -1,6 +1,6 @@
 {
   "filename": "quick_start.md",
-  "__html": "<h2>编译</h2>\n<pre><code>mvn clean package \n</code></pre>\n<h2>部署</h2>\n<p>环境要求:</p>\n<p>mysql\njava(1.8+)\n在InLong/inlong-tubemq/tubemq-manager/dist/目录当中,能够找到文件为apache-inlong-tubemanager-0.9.0-incubating-SNAPSHOT-bin.tar.gz</p>\n<pre><code>tar -zxvf apache-inlong-tubemanager-0.9.0-incubating-SNAPSHOT-bin.tar.gz\n</code></pre>\n<p>在conf/application.properties中添加mysql信息:</p>\n<pre><code>spring.jpa.hibernate.ddl-auto=update\n# configuration for manager\nspring.datasource.url=j [...]
+  "__html": "<h2>编译</h2>\n<pre><code>mvn clean package \n</code></pre>\n<h2>部署</h2>\n<p>环境要求:</p>\n<p>mysql\njava(1.8+)\n在InLong/inlong-tubemq/tubemq-manager/dist/目录当中,能够找到文件为apache-inlong-tubemanager-0.9.0-incubating-SNAPSHOT-bin.tar.gz</p>\n<pre><code>tar -zxvf apache-inlong-tubemanager-0.9.0-incubating-SNAPSHOT-bin.tar.gz\n</code></pre>\n<p>在conf/application.properties中添加mysql信息:</p>\n<pre><code>spring.jpa.hibernate.ddl-auto=update\n# configuration for manager\nspring.datasource.url=j [...]
   "link": "/zh-cn/docs/modules/tubemq/tubemq-manager/quick_start.html",
   "meta": {}
 }
\ No newline at end of file
diff --git a/zh-cn/docs/modules/tubemq/tubemq-manager/quick_start.md b/zh-cn/docs/modules/tubemq/tubemq-manager/quick_start.md
index f060931..560c75a 100644
--- a/zh-cn/docs/modules/tubemq/tubemq-manager/quick_start.md
+++ b/zh-cn/docs/modules/tubemq/tubemq-manager/quick_start.md
@@ -132,4 +132,19 @@ POST
     { "result":false, "errCode": 100, "errMsg":"topic thirty5is not writable"}
     { "result":false, "errCode": 101, "errMsg":"no such topic in master"}
 
-result为false为不可写
\ No newline at end of file
+result为false为不可写
+
+
+### 附录:以上操作的curl
+
+    curl --header "Content-Type: application/json" --request POST --data \
+    '{"masterIp":"masterip","clusterName":"test","masterPort":"8099","masterWebPort":"8080","createUser":"test","token":"abc"}' \
+    http://tubemanagerip:tubemanagerport/v1/cluster?method=add
+
+    curl --header "Content-Type: application/json" --request POST --data \
+    '{"clusterId":"1","addTopicTasks":[{"topicName": "testfordocker"}],"user":"test"}' \
+    http://tubemanagerip:tubemanagerport/v1/task?method=addTopicTask
+
+    curl --header "Content-Type: application/json" --request POST --data \
+    '{"clusterId":"1","topicName":"testfordocker","user":"test"}' \
+    http://tubemanagerip:tubemanagerport/v1/topic?method=queryCanWrite
\ No newline at end of file