ableegoldman opened a new pull request #8856: URL: https://github.com/apache/kafka/pull/8856
1. KAFKA-10150: - always transition to SUSPENDED during `suspend`, no matter the current state - only call `prepareCommit` before closing if `task.commitNeeded` is true 2. Don't commit any consumed offsets during `handleAssignment` -- revoked active tasks (and any others that need committing) will be committed during `handleRevocation` ao we only need to worry about cleaning them up in `handleAssignment` 3. KAFKA-10152: when recycling a task we should always commit consumed offsets (if any), but don't need to write the checkpoint (since changelog offsets are preserved across task transitions) ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org