Vector Sink - Batch & Buffer #10558
-
Hello, As part of our use case, we would like to have the buffering and batching of log events. It would be really helpful if someone could explain in details few things related to Batching and Buffering of the log event provided by Vector. Buffer:
Batch
Can we use Buffer and Batching together in the same sink? If yes please refer to the following config file : [sinks.forward] When tried to implement, we are facing the following error : Any references to topics related to batching and buffering for vector sinks would be of great help. Thanks alot, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
Hi @hemanthofficial3009 ! Good questions.
Each sink has their own independent buffer which can be configured at the sink level with the options you linked to.
This depends on the amount of available memory and how many batches you expect to have in-flight. Assuming
You can, but you are running into an issue because the when using You can, however, opt into version |
Beta Was this translation helpful? Give feedback.
Hi @hemanthofficial3009 !
Good questions.
Each sink has their own independent buffer which can be configured at the sink level with the options you linked to.
This depends on the amount of available memory and how many batches you expect to have in-flight.
Assuming
version
2
of thevector
sink (see below; you are currently usingversion
1
which does not support batching), there is no batch partitioning, so there will simply be 1 batch per outbound request. There can be concurrent outbound …