fluent-plugin-mqtt-io 0.3.7 → 0.3.8
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 -2
- data/fluent-plugin-mqtt-io.gemspec +1 -1
- data/lib/fluent/plugin/in_mqtt.rb +5 -2
- data/lib/fluent/plugin/out_mqtt.rb +7 -0
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ea9384521f10b7caf8a29d7e1fc0e232e9a3a1c7
|
|
4
|
+
data.tar.gz: 0f656339bd4d72eb7a9b4bb1c2303994a532b8e2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 52eabe67a7a94c3dd93d9bdc831fd226cafb990eb3c37df4dd652fc73161c801231f4aa84036506597b20b4f7b0a9711b85325977df6b87e6f3d9c065298a3c6
|
|
7
|
+
data.tar.gz: a7df1e0b1bd500eb83b7382249b12e3c48007713e4d3369e80eeb5214fa89931597e4db877dc7902c0325f6e8fedc4077551c916e5c36e470c6eab5875d22f93
|
data/README.md
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
# Fluent::Plugin::Mqtt::IO
|
|
2
2
|
|
|
3
|
-
Fluent plugin for MQTT Input/Output
|
|
3
|
+
Fluent plugin for MQTT Input/Output.
|
|
4
4
|
Mqtt::IO Plugin is deeply inspired by Fluent::Plugin::Mqtt.
|
|
5
5
|
|
|
6
6
|
https://github.com/yuuna/fluent-plugin-mqtt
|
|
7
7
|
|
|
8
|
-
Mqtt::IO plugin focus on federating components, e.g. sensors, messaging platform and databases. Encryption/
|
|
8
|
+
Mqtt::IO plugin focus on federating components, e.g. sensors, messaging platform and databases. Encryption/Decryption is not supported in this plugin but [fluent-plugin-jwt-filter](https://github.com/toyokazu/fluent-plugin-jwt-filter) can be used to encrypt/decrypt messages using JSON Web Token technology.
|
|
9
9
|
|
|
10
10
|
## Installation
|
|
11
11
|
|
|
@@ -14,8 +14,11 @@ module Fluent::Plugin
|
|
|
14
14
|
|
|
15
15
|
desc 'The topic to subscribe.'
|
|
16
16
|
config_param :topic, :string, default: '#'
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
|
|
18
|
+
config_section :parse do
|
|
19
|
+
desc 'The format to receive.'
|
|
20
|
+
config_param :@type, :string, default: 'none'
|
|
21
|
+
end
|
|
19
22
|
|
|
20
23
|
# bulk_trans is deprecated
|
|
21
24
|
# multiple entries must be inputted as an Array
|
|
@@ -17,6 +17,13 @@ module Fluent::Plugin
|
|
|
17
17
|
desc 'Topic rewrite replacement string.'
|
|
18
18
|
config_param :topic_rewrite_replacement, :string, default: nil
|
|
19
19
|
|
|
20
|
+
config_section :format do
|
|
21
|
+
desc 'The format to publish'
|
|
22
|
+
config_param :@type, :string, default: 'single_value'
|
|
23
|
+
desc 'Add newline'
|
|
24
|
+
config_param :add_newline, :bool, default: false
|
|
25
|
+
end
|
|
26
|
+
|
|
20
27
|
config_section :monitor, required: false, multi: false do
|
|
21
28
|
desc 'Recording send time for monitoring.'
|
|
22
29
|
config_param :send_time, :bool, default: false
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fluent-plugin-mqtt-io
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.8
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Toyokazu Akiyama
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: []
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-
|
|
11
|
+
date: 2017-12-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: fluentd
|
|
@@ -121,7 +121,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
121
121
|
version: '0'
|
|
122
122
|
requirements: []
|
|
123
123
|
rubyforge_project:
|
|
124
|
-
rubygems_version: 2.6.
|
|
124
|
+
rubygems_version: 2.6.13
|
|
125
125
|
signing_key:
|
|
126
126
|
specification_version: 4
|
|
127
127
|
summary: fluentd input/output plugin for mqtt broker
|