hachikuji opened a new pull request #9883: URL: https://github.com/apache/kafka/pull/9883
This patch attempts to generalize server initialization for KIP-500. It adds a `Server` trait which `KafkaServer` extends for the legacy Zookeeper server, and a new `KafkaRaftServer` for the new server. I have also added stubs for `KafkaRaftBroker` and `KafkaRaftController` to give a clearer idea how this will be used. This patch attempts to be non-intrusive, but it's worth pointing out that it does away with `KafkaServerStartable`. I believe this was intended to support custom startup logic, but it is not an official API and we do not plan to support it after KIP-500. ### 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