I’m currently writing a few example workflows in Scala to get a better understanding of flytekit-java/scala. I’ve only created a few simple workflows for now but it looks quite solid.
After some fiddling and realizing that we already push flytekit-* to maven central, I managed to create a standalone Scala/SBT project and sucessfully register and run workflows locally as well as in a freshly created sandbox cluster.
The biggest hurdle right now clearly seems to be a lack of documentation. There’s the readme, a few examples in the flytekit-java repo as well as some community sync presentations by
@red-boots-99987. But you have to do some digging...
I think adding more documentation here would have great potential to expand the user-base of Flyte to JVM folks and could also bring in new contributors.
Here’s what I think could be most helpful:
• Getting started docs similar to the
Python one
• Basic documented examples integrated in the docs (aka flytesnacks)
• Standalone starter projects or templates like
https://github.com/flyteorg/flytekit-python-template but for Java/Scala using common JVM build tools (Maven/Gradle/sbt...)
I’m thinking about working on one of these but I’d like to sync first with folks here.