Skip to content

Commit a6f860a

Browse files
committed
Add docs for new CollectorCleaningInterval options.
1 parent e6ffdea commit a6f860a

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

docs/content/user-guide/en/cap/configuration.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,11 +85,17 @@ During the message sending process if consumption method fails, CAP will try to
8585
By default if failure occurs on send or consume, retry will start after **4 minutes** in order to avoid possible problems caused by setting message state delays.
8686
Failures in the process of sending and consuming messages will be retried 3 times immediately, and will be retried polling after 3 times, at which point the FailedRetryInterval configuration will take effect.
8787

88+
### CollectorCleaningInterval
89+
90+
> Default: 300 sec
91+
92+
The interval of the collector processor deletes expired messages.
93+
8894
#### ConsumerThreadCount
8995

9096
> Default : 1
9197
92-
Number of consumer threads, when this value is greater than 1, the order of message execution cannot be guaranteed
98+
Number of consumer threads, when this value is greater than 1, the order of message execution cannot be guaranteed.
9399

94100
#### FailedRetryCount
95101

docs/content/user-guide/zh/cap/configuration.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,12 @@ services.AddCap(config =>
9292

9393
消费者线程并行处理消息的线程数,当这个值大于1时,将不能保证消息执行的顺序。
9494

95+
### CollectorCleaningInterval
96+
97+
默认值:300 秒
98+
99+
收集器删除已经过期消息的时间间隔。
100+
95101
#### FailedRetryCount
96102

97103
默认值:50

0 commit comments

Comments
 (0)