apache / apache/rocketmq-client-cpp
[Bug] PushConsumer may cause consumption duplication in some scenarios due to concurrency issues.
- 主要语言
- C++
- 星标
- 393
- 派生
- 167
- PR 合并指标
- 30 天内没有已合并 PR
描述
**BUG REPORT**
1. Please describe the issue you observed:
- What did you do (The steps to reproduce)?
1. Start a consumer client c1.
2. Start another consumer client c2 and immediately shut it down.
3. Observe the consumption duplication of the consumer client c1.

- What did you expect to see?
There's no consumption duplication.
- What did you see instead?
The consumer client c1 duplicate consume the same message many times at the same timestamp.

4. Please tell us about your environment:
- What is your OS?
Ubuntu & CentOS
- What is your client version?
latest
- What is your RocketMQ version?
5.9
4. Other information (e.g. detailed explanation, logs, related issues, suggestions on how to fix, etc):
贡献指南
调研方向
Start by reproducing the reported sequence with consumer clients c1 and c2 on RocketMQ 5.9, then trace the PushConsumer concurrency and shutdown or rebalance paths. Done means c1 no longer consumes the same message repeatedly after c2 starts and immediately shuts down.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- cpp
- 领域
- distributed-systems
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100