Skip to content
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

replace java 11 by java 17 #179

Open
raphaelauv opened this issue Feb 18, 2022 · 12 comments
Open

replace java 11 by java 17 #179

raphaelauv opened this issue Feb 18, 2022 · 12 comments

Comments

@raphaelauv
Copy link

Kafka 3.1.0 is officially compatible with java 17 , it would be great to update the base of the common image to use the latest LTS java version

@andrewegel
Copy link
Member

andrewegel commented Feb 23, 2022

The released CP versions will continue to ship with their respective version of Java as per:

https://docs.confluent.io/platform/current/installation/versions-interoperability.html#java-sys-req

JDK17 support will come in the form of a new major CP release, which at this time isn't clear or on a roadmap I'm aware of.

@raphaelauv
Copy link
Author

confluent 7.1.0 is out with kafka 3.1.X support

https://docs.confluent.io/platform/current/installation/versions-interoperability.html

@frosiere
Copy link

Any roadmap/document about the official support of Java17 in CP?

@jonaslb
Copy link

jonaslb commented Feb 6, 2023

Interestingly, the linked versions-interoperability document from Confluent (linked twice above) recommends Java 17 over 11 and 8, but the official distributions still use Java 11. I can't find documentation that says java version updates are reserved for major version CP releases. Perhaps that could be rechecked/revisited? I would have thought that the recommended version is the version shipped in official releases.

You can also look to e.g. Elastic who have done Java version updates in minor versions of their products and seemingly gotten away just fine with it.

@raphaelauv
Copy link
Author

base image is sill using java11

"zulu11-ca-jdk-headless${ZULU_OPENJDK_VERSION}" "zulu11-ca-jre-headless${ZULU_OPENJDK_VERSION}" \

but documentation say

Java 17 is the recommended version in this version of Confluent Platform. Java 11 and Java 8 are also supported.

@drozd0
Copy link

drozd0 commented Mar 14, 2023

Any progress on this issue?

@lagunary
Copy link

Is there any update regarding Java version upgrade in base image?

@djchapm
Copy link

djchapm commented Sep 1, 2023

Update?

@yeikel
Copy link

yeikel commented Oct 3, 2023

Coming here to comment as well that the docs are confusing because according to this matrix : https://docs.confluent.io/platform/current/installation/versions-interoperability.html#java

The recommended version of Java since 7.3.x is Java 17, but the Docker documentation, however, says that Java 11 is what is included https://docs.confluent.io/platform/current/installation/versions-interoperability.html#docker

It is a bit strange that the images do not ship with the recommended version of Java

For now, I just removed Java 11 and installed Java 17 myself

RUN yum remove -y zulu11-ca-jdk-headless && yum remove -y zulu11-ca-jre-headless

@whgibbo
Copy link

whgibbo commented Jan 22, 2024

Any update on this ?

@alwaysbemark
Copy link

Would love an update on this as well, this prevents a lot of teams from moving on from Java 11. Thank you!

@yeikel
Copy link

yeikel commented Feb 8, 2024

I think that to avoid being blocked you can try what I mentioned above and just install it yourself. As @andrewegel pointed out, it is not even in the roadmap yet so it will take months at best

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants