Skip to content

The batch operator controls the batch size of events.

batch [limit:int, timeout=duration]

The batch operator takes its input and rewrites it into batches of up to the desired size.

Note that the operator maintains separate buffers for each distinct schema. Each buffer has independent timeout tracking and fills until reaching the limit, at which point it flushes immediately.

How many events to put into one batch at most.

Defaults to 65536.

Specifies a maximum latency for events passing through the batch operator. If no new events arrive within the timeout period, any buffered events are flushed.

Defaults to 1min.

Last updated: