Abdul-Mannan
New Contributor III

I tried following options

# with autoloader options
cloudFiles.fetchParallelism = 10
cloudFiles.queueFetchInterval = "500ms"
# setting this at the start of notebook execution
spark.conf.set("spark.databricks.cloudFiles.useAsyncFetch", "true")

 it seems to be stuck and not making any progress. 

AbdulMannan_0-1733843250269.png

There is no data in ADLS queue for this stream but it was stuck there for more than 40mins then I cancelled the task.

AbdulMannan_1-1733843394562.png

If I disable/not set this property

spark.databricks.cloudFiles.useAsyncFetch

it processes the stream but still takes a minute even though the queue is empty.