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/12/30 02:36:49 UTC

[incubator-inlong-website] branch master updated: [INLONG-2072] update the deployment guide for sort (#242)

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 7617c42  [INLONG-2072] update the deployment guide for sort (#242)
7617c42 is described below

commit 7617c428dfff36b21c3fd0e86ea4b26bebe1c49b
Author: dockerzhang <do...@apache.org>
AuthorDate: Thu Dec 30 10:36:43 2021 +0800

    [INLONG-2072] update the deployment guide for sort (#242)
    
    Co-authored-by: dockerzhang <do...@tencent.com>
---
 docs/modules/sort/quick_start.md                          | 15 +++++++++------
 .../current/modules/sort/quick_start.md                   | 15 +++++++++------
 2 files changed, 18 insertions(+), 12 deletions(-)

diff --git a/docs/modules/sort/quick_start.md b/docs/modules/sort/quick_start.md
index 7cb4730..0ab3cb3 100644
--- a/docs/modules/sort/quick_start.md
+++ b/docs/modules/sort/quick_start.md
@@ -19,25 +19,28 @@ Now you can submit job to flink with the jar compiled, refer to [how to submit j
 
 Example:
 ```
-$ ./bin/flink run -c org.apache.inlong.sort.flink.Entrance inlong-sort-core-[version].jar --cluster-id my_application --zookeeper.quorum 127.0.0.1:2181 --zookeeper.path.root /inlong-sort --source.type tubemq --sink.type hive
+./bin/flink run -c org.apache.inlong.sort.flink.Entrance inlong-sort/sort-core-[version].jar \
+--cluster-id inlong_app --zookeeper.quorum 127.0.0.1:2181 --zookeeper.path.root /inlong_sort \
+--source.type tubemq --sink.type hive
 ```
 
 Notice:
 
 - `-c org.apache.inlong.sort.flink.Entrance` is the main class name
 
-- `inlong-sort-core-[version].jar` is the compiled jar
+- `inlong-sort/sort-core-[version].jar` is the compiled jar
 
 ## Necessary configurations
-- `--cluster-id ` which is used to represent a specified inlong-sort application
-- `--zookeeper.quorum` zk quorum
-- `--zookeeper.path.root` zk root path
+- `--cluster-id ` represent a specified inlong-sort application, same as the configuration of `sort.appName` in inlong-manager
+- `--zookeeper.quorum` zk quorum, same as the configuration of `cluster.zk.url` in inlong-manager
+- `--zookeeper.path.root` zk root path, same as the configuration of `cluster.zk.root` in inlong-manager
 - `--source.type` source of the application, currently "tubemq" and "pulsar" are supported
 - `--sink.type` sink of the application, currently "clickhouse" and "hive" are supported
 
 **Example**
 ```
---cluster-id my_application --zookeeper.quorum 192.127.0.1:2181 --zookeeper.path.root /zk_root --source.type tubemq --sink.type hive
+--cluster-id inlong_app --zookeeper.quorum 192.127.0.1:2181 \
+--zookeeper.path.root /inlong_sort --source.type tubemq --sink.type hive
 ```
 
 ## All configurations
diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current/modules/sort/quick_start.md b/i18n/zh-CN/docusaurus-plugin-content-docs/current/modules/sort/quick_start.md
index 000978c..f9ead4b 100644
--- a/i18n/zh-CN/docusaurus-plugin-content-docs/current/modules/sort/quick_start.md
+++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/modules/sort/quick_start.md
@@ -18,25 +18,28 @@ flink环境配置完成后,可以通过浏览器访问flink的web ui,对应
 
 示例:
 ```
-$ ./bin/flink run -c org.apache.inlong.sort.flink.Entrance inlong-sort-core-[version].jar --cluster-id my_application --zookeeper.quorum 127.0.0.1:2181 --zookeeper.path.root /inlong-sort --source.type tubemq --sink.type hive
+./bin/flink run -c org.apache.inlong.sort.flink.Entrance inlong-sort/sort-core-[version].jar \
+--cluster-id inlong_app --zookeeper.quorum 127.0.0.1:2181 --zookeeper.path.root /inlong_sort \
+--source.type tubemq --sink.type hive
 ```
 
 注意:
 
 - `-c org.apache.inlong.sort.flink.Entrance` 表示main class name
 
-- `inlong-sort-core-[version].jar` 为编译阶段产出的jar包
+- `inlong-sort/sort-core-[version].jar` 为编译阶段产出的jar包
 
 ## 必要的配置
-- `--cluster-id ` 用来唯一标识一个inlong-sort作业
-- `--zookeeper.quorum` zk quorum
-- `--zookeeper.path.root` zk根目录
+- `--cluster-id ` 用来唯一标识一个inlong-sort作业,同inlong-manager中`sort.appName`配置一致
+- `--zookeeper.quorum` zk quorum,同inlong-manager中`cluster.zk.url`配置一致
+- `--zookeeper.path.root` zk根目录,同inlong-manager中`cluster.zk.root`配置一致
 - `--source.type` 数据源的种类, 当前支持:"tubemq"、"pulsar"
 - `--sink.type` 存储系统的种类,当前支持:"clickhouse"、"hive"
 
 **配置示例**
 ```
---cluster-id my_application --zookeeper.quorum 192.127.0.1:2181 --zookeeper.path.root /zk_root --source.type tubemq --sink.type hive
+--cluster-id inlong_app --zookeeper.quorum 192.127.0.1:2181 \
+--zookeeper.path.root /inlong_sort --source.type tubemq --sink.type hive
 ```
 
 ## 所有支持的配置