This is an automated email from the ASF dual-hosted git repository.

jinrongtong pushed a commit to branch new-official-website
in repository https://gitbox.apache.org/repos/asf/rocketmq-site.git


The following commit(s) were added to refs/heads/new-official-website by this 
push:
     new 1be841fd7 [ISSUE #484] Fix 09subscription.md en document code error 
and translate some Chinese into English (#485)
1be841fd7 is described below

commit 1be841fd71778a014823d0172d05cdad945c40a4
Author: mxsm <[email protected]>
AuthorDate: Mon Jan 30 11:29:28 2023 +0800

    [ISSUE #484] Fix 09subscription.md en document code error and translate 
some Chinese into English (#485)
---
 .../version-5.0/03-domainModel/09subscription.md                  | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git 
a/i18n/en/docusaurus-plugin-content-docs/version-5.0/03-domainModel/09subscription.md
 
b/i18n/en/docusaurus-plugin-content-docs/version-5.0/03-domainModel/09subscription.md
index 05e7395cd..13ce6f39f 100644
--- 
a/i18n/en/docusaurus-plugin-content-docs/version-5.0/03-domainModel/09subscription.md
+++ 
b/i18n/en/docusaurus-plugin-content-docs/version-5.0/03-domainModel/09subscription.md
@@ -19,10 +19,10 @@ By configuring subscriptions, you can control the following 
messaging behaviors:
 The subscriptions of Apache RocketMQ are designed based on consumer groups and 
topics. Therefore, a subscription refers to the subscription of a specified 
consumer group to a topic. The following describes the rules for determining a 
subscription:
 
 * One topic to many subscribersThe following figure shows two consumer groups 
(Group A and Group B) subscribed to Topic A. These two subscriptions are 
independent of each other and can be defined separately.
-  ![订阅关系不同分组](../picture/v5/subscription_diff_group.png)
+  ![Subscription relationships are grouped 
differently](../picture/v5/subscription_diff_group.png)
 
 * One subscriber to multiple topicsThe following figure shows a consumer group 
(Group A) subscribed to two topics: Topic A and Topic B. Consumers in Group A 
have two separate subscriptions to Topic A and Topic B. The two subscriptions 
are independent of each other and can be defined separately.
-  ![订阅关系相同分组](../picture/v5/subscription_one_group.png)
+  ![Subscription relationships are grouped 
differently](../picture/v5/subscription_one_group.png)
 
 
 
@@ -72,7 +72,7 @@ Apache RocketMQ manages subscriptions based on consumer 
groups. Therefore, consu
   c1.subscribe(topicA,"TagA");
   //Consumer c2
   Consumer c2 = ConsumerBuilder.build(groupA);
-  c1.subscribe(topicA,"TagA");
+  c2.subscribe(topicA,"TagA");
   ```
 
   
@@ -85,7 +85,7 @@ Apache RocketMQ manages subscriptions based on consumer 
groups. Therefore, consu
   c1.subscribe(topicA,"TagA");
   //Consumer c2Consumer 
   c2 = ConsumerBuilder.build(groupA);
-  c1.subscribe(topicA,"TagB");
+  c2.subscribe(topicA,"TagB");
   ```
 
 ## Usage notes 

Reply via email to