zentol commented on code in PR #3:
URL: 
https://github.com/apache/flink-connector-mongodb/pull/3#discussion_r1109995851


##########
flink-connector-mongodb/src/main/java/org/apache/flink/connector/mongodb/source/split/MongoSourceSplitState.java:
##########
@@ -19,28 +19,19 @@
 
 import org.apache.flink.annotation.PublicEvolving;
 
+import org.bson.BsonDocument;
+
 /** MongoDB source split state. */
 @PublicEvolving
-public class MongoSourceSplitState {
+public abstract class MongoSourceSplitState {

Review Comment:
   Maybe consider introducing a `MongoSourceSplitState` interface instead. We 
have then more freedom to change the internals than when we make the 
implementation itself part of the API.



-- 
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: issues-unsubscr...@flink.apache.org

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

Reply via email to