Skip to content

Commit 27ae79a

Browse files
committed
Update docs.
1 parent 8d21991 commit 27ae79a

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

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

+3-3
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ If `true` then all consumers within the same group pushes received messages to o
147147
148148
Renamed to `EnableSubscriberParallelExecute` option, Please use the new option.
149149

150-
### EnableSubscriberParallelExecute
150+
#### EnableSubscriberParallelExecute
151151

152152
> Default: false
153153
@@ -156,13 +156,13 @@ If `true`, CAP will prefetch some message from the broker as buffered, then exec
156156
!!! note "Precautions"
157157
Setting it to true may cause some problems. When the subscription method executes too slowly and takes too long, it will cause the retry thread to pick up messages that have not yet been executed. The retry thread picks up messages from 4 minutes (FallbackWindowLookbackSeconds) ago by default , that is to say, if the message backlog of more than 4 minutes (FallbackWindowLookbackSeconds) on the consumer side will be picked up again and executed again
158158

159-
### SubscriberParallelExecuteThreadCount
159+
#### SubscriberParallelExecuteThreadCount
160160

161161
> Default: `Environment.ProcessorCount`
162162
163163
With the `EnableSubscriberParallelExecute` option enabled, specify the number of parallel task execution threads.
164164

165-
### SubscriberParallelExecuteBufferFactor
165+
#### SubscriberParallelExecuteBufferFactor
166166

167167
> Default: 1
168168

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

+3-3
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ services.AddCap(config =>
151151
152152
该配置项已被重命名为 `EnableSubscriberParallelExecute`,请使用新选项。
153153

154-
### EnableSubscriberParallelExecute
154+
#### EnableSubscriberParallelExecute
155155

156156
> 默认值: false
157157
@@ -160,13 +160,13 @@ services.AddCap(config =>
160160
!!! note "注意事项"
161161
设置为 true 可能会产生一些问题,当订阅方法执行过慢耗时太久时,会导致重试线程拾取到还未执行的的消息。重试线程默认拾取4分钟前(FallbackWindowLookbackSeconds 配置项)的消息,也就是说如果消费端积压了超过4分钟(FallbackWindowLookbackSeconds 配置项)的消息就会被重新拾取到再次执行
162162

163-
### SubscriberParallelExecuteThreadCount
163+
#### SubscriberParallelExecuteThreadCount
164164

165165
> Default: `Environment.ProcessorCount`
166166
167167
当启用 `EnableSubscriberParallelExecute` 时, 可通过此参数执行并行处理的线程数,默认值为处理器个数。
168168

169-
### SubscriberParallelExecuteBufferFactor
169+
#### SubscriberParallelExecuteBufferFactor
170170

171171
> Default: 1
172172

0 commit comments

Comments
 (0)