~/talk

Preparing Apache Kafka for Scala 3

Talkat ScalaCon 2022 · 2022-10-04..10-07· [scala, java]
links:none on file
slides:none on file

Attempting to compile Apache Kafka with Scala 3 produces a working proof of concept but requires months of fixes: Gradle gains Scala 3 support in 7.3.0, several Scala 3 compiler bugs break Java–Scala interop (overload resolution, missing companion static methods, var-in-constructor + supercalls, primitive vs boxed varargs, by-name type erasure) and get patched across the 3.1.x releases, and a GitHub PR accumulates the edits after ~three months of work as a non-mergeable feasibility study.

AI-written summary · about

  1. 0:00Introduction and motivation
  2. 1:02Speaker background and context
  3. 2:30Apache Kafka overview
  4. 4:57First migration attempt and challenges
  5. 7:49Single abstract methods and overloads
  6. 12:28Static forwarders in companion objects
  7. 14:54Variable handling in super calls
  8. 17:45Java varargs with parameterized types
  9. 21:04Type erased by-name parameters
  10. 22:50Proof of concept completion
  11. 23:52Future of Kafka and Scala 3
  12. 25:37Reflection on Scala and Java usage
  13. 27:38Java-Scala interoperability regressions
  14. 29:02Improving community build and support
  15. 31:56Role of Scala experts in mixed projects
  16. 33:00Historical challenges in Scala migrations
  17. 34:02How to contribute and help
  18. 37:37Call to action and resources
  19. 38:18Q&A session
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.