I have created a local database for testing purpose on MySQL. When I'm trying to read the data from the database, it's reading fine. When I use the SQL query in connector configuration, it's just running but not reading any data from the database. Any idea what might cause this?
Here is my connector config:
name=just-like
acks=0
connector.class=io.confluent.connect.jdbc.JdbcSourceConnector
key.converter=io.confluent.connect.avro.AvroConverter
key.converter.schema.registry.url=http://localhost:8081
value.converter=io.confluent.connect.avro.AvroConverter
value.converter.schema.registry.url=http://localhost:8081
connection.url=jdbc:mysql://localhost:3306/DBtest?user=**&password=**
connection.user=**
connection.password=**
table.whitelist=test
mode=timestamp
timestamp.column.name=createddate
query= select column_name from table_name
validate.non.null=False
topic.prefix=sql-
Database Schema

"select column_name from table_name", can you please show the actual query? Andtable.whitelist=testwouldn't read fromtable_name, so that seems wrong. And thenlocalhost:3306/DBtest user=**&password=**has a space in it, so I don't think that is correct