Loading class com.mysql.jdbc.Driver'. This is deprecated. The new driver class iscom.mysql.cj.jdbc.Driver'. The driver is automatically registered via the SPI and manual loading of the driver class is generally unnecessary.
my jdbc config is
jdbc_driver_library =>"/usr/local/logstash/mysql-connector-java-8.0.12/mysql-connector-java-8.0.12.jar"
jdbc_driver_class => "com.mysql.cj.jdbc.Driver"
some people says the problem is jdbc_driver_class ,but i use com.mysql.cj.jdbc.Driver ,it still not work.
i guess is the jdbc plugins code problem.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.