集群消费模式下,是否在某些情况下,存在同一个队列被 同一个消费组的 多个消费者消费的情况? #7746
Unanswered
bjsfdx2004
asked this question in
Q&A
Replies: 2 comments
-
RocketMQ 支持 at-least-once 语义,至少投递一次,不保证只消费一次,然后上述情况是会出现的
|
Beta Was this translation helpful? Give feedback.
0 replies
-
我也有这个疑问,如果AllocateMessageQueueStrategy返回的结果重复的话怎么办? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
我在源码里面没有看到对上面问题的严格的代码限制,所以感觉在下面情况下,会出现
同一个队列被 同一个消费组的 多个消费者消费的情况:
我的理解是上面两种情况,都会出现 同一个队列被 同一个消费组的 多个消费者消费的情况?
PS:我看代码,发现同一个消费组的 多个消费者 各自的 SubscriptionData 的 subVersion 允许不一样,这个字段多个消费者之间没有做同步,是允许不一致吗?
Beta Was this translation helpful? Give feedback.
All reactions