Josep Prat - Preparing Apache Kafka for Scala 3

Опубликовано: 02 Октябрь 2024
на канале: Konfy
495
9

With the recent release of Scala `3`, we’ll see an increasing number of projects adding support for it alongside a couple of older versions like `2.12` and `2.13`.

Apache Kafka represents an interesting use case since it’s written in both Java and Scala, with the core module being almost completely written in Scala and currently supporting Scala `2.12` and `2.13`. Adding the support for Scala `3` is a required task if we want to avoid a complete rewrite.

We took the challenge and this session explores our migration attempt, starting by stating the main problems unearthed while proofing how complicated the migration would be. The talk will then cover the missing pieces in the ecosystem, like the interoperability between Java and Scala, or differences in bytecode generation, and suggest how the community can help.

Why did those problems occur and what does it need to change to have even smoother migrations in the future? Check out our experience and learn how this can be extrapolated to other mixed Java/Scala OSS projects.

https://2022.scala.love
  / scala_love