fluent-plugin-s3 1.8.0 → 1.8.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ChangeLog +4 -0
- data/VERSION +1 -1
- data/fluent-plugin-s3.gemspec +1 -1
- data/lib/fluent/plugin/s3_compressor_zstd.rb +9 -3
- metadata +16 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f4d7487f86806d6cf37414ff6e6654658bc42e93c4608029b5e10aba358558f0
|
4
|
+
data.tar.gz: b93f2ad6a077006a8185485a8d3239d9c9eafb68fcb1eb19bdcb95b94f3da7d0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1357ea41f8d7878ce4f71b40ef7bd8b53d8d57216264df2ffa5a433b46132628d48d5b8bbb7ffd52436d1f703a1072ec2e3e99d6a509ae6dd955c57934463534
|
7
|
+
data.tar.gz: ee4c93f4c3423e7e55962980ad8980b819fa3f206096e5ffd463a658946f3ab82079ad3650f7d88775d53471ebdc3b07bc1cc8a7c20123c04bcea5b0abdf0161
|
data/ChangeLog
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.8.
|
1
|
+
1.8.1
|
data/fluent-plugin-s3.gemspec
CHANGED
@@ -19,7 +19,6 @@ Gem::Specification.new do |gem|
|
|
19
19
|
gem.add_dependency "fluentd", [">= 0.14.22", "< 2"]
|
20
20
|
gem.add_dependency "aws-sdk-s3", "~> 1.60"
|
21
21
|
gem.add_dependency "aws-sdk-sqs", "~> 1.23"
|
22
|
-
gem.add_dependency 'zstd-ruby'
|
23
22
|
gem.add_development_dependency "rake", ">= 0.9.2"
|
24
23
|
gem.add_development_dependency "test-unit", ">= 3.0.8"
|
25
24
|
gem.add_development_dependency "test-unit-rr", ">= 1.0.3"
|
@@ -27,4 +26,5 @@ Gem::Specification.new do |gem|
|
|
27
26
|
# aws-sdk-core requires one of ox, oga, libxml, nokogiri or rexml,
|
28
27
|
# and rexml is no longer default gem as of Ruby 3.0.
|
29
28
|
gem.add_development_dependency "rexml"
|
29
|
+
gem.add_development_dependency "zstd-ruby"
|
30
30
|
end
|
@@ -1,5 +1,3 @@
|
|
1
|
-
require 'zstd-ruby'
|
2
|
-
|
3
1
|
module Fluent::Plugin
|
4
2
|
class S3Output
|
5
3
|
class ZstdCompressor < Compressor
|
@@ -10,6 +8,14 @@ module Fluent::Plugin
|
|
10
8
|
config_param :level, :integer, default: 3
|
11
9
|
end
|
12
10
|
|
11
|
+
def initialize(opts = {})
|
12
|
+
super
|
13
|
+
require 'zstd-ruby'
|
14
|
+
rescue LoadError => e
|
15
|
+
log.error "failed to load zstd-ruby gem. You need to manually install 'zstd-ruby' gem to use 'zstd'.", error: e.message
|
16
|
+
raise Fluent::ConfigError, "failed to load 'zstd-ruby' gem"
|
17
|
+
end
|
18
|
+
|
13
19
|
def ext
|
14
20
|
'zst'.freeze
|
15
21
|
end
|
@@ -27,4 +33,4 @@ module Fluent::Plugin
|
|
27
33
|
end
|
28
34
|
end
|
29
35
|
end
|
30
|
-
end
|
36
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fluent-plugin-s3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.8.
|
4
|
+
version: 1.8.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sadayuki Furuhashi
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2024-11-
|
12
|
+
date: 2024-11-15 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: fluentd
|
@@ -59,20 +59,6 @@ dependencies:
|
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: '1.23'
|
62
|
-
- !ruby/object:Gem::Dependency
|
63
|
-
name: zstd-ruby
|
64
|
-
requirement: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - ">="
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: '0'
|
69
|
-
type: :runtime
|
70
|
-
prerelease: false
|
71
|
-
version_requirements: !ruby/object:Gem::Requirement
|
72
|
-
requirements:
|
73
|
-
- - ">="
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version: '0'
|
76
62
|
- !ruby/object:Gem::Dependency
|
77
63
|
name: rake
|
78
64
|
requirement: !ruby/object:Gem::Requirement
|
@@ -143,6 +129,20 @@ dependencies:
|
|
143
129
|
- - ">="
|
144
130
|
- !ruby/object:Gem::Version
|
145
131
|
version: '0'
|
132
|
+
- !ruby/object:Gem::Dependency
|
133
|
+
name: zstd-ruby
|
134
|
+
requirement: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ">="
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0'
|
139
|
+
type: :development
|
140
|
+
prerelease: false
|
141
|
+
version_requirements: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - ">="
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '0'
|
146
146
|
description: Amazon S3 output plugin for Fluentd event collector
|
147
147
|
email: frsyuki@gmail.com
|
148
148
|
executables: []
|