Zifei Feng created SPARK-60076:
----------------------------------

             Summary: Kafka Consumer Race Condition upon recovery when 
failOnDataLoss=false
                 Key: SPARK-60076
                 URL: https://issues.apache.org/jira/browse/SPARK-60076
             Project: Spark
          Issue Type: Bug
          Components: Structured Streaming
    Affects Versions: 4.0.4
            Reporter: Zifei Feng


 Kafka consumer releases the old consumer back to the pool after the 
out-of-range exception, but pass the same reference of consumer to 
`getEarliestAvailableOffsetBetween`, causing `llegalStateException from 
org.apache.spark.sql.kafka010.consumer.InternalKafkaConsumer`



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to