StephanEwen commented on a change in pull request #15119:
URL: https://github.com/apache/flink/pull/15119#discussion_r604813482



##########
File path: 
flink-core/src/main/java/org/apache/flink/configuration/CheckpointingOptions.java
##########
@@ -39,8 +39,12 @@
      * StateBackendFactory#createFromConfig(ReadableConfig, ClassLoader)} 
method is called.
      *
      * <p>Recognized shortcut names are 'hashmap' and 'rocksdb'.
+     *
+     * @deprecated Use {@link StateBackendOptions#STATE_BACKEND}.
      */
-    @Documentation.Section(value = 
Documentation.Sections.COMMON_STATE_BACKENDS, position = 1)
+    @Documentation.Section(value = 
Documentation.Sections.COMMON_STATE_BACKENDS)
+    @Documentation.ExcludeFromDocumentation("Hidden for deprecated")
+    @Deprecated
     public static final ConfigOption<String> STATE_BACKEND =

Review comment:
       Should we change this to ` public static final ConfigOption<String> 
STATE_BACKEND = StateBackendOptions.STATE_BACKEND`, to deduplicate?




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

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to