Ok, so its the standard connector configuration issue's many have had but this is where I'm stumped.
My error:
"error_code": 400,
"message": "Connector configuration is invalid and contains the following 2 error(s):\nInvalid value java.sql.SQLException: No suitable driver found for jdbc:mysql://mysqldb-1:3306 for configuration Couldn't open connection to jdbc:mysql://mysqldb-1:3306\nInvalid value java.sql.SQLException: No suitable driver found for jdbc:mysql://mysqldb-1:3306 for configuration Couldn't open connection to jdbc:mysql://mysqldb-1:3306\nYou can also find the above list of errors at the endpoint `/{connectorType}/config/validate`"
My setup is a training cluster on my google cloud, I have 3 zookeeper servers and 3 Kafka servers and a single mysql server running Server version: 5.7.21 MySQL Community Server (GPL).
At first I used the Confluent open source version and had the same issue but I downloaded the mysql connector jar file and put if in the /usr/share/java/kafka-connect-jdbc and it worked. I was off to the races testing and moving data out into topics.
my config was the one in the blog as i was following the examples. With of course my connection info.
I then decided to give the latest version of confluent enterprise a try with KSQL. So I re-created with three new kafka servers and zookeeper servers.
In preparation, this time I downloaded the mysql jar and moved it to the correct spot and I recived the above error. So I researched the search again as I did fix it before but no such luck. I noticed that the version of the mysql connector was not the same I pulle down version 5.1.46 when my other setup was running 5.1.39.
So I copied that version over and laoded my connecter, and it worked... for about 65 dummy inserts. The next day when I started up my cluster again i noticed the mysql connector was stopped and not working.. after i uloaded and deleted it and tried to start it again I started to get the error again.
So its been a few days and many hours googling and testign with no luck.
On a side note. When I try and use the GUI in the control center to create this connecter it gets the to the final your connection looks good but the "Save and Finish" button does nothing. No messages, I would have expected a error logged somewhere. Using that config it generates when used at the commandline created the same error once again.
Has anyone had this type of problem?
Thanks in advance.
john