User16783853906
Databricks Employee
Databricks Employee

With trigger.once mode, only one micro batch will be executed to process the latest data and application stops on its own once the processing is complete. This is helpful in cases where you need to periodically process everything that is available since the last processed data.

Fore more information on this, refer to - https://spark.apache.org/docs/latest/structured-streaming-programming-guide.html#triggers