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 6d8b371a9 Update 09subscription.md (#451)
6d8b371a9 is described below
commit 6d8b371a9c48a7daf5d9763eb70bd481d489697d
Author: saber.destiny <[email protected]>
AuthorDate: Tue Jan 17 10:53:11 2023 +0800
Update 09subscription.md (#451)
---
versioned_docs/version-5.0/03-domainModel/09subscription.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/versioned_docs/version-5.0/03-domainModel/09subscription.md
b/versioned_docs/version-5.0/03-domainModel/09subscription.md
index e1337c2de..42e9328aa 100644
--- a/versioned_docs/version-5.0/03-domainModel/09subscription.md
+++ b/versioned_docs/version-5.0/03-domainModel/09subscription.md
@@ -76,7 +76,7 @@ Apache RocketMQ 是按照消费者分组粒度管理订阅关系,因此,同
c1.subscribe(topicA,"TagA");
//Consumer c2
Consumer c2 = ConsumerBuilder.build(groupA);
- c1.subscribe(topicA,"TagA");
+ c2.subscribe(topicA,"TagA");
```
@@ -89,7 +89,7 @@ Apache RocketMQ 是按照消费者分组粒度管理订阅关系,因此,同
c1.subscribe(topicA,"TagA");
//Consumer c2Consumer
c2 = ConsumerBuilder.build(groupA);
- c1.subscribe(topicA,"TagB");
+ c2.subscribe(topicA,"TagB");
```
## 使用建议