fluent-plugin-mqtt-io 0.4.2 → 0.4.3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 57a1a03befc225ac307f35c2ad9d5043c5be180b
4
- data.tar.gz: 1b457000a1bfefa873c1e6fa7e576f0fc3a35870
2
+ SHA256:
3
+ metadata.gz: '038d3a9e41d33286c40ad620a7ac5a06a9a84772f0f7b3feaaed7426029b4579'
4
+ data.tar.gz: 80c13bcb8d7f88c917e196685f324cdd3868080966159ed7ae86a0e79f3f07e3
5
5
  SHA512:
6
- metadata.gz: 80d14876fb728ca4ec6ff0df74454cbba3d46d992fd13673b7f169eefca0b96e3b53c854a46cdc44f768c465134d01569441b4f964efaeb3ac1018993533c937
7
- data.tar.gz: 53fbdc544df75db543d8bdab4d5c8e49257efc991f97ffdf215e9ada7e032f3ee108884642f20a71f834dc35f37ee3ade264eec4eea7a0102e3c4fc2657cb787
6
+ metadata.gz: 0474f749940a2509eb219d188fc55fda04baa3ac482f64c9b99d2a89c2baf959c3a0275bf2013b8064f604edf4ed7ceba9b5c336ef87ff309471e491efc08209
7
+ data.tar.gz: 860febefb9571ec5a1a8fa9b9085dd60cd795d71249751795f03ff45e81dea20892f777e40b6bc4512c6be7f75c2cd867723c28d33eb1c1d18e55b7c49e43e5c
data/README-old.md CHANGED
@@ -72,6 +72,7 @@ The default MQTT topic is "#". Configurable options are the following:
72
72
  - **bulk_trans_sep**: A message separator for bulk transfer. The default separator is "\t". only for fluent-plugin-mqtt-io <= 0.2.3
73
73
  - **username**: User name for authentication
74
74
  - **password**: Password for authentication
75
+ - **clean_session**: Setting for clean session client option (false persists session offline)
75
76
  - **keep_alive**: An interval of sending keep alive packet (default 15 sec)
76
77
  - **ssl**: set true if you want to use SSL/TLS. If set to true, the following parameter must be provided
77
78
  - **ca_file**: CA certificate file path
data/README.md CHANGED
@@ -73,6 +73,7 @@ The default MQTT topic is "#". Configurable options are the following:
73
73
  - **ca_file**: CA certificate file path
74
74
  - **key_file**: private key file path
75
75
  - **cert_file**: certificate file path
76
+ - **clean_session**: Setting for clean session client option (false persists session offline)
76
77
  - **keep_alive**: An interval of sending keep alive packet (default 15 sec)
77
78
  - **monitor**: monitor section. only for fluent-plugin-mqtt-io
78
79
  - **recv_time**: Add receive time to message in millisecond (ms) as integer for debug and performance/delay analysis (default: false). only for fluent-plugin-mqtt-io
@@ -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.4.2"
7
+ spec.version = "0.4.3"
8
8
  spec.authors = ["Toyokazu Akiyama"]
9
9
  spec.email = ["toyokazu@gmail.com"]
10
10
 
@@ -12,6 +12,8 @@ module Fluent::Plugin
12
12
  base.config_param :port, :integer, default: MQTT_PORT
13
13
  base.desc 'Client ID of MQTT Connection'
14
14
  base.config_param :client_id, :string, default: nil
15
+ base.desc 'Specify clean session value.'
16
+ base.config_param :clean_session, :bool, default: true
15
17
  base.desc 'Specify keep alive interval.'
16
18
  base.config_param :keep_alive, :integer, default: 15
17
19
  base.desc 'Specify initial connection retry interval.'
@@ -53,6 +55,7 @@ module Fluent::Plugin
53
55
  host: @host,
54
56
  port: @port,
55
57
  client_id: @client_id,
58
+ clean_session: @clean_session
56
59
  keep_alive: @keep_alive
57
60
  }
58
61
  opts[:username] = @security.username if @security.to_h.has_key?(:username)
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.4.2
4
+ version: 0.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Toyokazu Akiyama
8
8
  autorequire:
9
9
  bindir: []
10
10
  cert_chain: []
11
- date: 2018-12-03 00:00:00.000000000 Z
11
+ date: 2019-12-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fluentd
@@ -127,8 +127,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
127
127
  - !ruby/object:Gem::Version
128
128
  version: '0'
129
129
  requirements: []
130
- rubyforge_project:
131
- rubygems_version: 2.6.14.1
130
+ rubygems_version: 3.0.3
132
131
  signing_key:
133
132
  specification_version: 4
134
133
  summary: fluentd input/output plugin for mqtt broker