-
Notifications
You must be signed in to change notification settings - Fork 202
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
Update Java support - JDK 17 and 21 #3192
Comments
@dlvenable I can help you with this; |
@erzohrakhan , Thank you for your help here. As you can see in the description we have a list of tasks to accomplish. The first item will probably be to get the tests running on Java 20. I've not tried it locally, but you can try that and make any necessary changes. Once it works locally a PR to add it into the matrix below would be good. data-prepper/.github/workflows/gradle.yml Line 15 in 90575b1
I think the other items we will need to wait on, though Java 21 is scheduled for Sep 19. Also, it sounds like Gradle 8.3 does not yet support Java 21. https://docs.gradle.org/current/userguide/compatibility.html |
@erzohrakhan , If you'd like to help here, the next good task may be updating to Gradle 8.4 and running against Java 21 now that it is available. |
I'd like to propose that by Data Prepper 3.0 we only support Java 21. That is, we drop support for Java 17 entirely. Java 21 is almost a year old and likely by the time we release 3.0 it will have been over a year. |
Background
Data Prepper uses the Temurin releases for packages with bundled JDKs. Temurin has active LTS support for both Java 11 and 17. Java 21 is planned is a planned LTS release coming in Sep 2023.
Proposal
Update Data Prepper's supported Java versions to 21 and 17. As a breaking change, Data Prepper can stop supporting Java 11 entirely. This also means that developers can start using features which are available only in Java 17 and above.
We can also run some performance tests against Java 21 after it is released. This can help us determine if the default bundled JDK should be 21 instead of 17. Previously we found a performance gain running on Java 17 over 11 which motivated the update to bundle 17 instead.
Additionally, the Data Prepper builds can start to run against the Java 21 to ensure forward compatibility before it is the official version.
Tasks
Reference
https://adoptium.net/support/
The text was updated successfully, but these errors were encountered: