An Azure real-time analytics service designed for mission-critical workloads.
Hi **Dhruv Singla,
**
Azure Stream Analytics decides when to use the “no incoming events” watermark formula based on the late arrival tolerance window, not on a fixed periodic timer and not on window definitions. While events are arriving, the watermark advances using event time (largest event time seen minus the out-of-order tolerance). When events stop arriving, the engine waits until the late arrival tolerance window elapses since the last observed event. After that point, ASA considers the input idle and advances the watermark using the current wall-clock time minus the late arrival tolerance window. In practice, if the last event arrived 5 minutes ago and the late arrival tolerance is smaller than that gap, ASA switches to the “no incoming event” formula and advances the watermark accordingly. This logic applies even if the query has no windows; windows only consume the watermark to decide when results can be finalized, they do not control when the watermark moves.
Reference Link :
Understand time handling in Azure Stream Analytics
Hope this helps. If you have any follow-up questions, please let me know. I would be happy to help.
If you feel that your quires have been resolved, please accept the answer by clicking the "Upvote" and "Accept Answer" on the post.