Example on how to launch a Word Count Spark Job with Apache Beam written in Java and Kotlin and built in gradle.
Oficial documentation Word Count example (https://beam.apache.org/get-started/wordcount-example/) is in Java, built in Maven, on top of a DirectRunner(https://beam.apache.org/documentation/runners/direct/) or Google Dataflow.
Inspired to translate it to Kotlin: https://github.com/apache/beam/blob/master/examples/kotlin/src/main/java/org/apache/beam/examples/kotlin/MinimalWordCount.kt
Inspired from Maven: https://beam.apache.org/get-started/quickstart-java/
SparkRunner: https://beam.apache.org/documentation/runners/spark/