Skip to content

Commit

Permalink
fix multiple JDBC libraries bug
Browse files Browse the repository at this point in the history
  • Loading branch information
b1tc4b committed Apr 27, 2021
1 parent df7f714 commit 28a38e3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion docs/filter-jdbc_streaming.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,8 @@ JDBC driver class to load, for example "oracle.jdbc.OracleDriver" or "org.apache
* Value type is <<path,path>>
* There is no default value for this setting.

JDBC driver library path to third party driver library.
JDBC driver library path to third party driver library. In case of multiple libraries being
required you can pass them separated by a comma.

[id="plugins-{type}s-{plugin}-jdbc_password"]
===== `jdbc_password`
Expand Down
2 changes: 1 addition & 1 deletion lib/logstash/plugin_mixins/jdbc_streaming.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def self.included(base)
public
def setup_jdbc_config
# JDBC driver library path to third party driver library.
config :jdbc_driver_library, :validate => :path
config :jdbc_driver_library, :validate => :string

# JDBC driver class to load, for example "oracle.jdbc.OracleDriver" or "org.apache.derby.jdbc.ClientDriver"
config :jdbc_driver_class, :validate => :string, :required => true
Expand Down

0 comments on commit 28a38e3

Please sign in to comment.