Tan-JiaLiang commented on code in PR #52: URL: https://github.com/apache/flink-connector-kafka/pull/52#discussion_r1363225236
########## 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: I was negligent. Fixed. -- 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