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
Copy file name to clipboardexpand all lines: README.md
+6
Original file line number
Diff line number
Diff line change
@@ -121,6 +121,12 @@ The default is false.
121
121
When Async is enabled, immediately discard the event queue on close() and return (instead of trying MaxRetry times for each event in the queue before returning)
122
122
The default is false.
123
123
124
+
### AsyncResultCallback
125
+
126
+
When Async is enabled, if this is callback is provided, it will be called on every write to Fluentd. The callback function
127
+
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
128
+
delivery of the message was unsuccessful.
129
+
124
130
### SubSecondPrecision
125
131
126
132
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