You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by li...@apache.org on 2021/07/17 15:20:12 UTC

[dolphinscheduler-website] branch master updated: [Summer2021] Translate the registry_spi.md (#402)

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

lidongdai pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler-website.git


The following commit(s) were added to refs/heads/master by this push:
     new 9ee2b4f  [Summer2021] Translate the registry_spi.md (#402)
9ee2b4f is described below

commit 9ee2b4feba592f89277b373200b28cad0355a3aa
Author: QuakeWang <45...@users.noreply.github.com>
AuthorDate: Sat Jul 17 23:20:03 2021 +0800

    [Summer2021] Translate the registry_spi.md (#402)
    
    * Create load-balance.md
    
    docs: add en-us load-balance.md
    
    * Delete load-balance.md
    
    * Translate the registry_spi.md
    
    * Update the registry_spi.md
    
    * Update the registry_spi.md, delete the error config param
    
    * update registry_spi.md
    
    * update registry_spi.md
    
    * update registry_spi.md
---
 docs/en-us/dev/user_doc/registry_spi.md | 26 ++++++++++++++++++++++++++
 docs/zh-cn/dev/user_doc/registry_spi.md |  8 ++++----
 2 files changed, 30 insertions(+), 4 deletions(-)

diff --git a/docs/en-us/dev/user_doc/registry_spi.md b/docs/en-us/dev/user_doc/registry_spi.md
index e69de29..a4094c1 100644
--- a/docs/en-us/dev/user_doc/registry_spi.md
+++ b/docs/en-us/dev/user_doc/registry_spi.md
@@ -0,0 +1,26 @@
+### DolphinScheduler Registry SPI main design
+
+#### How to use it?
+
+First you need to execute the `mvn -U install package -Prelease -Dmaven.test.skip=true` to install the plugin for generating the plugin JAR of the registry. The directory is: dolphinscheduler-dist/target/dolphinscheduler-dist-1.3.6-SNAPSHOT/lib/plugin/registry.
+
+Next,  please follow the configuration below (using zookeeper as an example).
+
+|        parameter        | default                                                     | description                             |
+| :---------------------: | :----------------------------------------------------------: | :--------------------------------------: |
+|   registry.plugin.dir   | ./dolphinscheduler-dist/target/dolphinscheduler-dist-1.3.6-SNAPSHOT/lib/plugin/registry | Registration Center Plugin Directory     |
+| registry.plugin.name  | zookeeper                                                    | Registration Center specific plugin name |
+| registry.plugin.binding | registry                                                     | Dolphinscheduler plugin category         |
+|    registry.servers     | 127.0.0.1:2181                                               | ZK connection address                    |
+
+For the specific configuration information, please refer to the parameter information that provided by the specific plugin. Taking zk as an example, all the parameters of this configuration information about zk are in the class org/apache/dolphinscheduler/plugin/registry/zookeeper/ZookeeperConfiguration.java. If a parameter is needed to be changed to a specific value instead of the default, it can be configured directly in the registry. However, the prefix should be added to indicate thi [...]
+
+#### FAQ
+
+1: registry plugin not found
+
+Please check if `mvn -U install package -Prelease -Dmaven.test.skip=true` is executed. Besides, please check if the directory is configured in registry.plugin.dir in the configuration file contains the relevant plugins.
+
+2:registry connect timeout
+
+You can add the relevant timeout parameters.
diff --git a/docs/zh-cn/dev/user_doc/registry_spi.md b/docs/zh-cn/dev/user_doc/registry_spi.md
index 057a3ea..150fafe 100644
--- a/docs/zh-cn/dev/user_doc/registry_spi.md
+++ b/docs/zh-cn/dev/user_doc/registry_spi.md
@@ -1,13 +1,13 @@
 ### DolphinScheduler Registry SPI 主要设计
 
 #### 如何使用?
-首先你需要执行 mvn install -Dmaven.test.skip=true 安装插件,生成注册中心的插件 jar。目录是:dolphinscheduler-dist/target/dolphinscheduler-dist-1.3.6-SNAPSHOT/lib/plugin/registry
+首先你需要执行 `mvn -U install package -Prelease -Dmaven.test.skip=true` 安装插件,生成注册中心的插件 jar。目录是:dolphinscheduler-dist/target/dolphinscheduler-dist-1.3.6-SNAPSHOT/lib/plugin/registry
 
 其次进行以下配置(以 zookeeper 为例)
 
 |参数 |默认值| 描述|
 |--|--|--|
-registry.plugin.dir|/Users/用户名/workspaces/dolphinscheduler/dolphinscheduler-dist/target/dolphinscheduler-dist-1.3.6-SNAPSHOT/lib/plugin/registry | 注册中心插件目录
+registry.plugin.dir|./dolphinscheduler-dist/target/dolphinscheduler-dist-1.3.6-SNAPSHOT/lib/plugin/registry | 注册中心插件目录
 registry.plugin.name|zookeeper|注册中心具体插件名称
 registry.plugin.binding|registry|DolphinScheduler 插件类别
 registry.servers|127.0.0.1:2181|zk 连接地址
@@ -17,9 +17,9 @@ registry.servers|127.0.0.1:2181|zk 连接地址
 
 
 #### FAQ
-1: not found registry plugin
+1: registry plugin not found
 
-请检查是否有执行 mvn install,此外,请检查配置文件中的 registry.plugin.dir 中配置的目录是否有相关插件。
+请检查是否有执行 `mvn -U install package -Prelease -Dmaven.test.skip=true` ,此外,请检查配置文件中的 registry.plugin.dir 中配置的目录是否有相关插件。
 
 2:registry connect timeout