kevin-wu24 opened a new pull request, #19643: URL: https://github.com/apache/kafka/pull/19643
When formatting, explicitly setting the `kraft.version` feature level with `--feature kraft.version=X` should not be supported. Instead, this feature's level should be inferred from the presence/absence of the following flags: `--standalone`, `--initial-controllers`, `--no-initial-controllers`. - When `--standalone` or `--initial-controllers` is specified, this node is using `kraft.version=1`, and will write a bootstrap snapshot with the KRaft version and voter set control records. - When `--no-initial-controllers` is specified, the feature level will end up unset because it is not used to write the bootstrap snapshot like with `--initial-controllers` and `--standalone`. Instead, the node will default to kraft.version 0 and potentially discover a higher feature level by fetching the log. - If none of these flags are specified, the static config `controller.quorum.voters` must be defined. -- 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