You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by li...@apache.org on 2021/08/23 07:42:42 UTC
[dubbo-website] branch master updated: update docs configuration
This is an automated email from the ASF dual-hosted git repository.
liujun 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 46e61d1 update docs configuration
46e61d1 is described below
commit 46e61d1f3fc79202480811b8f5ac494b52a33c82
Author: ken.lj <ke...@gmail.com>
AuthorDate: Mon Aug 23 15:42:04 2021 +0800
update docs configuration
---
content/zh/docs/references/configuration/properties.md | 8 +++-----
.../zh/docsv2.7/user/configuration/configuration-load-process.md | 6 ++----
2 files changed, 5 insertions(+), 9 deletions(-)
diff --git a/content/zh/docs/references/configuration/properties.md b/content/zh/docs/references/configuration/properties.md
index 1607ff9..1e116c6 100644
--- a/content/zh/docs/references/configuration/properties.md
+++ b/content/zh/docs/references/configuration/properties.md
@@ -183,12 +183,10 @@ dubbo.reference.org.apache.dubbo.samples.api.DemoService.sayHello.0.callback=tru
### 参数配置
-parameters参数为map对象,支持xxx.parameters.key=value方式进行配置。
+parameters参数为map对象,支持xxx.parameters=[{key:value},{key:value}]方式进行配置。
```properties
-dubbo.application.parameters.item1=value1
-dubbo.application.parameters.item2=value2
-dubbo.registry.parameters.item3=value3
-dubbo.reference.org.apache.dubbo.samples.api.DemoService.parameters.item4=value4
+dubbo.application.parameters=[{item1:value1},{item2:value2}]
+dubbo.reference.org.apache.dubbo.samples.api.DemoService.parameters=[{item3:value3}]
```
### 属性与XML配置映射规则
diff --git a/content/zh/docsv2.7/user/configuration/configuration-load-process.md b/content/zh/docsv2.7/user/configuration/configuration-load-process.md
index 6398a70..4e4cff2 100644
--- a/content/zh/docsv2.7/user/configuration/configuration-load-process.md
+++ b/content/zh/docsv2.7/user/configuration/configuration-load-process.md
@@ -79,10 +79,8 @@ dubbo.protocols.hessian.port=8089
扩展配置
```properties
-dubbo.application.parameters.item1=value1
-dubbo.application.parameters.item2=value2
-dubbo.registry.parameters.item3=value3
-dubbo.reference.org.apache.dubbo.samples.api.DemoService.parameters.item4=value4
+dubbo.application.parameters=[{item1:value1},{item2:value2}]
+dubbo.reference.org.apache.dubbo.samples.api.DemoService.parameters=[{item3:value3}]
```
## 几种编程配置方式