Hi My source connector is as follows:
curl -i -X POST http://localhost:8083/connectors -H "Content-Type: application/json"
-d '{ "name": "source_connector",
"config": {
"connector.class": "io.confluent.connect.jdbc.JdbcSourceConnector",
"tasks.max": "1",
"connection.url": "jdbc:postgresql://localhost:5432/postgres",
"connection.user": "postgres",
"connection.password": "*****",
"mode": "timestamp+incrementing",
"timestamp.column.name": "entry_date",
"incrementing.column.name": "id,id_no",
"topic.prefix": "psql",
"table.whitelist": "table_name" ,
"key.converter": "org.apache.kafka.connect.storage.StringConverter",
"value.converter":"org.apache.kafka.connect.json.JsonConverter" ,
"value.converter.schemas.enable":"true",
"value.converter.schema.registry.url" :"http://schema-registry:8081" ,
"key.converter.schemas.enable":"true",
"key.converter.schema.registry.url":"same as above",
"auto.register.schemas": "true","validate.non.null": false,
"delete.enabled": true } }'
I am getting following error :
Failed to run query for table TimestampIncrementingTableQuerier{table="table_name", query='null', topicPrefix='psql', incrementingColumn='id,id_no', timestampColumns=[entry_date]}: {} (io.confluent.connect.jdbc.source.JdbcSourceTask:337)
org.postgresql.util.PSQLException: ERROR: column table_name.id,id_no does not exist
Please help me out.