This is giter8 template to generate a Flink project using Scala and SBT.
First you have to install giter8. See the installation description for further information.
In order to generate a Flink project enter on the command line:
$ g8 tillrohrmann/flink-project
This will generate a Flink project using Scala and SBT.
In order to run your job from within IntelliJ, you have to set the classpath in the run/debug configuration to the module mainRunner
.
Simply open Run -> Edit configurations...
and then select mainRunner
from the "Use classpath of module" dropbox.