WenDing-Y commented on code in PR #9376:
URL: https://github.com/apache/seatunnel/pull/9376#discussion_r2122816215
##########
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:
What should be the focus of the test? When the offset is -1, can all
partitions be consumed normally without any partition being skipped?
--
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]