Junrui Li created FLINK-33980:
---------------------------------
Summary: Reorganize job configuration
Key: FLINK-33980
URL: https://issues.apache.org/jira/browse/FLINK-33980
Project: Flink
Issue Type: Technical Debt
Components: API / Core
Reporter: Junrui Li
Currently, job configuration in FLINK is spread out across different
components, including StreamExecutionEnvironment, CheckpointConfig, and
ExecutionConfig. This distribution leads to inconsistencies among the
configurations stored within these components. Furthermore, the methods used to
configure these components vary; some rely on complex Java objects, while
others use ConfigOption, which is a key-value configuration approach. This
variation complicates the effective management of job configurations.
Additionally, passing complex Java objects (e.g., StateBackend and
CheckpointStorage) between the environment, StreamGraph, and JobGraph adds
complexity to development.
With the completion of FLIP-381, it is now time to standardize and unify job
configuration in FLINK. The goals of this JIRA are as follows:
# Migrate configuration from non-ConfigOption objects to use ConfigOption.
# Adopt a single Configuration object to house all configurations.
# Create complex Java objects, such as RestartBackoffTimeStrategyFactory,
CheckpointStorage, and StateBackend, directly from the configuration on the JM
side.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)