I want to manage the execution of Flink Jobs programmatically through Flink Monitoring API.
I.e. I want to run/delete jobs ONLY with the POST /jars/:jarid/run POST /jobs/:jobid/stop API commands. Now, it seems that the Session Mode may fits my needs: “Session Mode: one JobManager instance manages multiple jobs sharing the same cluster of TaskManagers” (https://ci.apache.org/projects/flink/flink-docs-release-1.12/deployment/) However, I couldn’t find a way to start the API server (i.e. a JobManager) that didn’t already include submitting a JAR file for a job execution. Any suggestions?