You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Perhaps this is connected to #1280 and it seems like a general mistake in design.
A failed backend connection definitely must not prevent fluentd from starting at all.
/usr/lib/ruby/2.5.0/net/http.rb:939:in `rescue in block in connect': Failed to open TCP connection to couch:5984 (getaddrinfo: Try again) (SocketError)
from /usr/lib/ruby/2.5.0/net/http.rb:936:in `block in connect'
I am using the official Docker image fluent/fluentd:latest
Fluentd is widely used to fire-and-forget messages, often without really caring if some messages get lost.
It is a complete show-stopper if it refuses to start when backends are not available.
There should be a configuration switch to silently ignore outages and just warn on start, at least.
The text was updated successfully, but these errors were encountered:
There should be a configuration switch to silently ignore outages and just warn on start, at least.
This seems acceptable idea. Maybe, some plugins don't work when configure/start raises an error.
But if users reviewed the code and no problem, this behaviour is useful.
I'm actually afraid, this would result in not retrying connecting the backend ever.
If the buffer directive could be enhanced to accept connection errors and a configurable interval for retrying, that would be the best solution, I think.
If the buffer directive could be enhanced to accept connection errors and a configurable interval for retrying,
buffer can't help this situation. buffer is used after pipeline started.
fluentd stops for configure/start phase error because there are unrecoverable errors, e.g. incorrect host/port/authn/authz parameter. fluentd can't judge errors are configuration mistake or expected unreachable situation.
Adding @ignore_startup_error to help latter case.
Perhaps this is connected to #1280 and it seems like a general mistake in design.
A failed backend connection definitely must not prevent fluentd from starting at all.
I am using the official Docker image
fluent/fluentd:latest
Fluentd is widely used to fire-and-forget messages, often without really caring if some messages get lost.
It is a complete show-stopper if it refuses to start when backends are not available.
There should be a configuration switch to silently ignore outages and just warn on start, at least.
The text was updated successfully, but these errors were encountered: