Re: Packaging multiple Flink jobs from a single IntelliJ project

2020-09-01 Thread Flavio Pompermaier
Yes, the recommended way to proceed in your use case is to put all classes in a single JAR and to specify the main class to run to the flink client. Best, Flavio

Re: Packaging multiple Flink jobs from a single IntelliJ project

2020-08-31 Thread Manas Kale
Guess I figured out a solution for the first question as well - I am packaging multiple main() classes in the same JAR and specifying entrypoint classes when submitting the JAR. Most of my issues stemmed from an improperly configured POM file and a mismatch in Flink runtime versions. I'll assume

Re: Packaging multiple Flink jobs from a single IntelliJ project

2020-08-31 Thread Manas Kale
Hi, I solved my second issue - I was not following Maven's convention for placing source code (I had not placed my source in src/main/java). However, I still would like some help with my first question - what is the recommended way to set a project with multiple main() classes? At the end, I would

Packaging multiple Flink jobs from a single IntelliJ project

2020-08-30 Thread Manas Kale
Hi, I have an IntelliJ project that has multiple classes with main() functions. I want to package this project as a JAR that I can submit to the Flink cluster and specify the entry class when I start the job. Here are my questions: - I am not really familiar with Maven and would appreciate