Example code for my blog post "Configuring Spark application with Typesafe config".
Build assembly JAR:
sbt assembly
Run (local mode):
spark-submit --master local[*] --class xyz.florentforest.sparkconfigexample.ConfigWordCount --files wordcount.conf --driver-java-options -Dconfig.file=wordcount.conf sparkconfigexample-assembly-1.0.jar