-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Buffer support #8
Comments
No active plans for it. In high volume environments, it seems of limited use as any buffer would be almost immediately exhausted if the connection didn't recover quickly. If it does recover quickly, then the only message(s) lost now are for the current connection attempt. Fluent's event loop runs every 0.1sec, so after a failure, there's 100ms for the remote to recover before further messages have the potential to be discarded. For low log volumes, an argument could be made, but I'm hesitant to add too much complexity if that's the only use-case. I have in my notes to someday explore Fluent's buffered writes to see if Fluent could be made to take on the buffering, but I haven't confirmed whether it preserves or discards the current batch of messages upon an error. Even if it preserves and retries, I haven't evaluated that path for any other potential problems or added complexity. |
The default retry timeout is 72h https://docs.fluentd.org/configuration/buffer-section#retries-parameters |
Without Buffer, there is loss of logs if fluentd restarts. |
Hello, any plans to add buffering support? Without it the messages cannot be retried if the destination becomes temporary unavailable, which means that we will lose logs.
The text was updated successfully, but these errors were encountered: