
Explanation:
trigger(availableNow=True) is the recommended approach for processing all available data in a streaming source and then stopping the query. It provides the same semantics as Trigger.Once but allows for better scalability because it can process the data in multiple micro-batches instead of forcing it all into a single micro-batch.
Ultimate access to all questions.
A
trigger(continuous=True)
B
trigger(once=False)
C
trigger(availableNow=True)
D
trigger(processingTime='10 seconds')
No comments yet.