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 +5 -5
- data/README-old.md +1 -0
- data/README.md +1 -0
- data/fluent-plugin-mqtt-io.gemspec +1 -1
- data/lib/fluent/plugin/mqtt_proxy.rb +3 -0
- metadata +3 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: '038d3a9e41d33286c40ad620a7ac5a06a9a84772f0f7b3feaaed7426029b4579'
|
|
4
|
+
data.tar.gz: 80c13bcb8d7f88c917e196685f324cdd3868080966159ed7ae86a0e79f3f07e3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
|
@@ -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.
|
|
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:
|
|
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
|
-
|
|
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
|