admin管理员组

文章数量:1125794

Using JDBC sink connector to push events from Kafka topic to Google BigQuery, below is the config

connector.class=io.confluent.connect.jdbc.JdbcSinkConnector
schema.evolution=basic
topics=TEST.EMPLOYEE_DETAILS
tasks.max=1
connection.provider=com.simba.googlebigquery.jdbc42.Driver
connection.url=jdbc:bigquery://:443;XXXXX

Creating the connector giving below error.

[2025-01-09 03:28:38,175] INFO Unable to connect to database on attempt 1/3. Will retry in 10000 ms. (io.confluent.connect.jdbc.util.CachedConnectionProvider)
Caused by: org.apache.kafka.connect.errors.ConnectException: java.sql.SQLException: No suitable driver found for jdbc:bigquery://:443;XXXXX

The jar GoogleBigQueryJDBC42.jar is placed under /usr/share/confluent-hub-components/confluentinc-kafka-connect-jdbc/lib/

Using JDBC sink connector to push events from Kafka topic to Google BigQuery, below is the config

connector.class=io.confluent.connect.jdbc.JdbcSinkConnector
schema.evolution=basic
topics=TEST.EMPLOYEE_DETAILS
tasks.max=1
connection.provider=com.simba.googlebigquery.jdbc42.Driver
connection.url=jdbc:bigquery://https://www.googleapis.com/bigquery/v2:443;XXXXX

Creating the connector giving below error.

[2025-01-09 03:28:38,175] INFO Unable to connect to database on attempt 1/3. Will retry in 10000 ms. (io.confluent.connect.jdbc.util.CachedConnectionProvider)
Caused by: org.apache.kafka.connect.errors.ConnectException: java.sql.SQLException: No suitable driver found for jdbc:bigquery://https://www.googleapis.com/bigquery/v2:443;XXXXX

The jar GoogleBigQueryJDBC42.jar is placed under /usr/share/confluent-hub-components/confluentinc-kafka-connect-jdbc/lib/

Share Improve this question asked Jan 9 at 3:40 GopiGopi 7121 gold badge8 silver badges19 bronze badges 1
  • Hi @Gopi,I have posted an answer. I hope it will help you. do consider accepting and upvoting if it helps, as per Stack Overflow guidelines, helping more Stack contributors with their research. – Sourav Dutta Commented 4 hours ago
Add a comment  | 

1 Answer 1

Reset to default 0

the error suggest com.simba.googlebigquery.jdbc42.Driver is not properly configured .

you can use the following format jdbc:bigquery://https://www.googleapis.com/bigquery/v2:443;ProjectId=YOUR_PROJECT_ID;DatasetId=YOUR_DATASET_ID and if possible use Use the BigQuery Sink Connector . If you are looking to completely resolve the issue you can raise request in an issue tracker with a complete description of the issue,The Engineering team will look into the issue .

本文标签: JDBC Sink connector in Debezium to set the target as Google BigQueryStack Overflow