fluent-plugin-mqtt-io 0.3.7 → 0.3.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 89977224644dcad774041ad72c1a3e868d1465e3
4
- data.tar.gz: f184e0d4d53a03144a06d823ccc0393204b42629
3
+ metadata.gz: ea9384521f10b7caf8a29d7e1fc0e232e9a3a1c7
4
+ data.tar.gz: 0f656339bd4d72eb7a9b4bb1c2303994a532b8e2
5
5
  SHA512:
6
- metadata.gz: 214caaca65e46547aafba96dbb41aebe7bc1e5fa4e32f6d6e27482a3544b2044eb1bb85dfb91fbb25720f56e660cbdee2aa7d4c2e2856a3dedbe807749356028
7
- data.tar.gz: 5077577db2a50d71c970317b0ad4ee1daa08048099f2341ec8d2a9bd8bc03f23a61c24a02eb99eedf217d1a76cad90091e00e7a46a61f0203160fa0137a4802f
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/Decription 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.
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
 
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = "fluent-plugin-mqtt-io"
7
- spec.version = "0.3.7"
7
+ spec.version = "0.3.8"
8
8
  spec.authors = ["Toyokazu Akiyama"]
9
9
  spec.email = ["toyokazu@gmail.com"]
10
10
 
@@ -14,8 +14,11 @@ module Fluent::Plugin
14
14
 
15
15
  desc 'The topic to subscribe.'
16
16
  config_param :topic, :string, default: '#'
17
- desc 'The format to receive.'
18
- config_param :format, :string, default: 'json'
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.7
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-08-30 00:00:00.000000000 Z
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.8
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