logstash-output-elasticsearch 7.3.0-java → 7.3.1-java

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f92df38e9dc63ba5960b27d4f673f4a4e3914ef0
4
- data.tar.gz: 3e0b56b678289dcb335e60f77f46dc860fd5a68d
3
+ metadata.gz: 84e98668e085b0b9f4514e8bf574f502f5e3084e
4
+ data.tar.gz: ce5720c504d1c225cf4deade46096f0eba7cff76
5
5
  SHA512:
6
- metadata.gz: 9b1fd948848fdfd1c7e6e3448ff4bf47a44b05a15042f16cf1d43e29762797aff793123e713798f6b444b135fce85e3af6deae526dc75d6e7998924efa1ba58f
7
- data.tar.gz: 395df9184cb1b7b1dd7ce271dc37609ccad2ea1b7c8690e973352d3952d572e78b5053dc62b27470f56d878ea5ad2897517d6b751a26626f6f565ef27c641617
6
+ metadata.gz: 17fed98200315e4c6182a91cda4ff0762a6dc11af70048cb037ed87ea48e62a1835b35e0ce170800e76b9174c4a0382024c41e22ca632a97cffedc1378bc90e9
7
+ data.tar.gz: 8433b4438c50c0d7ae0d52404f706917ae5ce581423a32f8abd32425340158798374e1c6ebd8c703fb36a9713a2131be07a67098a5e7f5bc75c5f11b8fa68c46
@@ -1,3 +1,6 @@
1
+ ## 7.3.1
2
+ - Fix the backwards compatibility layer used for detecting DLQ capabilities in logstash core
3
+
1
4
  ## 7.3.0
2
5
  - Log 429 errors as debug instead of error. These aren't actual errors and cause users undue concern.
3
6
  This status code is triggered when ES wants LS to backoff, which it does correctly (exponentially)
@@ -17,7 +17,8 @@ module LogStash; module Outputs; class ElasticSearch;
17
17
  def register
18
18
  @stopping = Concurrent::AtomicBoolean.new(false)
19
19
  # To support BWC, we check if DLQ exists in core (< 5.4). If it doesn't, we use nil to resort to previous behavior.
20
- @dlq_writer = respond_to?(:execution_context) ? execution_context.dlq_writer : nil
20
+ @dlq_writer = supports_dlq? ? execution_context.dlq_writer : nil
21
+
21
22
  setup_hosts # properly sets @hosts
22
23
  build_client
23
24
  install_template
@@ -284,5 +285,9 @@ module LogStash; module Outputs; class ElasticSearch;
284
285
  retry unless @stopping.true?
285
286
  end
286
287
  end
288
+
289
+ def supports_dlq?
290
+ respond_to?(:execution_context) && execution_context.respond_to?(:dlq_writer)
291
+ end
287
292
  end
288
293
  end; end; end
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'logstash-output-elasticsearch'
3
- s.version = '7.3.0'
3
+ s.version = '7.3.1'
4
4
  s.licenses = ['apache-2.0']
5
5
  s.summary = "Logstash Output to Elasticsearch"
6
6
  s.description = "This gem is a Logstash plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/logstash-plugin install gemname. This gem is not a stand-alone program"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-output-elasticsearch
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.3.0
4
+ version: 7.3.1
5
5
  platform: java
6
6
  authors:
7
7
  - Elastic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-04-26 00:00:00.000000000 Z
11
+ date: 2017-04-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement