[
https://issues.apache.org/jira/browse/KAFKA-20046?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chia-Ping Tsai updated KAFKA-20046:
-----------------------------------
Fix Version/s: 4.2.0
4.0.2
4.1.2
> streams-scala artifact is compiled with java 17 instead of 11.
> --------------------------------------------------------------
>
> Key: KAFKA-20046
> URL: https://issues.apache.org/jira/browse/KAFKA-20046
> Project: Kafka
> Issue Type: Bug
> Components: streams
> Affects Versions: 4.0.0
> Reporter: Nikita Shupletsov
> Assignee: Nikita Shupletsov
> Priority: Blocker
> Fix For: 4.2.0, 4.0.2, 4.1.2
>
>
> As a community member of stackoverflow pointed out:
> [https://stackoverflow.com/questions/79857077/kafka-streams-4-x-java-11-compatibility]
> I verified the classes from
> [https://mvnrepository.com/artifact/org.apache.kafka/kafka-streams-scala_2.13/4.0.0]
> with javap, and it was indeed compiled with 61 version(java17) instead of
> 55(java11)
> also wrote a simple scala app and got the same error: `Exception in thread
> "sbt-bg-threads-1" java.lang.UnsupportedClassVersionError:
> org/apache/kafka/streams/scala/StreamsBuilder has been compiled by a more
> recent version of the Java Runtime (class file version 61.0), this version of
> the Java Runtime only recognizes class file versions up to 55.0`
--
This message was sent by Atlassian Jira
(v8.20.10#820010)