[ https://issues.apache.org/jira/browse/FLINK-5167?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15701664#comment-15701664 ]
ASF GitHub Bot commented on FLINK-5167: --------------------------------------- Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/2874 @shijinkui I think these changes would be great for Flink 2.0 Can you add them to this list here? That is where we collect all API-.breaking changes that we want to add. https://issues.apache.org/jira/browse/FLINK-3957 Thanks! > StreamExecutionEnvironment's set function return `this` instead of void > ----------------------------------------------------------------------- > > Key: FLINK-5167 > URL: https://issues.apache.org/jira/browse/FLINK-5167 > Project: Flink > Issue Type: Bug > Components: DataStream API > Reporter: shijinkui > > for example : > public void setNumberOfExecutionRetries(int numberOfExecutionRetries) { > config.setNumberOfExecutionRetries(numberOfExecutionRetries); > } > change to: > public StreamExecutionEnvironment setNumberOfExecutionRetries(int > numberOfExecutionRetries) { > config.setNumberOfExecutionRetries(numberOfExecutionRetries); > return this; > } -- This message was sent by Atlassian JIRA (v6.3.4#6332)