mas-chen commented on code in PR #52:
URL: 
https://github.com/apache/flink-connector-kafka/pull/52#discussion_r1362970759


##########
flink-connector-kafka/src/main/java/org/apache/flink/connector/kafka/source/split/KafkaPartitionSplit.java:
##########
@@ -35,17 +35,18 @@
 public class KafkaPartitionSplit implements SourceSplit {
     public static final long NO_STOPPING_OFFSET = Long.MIN_VALUE;
     // Indicating the split should consume from the latest.
-    public static final long LATEST_OFFSET = -1;
+    // @deprecated Only be used for compatibility with the history state, see 
FLINK-28303
+    @Deprecated public static final long LATEST_OFFSET = -1;

Review Comment:
   Simiarly, we could remove it from Javadocs in 
`ReaderHandledOffsetsInitializer` (the javadocs describes how it supports 
latest which we want to avoid using). 



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

Reply via email to