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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 16d0fc6f16dd1080f6c9e3ea1fa3ab9809143991
4
- data.tar.gz: d2a17a8ec6510610ce7f99c1cf38156d94ff0af0
3
+ metadata.gz: faea3bdbf1168e203df36000467cfed9b780794e
4
+ data.tar.gz: d487ede0674b9df9d980e8c1e390b34f295848ee
5
5
  SHA512:
6
- metadata.gz: 36f81d3894f86d0d8f156d4f74d6001cfc63b7746efdebe1a9183c2f71b349a36d4b5f95045f001f133ce67bdc59d318b4e9121490d734110f7f208672d32bef
7
- data.tar.gz: 87cd009a5fa147f9b15a24278a2ca75fd00bab75f9a0fe78308131d8a623aa6bf0f049507e19cd8c960668797ef65e20f525c9bf64b0e070b7bc9c779f81511e
6
+ metadata.gz: 4d5b3df91a3ec58b00db0ab47fd23adbc6fc88341de31772c463c437c93ef091a72ad530282e626383c565a5352f975cee03406c3ca2b68fae230eed51318553
7
+ data.tar.gz: 088e23c4a719fd7081e867f8b7baf23fea93f9e326e5ce7223780b8c0e5d86b50dc3322081900dad71073df5ad5bdd20890e2dfa03b37954ace24639d9f01485
data/ChangeLog CHANGED
@@ -1,3 +1,8 @@
1
+ Release 0.7.16 - 2016/10/05
2
+
3
+ * out_mongo: Log warn / deprecated message for invalid record handling
4
+
5
+
1
6
  Release 0.7.15 - 2016/08/16
2
7
 
3
8
  * in_mongo_tail: Add object_id_keys parameter to convert ObjectId object into string
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.15
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.15
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-08-16 00:00:00.000000000 Z
11
+ date: 2016-10-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fluentd