fluent-plugin-elasticsearch 1.15.0 → 1.15.1

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
  SHA256:
3
- metadata.gz: 709ac4334da5ddeae76a8cd290cb54b3d972458515e8e2855c1c56f216a078ca
4
- data.tar.gz: 17cb0aae657c8d2bafea64e95432483667ffa3e2d1ae531a0dd34880ce580347
3
+ metadata.gz: 00a9fd19dd2727f3b8923ba7ecab25944afdcc52bc1e5b3f12571f95626640d8
4
+ data.tar.gz: ff12458ed88da30d28a1256105c4c2b90e02706b30b691c63f6d257dcc12977c
5
5
  SHA512:
6
- metadata.gz: 157d3d0d15eef38c8632c4d1189bfa651ad2902300ce0f20cb56ad1a75bbb0ac6f7546a3ec93e8769d14d9feaf774cab075f049c97218de01c2bd52e89fb7ff5
7
- data.tar.gz: 11cb945b1898b87921ea642a873b47352080d667d864965c933481c6601b45cbdac1246ce9e9d996e2a4a5d18f46bdb462a664ab001f8337a801c329aa627f36
6
+ metadata.gz: d6f158b0d213b1bea7efc8f7ca2c85cc07ffe92195692d2c8fe3b6a9ede345e02870033213894ccd1da8afc38df08535c92d7ef336ae0ef4ef1319e4ea9eef8b
7
+ data.tar.gz: 3f8b3b2537b3d72017f9ca85493c97997fd4770937f8bd158836b9de7e48a7053a03abf42264fae0a64d56a5600f3f24c9a1edd4d918cf0d71b71377d5895d76
data/History.md CHANGED
@@ -2,6 +2,9 @@
2
2
 
3
3
  ### [Unreleased]
4
4
 
5
+ ### 1.15.1
6
+ - successful operation if all duplicates (#406)
7
+
5
8
  ### 1.15.0
6
9
  - revert dlq to use router.emit_error_event instead (#402)
7
10
  - Don't log full response on error (#399)
@@ -3,7 +3,7 @@ $:.push File.expand_path('../lib', __FILE__)
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = 'fluent-plugin-elasticsearch'
6
- s.version = '1.15.0'
6
+ s.version = '1.15.1'
7
7
  s.authors = ['diogo', 'pitr']
8
8
  s.email = ['pitr.vern@gmail.com', 'me@diogoterror.com']
9
9
  s.description = %q{Elasticsearch output plugin for Fluent event collector}
@@ -62,6 +62,10 @@ class Fluent::ElasticsearchErrorHandler
62
62
  stats.each_pair { |key, value| msg << "#{value} #{key}" }
63
63
  @plugin.log.debug msg.join(', ')
64
64
  end
65
+ if stats[:successes] + stats[:duplicates] == bulk_message_count
66
+ @plugin.log.debug("retry succeeded - all #{bulk_message_count} records were successfully sent")
67
+ return
68
+ end
65
69
  stats.each_key do |key|
66
70
  case key
67
71
  when 'out_of_memory_error'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-elasticsearch
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.15.0
4
+ version: 1.15.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - diogo
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2018-04-18 00:00:00.000000000 Z
12
+ date: 2018-04-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: fluentd