Translate the registry_spi.md#399
Conversation
docs: add en-us load-balance.md
docs: add en-us load-balance.md
fetch upstream
This reverts commit 8164dd9.
|
|
||
| #### 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 |
There was a problem hiding this comment.
The meaning of the first sentence may be ambiguous. "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." should be better.
BTY, a full stop is missed in the second sentence:).
| @@ -0,0 +1,27 @@ | |||
| ### Dolphinscheduler Registry SPI main design | |||
|
|
|||
| #### How to use? | |||
There was a problem hiding this comment.
Actually, "how to use?" is not a correct structure. Here you can directly use "The usage instruction" or any other similar phrases, or the corrected version "How to use it?"(phrase version)/"How do you use it?"(sentence version).
|
|
||
| 2:registry connect timeout | ||
|
|
||
| You can increase the relevant timeout parameters. |
|
|
||
| 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. |
There was a problem hiding this comment.
You may miss the "if" in first half of sentence "Please check if ...". And for the second half, It demonstrates better as "Besides, Please check if the directory ..." while taking this whole sentence into two seperate parts.
| | 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. |
There was a problem hiding this comment.
I changed a little bit about this sentence. The meaning of this version would be clearer and you can take it as a reference.
"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 this is a parameter of the registry. For example, "base.sleep.time.ms" should be configured in the registry as: "registry.base.sleep.time.ms=100"."
According to this document, then translated it.