fluent-plugin-mongo 0.7.15 → 0.7.16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ChangeLog +5 -0
- data/README.rdoc +2 -0
- data/VERSION +1 -1
- data/lib/fluent/plugin/out_mongo.rb +6 -1
- 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: faea3bdbf1168e203df36000467cfed9b780794e
|
4
|
+
data.tar.gz: d487ede0674b9df9d980e8c1e390b34f295848ee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4d5b3df91a3ec58b00db0ab47fd23adbc6fc88341de31772c463c437c93ef091a72ad530282e626383c565a5352f975cee03406c3ca2b68fae230eed51318553
|
7
|
+
data.tar.gz: 088e23c4a719fd7081e867f8b7baf23fea93f9e326e5ce7223780b8c0e5d86b50dc3322081900dad71073df5ad5bdd20890e2dfa03b37954ace24639d9f01485
|
data/ChangeLog
CHANGED
data/README.rdoc
CHANGED
@@ -176,6 +176,8 @@ Make sure the collection is capped. The plugin inserts records but does not remo
|
|
176
176
|
|
177
177
|
== Broken data as a BSON
|
178
178
|
|
179
|
+
NOTE: This feature will be removed since v0.8
|
180
|
+
|
179
181
|
Fluentd event sometimes has an invalid record as a BSON.
|
180
182
|
In such case, Mongo plugin marshals an invalid record using Marshal.dump
|
181
183
|
and re-inserts its to same collection as a binary.
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.7.
|
1
|
+
0.7.16
|
@@ -17,7 +17,8 @@ module Fluent
|
|
17
17
|
config_param :collection, :string, :default => 'untagged'
|
18
18
|
config_param :host, :string, :default => 'localhost'
|
19
19
|
config_param :port, :integer, :default => 27017
|
20
|
-
config_param :ignore_invalid_record, :bool, :default => false
|
20
|
+
config_param :ignore_invalid_record, :bool, :default => false,
|
21
|
+
:deprecated => "This parameter will be ignored since v0.8 because mongo driver 2.x doesn't support base functionality for this parameter"
|
21
22
|
config_param :disable_collection_check, :bool, :default => nil
|
22
23
|
config_param :exclude_broken_fields, :string, :default => nil
|
23
24
|
config_param :write_concern, :integer, :default => nil
|
@@ -84,6 +85,10 @@ module Fluent
|
|
84
85
|
|
85
86
|
super
|
86
87
|
|
88
|
+
unless @ignore_invalid_record
|
89
|
+
log.warn "Since v0.8, invalid record detection will be removed because mongo driver v2.x and API spec don't provide it. You may lose invalid records, so you should not send such records to mongo plugin"
|
90
|
+
end
|
91
|
+
|
87
92
|
if conf.has_key?('tag_mapped')
|
88
93
|
@tag_mapped = true
|
89
94
|
@disable_collection_check = true if @disable_collection_check.nil?
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fluent-plugin-mongo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.16
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Masahiro Nakagawa
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-10-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fluentd
|