Jayteeps opened a new pull request, #24112: URL: https://github.com/apache/kafka/pull/24112
Introduce `mirror.version` for the cluster mirroring work tracked by [KAFKA-20186](https://issues.apache.org/jira/browse/KAFKA-20186) and [KIP-1279](https://cwiki.apache.org/confluence/spaces/KAFKA/pages/406620973/KIP-1279+Cluster+Mirroring). Register `MirrorVersion` with disabled level 0 and early-access level 1. Keep the latest production level at 0, advertise level 1 only when unstable feature versions are enabled, and require metadata version `4.5-IV1` for level 1. This establishes feature-version plumbing for subsequent mirroring APIs and runtime work. Follow the existing metadata-version mapping: normal production formatting defaults to level 0; explicitly formatting at the unstable `4.5-IV1` metadata version maps to level 1. An explicit level 0 remains supported. Test version lookup and dependencies, broker/controller feature advertisement, storage formatting, and CLI enable/disable behavior against a real Kafka cluster. Update existing feature-list expectations. This draft depends on #24034, which introduces the required `4.5-IV1` metadata version. The feature-flag implementation is an original contribution licensed under the Apache License, Version 2.0. Co-Authored-By: OpenAI Codex (GPT-6) -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
