diff --git a/docs/content/user-guide/en/cap/configuration.md b/docs/content/user-guide/en/cap/configuration.md index f173fcfa7..1d6ab8995 100644 --- a/docs/content/user-guide/en/cap/configuration.md +++ b/docs/content/user-guide/en/cap/configuration.md @@ -69,7 +69,7 @@ Group corresponds to different items in different Brokers: Set the parallelism of concurrent execution for subscribers by specifying the value of the `GroupConcurrent` parameter. Concurrent execution means that it needs to be on an independent thread, so if you do not specify the `Group` parameter, CAP will automatically create a Group using the value of `Name`. !!! Note - If you have multiple subscribers configured with the same Group and have also set the `GroupConcurrent` value for them, only the first configured value will take effect. + If you have multiple subscribers configured with the same Group and have also set the `GroupConcurrent` value for them, Then the degree of parallelism is the sum of the values in the group. This setting applies only to new messages; retried messages are not subject to the concurrency limit. ## Custom configuration diff --git a/docs/content/user-guide/zh/cap/configuration.md b/docs/content/user-guide/zh/cap/configuration.md index 1796d16c3..192b57fdb 100644 --- a/docs/content/user-guide/zh/cap/configuration.md +++ b/docs/content/user-guide/zh/cap/configuration.md @@ -69,7 +69,7 @@ Group 在不同的 Broker 有不同的对应项。 通过指定 `GroupConcurrent` 参数的值来设置订阅者并行执行的并行度。并行执行意味着其需要位于独立线程中,因此如果你没有指定 `Group` 参数,则 CAP 将会以 `Name` 的值自动创建一个 Group。 !!! Note "注意" - 如果你有多个订阅者都设置为了相同的 Group,并且也给订阅者都设置了 `GroupConcurrent` 的值,则只会有(第)一个设置的值生效。 + 如果你有多个订阅者都设置为了相同的 Group,并且也给订阅者都设置了 `GroupConcurrent` 的值,则并行度为组内值的和。 本设置只对新消息生效,重试的消息不受并行度限制。 ## 自定义配置项