logstash-integration-jdbc 5.4.9 → 5.4.10

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: fd25bda7dbc3dbbc14d2db3d79f2aff6c4c1eb39de48c786701c998ed66fefcf
4
- data.tar.gz: 519d0d5d51ad001974ccdf2ca131d81f8d2558984b78f897cb9d2f69b509e444
3
+ metadata.gz: 8b3c2ba844927de3fe8fd1ea8a23fe09af8da74835eb8c87a83e4de9f67b3d21
4
+ data.tar.gz: 401acb665aacbf8e9f75b6d5092985998d766217619fcc2d26c7d078f0d4f82f
5
5
  SHA512:
6
- metadata.gz: 4776aa8f80c18579b366713c5eea82f956e0b18304414a6bf66c3866bab4d92f08cf4c10d82ce464d2c33fef5ce51ae69102a0db814383bef4b8aa9f6e4621a7
7
- data.tar.gz: 28b7b9ee174032657084ec43d55eeb9152d51689e97ccbf4d1bac826fa6890b1b9f0e3d190bc2230c5f2b1462f22249c5f18aef1ce50423838d8037c44d2f711
6
+ metadata.gz: c68b79a3bdb9d0529dbff7b1c0e80dcd0e840d57f6c760c056fbbd5525be295bfedb8ddf7b2450ab125eee14c039cf61a7ea38aca81e597a98ea815b51955bab
7
+ data.tar.gz: eb872090eb0dfc7bb073aa8c3f992679ecfcb66979c2de6f6838ff17f6acc297d82140cb60ef71a55dc910ad17c9ecab921e62e9d899a4943949ba3003b38a7a
data/CHANGELOG.md CHANGED
@@ -1,6 +1,10 @@
1
+ ## 5.4.10
2
+ - Adds retry mechanism when checkout Derby from SVN repository [#158](https://github.com/logstash-plugins/logstash-integration-jdbc/pull/158)
3
+ - [DOC] add known limitations and settings for connection issue [#167](https://github.com/logstash-plugins/logstash-integration-jdbc/pull/167)
4
+
1
5
  ## 5.4.9
2
6
  - Fix Derby missed driver classes when built locally for version 10.15 [#160](https://github.com/logstash-plugins/logstash-integration-jdbc/pull/160)
3
- -
7
+
4
8
  ## 5.4.8
5
9
  - Update Derby with locally built 10.15.2.1 version [#155](https://github.com/logstash-plugins/logstash-integration-jdbc/pull/155)
6
10
 
@@ -176,6 +176,29 @@ input {
176
176
  }
177
177
  ---------------------------------------------------------------------------------------------------
178
178
 
179
+ ==== Database-specific considerations
180
+
181
+ The JDBC input plugin leverages the https://github.com/jeremyevans/sequel[sequel] library to query databases through their JDBC drivers.
182
+ The implementation of drivers will vary, however, potentially leading to unexpected behavior.
183
+
184
+ ===== Unable to reuse connections
185
+
186
+ Some databases - such as Sybase or SQL Anywhere - may have issues with stale connections, timing out between scheduled runs and never reconnecting.
187
+
188
+ To ensure connections are valid before queries are executed, enable <<plugins-{type}s-{plugin}-jdbc_validate_connection>> and set <<plugins-{type}s-{plugin}-jdbc_validation_timeout>> to a shorter interval than the <<plugins-{type}s-{plugin}-schedule>>.
189
+
190
+ [source,ruby]
191
+ ---------------------------------------------------------------------------------------------------
192
+ input {
193
+ jdbc {
194
+ schedule => "* * * * *" # run every minute
195
+ jdbc_validate_connection => true
196
+ jdbc_validation_timeout => 50 # 50 seconds
197
+ }
198
+ }
199
+ ---------------------------------------------------------------------------------------------------
200
+
201
+
179
202
 
180
203
  [id="plugins-{type}s-{plugin}-options"]
181
204
  ==== Jdbc Input Configuration Options
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'logstash-integration-jdbc'
3
- s.version = '5.4.9'
3
+ s.version = '5.4.10'
4
4
  s.licenses = ['Apache License (2.0)']
5
5
  s.summary = "Integration with JDBC - input and filter plugins"
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-integration-jdbc
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.4.9
4
+ version: 5.4.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elastic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-03-21 00:00:00.000000000 Z
11
+ date: 2024-05-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement