zsxwing commented on a change in pull request #23324: [SPARK-26267][SS]Retry
when detecting incorrect offsets from Kafka
URL: https://github.com/apache/spark/pull/23324#discussion_r241918425
##########
File path:
external/kafka-0-10-sql/src/main/scala/org/apache/spark/sql/kafka010/KafkaMicroBatchReadSupport.scala
##########
@@ -138,6 +138,15 @@ private[kafka010] class KafkaMicroBatchReadSupport(
fromOffsets = startPartitionOffsets ++ newPartitionInitialOffsets,
untilOffsets = endPartitionOffsets,
executorLocations = getSortedExecutorList())
+ offsetRanges.filter { range =>
Review comment:
This was missing when we wrote Kafka source v2.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]