You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
input: make input threads ring_buffer capacity and window flush configurable
Input plugins running in threaded mode use a per-instance ring buffer to enqueue records into
the pipeline, which are then consumed by the engine. By default, each ring buffer is sized for
1024 entries.
In high-throughput scenarios, the default capacity may not be sufficient. This patch introduces two
new configuration options to allow fine-tuning of the ring buffer behavior per input plugin:
- thread.ring_buffer.capacity: Sets the maximum number of entries the ring buffer can hold (default: 1024).
- thread.ring_buffer.window: Sets the flush window as a percentage of capacity, used to trigger a flush
request when the threshold is reached (default: 5).
Signed-off-by: Eduardo Silva <[email protected]>
0 commit comments