From a72056e20da29a16cdde41ea5430b075d4a14f0d Mon Sep 17 00:00:00 2001 From: Ismael Juma Date: Tue, 26 Sep 2023 01:29:30 -0700 Subject: [PATCH] MINOR: Replace Java 20 with Java 21 in `README.md` (#14451) Reviewers: Divij Vaidya , Yash Mayya --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 49dd49ef659..1a645dc409f 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ See our [web site](https://kafka.apache.org) for details on the project. You need to have [Java](http://www.oracle.com/technetwork/java/javase/downloads/index.html) installed. -We build and test Apache Kafka with Java 8, 11, 17 and 20. We set the `release` parameter in javac and scalac +We build and test Apache Kafka with Java 8, 11, 17 and 21. We set the `release` parameter in javac and scalac to `8` to ensure the generated binaries are compatible with Java 8 or higher (independently of the Java version used for compilation). Java 8 support has been deprecated since Apache Kafka 3.0 and will be removed in Apache Kafka 4.0 (see [KIP-750](https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=181308223) for more details).