I'm trying the JDBC source connector to get data from SQL Server.
I'm getting the error saying
ERROR Failed to create job for etc/kafka-connect-jdbc/source-quickstart-sqlserver.properties
My properties file look like below. What am I missing?
name=test-sqlserver-jdbc-autoincrement
connector.class=io.confluent.connect.jdbc.JdbcSourceConnector
tasks.max=1
connection.url=jdbc:sqlserver://******:1433;databaseName=****;user=****l;password=****
table.whitelist=****
mode=incrementing
incrementing.column.name=id
topic.prefix=test-sqlserver-jdbc-
Also if I try to get the error details using curl http://localhost:8083 /JdbcSourceConnector/config/validate
, I get error url malformed which I believe is a bug in kafka 10.2.0
Try with below properties file.
if you are on an experimental environment try the following.
also make sure that the incrementing column name is correct and that it is
auto-increment
.