dengziming opened a new pull request #8941: URL: https://github.com/apache/kafka/pull/8941
We are adding new feature to `ConsumerCoordinator` and it's becoming more and more complex, the offset management code in `ConsumerCoordinator` can be moved to a new class because "offset management code" almost don't interact with "partition assignment". Below is code change list: 1. move offset management code to `OffsetManageCoordinator` 2. remain methods used in KafkaConsumer Below is UML class diagram:  ### Committer Checklist (excluded from commit message) - [ ] Verify design and implementation - [ ] Verify test coverage and CI build status - [ ] Verify documentation (including upgrade notes) ---------------------------------------------------------------- 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