Will creating a CSV connector, I’m getting following error:
{"error_code":400,"message":"Connector configuration is invalid and contains the following 2 error(s):\n
Invalid value '/data/unprocessed' must be a directory. for configuration input.path\n
Invalid value '/data/error' must be a directory. for configuration error.path\n
You can also find the above list of errors at the endpoint `/connector-plugins/{connectorType}/config/validate`"}
Here are my config and all directories list in the config are set with 777 right.
curl -i -X PUT -H "Accept:application/json" \
-H "Content-Type:application/json" http://localhost:8083/connectors/source-csv-spooldir-00/config \
-d '{
"connector.class": "com.github.jcustenborder.kafka.connect.spooldir.SpoolDirCsvSourceConnector",
"topic": "rawdata",
"input.path": "/data/unprocessed",
"finished.path": "/data/processed",
"error.path": "/data/error",
"input.file.pattern": ".*\\.csv",
"schema.generation.enabled": "false",
"csv.first.row.as.header": "false"
}'
Any help ???