You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by hu...@apache.org on 2019/07/23 03:35:54 UTC

[dubbo-website] branch master updated: Fix wrong description about dubbo:registry#371 (#435)

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 3d9e440  Fix wrong description about dubbo:registry#371 (#435)
3d9e440 is described below

commit 3d9e4400b53fe36f782b289817ef9197d0b5f010
Author: 天璇 <ca...@126.com>
AuthorDate: Tue Jul 23 11:35:49 2019 +0800

    Fix wrong description about dubbo:registry#371 (#435)
---
 docs/en-us/user/references/xml/dubbo-reference.md |  6 ++++++
 docs/en-us/user/references/xml/dubbo-registry.md  | 11 ++++++++++-
 docs/zh-cn/user/references/xml/dubbo-registry.md  |  8 +++++++-
 3 files changed, 23 insertions(+), 2 deletions(-)

diff --git a/docs/en-us/user/references/xml/dubbo-reference.md b/docs/en-us/user/references/xml/dubbo-reference.md
index 85bb55a..a91d350 100644
--- a/docs/en-us/user/references/xml/dubbo-reference.md
+++ b/docs/en-us/user/references/xml/dubbo-reference.md
@@ -1,3 +1,9 @@
+---
+title: dubbo:reference
+keywords: dubbo,reference
+description: dubbo:reference
+---
+
 # dubbo:reference
 
 The configuration of service consumer. The corresponding class is`org.apache.dubbo.config.ReferenceConfig`
diff --git a/docs/en-us/user/references/xml/dubbo-registry.md b/docs/en-us/user/references/xml/dubbo-registry.md
index 3071802..2e74136 100644
--- a/docs/en-us/user/references/xml/dubbo-registry.md
+++ b/docs/en-us/user/references/xml/dubbo-registry.md
@@ -1,3 +1,9 @@
+---
+title: dubbo:registry
+keywords: dubbo,registry
+description: dubbo:registry
+---
+
 # dubbo:registry
 
 The configuration of the registry center. The corresponding class is `org.apache.dubbo.config.RegistryConfig`. If you have multiple different registries, you can declare multiple `<dubbo:registry>` tags, and then reference specified registry with `registry` property in `<dubbo:service>` or `<dubbo:reference>` tag.
@@ -14,8 +20,11 @@ The configuration of the registry center. The corresponding class is `org.apache
 | timeout   | registry.timeout            | int     | False       | 5000          | Performance optimize      | The timeout(ms) of the request to registry. | Above 2.0.0   |
 | session   | registry.session            | int     | False       | 60000         | Performance optimize      | The session timeout(ms) of the registry. It's used to check whether the providers are alive. It depends on the implement of the registry. For example, for HeartBeat implement, the timeout is the interval of two heart beats. | Above 2.1.0   |
 | file      | registry.file               | string  | False       |               | Service governance        | The local file to cache the address list of registries and providers. When application restarts, it will restore the registries and providers. Please use different file for different registy. | Above 2.0.0   |
+| wait      | registry.wait               | int     | False       | 0             | Performance optimize      | Stop wait for a notice completion time (ms) | Above 2.0.0 |
 | check     | check                       | boolean | False       | true          | Service governance        | Whether throwing exception while the registry isn't existed. | Above 2.0.0   |
 | register  | register                    | boolean | False       | true          | Service governance        | whether registering to the registry center. If false, just subscribing, not registering. | Above 2.0.5   |
 | subscribe | subscribe                   | boolean | False       | true          | Service governance        | whether subscribing from the registry center. If false, just registering, not subscribing. | Above 2.0.5   |
 | dynamic   | dynamic                     | boolean | False       | true          | Service governance        | Whether the service is registered dynamically. If false, services will be showed as `disable`, you need to enable it manually. And you also need to disable it when provider shut down. | Above 2.0.5   |
-| group | group | string | False | dubbo | Service governance | Service registration grouping, cross-group services will not affect each other, and can not be called each other, suitable for environmental isolation. | Above 2.0.5 |
+| group     | group                       | string  | False       | dubbo         | Service governance        | Service registration grouping, cross-group services will not affect each other, and can not be called each other, suitable for environmental isolation. | Above 2.0.5 |
+| simplified| simplified                  | boolean | False       | false         | Service governance        | Registered with the registry URL whether to adopt the lean mode (compatible with low version) | Above 2.7.0 |
+| extra-keys| extraKeys                   | string  | False       |               | Service governance        | In simplified = true, extraKeys allows you to outside the default arguments put additional key in the URL, format: "interface, key1, key2". | Above 2.7.0 |
diff --git a/docs/zh-cn/user/references/xml/dubbo-registry.md b/docs/zh-cn/user/references/xml/dubbo-registry.md
index ca380d6..26fd3b3 100644
--- a/docs/zh-cn/user/references/xml/dubbo-registry.md
+++ b/docs/zh-cn/user/references/xml/dubbo-registry.md
@@ -1,3 +1,9 @@
+---
+title: dubbo:registry
+keywords: dubboregistry
+description: dubbo:registry
+---
+
 # dubbo:registry
 
 注册中心配置。对应的配置类: `org.apache.dubbo.config.RegistryConfig`。同时如果有多个不同的注册中心,可以声明多个 `<dubbo:registry>` 标签,并在 `<dubbo:service>` 或 `<dubbo:reference>` 的 `registry` 属性指定使用的注册中心。
@@ -21,4 +27,4 @@
 | dynamic | dynamic | boolean | 可选 | true | 服务治理 | 服务是否动态注册,如果设为false,注册后将显示为disable状态,需人工启用,并且服务提供者停止时,也不会自动取消注册,需人工禁用。 | 2.0.5以上版本 |
 | group | group | string | 可选 | dubbo | 服务治理 | 服务注册分组,跨组的服务不会相互影响,也无法相互调用,适用于环境隔离。 | 2.0.5以上版本 |
 | simplified | simplified | boolean | 可选 | false | 服务治理 | 注册到注册中心的URL是否采用精简模式的(与低版本兼容) | 2.7.0以上版本 |
-| extra-keys | extraKeys | string | 可选 |  | 服务治理 | 在simplified=true时,extraKeys允许你在默认参数外将额外的key放到URL中,格式:"interface,key1,key2"。 | 2.0.5以上版本 |
+| extra-keys | extraKeys | string | 可选 |  | 服务治理 | 在simplified=true时,extraKeys允许你在默认参数外将额外的key放到URL中,格式:"interface,key1,key2"。 | 2.7.0以上版本 |