This is an automated email from the ASF dual-hosted git repository.
huxing pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/incubator-dubbo-website.git
The following commit(s) were added to refs/heads/asf-site by this push:
new d40f97d Fix typos (#214)
d40f97d is described below
commit d40f97dfd40276939ec063cf11c25d2821b333db
Author: XiaoJie Li <[email protected]>
AuthorDate: Tue Dec 25 23:26:48 2018 +0800
Fix typos (#214)
* Fix typos
* Fix an error describe
---
docs/zh-cn/user/references/xml/dubbo-argument.md | 2 +-
docs/zh-cn/user/references/xml/dubbo-registry.md | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/docs/zh-cn/user/references/xml/dubbo-argument.md
b/docs/zh-cn/user/references/xml/dubbo-argument.md
index 39da465..fa33d53 100644
--- a/docs/zh-cn/user/references/xml/dubbo-argument.md
+++ b/docs/zh-cn/user/references/xml/dubbo-argument.md
@@ -53,6 +53,6 @@ table tr:hover {
```
| 属性 | 对应URL参数 | 类型 | 是否必填 | 缺省值 | 作用 | 描述 | 兼容性 |
| --- | --- | ---- | --- | --- | --- | --- | --- |
-| index | | int | <b>必填</b> | | 标识 | 方法名 | 2.0.6以上版本 |
+| index | | int | <b>必填</b> | | 标识 | 参数索引 | 2.0.6以上版本 |
| type | | String | 与index二选一 | | 标识 | 通过参数类型查找参数的index | 2.0.6以上版本 |
| callback | <metodName><index>.retries | boolean | 可选 | | 服务治理 |
参数是否为callback接口,如果为callback,服务提供方将生成反向代理,可以从服务提供方反向调用消费方,通常用于事件推送. | 2.0.6以上版本 |
diff --git a/docs/zh-cn/user/references/xml/dubbo-registry.md
b/docs/zh-cn/user/references/xml/dubbo-registry.md
index c02f598..8da17c0 100644
--- a/docs/zh-cn/user/references/xml/dubbo-registry.md
+++ b/docs/zh-cn/user/references/xml/dubbo-registry.md
@@ -50,7 +50,7 @@ table tr:hover {
| --- | --- | ---- | --- | --- | --- | --- | --- |
| id | | string | 可选 | | 配置关联 | 注册中心引用BeanId,可以在<dubbo:service
registry="">或<dubbo:reference registry="">中引用此ID | 1.0.16以上版本 |
| address | <host:port> | string | <b>必填</b> | | 服务发现 |
注册中心服务器地址,如果地址没有端口缺省为9090,同一集群内的多个地址用逗号分隔,如:ip:port,ip:port,不同集群的注册中心,请配置多个<dubbo:registry>标签
| 1.0.16以上版本 |
-| protocol | <protocol> | string | 可选 | dubbo | 服务发现 | 注同中心地址协议,支持dubbo,
http, local三种协议,分别表示,dubbo地址,http地址,本地注册中心 | 2.0.0以上版本 |
+| protocol | <protocol> | string | 可选 | dubbo | 服务发现 | 注册中心地址协议,支持dubbo,
http, local三种协议,分别表示:dubbo地址、http地址、本地注册中心 | 2.0.0以上版本 |
| port | <port> | int | 可选 | 9090 | 服务发现 |
注册中心缺省端口,当address没有带端口时使用此端口做为缺省值 | 2.0.0以上版本 |
| username | <username> | string | 可选 | | 服务治理 |
登录注册中心用户名,如果注册中心不需要验证可不填 | 2.0.0以上版本 |
| password | <password> | string | 可选 | | 服务治理 | 登录注册中心密码,如果注册中心不需要验证可不填
| 2.0.0以上版本 |