HeartSaVioR commented on issue #23747: [SPARK-26848][SQL] Introduce new option 
to Kafka source: offset by timestamp (starting/ending)
URL: https://github.com/apache/spark/pull/23747#issuecomment-462493022
 
 
   Just ran the query with Kafka 0.10.0.
   
   ```
   19/02/12 06:01:47 WARN KafkaOffsetReader: Error in attempt 1 getting Kafka 
offsets:
   org.apache.kafka.common.errors.UnsupportedVersionException: The broker does 
not support LIST_OFFSETS with version in range [1,4]. The supported range is 
[0,0].
   19/02/12 06:01:48 WARN KafkaOffsetReader: Error in attempt 2 getting Kafka 
offsets:
   org.apache.kafka.common.errors.UnsupportedVersionException: The broker does 
not support LIST_OFFSETS with version in range [1,4]. The supported range is 
[0,0].
   19/02/12 06:01:49 WARN KafkaOffsetReader: Error in attempt 3 getting Kafka 
offsets:
   org.apache.kafka.common.errors.UnsupportedVersionException: The broker does 
not support LIST_OFFSETS with version in range [1,4]. The supported range is 
[0,0].
   org.apache.spark.SparkException: Exception thrown in awaitResult:
     at org.apache.spark.util.ThreadUtils$.awaitResult(ThreadUtils.scala:226)
     at 
org.apache.spark.sql.kafka010.KafkaOffsetReader.runUninterruptibly(KafkaOffsetReader.scala:375)
     at 
org.apache.spark.sql.kafka010.KafkaOffsetReader.fetchSpecificTimestampBasedOffsets(KafkaOffsetReader.scala:184)
     at 
org.apache.spark.sql.kafka010.KafkaRelation.getPartitionOffsets(KafkaRelation.scala:147)
     at 
org.apache.spark.sql.kafka010.KafkaRelation.buildScan(KafkaRelation.scala:72)
   ...
   Caused by: org.apache.kafka.common.errors.UnsupportedVersionException: The 
broker does not support LIST_OFFSETS with version in range [1,4]. The supported 
range is [0,0].
   ```

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

Reply via email to