[root@ip-10-121-18-95 bin]# curl localhost:8083/connectors/mssqlsinkconnector/tasks | jq
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 690 100 690 0 0 224k 0 --:--:-- --:--:-- --:--:-- 224k
[
{
"id": {
"connector": "mssqlsinkconnector",
"task": 0
},
"config": {
"connector.class": "io.confluent.connect.jdbc.JdbcSinkConnector",
"dialect.name": "SqlServerDatabaseDialect",
"table.name.format": "\"kafka_${server1.dbo.costumers}\"",
"connection.password": "bancointer",
"tasks.max": "1",
"topics": "server1.dbo.customers",
"fields.whitelist": "first_name, last_name, email",
"auto.evolve": "true",
"task.class": "io.confluent.connect.jdbc.sink.JdbcSinkTask",
"connection.user": "kafka",
"name": "mssqlsinkconnector",
"auto.create": "true",
"connection.url": "jdbc:sqlserver://10.121.1.85:1433;database=poc_cdc_redis;",
"insert.mode": "upsert",
"pk.mode": "record_value",
"pk.fields": "id",
"quote.sql.identifiers": "always"
}
}
]
[root@ip-10-121-18-95 bin]# curl localhost:8083/connectors/mssqlsinkconnector/status | jq
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 2303 100 2303 0 0 749k 0 --:--:-- --:--:-- --:--:-- 749k
{
"name": "mssqlsinkconnector",
"connector": {
"state": "RUNNING",
"worker_id": "10.121.18.95:8083"
},
"tasks": [
{
"id": 0,
"state": "FAILED",
"worker_id": "10.121.18.95:8083",
"trace": "org.apache.kafka.connect.errors.ConnectException: Exiting WorkerSinkTask due to unrecoverable exception.\n\tat org.apache.kafka.connect.runtime.WorkerSinkTask.deliverMessages(WorkerSinkTask.java:561)\n\tat org.apache.kafka.connect.runtime.WorkerSinkTask.poll(WorkerSinkTask.java:322)\n\tat org.apache.kafka.connect.runtime.WorkerSinkTask.iteration(WorkerSinkTask.java:224)\n\tat org.apache.kafka.connect.runtime.WorkerSinkTask.execute(WorkerSinkTask.java:192)\n\tat org.apache.kafka.connect.runtime.WorkerTask.doRun(WorkerTask.java:177)\n\tat org.apache.kafka.connect.runtime.WorkerTask.run(WorkerTask.java:227)\n\tat java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)\n\tat java.util.concurrent.FutureTask.run(FutureTask.java:266)\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)\n\tat java.lang.Thread.run(Thread.java:748)\nCaused by: org.apache.kafka.connect.errors.ConnectException: java.sql.SQLException: No suitable driver found for jdbc:sqlserver://10.121.1.85:1433;database=poc_cdc_redis;\n\tat io.confluent.connect.jdbc.util.CachedConnectionProvider.getConnection(CachedConnectionProvider.java:69)\n\tat io.confluent.connect.jdbc.sink.JdbcDbWriter.write(JdbcDbWriter.java:56)\n\tat io.confluent.connect.jdbc.sink.JdbcSinkTask.put(JdbcSinkTask.java:74)\n\tat org.apache.kafka.connect.runtime.WorkerSinkTask.deliverMessages(WorkerSinkTask.java:539)\n\t... 10 more\nCaused by: java.sql.SQLException: No suitable driver found for jdbc:sqlserver://10.121.1.85:1433;database=poc_cdc_redis;\n\tat java.sql.DriverManager.getConnection(DriverManager.java:689)\n\tat java.sql.DriverManager.getConnection(DriverManager.java:208)\n\tat io.confluent.connect.jdbc.dialect.GenericDatabaseDialect.getConnection(GenericDatabaseDialect.java:217)\n\tat io.confluent.connect.jdbc.util.CachedConnectionProvider.newConnection(CachedConnectionProvider.java:88)\n\tat io.confluent.connect.jdbc.util.CachedConnectionProvider.getConnection(CachedConnectionProvider.java:62)\n\t... 13 more\n"
}
],
"type": "sink"
}
--
You received this message because you are subscribed to the Google Groups "Confluent Platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to confluent-platf...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/confluent-platform/5b81867d-fc89-4f14-bc89-86f7f31d72c8%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Confluent Platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to confluent-platf...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/confluent-platform/c2dba9be-672a-4075-8c35-28d7738833ae%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to confluent-platform+unsub...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to confluent-platf...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/confluent-platform/c2dba9be-672a-4075-8c35-28d7738833ae%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Confluent Platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to confluent-platf...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/confluent-platform/61fa04eb-feb4-4195-8147-2e2910dc2f6c%40googlegroups.com.