Skip to content

Commit 8590c85

Browse files
Merge pull request #2010 from jcantrill/1886856
Bug 1886856: Add typhoeus for keep-alives in elasticsearch plugin
2 parents 690a90b + 8c837d9 commit 8590c85

File tree

213 files changed

+16679
-2
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

213 files changed

+16679
-2
lines changed

fluentd/Gemfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,11 @@ gem 'fluent-plugin-systemd'
1414
gem 'fluent-plugin-remote-syslog'
1515
gem 'fluent-plugin-prometheus'
1616
gem 'fluent-plugin-splunk-hec'
17+
gem 'typhoeus'
1718

1819
#Below gem(and two of its dependencies) are moved to O_A_L/fluentd/lib, but its dependencies still exist in O_A_L/fluentd/vendored_gem_src/
1920
#gem 'fluent-plugin-remote_syslog', '1.0.0'
2021

2122
gem 'ffi', '1.11.3'
2223
gem 'uuidtools', '2.1.5'
24+
gem 'rake'

fluentd/Gemfile.lock

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ GEM
1919
elasticsearch-transport (7.8.0)
2020
faraday (~> 1)
2121
multi_json
22+
ethon (0.12.0)
23+
ffi (>= 1.3.0)
2224
excon (0.75.0)
2325
faraday (1.0.1)
2426
multipart-post (>= 1.2, < 3)
@@ -129,6 +131,8 @@ GEM
129131
systemd-journal (1.3.3)
130132
ffi (~> 1.9)
131133
to_regexp (0.2.1)
134+
typhoeus (1.4.0)
135+
ethon (>= 0.9.0)
132136
tzinfo (2.0.2)
133137
concurrent-ruby (~> 1.0)
134138
tzinfo-data (1.2020.1)
@@ -159,6 +163,8 @@ DEPENDENCIES
159163
fluent-plugin-splunk-hec
160164
fluent-plugin-systemd
161165
fluentd (= 1.7.4)!
166+
rake
167+
typhoeus
162168
uuidtools (= 2.1.5)
163169

164170
BUNDLED WITH

fluentd/rh-manifest.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ rubygem-domain_name 0.5.20190701 https://github.com/knu/ruby-domain_name
2020
rubygem-elasticsearch 7.8.0 https://www.elastic.co/guide/en/elasticsearch/client/ruby-api/7.x/index.html
2121
rubygem-elasticsearch-api 7.8.0 https://www.elastic.co/guide/en/elasticsearch/client/ruby-api/7.x/index.html
2222
rubygem-elasticsearch-transport 7.8.0 https://www.elastic.co/guide/en/elasticsearch/client/ruby-api/7.x/index.html
23+
rubygem-ethon 0.12.0 https://github.com/typhoeus/ethon
2324
rubygem-excon 0.75.0 https://github.com/excon/excon
2425
rubygem-faraday 1.0.1 https://lostisland.github.io/faraday
2526
rubygem-ffi 1.11.3 https://github.com/ffi/ffi/wiki
@@ -53,6 +54,7 @@ rubygem-rest-client 2.1.0 https://github.com/rest-client/rest-client
5354
rubygem-sigdump 0.2.4 https://github.com/frsyuki/sigdump
5455
rubygem-syslog_protocol 0.9.2 https://github.com/eric/syslog_protocol
5556
rubygem-systemd-journal 1.3.3 https://github.com/ledbettj/systemd-journal
57+
rubygem-typhoeus 1.4.0 https://github.com/typhoeus/typhoeus
5658
rubygem-tzinfo 2.0.2 https://tzinfo.github.io
5759
rubygem-tzinfo-data 1.2020.1 https://tzinfo.github.io
5860
rubygem-unf 0.1.4 https://github.com/knu/ruby-unf

fluentd/vendored_gem_src/ethon/.rspec

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
--tty
2+
--color
3+
--format documentation
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
language: ruby
2+
cache: bundler
3+
sudo: false
4+
5+
bundler_args: --without perf
6+
script: bundle exec rake
7+
before_install:
8+
- gem install bundler
9+
10+
rvm:
11+
- 1.8.7
12+
- 1.9.2
13+
- 1.9.3
14+
- 2.0.0-p648
15+
- 2.1.10
16+
- 2.2.10
17+
- 2.3.7
18+
- 2.4.4
19+
- 2.5.1
20+
- ruby-head
21+
- ree
22+
- jruby-18mode
23+
- jruby-19mode
24+
- jruby-head
25+
26+
matrix:
27+
allow_failures:
28+
- rvm: ree
29+
- rvm: ruby-head
30+
- rvm: jruby-head

0 commit comments

Comments
 (0)