k-apol opened a new pull request, #20063: URL: https://github.com/apache/kafka/pull/20063
This PR reduces the cyclomatic complexity of the makeReady method by extracting parts of its logic into smaller, well-named helper methods. This structural cleanup makes the code easier to understand and maintain. These changes are intended to prepare for upcoming work related to [KIP-698](https://cwiki.apache.org/confluence/display/KAFKA/KIP-698), which will introduce additional branching logic to makeReady. Refactoring now ensures that future modifications can be made in a more modular and testable way. -- 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: jira-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org