This is an automated email from the ASF dual-hosted git repository. ijuma pushed a commit to branch 3.7 in repository https://gitbox.apache.org/repos/asf/kafka.git
The following commit(s) were added to refs/heads/3.7 by this push: new 6535fe7f049 Note that Java 11 support for broker and tools is deprecated for removal in 4.0 (#15236) 6535fe7f049 is described below commit 6535fe7f04946a5773af35f5d6ca82cebe131e3e Author: Ismael Juma <ism...@juma.me.uk> AuthorDate: Fri Jan 19 14:08:07 2024 -0800 Note that Java 11 support for broker and tools is deprecated for removal in 4.0 (#15236) Reviewers: Divij Vaidya <di...@amazon.com> --- README.md | 6 ++++-- docs/ops.html | 10 +++++++--- docs/upgrade.html | 4 ++++ 3 files changed, 15 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 1a645dc409f..b857e7c1843 100644 --- a/README.md +++ b/README.md @@ -6,8 +6,10 @@ You need to have [Java](http://www.oracle.com/technetwork/java/javase/downloads/ 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). +used for compilation). Java 8 support project-wide has been deprecated since Apache Kafka 3.0, Java 11 support for +the broker and tools has been deprecated since Apache Kafka 3.7 and removal of both is planned for Apache Kafka 4.0 ( +see [KIP-750](https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=181308223) and +[KIP-1013](https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=284789510) for more details). Scala 2.12 and 2.13 are supported and 2.13 is used by default. Scala 2.12 support has been deprecated since Apache Kafka 3.0 and will be removed in Apache Kafka 4.0 (see [KIP-751](https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=181308218) diff --git a/docs/ops.html b/docs/ops.html index eb0cbd78828..f943dbed630 100644 --- a/docs/ops.html +++ b/docs/ops.html @@ -1289,12 +1289,16 @@ $ bin/kafka-acls.sh \ <h3 class="anchor-heading"><a id="java" class="anchor-link"></a><a href="#java">6.6 Java Version</a></h3> - Java 8, Java 11, and Java 17 are supported. Note that Java 8 support has been deprecated since Apache Kafka 3.0 and will be removed in Apache Kafka 4.0. + Java 8, Java 11, and Java 17 are supported. + <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 will be removed in Apache Kafka 4.0. + <p> Java 11 and later versions perform significantly better if TLS is enabled, so they are highly recommended (they also include a number of other performance improvements: G1GC, CRC32C, Compact Strings, Thread-Local Handshakes and more). - + <p> From a security perspective, we recommend the latest released patch version as older freely available versions have disclosed security vulnerabilities. - + <p> Typical arguments for running Kafka with OpenJDK-based Java implementations (including Oracle JDK) are: <pre class="line-numbers"><code class="language-text"> -Xmx6g -Xms6g -XX:MetaspaceSize=96m -XX:+UseG1GC diff --git a/docs/upgrade.html b/docs/upgrade.html index dc3321616d6..079a7bdd47d 100644 --- a/docs/upgrade.html +++ b/docs/upgrade.html @@ -23,6 +23,10 @@ <h5><a id="upgrade_370_notable" href="#upgrade_370_notable">Notable changes in 3.7.0</a></h5> <ul> + <li>Java 11 support for the broker and tools has been deprecated and will be removed in Apache Kafka 4.0. This complements + the previous deprecation of Java 8 for all components. Please refer to + <a href="https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=284789510">KIP-1013</a> for more details. + </li> <li>More metrics related to Tiered Storage have been introduced. They should improve the operational experience of running Tiered Storage in production. For more detailed information, please refer to <a href="https://cwiki.apache.org/confluence/display/KAFKA/KIP-963%3A+Additional+metrics+in+Tiered+Storage">KIP-963</a>.