cmccabe commented on PR #17576: URL: https://github.com/apache/kafka/pull/17576#issuecomment-2452655129
> If the ZooKeeper version in the list is the one used by the Kafka release, it might be slightly different from the version in the source code. That's fine. The ZooKeeper server 3.4.9 is compatible with all the clients shipped in Kafka 2.x > Additionally, I propose to manually upgrade the zk version from 3.4.14 to 3.5.7 for kafka 2.1 ~ 2.3 (see my comment https://github.com/apache/kafka/pull/17625#issuecomment-2451285712) to fix the issue https://issues.apache.org/jira/browse/ZOOKEEPER-3779 We don't need to fix ZOOKEEPER-3779 because we're never going to use ZooKeeper with java 14. ZooKeeper is the past, not the future. > I prefer using a single JDK version (17) to run all E2E tests after we address [ZOOKEEPER-3779](https://issues.apache.org/jira/browse/ZOOKEEPER-3779) for Kafka versions 2.1 to 2.3. Those old Kafka versions don't support JDK17. You need to run them with jdk8. > I ran client_compatibility_produce_consume_test.py after manually upgrading ZooKeeper to 3.5.7 ([see this comment](https://github.com/apache/kafka/pull/17625/files#r1826304118)), and it works well. ZK 3.5.7 is not compatible with Kafka 2.1 Please read [KIP-902](https://cwiki.apache.org/confluence/display/KAFKA/KIP-902%3A+Upgrade+Zookeeper+to+3.8.2) -- 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]
