logstash-output-analyticdb 5.4.0.9 → 5.4.0.10
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 +4 -4
- data/lib/logstash/outputs/analyticdb.rb +6 -1
- data/logstash-output-analyticdb.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1622874dc82c31b61bcbe5650256b56a09459e3f3acd0855c44328c7cd95737b
|
|
4
|
+
data.tar.gz: d29135a949ebccc68532f130027d635d0312c2d98c2a01f1cb03fcf6bab70a4b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fa7bdb92f436cbedfb2f5c655fb26a799ddb260e9ca8a4bd05a550922226cafe96b68205e62f7ff57f48bc97d6eecaca2ae1e64128ec05708ae3402a64281580
|
|
7
|
+
data.tar.gz: 1b1189e08497ce56ab1370df1e6d427d5482cbc38eb355052464fc99cac50cf39862f1b82baafe920e6ee2ed7b90517222a826d04b3cf885e7ad87a3fbf6d05b
|
|
@@ -108,6 +108,8 @@ class LogStash::Outputs::Analyticdb < LogStash::Outputs::Base
|
|
|
108
108
|
|
|
109
109
|
config :commit_size, validate: :number, default: 32768
|
|
110
110
|
|
|
111
|
+
config :skip_exception, validate: :boolean, default: false
|
|
112
|
+
|
|
111
113
|
def register
|
|
112
114
|
@logger.info('JDBC - Starting up')
|
|
113
115
|
|
|
@@ -307,7 +309,10 @@ class LogStash::Outputs::Analyticdb < LogStash::Outputs::Base
|
|
|
307
309
|
attempts += 1
|
|
308
310
|
|
|
309
311
|
if attempts > @max_flush_exceptions
|
|
310
|
-
@
|
|
312
|
+
if (@skip_exception)
|
|
313
|
+
@logger.error("JDBC - max_flush_exceptions has been reached. #{submit_actions.length} events have been unable to be sent to SQL and are being skipped. See previously logged exceptions for details.")
|
|
314
|
+
break
|
|
315
|
+
end
|
|
311
316
|
raise "JDBC - max_flush_exceptions #{max_flush_exceptions} has been reached. #{submit_actions.length} events have been unable to be sent to SQL and are being dropped. See previously logged exceptions for details."
|
|
312
317
|
break
|
|
313
318
|
end
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Gem::Specification.new do |s|
|
|
2
2
|
s.name = 'logstash-output-analyticdb'
|
|
3
|
-
s.version = '5.4.0.
|
|
3
|
+
s.version = '5.4.0.10'
|
|
4
4
|
s.licenses = ['Apache License (2.0)']
|
|
5
5
|
s.summary = 'This plugin allows you to output to SQL, via JDBC'
|
|
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 'logstash-output-analyticdb'. 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-analyticdb
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 5.4.0.
|
|
4
|
+
version: 5.4.0.10
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- the_angry_angel
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-03-
|
|
11
|
+
date: 2019-03-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|