Replies: 1 comment 6 replies
-
Yeah, that's a good question. It does seem like they should be wired up to the source shutdown signal. cc/ @spencergilbert @lukesteensen |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I found current codes of source
kubernetes_logs
spawn tokio task directly but not respect the shutdown signal:(https://github.com/vectordotdev/vector/blob/master/src/sources/kubernetes_logs/mod.rs#L310-L331)
And inside
custom_reflector
is an infinite loop, I wonder if it will cause tokio task leaks afterkubernetes_logs
config modified & reloads in-flight? - Source will destruct and rebuild, but previous reflector task doesn't respect the shutdown signal.Beta Was this translation helpful? Give feedback.
All reactions