You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Ismael Juma (Jira)" <ji...@apache.org> on 2021/06/16 13:36:00 UTC

[jira] [Commented] (KAFKA-12954) Add Support for Scala 3 in 4.0.0

    [ https://issues.apache.org/jira/browse/KAFKA-12954?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17364303#comment-17364303 ] 

Ismael Juma commented on KAFKA-12954:
-------------------------------------

Thanks for the ticket. One thing to evaluate is the cost of supporting Scala 3 and Scala 2.13 at the same time. If the code changes required are minimal, it makes sense. However, if they are more extensive, we should also evaluate whether we'd rather go to Java instead.

> 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)