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
This adds a new option "AsyncReconnectInterval" that defines the
interval at which an async connection to FluentdHost is refreshed.
This option is useful when FluentdHost is backed by a service pool,
where a set of healthy Fluentd workers are managed dynamically
behind a host name.
Signed-off-by: Conor Evans <[email protected]>
Reviewed-by: Alex Hamlin <[email protected]>
Signed-off-by: Fujimoto Seiji <[email protected]>
Copy file name to clipboardExpand all lines: README.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -132,6 +132,11 @@ When Async is enabled, if this is callback is provided, it will be called on eve
132
132
takes two arguments - a `[]byte` of the message that was to be sent and an `error`. If the `error` is not nil this means the
133
133
delivery of the message was unsuccessful.
134
134
135
+
### AsyncReconnectInterval
136
+
When async is enabled, this option defines the interval (ms) at which the connection
137
+
to the fluentd-address is re-established. This option is useful if the address
138
+
may resolve to one or more IP addresses, e.g. a Consul service address.
139
+
135
140
### SubSecondPrecision
136
141
137
142
Enable time encoding as EventTime, which contains sub-second precision values. The messages encoded with this option can be received only by Fluentd v0.14 or later.
0 commit comments