JDBC Driver
Kafka Connect for HPE Ezmeral Data Fabric Streams provides a JDBC driver jar along with the connector configuration.
IMPORTANT
NOTE
Using Hive-JDBC driver with Connect-JDBC requires different jars in the
share/java/kafka-connect-jdbc/
directory depending on whether Connect
HDFS is installed on the same node:-
If only Connect-JDBC is installed, you must keep the
hive-jdbc-<version>-standalone
jar. -
If both Connect-JDBC and Connect-HDFS are installed on the same node, you must keep
hive-jdbc
(not standalone) andcurator-client
jars.
The packaged connector is installed in the share/java/kafka-connect-jdbc directory, relative to the installation directory.
Alternatively, to add a new driver to the CLASSPATH,
- Put the classpath of the connectors in the kafka-connect-jdbc directory:
/opt/mapr/kafka-connect-jdbc/kafka-connect-jdbc-<connector version>/share/java/kafka-connect-jdbc/
- Create a symlink into the share/java/kafka-connect-jdbc/ directory.