driskell / log-courier

The Log Courier Suite is a set of lightweight tools created to ship and process log files speedily and securely, with low resource usage, to Elasticsearch or Logstash instances.
Other
419 stars 107 forks source link

TCP streaming receiver aborts if too many events received #402

Open driskell opened 1 year ago

driskell commented 1 year ago

The TCP streaming receiver in 2.10.0 aborts connections if they send too much data. This is normally part of the courier protocol where a client won't send more than X amount of events without acknowledgement. But with a streaming receiver there is no acknowledgement. So it should ideally handle acknowledgement server-side and simply stop reading whilst there are unacknowledged events.