RockteMQ-AI commented on issue #10870: URL: https://github.com/apache/rocketmq/issues/10870#issuecomment-5229882067
**Issue Evaluation** Category: `type/bug` | Status: **Confirmed** **Root Cause:** `ProcessQueue` may return a stale `nextOffset` when messages arrive out of order. The offset calculation does not account for gaps caused by out-of-order message delivery, leading to potential message skips or duplicates on rebalance. **Impact:** Consumer correctness — during out-of-order delivery scenarios (e.g., network retries, broker failover), the consumer may report an incorrect offset, causing message loss or duplication after rebalance. **Severity:** high --- *Automated evaluation by github-manager-bot* -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
