XComp commented on code in PR #21917:
URL: https://github.com/apache/flink/pull/21917#discussion_r1104542076
##########
flink-connectors/flink-connector-base/src/main/java/org/apache/flink/connector/base/source/reader/splitreader/SplitReader.java:
##########
@@ -33,7 +33,7 @@
* @param <SplitT> the split type.
*/
@PublicEvolving
-public interface SplitReader<E, SplitT extends SourceSplit> {
+public interface SplitReader<E, SplitT extends SourceSplit> extends
AutoCloseable {
Review Comment:
The method itself can be removed from `SplitReader`as well: It doesn't add
any value. Its documentation is generic as well.
--
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]