masteryhx commented on code in PR #24374:
URL: https://github.com/apache/flink/pull/24374#discussion_r1616642658
##########
flink-streaming-java/src/main/java/org/apache/flink/streaming/api/environment/ExecutionCheckpointingOptions.java:
##########
@@ -38,8 +38,11 @@
* Execution {@link ConfigOption} for configuring checkpointing related
parameters.
*
* @see CheckpointConfig
+ * @deprecated All configuration items in this class have been moved to {@link
+ * org.apache.flink.configuration.CheckpointingOptions}.
*/
@PublicEvolving
+@Deprecated
Review Comment:
We should also mark it as `@Documentation.ExcludeFromDocumentation` and
remove `execution_checkpointing_configuration.html`
##########
flink-streaming-java/src/main/java/org/apache/flink/streaming/api/environment/CheckpointConfig.java:
##########
@@ -162,7 +162,7 @@ public CheckpointConfig(Configuration configuration) {
/** Disables checkpointing. */
public void disableCheckpointing() {
-
configuration.removeConfig(ExecutionCheckpointingOptions.CHECKPOINTING_INTERVAL);
+
configuration.removeConfig(CheckpointingOptions.CHECKPOINTING_INTERVAL);
Review Comment:
Some places in `CheckpointConfig` could also be replaced. e.g. in
`configure` method
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]