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

ZhangTao commented on FLINK-33592:
----------------------------------

I see.

Thank you very much for your reply

> 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)

Reply via email to