You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After 2 years I' trying to update our kafka-connect to latest version. Most of plugins works without any problems on new version except JdbcSinkConnector. I'm getting following error:
No suitable driver found for jdbc:mysql://10.124.0.3:3306/kafka_testing\
I'm running it locally via docker compose. Here is the docker-compose file:
FROM confluentinc/cp-kafka-connect:7.6.2
RUN echo "===> MySQL Debezium connector ..."
RUN confluent-hub install --no-prompt debezium/debezium-connector-mysql:latest
RUN echo "===> Installing WePay BigQuery Connector ..."
RUN confluent-hub install --no-prompt wepay/kafka-connect-bigquery:2.5.6
RUN confluent-hub install --no-prompt confluentinc/connect-transforms:latest
RUN echo "===> MySQL JDBC connector ..."
RUN confluent-hub install --no-prompt confluentinc/kafka-connect-jdbc:10.7.0
COPY mysql-connector/mysql-connector-java-8.0.13.jar /usr/share/confluent-hub-components/confluentinc-kafka-connect-jdbc/lib
After 2 years I' trying to update our kafka-connect to latest version. Most of plugins works without any problems on new version except JdbcSinkConnector. I'm getting following error:
I'm running it locally via docker compose. Here is the docker-compose file:
And here is dockerfile:
Here is the sink connector configuration:
I've checked documentation on:
https://docs.confluent.io/kafka-connectors/jdbc/current/jdbc-drivers.html
Checked this article:
https://www.confluent.io/blog/kafka-connect-deep-dive-jdbc-source-connector/
Stackoverflow and google searching.
I've tried different versions of mysq-connector.jar file. Try to push it into lib directory, component directory, java directory. Try different versions of kafka-connect-jdbc. Result is always the same. No suitable driver found. I've checked the logs and there is no info about registering the java driver.
The text was updated successfully, but these errors were encountered: