Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. The general option for choosing the overall runtime mode
    1. we will expose it via a configuration under the execution.runtime-mode key with an enum value BATCH/STREAM/AUTOMATIC
    2. through StreamExecutionEnvironment#setRuntimeMode(RuntimeMode mode)
    3. each of the particular modes will set default values of other settings such as ScheduleMode, ShuffleMode, buffer timeout, etc. It will be possible to override the defaults for particular options, but only as long as the value is compatible chosen mode, e.g. shuffle-mode other than ALL_EDGED_PIPELINED is illegal for STREAM mode. Illegal combinations will result in an exception.
  2. An option for choosing the shuffle-mode
    1. exposed only through a configuration option under the execution.shuffle-mode key. We will not expose a dedicated setter in StreamExecutionEnvironment, or ExecutionConfig

Examples:

Users will be able to choose BATCH mode:

...