-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kafka not starting with JDK 14 #8212
Comments
To reproduce as per @gsmet:
then go into integration-tests/kafka and run
I'll take a look into this. |
Seems to me like we could get around this if Kafka doesn't start with Java 14 but just starting it in docker, no? |
I will let Gunnar handle this and tell us what's best. There's no real hurry there. |
That's something I wanted to bring up, too. It's easily done via Testcontainers; here's how that's utilized with Debezium (i.e. Kafka Connect), you'd only need the actual Kafka part of that. So that'd definitely be an option, but in my experience it will increase execution time of these tests. So give me some time to look into this and see whether we can get |
I just did a manual test and the Kafka support works with Java 14. IT's just a test issue. I would be keen to keep using Debezium as it is a bit faster and it much easier to configure (SASL...) |
Just tried to run of the Debezium tests using KafkaCluster with JDK
14, and it worked fine. So it must be something with how things are
used here.
|
I had a look at this one. The issue here is that although the Zookeeper embedded server starts up fine (at A quick check doesn't show any open issues in their repo for this issue against Java 14 (I didn't dig too deep though) and I don't really see an easy way out on this one, given how deep this logic resides without a way to override (as far as I can see). No matter which address you will pass to it (even [1] https://github.com/apache/zookeeper/blob/branch-3.4/ |
Hello @gunnarmorling,
Which version of Kafka and Zookeeper (embedded) libraries is that using? |
I just checked myself. So looks like Debezium is on 3.5.x of zookeeper[1], unlike Quarkus which is on 3.4.x. Looking at the 3.5 branch of Zookeeper upstream, a lot seems to have changed in this area of the code (especially the [1] https://github.com/debezium/debezium/blob/master/pom.xml#L62 |
I tested a run against my GH actions with the upgraded version of Zookeeper and the tests passed (against 8, 11 and 14 Java version). So I've opened #8229 to fix this issue. |
Thanks a lot for your analysis @jaikiran! |
…d out waiting for connection while in state: CONNECTING'. Old Zookeeper is affected by this issue: quarkusio/quarkus#8212
…d out waiting for connection while in state: CONNECTING'. Old Zookeeper is affected by this issue: quarkusio/quarkus#8212
I'm still trying to get CI on JDK 14:
The text was updated successfully, but these errors were encountered: