Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
Description
We should add a way of registering listeners that are notified when a job is submitted for execution using an environment. This is useful for cases where a framework, for example the Zeppelin Notebook, creates an environment for the user, the user can submit jobs, but the framework needs a handle to the job in order to manage it.
This can be as simple as
interface JobSubmissionListener {
void notify(JobClient jobClient)
}
with a method registerJobSubmissionListener(JobSubmissionListener) on the environments.
Attachments
Issue Links
- relates to
-
FLINK-15116 Make JobClient stateless, remove AutoCloseable
- Closed
- links to