fluent-plugin-rabbitmq 0.1.6 → 0.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +2 -0
- data/fluent-plugin-rabbitmq.gemspec +1 -1
- data/lib/fluent/plugin/in_rabbitmq.rb +5 -0
- data/lib/fluent/plugin/out_rabbitmq.rb +5 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b176f575d9bab4d2bb68bff2a8790e88df1c0f7df266ee0f725f364e14e49c47
|
|
4
|
+
data.tar.gz: 73484875820d9c48ab7c828f49f43e31ec4c067a34dc3b549fe72d9cc261e0e6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c0c82dbfd41cd7aa0b4ff3642580896c2449dbcf905e77ce2aff0ad5a6ccc5a9f78a167a222e61698b99f4d2c10e98b143beb1e975f41ee0ce8031db52e499b6
|
|
7
|
+
data.tar.gz: 043bc89bb9df0097943a88fdfa9bc1da3b45b4030fa8636fdd16bdb8626492c92c9c59ed5d296d6bc7f4d112dc5f76c7d94c7fcdaf9f6099b8e5d349c49a8d55
|
data/README.md
CHANGED
|
@@ -113,6 +113,8 @@ tls_cert /path/to/cert
|
|
|
113
113
|
tls_key /path/to/key
|
|
114
114
|
tls_ca_certificates ["/path/to/ca_certificate"]
|
|
115
115
|
verify_peer true
|
|
116
|
+
tls_protocol TLSv1_3 # pin a TLS version instead of negotiating, e.g. TLSv1_2 or TLSv1_3
|
|
117
|
+
tls_silence_warnings false # suppress Bunny's warnings about a missing client certificate and disabled peer verification
|
|
116
118
|
```
|
|
117
119
|
|
|
118
120
|
### Other Configurations for Input/Output
|
|
@@ -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.1.
|
|
6
|
+
spec.version = "0.1.7"
|
|
7
7
|
spec.authors = ["NTT DOCOMO BUSINESS"]
|
|
8
8
|
spec.email = ["masaki.matsushita@ntt.com"]
|
|
9
9
|
|
|
@@ -60,6 +60,8 @@ module Fluent::Plugin
|
|
|
60
60
|
config_param :tls_key, :string, default: nil
|
|
61
61
|
config_param :tls_ca_certificates, :array, default: nil
|
|
62
62
|
config_param :verify_peer, :bool, default: true
|
|
63
|
+
config_param :tls_protocol, :string, default: nil
|
|
64
|
+
config_param :tls_silence_warnings, :bool, default: nil
|
|
63
65
|
|
|
64
66
|
config_param :queue, :string
|
|
65
67
|
config_param :durable, :bool, default: false
|
|
@@ -109,6 +111,9 @@ module Fluent::Plugin
|
|
|
109
111
|
bunny_options[:tls_key] = @tls_key if @tls_key
|
|
110
112
|
bunny_options[:tls_ca_certificates] = @tls_ca_certificates if @tls_ca_certificates
|
|
111
113
|
bunny_options[:verify_peer] = @verify_peer
|
|
114
|
+
# Bunny resolves the version against a table keyed by symbols, e.g. :TLSv1_3
|
|
115
|
+
bunny_options[:tls_protocol] = @tls_protocol.to_sym if @tls_protocol
|
|
116
|
+
bunny_options[:tls_silence_warnings] = @tls_silence_warnings unless @tls_silence_warnings.nil?
|
|
112
117
|
|
|
113
118
|
@parser = parser_create
|
|
114
119
|
|
|
@@ -48,6 +48,8 @@ module Fluent::Plugin
|
|
|
48
48
|
config_param :tls_key, :string, default: nil
|
|
49
49
|
config_param :tls_ca_certificates, :array, default: nil
|
|
50
50
|
config_param :verify_peer, :bool, default: true
|
|
51
|
+
config_param :tls_protocol, :string, default: nil
|
|
52
|
+
config_param :tls_silence_warnings, :bool, default: nil
|
|
51
53
|
|
|
52
54
|
config_param :exchange, :string
|
|
53
55
|
config_param :exchange_type, :string
|
|
@@ -96,6 +98,9 @@ module Fluent::Plugin
|
|
|
96
98
|
bunny_options[:tls_key] = @tls_key if @tls_key
|
|
97
99
|
bunny_options[:tls_ca_certificates] = @tls_ca_certificates if @tls_ca_certificates
|
|
98
100
|
bunny_options[:verify_peer] = @verify_peer
|
|
101
|
+
# Bunny resolves the version against a table keyed by symbols, e.g. :TLSv1_3
|
|
102
|
+
bunny_options[:tls_protocol] = @tls_protocol.to_sym if @tls_protocol
|
|
103
|
+
bunny_options[:tls_silence_warnings] = @tls_silence_warnings unless @tls_silence_warnings.nil?
|
|
99
104
|
|
|
100
105
|
@bunny = Bunny.new(bunny_options)
|
|
101
106
|
|