hachikuji opened a new pull request #9967: URL: https://github.com/apache/kafka/pull/9967
This patch contains the new handling of `meta.properties` required by the KIP-500 server as specified in KIP-631. When using the self-managed quorum, the `meta.properties` file is required in each log directory with the new `version` property set to 1. It must include the `cluster.id` property and it must have a `broker.id` and `controller.id` matching those in the configuration. The behavior of `meta.properties` for the Zookeeper-based `KafkaServer` does not change. We treat the old `meta.properties` as if it were `version=0` and we generate the clusterId and/or the brokerId through Zookeeper as needed. ### 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