fapaul commented on a change in pull request #17656:
URL: https://github.com/apache/flink/pull/17656#discussion_r744810275
##########
File path:
flink-connectors/flink-connector-files/src/main/java/org/apache/flink/connector/file/src/impl/FileRecordFormatAdapter.java
##########
@@ -37,7 +37,12 @@
import static org.apache.flink.util.Preconditions.checkArgument;
import static org.apache.flink.util.Preconditions.checkNotNull;
-/** The FormatReaderAdapter turns a {@link FileRecordFormat} into a {@link
BulkFormat}. */
+/**
+ * The FormatReaderAdapter turns a {@link FileRecordFormat} into a {@link
BulkFormat}.
+ *
+ * @deprecated Please use {@link StreamFormatAdapter} instead.
Review comment:
Nit: I guess this hint is not entirely correct because users cannot use
the `StreamFormatAdapter` without migrating to `StreamFormat`. In general, I am
not sure whether it is strictly necessary to deprecate internal classes.
--
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]