All Products
Search
Document Center

Function Compute:BatchWindow

Last Updated:Sep 19, 2024
ParameterTypeDescriptionExample
object

The batch window configurations.

CountBasedWindowlong

The maximum number of events that are allowed in the batch window. When this threshold is reached, data in the window is pushed downstream. If multiple batch windows exist, data is pushed if triggering conditions are met in one of the windows.

100
TimeBasedWindowlong

The maximum period of time during which events are allowed in the batch window. Unit: seconds. When this threshold is reached, data in the window is pushed downstream. If multiple batch windows exist, data is pushed if triggering conditions are met in one of the windows.

10