Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does Kafka support java 10 or java 11?

I am planning to use kafka for stream and messaging purpose. Our infrastructure is moving to java 11. So wanted to know does kafka support java 10 or java 11 ?.

Thanks

like image 493
Manoj Jain Avatar asked Aug 16 '18 07:08

Manoj Jain


People also ask

What version of Java does Kafka support?

The minimum supported Kafka Java Client version is 0.8. Kafka Java Clients that are included in Confluent Platform 3.2 (Kafka version 0.10. 2) and later are compatible with any Kafka broker that is included in Confluent Platform 3.0 and later.

Does Kafka work with Java 15?

Kafka Streams is a Streaming library similar to Spark and Flink which works with Apache Kafka. Kafka stream can be useful to process historical and near-real-time big data workloads but also for non-realtime analytical computations at scale for the online world as well.

Does Kafka run on Java?

Now that you have everything up and running, you can start integrating Kafka with a Java application!

What is the current version of Kafka?

7.2. 1 is a major release of Confluent Platform that provides you with Apache Kafka® 3.2. 0, the latest stable version of Kafka.


3 Answers

According to Kafka documentation, version 2.1.0, released on 2018-11-20, supports Java 11.

like image 193
HL'REB Avatar answered Oct 18 '22 15:10

HL'REB


From the Kafka tickets themselves:

  • KAFKA-6855: This shows Kafka is now able to start with Java10. That ticket is closed, and that shows versions 1.1.1 as 2.0.0 as the only ones that have the fix - https://issues.apache.org/jira/browse/KAFKA-6855
  • KAFKA-7264: These issues have been resolved as of 11/Oct/18, as of Kafka release 2.1.0 This ticket shows there's still outstanding issues to get Kafka running under Java 11. This ticket is targeted for 2.1.0 release, so it's definitely still an open issue - https://issues.apache.org/jira/browse/KAFKA-7264
like image 42
mjuarez Avatar answered Oct 18 '22 13:10

mjuarez


The issues mentioned in KAFKA-7264 have been resolved as of 11/Oct/18. And it worked fine when I tried it in a VM with Ubuntu 18.04, OpenJDK 11 and Kafka 2.0.0.

like image 23
HUSMEN Avatar answered Oct 18 '22 15:10

HUSMEN