wn1331 opened a new pull request, #24198: URL: https://github.com/apache/kafka/pull/24198
A wakeup while `ConsumerCoordinator.onJoinPrepare()` waits for the pre-rebalance auto commit leaves `joinPrepareTimer` and `autoCommitOffsetRequestFuture` intact. A later rebalance can then reuse the expired timer and skip sending a new offset commit. Clear the join-prepare timer and commit future when the commit wait is interrupted by `WakeupException` or `InterruptException`, while preserving the existing exception propagation and rebalance callback behavior. The regression test interrupts the first join preparation, completes that rebalance, advances `MockTime` beyond the rebalance timeout, and verifies that the next rebalance sends a fresh offset commit. It runs for both eager and cooperative protocols. Generated-by: OpenAI Codex (GPT-5) -- 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]
