Skip to content

Batching and Buffering - inter dependencies #12724

Discussion options

You must be logged in to vote

Hi @hemanthofficial3009 !

can you please elaborate on these parameters for buffering and batching

  1. how are related internally?

Buffering happens before batching. For disk buffers, the data will remain in the buffer until it has been processed by the sink and sent to the target.

  1. how do they behave when the max limits are met each of them?

For disk buffers, it will block by default meaning that it will propagate back-pressure up to any connected components. This behavior can be changed via configuring when_full. The only other option currently is drop_newest which will drop new events when the buffer is full.

For batches, when the batch is full it will be flushed downstream.

  1. data t…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jszwedko
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants