Github user zentol commented on a diff in the pull request:
https://github.com/apache/flink/pull/2797#discussion_r88215090
--- Diff:
flink-streaming-connectors/flink-connector-filesystem/src/main/java/org/apache/flink/streaming/connectors/fs/bucketing/BucketingSink.java
---
@@ -972,9 +964,13 @@ public void restoreState(State<T> state) {
* <p>
* This should only be disabled if using the sink without checkpoints,
to not remove
* the files already in the directory.
+ *
+ * <p>
+ * <b>NOTE: </b> This option is deprecated and remains only for
backwards compatibility.
--- End diff --
no, i mean the actual javadoc annotation, the javadoc should be as follows:
```
/**
* Disable cleanup of leftover in-progress/pending files when the sink
is opened.
*
* <p>
* This should only be disabled if using the sink without checkpoints,
to not remove
* the files already in the directory.
*
* @deprecated This option remains only for backwards compatibility and
has no effect.
*/
```
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---