cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results for 
Search instead for 
Did you mean: 

Fixed interval micro-batches and AvailableNow Trigger

Maatari
New Contributor III

What is the fundamental difference between Fixed interval micro-batches and AvailableNow Trigger, given that both can consume in micro-batch based on the desire size of the micro batch ? 

Is the fundamental difference the fact that AvailableNow shut down when finished and Fixed interval micro-batches never shut down ?

Indeed as far as i am understanding the documentation, AvailableNow does not mean, one micro-batch of everything available, but depending on the size set up, might mean consuming multiple micro-batch up to what was available when the job was triggered. Am I understanding this correctly ?

The other thing i find confusing in the documentation is the idea that the micro-batch size is set up by a property of type maxBytePerTrigger (depending on the data source). If AvailableNow represent one trigger then that is a problem. So does AvailableNow actually means multiple triggers ?

 

1 REPLY 1

Maatari
New Contributor III

This `maxBytesPerTrigger` does not work for file source right ? Only source like Kafka Source ?

Join Us as a Local Community Builder!

Passionate about hosting events and connecting people? Help us grow a vibrant local community—sign up today to get started!

Sign Up Now