大佬们请问生产者组(producerGroup)是干嘛的? #7387
-
我看 spring cloud alibaba 的示例时发现有个 group 配置 |
Beta Was this translation helpful? Give feedback.
Answered by
RongtongJin
Sep 24, 2023
Replies: 1 comment
-
主要是用于事务消息回查的。事务消息的回查机制,回查时 Broker 端若发现原始生产者连接已经断开,则会联系同一生产者组(producerGroup)的其他生产者实例以 Commit 或 Rollback 半事务消息。 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
liuweiGL
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
主要是用于事务消息回查的。事务消息的回查机制,回查时 Broker 端若发现原始生产者连接已经断开,则会联系同一生产者组(producerGroup)的其他生产者实例以 Commit 或 Rollback 半事务消息。