This is an automated email from the ASF dual-hosted git repository.
lizhanhui pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/rocketmq.git
The following commit(s) were added to refs/heads/develop by this push:
new 0eca69bf2 fix #1942 push consumer doc error (#1944)
0eca69bf2 is described below
commit 0eca69bf259ccde510ec167bf7d60089182845d1
Author: Jun <[email protected]>
AuthorDate: Tue Aug 23 19:32:04 2022 +0800
fix #1942 push consumer doc error (#1944)
---
docs/cn/concept.md | 2 +-
docs/en/Concept.md | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/docs/cn/concept.md b/docs/cn/concept.md
index 75532e89d..9719cdd02 100644
--- a/docs/cn/concept.md
+++ b/docs/cn/concept.md
@@ -23,7 +23,7 @@ RocketMQ主要由 Producer、Broker、Consumer 三部分组成,其中Producer
Consumer消费的一种类型,应用通常主动调用Consumer的拉消息方法从Broker服务器拉消息、主动权由应用控制。一旦获取了批量消息,应用就会启动消费过程。
## 8 推动式消费(Push Consumer)
- Consumer消费的一种类型,该模式下Broker收到数据后会主动推送给消费端,该消费模式一般实时性较高。
+
Consumer消费的一种类型,应用不需要主动调用Consumer的拉消息方法,在底层已经封装了拉取的调用逻辑,在用户层面看来是broker把消息推送过来的,其实底层还是consumer去broker主动拉取消息。
## 9 生产者组(Producer Group)
同一类Producer的集合,这类Producer发送同一类消息且发送逻辑一致。如果发送的是事务消息且原始生产者在发送之后崩溃,则Broker服务器会联系同一生产者组的其他生产者实例以提交或回溯消费。
diff --git a/docs/en/Concept.md b/docs/en/Concept.md
index 10e5746f6..03f238429 100644
--- a/docs/en/Concept.md
+++ b/docs/en/Concept.md
@@ -18,7 +18,8 @@ The Name Server serves as the provider of routing service.
The producer or the c
## 7 Pull Consumer
A type of Consumer, the application pulls messages from brokers by actively
invoking the consumer pull message method, and the application has the
advantages of controlling the timing and frequency of pulling messages. Once
the batch of messages is pulled, user application will initiate consuming
process.
## 8 Push Consumer
-A type of Consumer, Under this high real-time performance mode, it will push
the message to the consumer actively when the Broker receives the data.
+A type of Consumer, the application do not invoke the consumer pull message
method to pull messages, instead the client invoke pull message method itself.
At the user level it seems like brokers
+push to consumer when new messages arrived.
## 9 Producer Group
A collection of the same type of Producer, which sends the same type of
messages with consistent logic. If a transaction message is sent and the
original producer crashes after sending, the broker server will contact other
producers in the same producer group to commit or rollback the transactional
message.
## 10 Consumer Group