Tags: robbavey/logstash-input-http
Tags
bump to 3.3.0 (logstash-plugins#107) Co-Authored-By: jsvd <jsvd@users.noreply.github.com>
Merge pull request logstash-plugins#102 from yaauie/loosen-jar-deps-d… …ependency loosen jar-dependencies gem requirements to support newer jrubies
replace Puma with Netty Implement an HTTP Server with Netty, replacing Puma. This new implementation produces an identical event structure as before and provides the same keystore mechanisms for TLS so it doesn't break bwc. To deal with backpressure, this implementation provides two thread pools of size :threads. One is responsible for accepting connections, reading http requests from the established channels and pushing them into an ArrayBlockingQueue. The other takes requests from the queue, processes them and pushes them to the logstash queue.
Prevent file descriptor leaks by limiting the max number of connectio… …ns with un-returned responses. This plugin currently leaks file descriptors. This patch prevents that by changing the behavior such that when all but one webserver threads are occupied a 429 error will be immediately returned. This means that in the event of a blocked queue we will have one thread available to reject all new attempts to write. This isn't perfect, we need queue write timeouts to do this well, but it's a decent short term fix. Fixes logstash-plugins#75
PreviousNext