[
https://issues.apache.org/jira/browse/KAFKA-20857?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18101216#comment-18101216
]
Yunseop Eom edited comment on KAFKA-20857 at 8/3/26 10:15 AM:
--------------------------------------------------------------
Implemented in GitHub PR #23063: https://github.com/apache/kafka/pull/23063
- Updated the JVM Docker image build/runtime base from Eclipse Temurin 21 to 25.
- Updated the native image build base from GraalVM Community 21 to the current
25i2 CPU-release tag (JDK 25.0.4; linux/amd64 and linux/arm64).
- Made dynamic CDS generation stop the captured Kafka process PID directly so
kafka.jsa is generated reliably with the long classpath.
- Updated the native-image documentation link to the version-neutral GraalVM
page.
- Verified JVM JSA generation with Kafka startup, topic creation, produce,
consume, and graceful shutdown; built the final JVM image and checked
kafka-topics.sh --version.
- Verified the public GHCR manifest for 25i2 and ran the RED/GREEN tag
regression assertion and git diff --check. A local Docker build check was
blocked by the missing docker-credential-desktop helper.
- No API, protocol, configuration semantics, or KIP changes.
Follow-up commit: e348eaed82. PR remains open and awaiting maintainer review;
not merged.
was (Author: JIRAUSER313210):
Implemented in GitHub PR #23063: https://github.com/apache/kafka/pull/23063
- Updated the JVM Docker image build/runtime base from Eclipse Temurin 21 to 25.
- Updated the native image build base from GraalVM Community 21 to 25.
- Made dynamic CDS generation stop the captured Kafka process PID directly so
kafka.jsa is generated reliably with the long classpath.
- Verified JVM JSA generation with Kafka startup, topic creation, produce,
consume, and graceful shutdown; built the final JVM image and checked
kafka-topics.sh --version.
- Verified GraalVM 25 native-image compilation, final image assembly, and
kafka.Kafka --help.
- No API, protocol, configuration semantics, or KIP changes.
> Use Java 25 in Docker Images
> ----------------------------
>
> Key: KAFKA-20857
> URL: https://issues.apache.org/jira/browse/KAFKA-20857
> Project: Kafka
> Issue Type: Improvement
> Reporter: Gaurav Narula
> Assignee: Gaurav Narula
> Priority: Major
>
> JDK 25 is the latest LTS release and Kafka supports it.
> We should update the JRE/JDK version used within the Dockerfile for both
> native and non-native images.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)