lib/logstash/inputs/jdbc.rb in logstash-integration-jdbc-5.0.4 vs lib/logstash/inputs/jdbc.rb in logstash-integration-jdbc-5.0.5
- old
+ new
@@ -1,8 +1,9 @@
# encoding: utf-8
require "logstash/inputs/base"
require "logstash/namespace"
+require "logstash/plugin_mixins/jdbc/common"
require "logstash/plugin_mixins/jdbc/jdbc"
# this require_relative returns early unless the JRuby version is between 9.2.0.0 and 9.2.8.0
require_relative "tzinfo_jruby_patch"
@@ -124,9 +125,10 @@
# }
# }
# ---------------------------------------------------------------------------------------------------
#
module LogStash module Inputs class Jdbc < LogStash::Inputs::Base
+ include LogStash::PluginMixins::Jdbc::Common
include LogStash::PluginMixins::Jdbc::Jdbc
config_name "jdbc"
# If undefined, Logstash will complain, even if codec is unused.
default :codec, "plain"