You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2023/11/18 07:09:00 UTC
[jira] [Updated] (FLINK-33592) The return type of the function is void,not convenient to use
[ 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)