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 54eab4ff31 add book download link (#2617)
54eab4ff31 is described below

commit 54eab4ff317064269e4ba6815674d99192c6355b
Author: Ken Liu <[email protected]>
AuthorDate: Tue May 16 18:57:35 2023 +0800

    add book download link (#2617)
---
 content/zh-cn/contact/books/_index.md                    | 16 ++++++++++++----
 .../overview/core-features/traffic/configuration-rule.md |  4 ++--
 2 files changed, 14 insertions(+), 6 deletions(-)

diff --git a/content/zh-cn/contact/books/_index.md 
b/content/zh-cn/contact/books/_index.md
index 7f706c70eb..ae805b2952 100644
--- a/content/zh-cn/contact/books/_index.md
+++ b/content/zh-cn/contact/books/_index.md
@@ -13,11 +13,19 @@ weight: 1
 以下是 Apache Dubbo 社区及贡献者编写的部分书籍资料。
 
 {{< cardpane >}}
-{{< card header="《Apache Dubbo3 源码深入解析》电子书" title="源码视角深入剖析 Dubbo3 实现与原理" 
subtitle="宋小生 著" url="https://developer.aliyun.com/ebook/7894"; >}}
-![Apache Dubbo3 源码深入解析](/imgs/contacts/book-source-code.jpg)
+{{< card header="《Apache Dubbo3 源码深入解析》电子书" title="<a target='_blank' 
href='https://github.com/apache/dubbo-awesome/blob/master/ebooks/apache-dubbo3-code-analysis.pdf'>源码视角深入剖析
 Dubbo3 实现与原理</a>" subtitle="宋小生 著" 
url="https://developer.aliyun.com/ebook/7894"; >}}
+<img style="max-width:200px;" src="/imgs/contacts/book-source-code.jpg" 
alt="book-source-code"/>
+
+下载地址:
+* <a target='_blank' 
href='https://github.com/apache/dubbo-awesome/blob/master/ebooks/apache-dubbo3-code-analysis.pdf'>Github</a>
+* <a target='_blank' 
href='https://developer.aliyun.com/ebook/7894'>阿里云开发者社区</a>
 {{< /card >}}
-{{< card header="《Apache Dubbo3 微服务开发从入门到精通》电子书" title="从 Dubbo 
的基本开发模式、到高阶的治理与运维技巧" subtitle="Dubbo社区 著" 
url="https://developer.aliyun.com/ebook/7894"; >}}
-![Apache Dubbo3 源码深入解析](/imgs/contacts/book-microservice-explained.jpg)
+{{< card header="《Apache Dubbo3 微服务开发从入门到精通》电子书" title="<a target='_blank' 
href='https://github.com/apache/dubbo-awesome/blob/master/ebooks/apache-dubbo-microservice-guide.pdf'>从
 Dubbo 的基本开发模式、到高阶的治理与运维技巧</a>" subtitle="Dubbo社区 著" 
url="https://developer.aliyun.com/ebook/7913"; >}}
+<img style="max-width:200px;" 
src="/imgs/contacts/book-microservice-explained.jpg" 
alt="apache-dubbo-microservice-guide"/>
+
+下载地址:
+* <a target='_blank' 
href='https://github.com/apache/dubbo-awesome/blob/master/ebooks/apache-dubbo-microservice-guide.pdf'>Github</a>
+* <a target='_blank' 
href='https://developer.aliyun.com/ebook/7913'>阿里云开发者社区</a>
 {{< /card >}}
 {{< /cardpane >}}
 
diff --git a/content/zh-cn/overview/core-features/traffic/configuration-rule.md 
b/content/zh-cn/overview/core-features/traffic/configuration-rule.md
index a76aa19742..b65b084032 100644
--- a/content/zh-cn/overview/core-features/traffic/configuration-rule.md
+++ b/content/zh-cn/overview/core-features/traffic/configuration-rule.md
@@ -25,7 +25,7 @@ key: shop-detail
 configs:
   - side: provider
     parameters:
-      accesslog: true
+      accesslog: 'true'
 ```
 
 以下是一个服务级别的配置示例,`key: org.apache.dubbo.samples.UserService` 和 `side: consumer` 
说明这条配置对所有正在消费 UserService 的 Dubbo 实例生效,在调用失败后都执行 4 次重试。`match` 
条件进一步限制了消费端的范围,限定为只对应用名为 `shop-frontend` 的这个消费端应用生效。
@@ -41,7 +41,7 @@ configs:
           - exact: shop-frontend
     side: consumer
     parameters:
-      retries: 4
+      retries: '4'
 ```
 ## ConfigurationRule
 配置规则主体,定义要设置的目标服务或应用、具体的规则配置。具体配置规则 (configs) 可以设置多条。

Reply via email to