[ https://issues.apache.org/jira/browse/KAFKA-12954?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17364310#comment-17364310 ]
Josep Prat commented on KAFKA-12954: ------------------------------------ Absolutely, according to the Scala Center most of the code that compiles for Scala 2.13 does compile for Scala 3. So I expect this to be simply about setting the right flags and the occasional automatic rewrite Scala Center provides. [~ijuma], am I right assuming it needs a KIP? I will try it on my fork to validate my assumptions that is a low impact change. > Add Support for Scala 3 in 4.0.0 > -------------------------------- > > Key: KAFKA-12954 > URL: https://issues.apache.org/jira/browse/KAFKA-12954 > Project: Kafka > Issue Type: Improvement > Components: build > Reporter: Josep Prat > Assignee: Josep Prat > Priority: Major > Labels: needs-kip > Fix For: 4.0.0 > > > This is a follow up task from > https://issues.apache.org/jira/browse/KAFKA-12895, in which Scala 2.12 > support will be dropped. > It would be good to, at the same time, add support for Scala 3. > Initially it would be enough to only make the code compile with Scala 3 so we > can generate the proper Scala 3 artifacts, this might be achieved with the > proper compiler flags and an occasional rewrite. > Follow up tasks could be created to migrate to a more idiomatic Scala 3 > writing if desired. > If I understand it correctly, this would need a KIP as we are modifying the > public interfaces (new artifacts). If this is the case, let me know and I > will write it. -- This message was sent by Atlassian Jira (v8.3.4#803005)