This is an automated email from the ASF dual-hosted git repository.
chia7712 pushed a commit to branch 3.9
in repository https://gitbox.apache.org/repos/asf/kafka.git
The following commit(s) were added to refs/heads/3.9 by this push:
new 8ddc4cccf35 KAFKA-19897 Document support for testing with java 25
(3.9) (#21104)
8ddc4cccf35 is described below
commit 8ddc4cccf350560c39c8d9e1f601400297fad499
Author: Ming-Yen Chung <[email protected]>
AuthorDate: Fri Dec 12 19:48:41 2025 +0800
KAFKA-19897 Document support for testing with java 25 (3.9) (#21104)
With #21026 completed, we can update the documentation to indicate
support for testing with Java 25 in AK 3.9.
Remove the JDK 23 from CI
Reviewers: Chia-Ping Tsai <[email protected]>
---
Jenkinsfile | 18 ------------------
README.md | 3 +++
docs/ops.html | 2 +-
3 files changed, 4 insertions(+), 19 deletions(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index 10b02abeb51..1da4eee84c0 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -181,24 +181,6 @@ pipeline {
}
}
- stage('JDK 23 and Scala 2.13') {
- agent { label 'ubuntu' }
- tools {
- jdk 'jdk_23_latest'
- }
- options {
- timeout(time: 8, unit: 'HOURS')
- timestamps()
- }
- environment {
- SCALA_VERSION=2.13
- }
- steps {
- doValidation()
- doTest(env)
- echo 'Skipping Kafka Streams archetype test for Java 23'
- }
- }
stage('JDK 25 and Scala 2.13') {
agent { label 'ubuntu' }
tools {
diff --git a/README.md b/README.md
index 7bacfee75d8..040f254520e 100644
--- a/README.md
+++ b/README.md
@@ -37,6 +37,9 @@ Follow instructions in https://kafka.apache.org/quickstart
./gradlew test # runs both unit and integration tests
./gradlew unitTest
./gradlew integrationTest
+
+### Run tests with Java 25
+ ./gradlew testWithJava25
### Force re-running tests without code change ###
./gradlew test --rerun
diff --git a/docs/ops.html b/docs/ops.html
index bb32f6a9da8..09745e36f14 100644
--- a/docs/ops.html
+++ b/docs/ops.html
@@ -1249,7 +1249,7 @@ queued.max.requests=[number of concurrent
requests]</code></pre>
<h3 class="anchor-heading"><a id="java" class="anchor-link"></a><a
href="#java">6.6 Java Version</a></h3>
- Java 8, Java 11, Java 17, Java 21 and Java 23 are supported.
+ Java 8, 11, 17, and 21 are fully supported while Java 25 has received
limited validation and support is best-effort.
<p>
Note that Java 8 support project-wide has been deprecated since Apache Kafka
3.0 and Java 11 support for the broker and tools
has been deprecated since Apache Kafka 3.7. Both have been removed in Apache
Kafka 4.0.