Closed ph closed 9 years ago
@jsvd Can you test this? you need latest version of https://github.com/elastic/ruby-lumberjack/pull/9
@ph for clarification, this PR requires https://github.com/elastic/ruby-lumberjack/pull/9 be released first, right?
@jordansissel yes, https://github.com/elastic/ruby-lumberjack/pull/9 add support for bulk send which this PR need
code review done
@jordansissel Can I get a LGTM for this one? I'll squash after.
@ph will review shortly <3
Code + Test code looks good, will test shortly.
Can't build the gem:
ERROR: While executing gem ... (Gem::InvalidSpecificationException)
duplicate dependency on stud (>= 0, development), (>= 0) use:
add_runtime_dependency 'stud', '>= 0', '>= 0'
Confirmed tests passing for me
Tested perf is 2x (eyeballing it with pv -War
) with this patch (3k/sec -> 6k/sec). We can probably improve further but this is a lovely start :)
Merged sucessfully into master!
This PR introduce the
bulk
send feature of the ruby client and add a local buffer inside this plugin. Theses changes make the plugin closer to the LSF behavior.