fluentd-forwarder
fluentd-forwarder copied to clipboard
CLOSED_WAIT can cause lost messages
We were trying to figure out why we weren't getting messages sent through the fluent go proxy. The issue was intermittent and while the forwarder would say that it was sending those messages onto fluentd...they never arrived.
In the end, we discovered that the go proxy will occasionally go into a CLOSED_WAIT state when no messages are coming through for a while. The connection is 'eventually' closed, but everything that comes through this system while in a closed_wait state is lost.