[jira] [Created] (FLINK-20002) Add a StreamExecutionEnvironment#getExecutionEnvironment(Configuration) method

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-20002) Add a StreamExecutionEnvironment#getExecutionEnvironment(Configuration) method

Shang Yuanchun (Jira)
Dawid Wysakowicz created FLINK-20002:
----------------------------------------

             Summary: Add a StreamExecutionEnvironment#getExecutionEnvironment(Configuration) method
                 Key: FLINK-20002
                 URL: https://issues.apache.org/jira/browse/FLINK-20002
             Project: Flink
          Issue Type: Improvement
          Components: API / DataStream
            Reporter: Dawid Wysakowicz
            Assignee: Dawid Wysakowicz
             Fix For: 1.12.0


From a usability perspective it would be nice to be able to construct a {{StreamExecutionEnvironment}} from a give {{Configuration}}:

{code}
                Configuration configuration = new Configuration();
                configuration.setString("state.backend", "jobmanager");
                configuration.set(CoreOptions.DEFAULT_PARALLELISM, 10);
                configuration.set(PipelineOptions.AUTO_WATERMARK_INTERVAL, Duration.ofMillis(100));

                StreamExecutionEnvironment env = StreamExecutionEnvironment.getExecutionEnvironment(
                        configuration);
{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)