Commit 999d54a2 authored by Savorboard's avatar Savorboard

Documentation Revamp

parent ec272956
...@@ -71,7 +71,7 @@ CAP 里面发送一个消息可以看做是一个 “Event”,一个使用了C ...@@ -71,7 +71,7 @@ CAP 里面发送一个消息可以看做是一个 “Event”,一个使用了C
**1、 发送重试** **1、 发送重试**
在消息发送过程中,当出现 Broker 宕机或者连接失败的情况亦或者出现异常的情况下,这个时候 CAP 会对发送的重试,第一次重试次数为 3, 以后每分钟重试一次,进行次数 +1,当总次数达到50次后,CAP将不对其进行重试。 在消息发送过程中,当出现 Broker 宕机或者连接失败的情况亦或者出现异常的情况下,这个时候 CAP 会对发送的重试,第一次重试次数为 3,4分钟后以后每分钟重试一次,进行次数 +1,当总次数达到50次后,CAP将不对其进行重试。
> 你可以在 `CapOptions` 中设置`FailedRetryCount`来调整默认重试的总次数。 > 你可以在 `CapOptions` 中设置`FailedRetryCount`来调整默认重试的总次数。
......
...@@ -66,7 +66,7 @@ Retry plays a very important role in CAP's infrastructure,CAP will retry for Fai ...@@ -66,7 +66,7 @@ Retry plays a very important role in CAP's infrastructure,CAP will retry for Fai
**1、 Retry on sending** **1、 Retry on sending**
in the process of sending a message,when the Broker crashed or connection failed or exceptions are thrown,CAP will retry,it will retry 3 times for the first time,if still failed,then it will retry every 1 minute,the retry the retry count +1,when the retry count come to 50,CAP will not retry any more. in the process of sending a message,when the Broker crashed or connection failed or exceptions are thrown,CAP will retry,it will retry 3 times for the first time,if still failed,then it will retry every 1 minute after 4 minutes,the retry the retry count +1,when the retry count come to 50,CAP will not retry any more.
>You can modify `FailedRetryCount` in `CapOptions` to change the default retry count. >You can modify `FailedRetryCount` in `CapOptions` to change the default retry count.
......
...@@ -87,8 +87,8 @@ nav: ...@@ -87,8 +87,8 @@ nav:
- API 接口: user-guide-cn/api-interface.md - API 接口: user-guide-cn/api-interface.md
- 配置: user-guide-cn/configuration.md - 配置: user-guide-cn/configuration.md
- 设计原理: user-guide-cn/design-principle.md - 设计原理: user-guide-cn/design-principle.md
- 实现: user-guide-cn/implementation-mechanisms.md - 实现: user-guide-cn/implementation.md
- 分布式事务: user-guide-cn/distributed-transactions.md - 分布式事务: user-guide-cn/transactions.md
- FAQ: user-guide-cn/faq.md - FAQ: user-guide-cn/faq.md
- About: - About:
- Release Notes: about/release-notes.md - Release Notes: about/release-notes.md
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment