fluent-plugin-mqtt-io 0.3.4 → 0.3.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +17 -3
- data/fluent-plugin-mqtt-io.gemspec +1 -1
- data/lib/fluent/plugin/out_mqtt.rb +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d276b49bf5d719468bf9290820334ee0069c9cd1
|
4
|
+
data.tar.gz: 3256a5038f1673bd6abbc50fde3c422de8f0705d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ae2fd591fb25d976fea2f83d46c08ff97ec96469aa4af041cc71c87a7f0852ec460e6c87b23c1e047c50c8c81305c9159498914f14d5117979c7c7d309c4b971
|
7
|
+
data.tar.gz: d1def163b352d5a05f0e34bbed980093c32c370e9d51c3494d4578e7050c69cd36c763bc2e2c2bab41309f6309e165fbdaf13596b7cb8572b2698dcc7ce5ecdc
|
data/README.md
CHANGED
@@ -51,7 +51,9 @@ For fluent-plugin-mqtt-io ~> v0.3.0
|
|
51
51
|
@type mqtt
|
52
52
|
host 127.0.0.1
|
53
53
|
port 1883
|
54
|
-
|
54
|
+
<parse>
|
55
|
+
@type json
|
56
|
+
</parse>
|
55
57
|
</source>
|
56
58
|
|
57
59
|
```
|
@@ -65,8 +67,8 @@ The default MQTT topic is "#". Configurable options are the following:
|
|
65
67
|
- In order to use xml format, you need to install [fluent-plugin-xml-parser](https://github.com/toyokazu/fluent-plugin-xml-parser).
|
66
68
|
- Default time_key field for json format is 'time'
|
67
69
|
- **topic**: Topic name to be subscribed
|
68
|
-
- **bulk_trans**: Enable bulk transfer to support buffered output (mqtt_buf, Fluent::MqttBufferedOutput, defaut: true)
|
69
|
-
- **bulk_trans_sep**: A message separator for bulk transfer. The default separator is "\t".
|
70
|
+
- **bulk_trans**: Enable bulk transfer to support buffered output (mqtt_buf, Fluent::MqttBufferedOutput, defaut: true) only for fluent-plugin-mqtt-io <= 0.2.3
|
71
|
+
- **bulk_trans_sep**: A message separator for bulk transfer. The default separator is "\t". only for fluent-plugin-mqtt-io <= 0.2.3
|
70
72
|
- **username**: User name for authentication
|
71
73
|
- **password**: Password for authentication
|
72
74
|
- **keep_alive**: An interval of sending keep alive packet (default 15 sec)
|
@@ -78,6 +80,7 @@ The default MQTT topic is "#". Configurable options are the following:
|
|
78
80
|
- **recv_time_key**: An attribute of recv_time
|
79
81
|
- **initial_interval**: An initial value of retry interval (s) (default 1)
|
80
82
|
- **retry_inc_ratio**: An increase ratio of retry interval per connection failure (default 2 (double)). It may be better to set the value to 1 in a mobile environment for eager reconnection.
|
83
|
+
- **max_retry_interval**: Maximum value of retry interval (default 300) only for fluent-plugin-mqtt-io ~> 0.3.0
|
81
84
|
|
82
85
|
Input Plugin supports @label directive.
|
83
86
|
|
@@ -105,6 +108,10 @@ For fluent-plugin-mqtt-io ~> v0.3.0
|
|
105
108
|
@type mqtt
|
106
109
|
host 127.0.0.1
|
107
110
|
port 1883
|
111
|
+
<format>
|
112
|
+
@type json
|
113
|
+
add_newline false
|
114
|
+
</format>
|
108
115
|
</match>
|
109
116
|
|
110
117
|
```
|
@@ -145,6 +152,10 @@ For fluent-plugin-mqtt-io ~> v0.3.0
|
|
145
152
|
@type mqtt
|
146
153
|
host 127.0.0.1
|
147
154
|
port 1883
|
155
|
+
<format>
|
156
|
+
@type json
|
157
|
+
add_newline false
|
158
|
+
</format>
|
148
159
|
topic_rewrite_pattern '^([\w\/]+)$'
|
149
160
|
topic_rewrite_replacement '\1/rewritten'
|
150
161
|
</match>
|
@@ -176,6 +187,9 @@ For fluent-plugin-mqtt-io ~> v0.3.0
|
|
176
187
|
@type mqtt
|
177
188
|
host 127.0.0.1
|
178
189
|
port 1883
|
190
|
+
<format>
|
191
|
+
@type json
|
192
|
+
</format>
|
179
193
|
topic_rewrite_pattern '^([\w\/]+)$'
|
180
194
|
topic_rewrite_replacement '\1/rewritten'
|
181
195
|
# You can specify Buffer Plugin options
|
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.5
|
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-
|
11
|
+
date: 2017-08-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fluentd
|