fluent / fluent-logger-node

A structured logger for Fluentd (Node.js)
Apache License 2.0
259 stars 83 forks source link

[BUG] Emit callbacks are re-called when error with ack from Fluent #154

Closed mitsos1os closed 4 years ago

mitsos1os commented 4 years ago

When the sender is configured to accept an acknowledgement from server for each message, in case of an error, the given callbacks for each message are called twice.

One with the error signaling the failure, and one in the regular flow