Carl-Zhou-CN commented on code in PR #9376:
URL: https://github.com/apache/seatunnel/pull/9376#discussion_r2122884118


##########
seatunnel-connectors-v2/connector-kafka/src/main/java/org/apache/seatunnel/connectors/seatunnel/kafka/source/KafkaSourceSplitEnumerator.java:
##########
@@ -204,6 +204,10 @@ private void setPartitionStartOffset() throws 
ExecutionException, InterruptedExc
                     if (pendingSplit.containsKey(key)) {
                         pendingSplit.get(key).setStartOffset(value);
                     }
+                    if (!isStreamingMode && value < 0) {

Review Comment:
   Sorry, I see that the existing tests have already covered this 
scenario,Thanks @WenDing-Y



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