Manoj Jain
Manoj Jain

Reputation: 111

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

Upvotes: 9

Views: 12401

Answers (4)

Hrvoje
Hrvoje

Reputation: 15222

Dec 2021

Here is page in documentation about Java support for latest release 3.0 at the time of writing this:

https://kafka.apache.org/30/documentation.html#java

In similar way you can find Java related page for any other release in the future - just change /30 to whatever version you want.

Upvotes: 0

HL'REB
HL'REB

Reputation: 876

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

Upvotes: 5

mjuarez
mjuarez

Reputation: 16854

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

Upvotes: 13

HUSMEN
HUSMEN

Reputation: 366

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.

Upvotes: 5

Related Questions