-
If buffer event in memory or disk will write to sink before k8s pod shutdown? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hi @linnaname ! When using When using Hope this helps! Let me know if you have any additional questions. |
Beta Was this translation helpful? Give feedback.
Hi @linnaname !
When using
in-memory
buffers, Vector will attempt to flush them before shutting down. There is a grace period of 60 seconds. After that, Vector will shutdown and drop any events that were still in-memory.When using
disk
buffers, events are buffered to disk as the sink receives them. When shutting down, all events in-flight (in memory) from the source to the sink should be written to the disk buffer. The disk buffer will also attempt to flush events to the sink for up to 60 seconds before fulling shutting down.Hope this helps! Let me know if you have any additional questions.