[ 
https://issues.apache.org/jira/browse/FLINK-2959?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14992211#comment-14992211
 ] 

Stephan Ewen commented on FLINK-2959:
-------------------------------------

Bear in mind that the ExecutionConfig is shared in Streaming and Batch and 
designed to hold values that are relevant to all executing tasks, also at 
runtime (like serializers, etc).

I would say that parameters that only affect the JobGraph construction and 
specific to either streaming or batch are fine on the ExecutionEnvironment.

> Remove number of execution retries configuration from Environment
> -----------------------------------------------------------------
>
>                 Key: FLINK-2959
>                 URL: https://issues.apache.org/jira/browse/FLINK-2959
>             Project: Flink
>          Issue Type: Improvement
>          Components: Java API, Scala API
>    Affects Versions: 0.10
>            Reporter: Ufuk Celebi
>            Priority: Minor
>              Labels: api-breaking
>             Fix For: 0.10
>
>
> The number of execution retries is configured via the Environment, but all 
> other execution configuration happens exclusively via ExecutionConfig.
> I think it will be more consistent to have it in ExecutionConfig only.
> This will be an API breaking change.
> What's your opinion? Should we move it to the ExecutionConfig?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to