Java – Kafka – Confluent – Java version support

Kafka – Confluent – Java version support… here is a solution to the problem.

Kafka – Confluent – Java version support

I’m looking at Apache Kafka v2.0.0 and I can’t figure out which version of java it supports (new lifecycle for OpenJDK or Oracle JDK)? So far, I’ve seen conflicting documentation. For example:
In the Apache Kafka documentation page it says: Java 1.8, but in their v2.0 release notes I see bug fixes and improvements as follows:

  • [KAFKA-6855] – Kafka fails to start with Java 10 due to faulty Java version detection
  • [KAFKA-5907] – Support aggregatedJavadoc in Java 9

Confluent v5.x documentation says they don’t support 9 or 10

Java 1.9 and 1.10 are not currently supported in Confluent Platform. Later versions of Confluent Platform will support these Java versions.

But their CTO said in November 2017 on this page

“We now support Java 9, leading, significantly faster TLS and CRC32C implementations”

Knowing that Oracle’s LTS OracleJDK has taken a different lifecycle, they are dropping support for 1.8. What was Kafka’s decision on Java support? I can’t figure it out from the docs. What am I missing here?

Solution

Apache Kafka 2.1.0 and later supports Java 11:

https://issues.apache.org/jira/browse/KAFKA-7264

There is a fixed outdated documentation page (the site will be updated soon):

https://github.com/apache/kafka/pull/9080

Related Problems and Solutions