Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-2313

Change Streaming Driver Execution Model

    XMLWordPrintableJSON

Details

    Description

      I would propose the following change to the Streaming Execution Environment:

      When calling env.execute(), it does not block, but return an ExecutionContext object. This execution context has various methods, that allow you to control the execution:

      • waitFor() -> Blocks until the job terminates, or the connection to the JobManager is lost.
      • stop() -> initiates a clean stop
      • cancel() -> cancels the program
      • setParallelism() -> Later: adjusts the parallelism of the program

      If this is voted as desirable, I would make a design how to do this...

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              sewen Stephan Ewen
              Votes:
              4 Vote for this issue
              Watchers:
              14 Start watching this issue

              Dates

                Created:
                Updated: