From 9b1b112795990adad9d8a035ea09aff7bdebddd1 Mon Sep 17 00:00:00 2001 From: Savorboard Date: Fri, 20 Sep 2024 23:42:00 +0800 Subject: [PATCH] Update readme. --- README.md | 3 +-- README.zh-cn.md | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 6da565674..c160edfbe 100644 --- a/README.md +++ b/README.md @@ -247,8 +247,7 @@ public void ShowTime2(DateTime datetime) } ``` -`ShowTime1` and `ShowTime2` will be called one after another because all received messages are processed linear. -You can change that behaviour to set `UseDispatchingPerGroup` true. +`ShowTime1` and `ShowTime2` will be called at the same time. BTW, You can specify the default group name in the configuration: diff --git a/README.zh-cn.md b/README.zh-cn.md index cd5bb9595..eb3d24f5a 100644 --- a/README.zh-cn.md +++ b/README.zh-cn.md @@ -248,7 +248,7 @@ public void ShowTime2(DateTime datetime) ``` -`ShowTime1` 和 `ShowTime2` 处于不同的组,他们在默认情况下被线性的接连调用,你可以通过设置`UseDispatchingPerGroup`为true来使两者互不影响的同时调用。 +`ShowTime1` 和 `ShowTime2` 将被同时调用。 PS,你可以通过下面的方式来指定默认的消费者组名称: