fluent-plugin-kinesis-aggregation 0.3.2 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -2
- data/CHANGELOG.md +18 -0
- data/README.md +5 -3
- data/fluent-plugin-kinesis-aggregation.gemspec +10 -10
- data/test/plugin/test_out_kinesis-aggregation.rb +4 -1
- metadata +37 -25
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1bc82fd318fee781a14b29e485dec21236c10e364dba3bb08d0ed202937675ad
|
4
|
+
data.tar.gz: 7c0151c0c366c8ff7973b9b1d53a3a54a2f0f11e30791f967447665ae519f081
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b3c8526000fa906d180e03e11c3544570fccc070d121dd09d0b6821df6823087a902b31663e52589f0fb86b9c0115371e359cb6fbdd0ced075feb08f2d527b4a
|
7
|
+
data.tar.gz: a77ed3653d991b1bfd675a54fa07c068f32523eb3e9f1868fd87cfb16769d59cc30c96e909ee763c7fe4e5272f44649ac0dca71f37ecdd425bd96f173a0b7dd0
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,23 @@
|
|
1
1
|
# CHANGELOG
|
2
2
|
|
3
|
+
## 0.4.1
|
4
|
+
|
5
|
+
- Update dependency google-protobuf to require versions newer than 3.12.0; older versions are incompatible with td-agent v4
|
6
|
+
|
7
|
+
## 0.4.0
|
8
|
+
|
9
|
+
- Update dependencies to support td-agent v4 ([td-agent v3 is EOL](https://www.fluentd.org/blog/schedule-for-td-agent-3-eol)); if you need td-agent v3 support, use 0.3.x from rubygems
|
10
|
+
- Drop testing and support for Ruby versions less than 2.7 (version embedded with td-agent v4)
|
11
|
+
|
12
|
+
## 0.3.4
|
13
|
+
|
14
|
+
- aws-sdk-kinesis 1.24 is missing a dependency from a newer version of the aws-sdk-core gem; 1.24 has been yanked and 1.24.1 has been released with the fix, but just in case 1.24 has already been installed/cached anywhere, add it to the list of excluded versions.
|
15
|
+
- Previously, we pinned google-protobuf to 3.11.x because 3.12 required Ruby >=2.5 (and td-agent ships with Ruby 2.4 embedded). google-protobuf 3.12.1 restores support for Ruby 2.3 and 2.4, so we can relax our pinning for this dependency a bit by requiring versions greater than 3.12.
|
16
|
+
|
17
|
+
## 0.3.3
|
18
|
+
|
19
|
+
- Dependency google-protobuf 3.12.0 dropped support for Ruby <2.5; td-agent3 bundles Ruby 2.4, so google-protobuf is now pinned to 3.11.x.
|
20
|
+
|
3
21
|
## 0.3.2
|
4
22
|
|
5
23
|
- Modify aws-sdk usage to require just the API/SDK resources for Kinesis
|
data/README.md
CHANGED
@@ -53,7 +53,7 @@ This plugin is available as the `fluent-plugin-kinesis-aggregation` gem from Rub
|
|
53
53
|
|
54
54
|
Or, if using td-agent:
|
55
55
|
|
56
|
-
|
56
|
+
td-agent-gem install fluent-plugin-kinesis-aggregation
|
57
57
|
|
58
58
|
To install from the source:
|
59
59
|
|
@@ -74,8 +74,10 @@ specify the library path via RUBYLIB:
|
|
74
74
|
|
75
75
|
## Dependencies
|
76
76
|
|
77
|
-
* Ruby 2.
|
78
|
-
* Fluentd
|
77
|
+
* Ruby 2.7+
|
78
|
+
* Fluentd 1+
|
79
|
+
|
80
|
+
If you need td-agent v3 support, use version 0.3.x on rubygems. If you need td-agent v2 support (or fluentd 0.10 or 0.12 support), use the fluentd-v0.12 branch or version 0.2.x on rubygems.
|
79
81
|
|
80
82
|
## Basic Usage
|
81
83
|
|
@@ -17,9 +17,9 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
17
17
|
|
18
18
|
Gem::Specification.new do |spec|
|
19
19
|
spec.name = "fluent-plugin-kinesis-aggregation"
|
20
|
-
spec.version = '0.
|
20
|
+
spec.version = '0.4.1'
|
21
21
|
spec.author = 'Atlassian'
|
22
|
-
spec.email = '
|
22
|
+
spec.email = 'lgoolsbee@atlassian.com'
|
23
23
|
spec.summary = %q{Fluentd output plugin that sends KPL style aggregated events to Amazon Kinesis.}
|
24
24
|
spec.homepage = "https://github.com/atlassian/fluent-plugin-kinesis-aggregation"
|
25
25
|
spec.license = "Apache-2.0"
|
@@ -28,14 +28,14 @@ Gem::Specification.new do |spec|
|
|
28
28
|
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
29
29
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
30
30
|
spec.require_paths = ["lib"]
|
31
|
-
spec.required_ruby_version = '>= 2.
|
31
|
+
spec.required_ruby_version = '>= 2.7'
|
32
32
|
|
33
|
-
spec.add_development_dependency "bundler", "
|
34
|
-
spec.add_development_dependency "rake", "
|
35
|
-
spec.add_development_dependency "test-unit", "
|
36
|
-
spec.add_development_dependency "test-unit-rr", "
|
33
|
+
spec.add_development_dependency "bundler", "~> 2"
|
34
|
+
spec.add_development_dependency "rake", "~> 13"
|
35
|
+
spec.add_development_dependency "test-unit", "~> 3"
|
36
|
+
spec.add_development_dependency "test-unit-rr", "~> 1"
|
37
37
|
|
38
|
-
spec.add_dependency "fluentd", ["
|
39
|
-
spec.add_dependency "aws-sdk-kinesis", "~> 1", "!= 1.4", "!= 1.5", "!= 1.14"
|
40
|
-
spec.add_dependency "google-protobuf", "~> 3"
|
38
|
+
spec.add_dependency "fluentd", ["~> 1", "< 2"]
|
39
|
+
spec.add_dependency "aws-sdk-kinesis", "~> 1", "!= 1.4", "!= 1.5", "!= 1.14", "!= 1.24"
|
40
|
+
spec.add_dependency "google-protobuf", "~> 3", ">= 3.12.1"
|
41
41
|
end
|
@@ -134,7 +134,10 @@ class KinesisOutputTest < Test::Unit::TestCase
|
|
134
134
|
buffer_chunk_limit 100k
|
135
135
|
EOS
|
136
136
|
|
137
|
-
|
137
|
+
begin
|
138
|
+
d.run(default_tag: "test")
|
139
|
+
rescue Aws::Errors::NoSuchProfileError
|
140
|
+
end
|
138
141
|
end
|
139
142
|
|
140
143
|
def test_load_client_with_role_arn
|
metadata
CHANGED
@@ -1,78 +1,78 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fluent-plugin-kinesis-aggregation
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Atlassian
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-02-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '2'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '2'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '13'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - "
|
38
|
+
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
40
|
+
version: '13'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: test-unit
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - "
|
45
|
+
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 3
|
47
|
+
version: '3'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - "
|
52
|
+
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 3
|
54
|
+
version: '3'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: test-unit-rr
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - "
|
59
|
+
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 1
|
61
|
+
version: '1'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- - "
|
66
|
+
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: 1
|
68
|
+
version: '1'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: fluentd
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- - "
|
73
|
+
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version:
|
75
|
+
version: '1'
|
76
76
|
- - "<"
|
77
77
|
- !ruby/object:Gem::Version
|
78
78
|
version: '2'
|
@@ -80,9 +80,9 @@ dependencies:
|
|
80
80
|
prerelease: false
|
81
81
|
version_requirements: !ruby/object:Gem::Requirement
|
82
82
|
requirements:
|
83
|
-
- - "
|
83
|
+
- - "~>"
|
84
84
|
- !ruby/object:Gem::Version
|
85
|
-
version:
|
85
|
+
version: '1'
|
86
86
|
- - "<"
|
87
87
|
- !ruby/object:Gem::Version
|
88
88
|
version: '2'
|
@@ -102,6 +102,9 @@ dependencies:
|
|
102
102
|
- - "!="
|
103
103
|
- !ruby/object:Gem::Version
|
104
104
|
version: '1.14'
|
105
|
+
- - "!="
|
106
|
+
- !ruby/object:Gem::Version
|
107
|
+
version: '1.24'
|
105
108
|
type: :runtime
|
106
109
|
prerelease: false
|
107
110
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -118,6 +121,9 @@ dependencies:
|
|
118
121
|
- - "!="
|
119
122
|
- !ruby/object:Gem::Version
|
120
123
|
version: '1.14'
|
124
|
+
- - "!="
|
125
|
+
- !ruby/object:Gem::Version
|
126
|
+
version: '1.24'
|
121
127
|
- !ruby/object:Gem::Dependency
|
122
128
|
name: google-protobuf
|
123
129
|
requirement: !ruby/object:Gem::Requirement
|
@@ -125,6 +131,9 @@ dependencies:
|
|
125
131
|
- - "~>"
|
126
132
|
- !ruby/object:Gem::Version
|
127
133
|
version: '3'
|
134
|
+
- - ">="
|
135
|
+
- !ruby/object:Gem::Version
|
136
|
+
version: 3.12.1
|
128
137
|
type: :runtime
|
129
138
|
prerelease: false
|
130
139
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -132,8 +141,11 @@ dependencies:
|
|
132
141
|
- - "~>"
|
133
142
|
- !ruby/object:Gem::Version
|
134
143
|
version: '3'
|
144
|
+
- - ">="
|
145
|
+
- !ruby/object:Gem::Version
|
146
|
+
version: 3.12.1
|
135
147
|
description:
|
136
|
-
email:
|
148
|
+
email: lgoolsbee@atlassian.com
|
137
149
|
executables: []
|
138
150
|
extensions: []
|
139
151
|
extra_rdoc_files: []
|
@@ -164,14 +176,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
164
176
|
requirements:
|
165
177
|
- - ">="
|
166
178
|
- !ruby/object:Gem::Version
|
167
|
-
version: '2.
|
179
|
+
version: '2.7'
|
168
180
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
169
181
|
requirements:
|
170
182
|
- - ">="
|
171
183
|
- !ruby/object:Gem::Version
|
172
184
|
version: '0'
|
173
185
|
requirements: []
|
174
|
-
rubygems_version: 3.
|
186
|
+
rubygems_version: 3.1.6
|
175
187
|
signing_key:
|
176
188
|
specification_version: 4
|
177
189
|
summary: Fluentd output plugin that sends KPL style aggregated events to Amazon Kinesis.
|