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 8164dd9  Translate the registry_spi.md (#399)
8164dd9 is described below

commit 8164dd97d68e3add42b5fdc22ed22c3c7aafc09a
Author: QuakeWang <[email protected]>
AuthorDate: Wed Jul 7 16:13:40 2021 +0800

    Translate the registry_spi.md (#399)
    
    * Create load-balance.md
    
    docs: add en-us load-balance.md
    
    * Delete load-balance.md
    
    * Translate the registry_spi.md
---
 docs/en-us/dev/user_doc/registry_spi.md | 27 +++++++++++++++++++++++++++
 docs/zh-cn/dev/user_doc/registry_spi.md |  4 ++--
 2 files changed, 29 insertions(+), 2 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..2bddb11 100644
--- a/docs/en-us/dev/user_doc/registry_spi.md
+++ b/docs/en-us/dev/user_doc/registry_spi.md
@@ -0,0 +1,27 @@
+### Dolphinscheduler Registry SPI main design
+
+#### How to use?
+
+First you need to execute the `mvn -U install package -Prelease 
-Dmaven.test.skip=true` installation plugin to generate the plugin JAR of the 
registry. The directory is: 
dolphinscheduler-dist/target/dolphinscheduler-dist-1.3.6-SNAPSHOT/lib/plugin/registry
+
+Next, do the following configuration (using zookeeper as an example)
+
+|        Parameter        | Default                                            
          | Description                              |
+| :---------------------: | 
------------------------------------------------------------ | 
---------------------------------------- |
+|    zookeeper.quorum     | localhost:2181                                     
          | zk Cluster connection information        |
+|   registry.plugin.dir   | 
/Users/username/workspaces/dolphinscheduler/dolphinscheduler-dist/target/dolphinscheduler-dist-1.3.6-SNAPSHOT/lib/plugin/registry/zookeeper
 | 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 specific configuration information, please refer to the parameter 
information that provided by the specific plugin, for example zk: 
org/apache/dolphinscheduler/plugin/registry/zookeeper/ZookeeperConfiguration.java
 All configuration information should be prefixed with +registry. For example, 
base.sleep.time.ms should be configured in the registry like this: 
registry.base.sleep.time.ms=100.
+
+#### FAQ
+
+1: not found registry plugin
+
+Please check that `mvn -U install package -Prelease -Dmaven.test.skip=true` is 
executed, and that the directory configured in registry.plugin.dir in the 
configuration file contains the relevant plugins.
+
+2:registry connect timeout
+
+You can increase 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 c5bfa4b..4c5cc6b 100644
--- a/docs/zh-cn/dev/user_doc/registry_spi.md
+++ b/docs/zh-cn/dev/user_doc/registry_spi.md
@@ -1,7 +1,7 @@
 ### DolphinScheduler Registry SPI 主要设计
 
 #### 如何使用?
-首先你需要执行 mvn install 安装插件,生成注册中心的插件 
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 为例)
 
@@ -20,7 +20,7 @@ registry.servers|127.0.0.1:2181|zk 连接地址
 #### FAQ
 1: not found registry plugin
 
-请检查是否有执行 mvn install,此外,请检查配置文件中的 registry.plugin.dir 中配置的目录是否有相关插件。
+请检查是否有执行 `mvn -U install package -Prelease -Dmaven.test.skip=true` 
,此外,请检查配置文件中的 registry.plugin.dir 中配置的目录是否有相关插件。
 
 2:registry connect timeout
 

Reply via email to