ZhangTao created FLINK-33592:
--------------------------------
Summary: 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
{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)