Hi Luke and David, I merged my fix to the trunk and cherry-picked it to the 4.0 branch. It is not a full fix but it improves the UX so that kafka doesn't report the wrong kraft.version.
The full fix is coming in 4.1 when I implement kraft upgrades in https://issues.apache.org/jira/browse/KAFKA-16538. Thanks -- -José