[
https://issues.apache.org/jira/browse/FLINK-33592?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated FLINK-33592:
-----------------------------------
Labels: pull-request-available (was: )
> The return type of the function is void,not convenient to use
> -------------------------------------------------------------
>
> Key: FLINK-33592
> URL: https://issues.apache.org/jira/browse/FLINK-33592
> Project: Flink
> Issue Type: Improvement
> Components: API / DataStream
> Reporter: ZhangTao
> Priority: Minor
> Labels: pull-request-available
>
> {code:java}
> @PublicEvolving
> public void setRestartStrategy(
> RestartStrategies.RestartStrategyConfiguration
> restartStrategyConfiguration) {
> config.setRestartStrategy(restartStrategyConfiguration);
> } {code}
> StreamExecutionEnvironment usually has many parameters that need to be
> set.The return type is void, making it inconvenient to use.
> Others set methods 'return this; ' , only this method has a void return type.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)