Azure/azure-event-hubs-spark

Batch read from eventhubs throws duration format error

venkatrajupalepu opened this issue · 0 comments

Bug Report:

  • Actual behavior
    While reading the data from eventhubs using spark.read.format('eventhubs') getting an error "java.time.format.DateTimeParseException: Text cannot be parsed to a Duration"

    This error occurs even if I don't pass the values for reciverTimeoutDuration and operationTimeoutDuration.
    Tried different ways to pass these values with no luck. The same error message is thrown.

  • Expected behavior
    Calling the spark.read.format('eventhubs') should return the data from eventhubs.

  • Spark version
    3.3.0

  • spark-eventhubs artifactId and version
    azure-eventhubs-spark_2.12-2.3.22