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)