I have a Java application to lunch a flink job to process Kafka streaming.
The application is pending here at the job submission at
flinkEnv.execute("flink job name")since the job is running forever for streamings incoming from kafka.In this case, how can I get job id returned from the execution? I see the jobid is printing in the console. Just wonder, how to get jobid is this case without flinkEnv.execute returning yet.
How I can cancel a flink job given job name from remote server in Java?