Skip to content

Commit 0464dde

Browse files
authored
Document statement_retry_attempts and statement_retry_attempts_wait_time options (#177)
1 parent 9e29dd6 commit 0464dde

File tree

3 files changed

+22
-1
lines changed

3 files changed

+22
-1
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## 5.5.1
2+
- Document `statement_retry_attempts` and `statement_retry_attempts_wait_time` options
3+
14
## 5.5.0
25
- Feat: add support for SQL `DATE` columns to jdbc static and streaming filters [#171](https://github.com/logstash-plugins/logstash-integration-jdbc/pull/171)
36

docs/input-jdbc.asciidoc

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,8 @@ This plugin supports the following configuration options plus the <<plugins-{typ
238238
| <<plugins-{type}s-{plugin}-sql_log_level>> |<<string,string>>, one of `["fatal", "error", "warn", "info", "debug"]`|No
239239
| <<plugins-{type}s-{plugin}-statement>> |<<string,string>>|No
240240
| <<plugins-{type}s-{plugin}-statement_filepath>> |a valid filesystem path|No
241+
| <<plugins-{type}s-{plugin}-statement_retry_attempts>> |<<number,number>>|No
242+
| <<plugins-{type}s-{plugin}-statement_retry_attempts_wait_time>> |<<number,number>>|No
241243
| <<plugins-{type}s-{plugin}-target>> | {logstash-ref}/field-references-deepdive.html[field reference] | No
242244
| <<plugins-{type}s-{plugin}-tracking_column>> |<<string,string>>|No
243245
| <<plugins-{type}s-{plugin}-tracking_column_type>> |<<string,string>>, one of `["numeric", "timestamp"]`|No
@@ -623,6 +625,22 @@ with the `parameters` setting.
623625

624626
Path of file containing statement to execute
625627

628+
[id="plugins-{type}s-{plugin}-statement_retry_attempts"]
629+
===== `statement_retry_attempts`
630+
631+
* Value type is <<number,number>>
632+
* Default value is `1`
633+
634+
Maximum number of times to try executing a statement.
635+
636+
[id="plugins-{type}s-{plugin}-statement_retry_attempts_wait_time"]
637+
===== `statement_retry_attempts_wait_time`
638+
639+
* Value type is <<number,number>>
640+
* Default value is `0.5`
641+
642+
Number of seconds to sleep between statement execution attempts.
643+
626644
[id="plugins-{type}s-{plugin}-target"]
627645
===== `target`
628646

logstash-integration-jdbc.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Gem::Specification.new do |s|
22
s.name = 'logstash-integration-jdbc'
3-
s.version = '5.5.0'
3+
s.version = '5.5.1'
44
s.licenses = ['Apache License (2.0)']
55
s.summary = "Integration with JDBC - input and filter plugins"
66
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"

0 commit comments

Comments
 (0)