fluent-plugin-rabbitmq 0.0.7 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/Rakefile +1 -1
- data/fluent-plugin-rabbitmq.gemspec +2 -2
- data/lib/fluent/plugin/in_rabbitmq.rb +5 -1
- data/lib/fluent/plugin/out_rabbitmq.rb +0 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bb39b34d1e433753ccc9147fb471c96eca6a99c683529711be46556224fe8efd
|
4
|
+
data.tar.gz: 0e5339fbc5edf3e1e37d22a7e8cd6b49fcf8a7a28e374e8cfbf7ad9ed4acac13
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c1c6d8e9987b7d52e72137c2e63af0c63290c0bad884a4aa277ea744bbac54c7b761f25da41349e423f945e08f918be20277f6436303f3c66c91f1bea2207782
|
7
|
+
data.tar.gz: f935b733e4fe986cf17d190d1eccc002c08507254c2a4cb82f0a50c321411474368e31dfe86947bc83c30d94084926b3e8263aa78a990db5f26553d6fbd64ac7
|
data/.gitignore
CHANGED
data/Rakefile
CHANGED
@@ -3,7 +3,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
3
3
|
|
4
4
|
Gem::Specification.new do |spec|
|
5
5
|
spec.name = "fluent-plugin-rabbitmq"
|
6
|
-
spec.version = "0.0.
|
6
|
+
spec.version = "0.0.9"
|
7
7
|
spec.authors = ["NTT Communications"]
|
8
8
|
spec.email = ["masaki.matsushita@ntt.com"]
|
9
9
|
|
@@ -23,5 +23,5 @@ Gem::Specification.new do |spec|
|
|
23
23
|
|
24
24
|
spec.add_runtime_dependency "fluentd", ">= 0.14.0"
|
25
25
|
|
26
|
-
spec.add_dependency "bunny", "~> 2.14.
|
26
|
+
spec.add_dependency "bunny", "~> 2.14.4"
|
27
27
|
end
|
@@ -68,7 +68,9 @@ module Fluent::Plugin
|
|
68
68
|
config_param :ttl, :integer, default: nil
|
69
69
|
|
70
70
|
config_param :include_headers, :bool, default: false
|
71
|
+
config_param :include_delivery_info, :bool, default: false
|
71
72
|
config_param :headers_key, :string, default: "headers"
|
73
|
+
config_param :delivery_info_key, :string, default: "delivery_info"
|
72
74
|
|
73
75
|
def initialize
|
74
76
|
super
|
@@ -94,7 +96,6 @@ module Fluent::Plugin
|
|
94
96
|
bunny_options[:recovery_attempts] = @recovery_attempts
|
95
97
|
bunny_options[:auth_mechanism] = @auth_mechanism if @auth_mechanism
|
96
98
|
bunny_options[:heartbeat] = @heartbeat if @heartbeat
|
97
|
-
bunny_options[:logger] = log
|
98
99
|
|
99
100
|
bunny_options[:tls] = @tls
|
100
101
|
bunny_options[:tls_cert] = @tls_cert if @tls_cert
|
@@ -144,6 +145,9 @@ module Fluent::Plugin
|
|
144
145
|
if @include_headers
|
145
146
|
record[@headers_key] = properties.headers
|
146
147
|
end
|
148
|
+
if @include_delivery_info
|
149
|
+
record[@delivery_info_key] = delivery_info
|
150
|
+
end
|
147
151
|
router.emit(@tag, time, record)
|
148
152
|
end
|
149
153
|
end
|
@@ -89,7 +89,6 @@ module Fluent::Plugin
|
|
89
89
|
bunny_options[:recovery_attempts] = @recovery_attempts
|
90
90
|
bunny_options[:auth_mechanism] = @auth_mechanism if @auth_mechanism
|
91
91
|
bunny_options[:heartbeat] = @heartbeat if @heartbeat
|
92
|
-
bunny_options[:logger] = log
|
93
92
|
bunny_options[:frame_max] = @frame_max if @frame_max
|
94
93
|
|
95
94
|
bunny_options[:tls] = @tls
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fluent-plugin-rabbitmq
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- NTT Communications
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-03-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -100,14 +100,14 @@ dependencies:
|
|
100
100
|
requirements:
|
101
101
|
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version: 2.14.
|
103
|
+
version: 2.14.4
|
104
104
|
type: :runtime
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
108
|
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version: 2.14.
|
110
|
+
version: 2.14.4
|
111
111
|
description: fluent plugin for rabbitmq (AMQP)
|
112
112
|
email:
|
113
113
|
- masaki.matsushita@ntt.com
|
@@ -144,7 +144,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
144
144
|
- !ruby/object:Gem::Version
|
145
145
|
version: '0'
|
146
146
|
requirements: []
|
147
|
-
rubygems_version: 3.
|
147
|
+
rubygems_version: 3.1.2
|
148
148
|
signing_key:
|
149
149
|
specification_version: 4
|
150
150
|
summary: fluent plugin for rabbitmq (AMQP)
|