https://kotlinlang.org logo
Title
t

Tatum Alenko

10/15/2020, 6:36 PM
@chermenin Thanks for link, super interesting! I'm curious about your experience and perception: how seamless is it to use vanilla Kotlin with Beam? We currently use Beam at work and I'm trying to analyze if using Kotlin instead of strictly Java would be an adequate use case.
c

chermenin

10/16/2020, 8:56 AM
In general, using vanilla Beam Java SDK in Kotlin has to be very similar to using it in Java. There are some problems with Kotlin’s native classes (for example, `Iterable`: https://stackoverflow.com/questions/55908999/kotlin-iterable-not-supported-in-apache-beam, usually it’s connected with Kotlin wildcards in generics). As for me, I rarely use just Beam Java SDK without some additional methods that cover it. We have several streaming and batch pipelines in Kotlin using methods from Kio that running in Google Dataflow now, and it looks quite workable.
t

Tatum Alenko

10/16/2020, 10:20 PM
That's an excellent summary. Thank you!