[
https://issues.apache.org/jira/browse/FLINK-20002?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dawid Wysakowicz closed FLINK-20002.
------------------------------------
Resolution: Implemented
Implemented in c037dcb0b63652b87f1aa6de0a2016941c799deb
> 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
> Priority: Major
> Labels: pull-request-available
> 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)