I am trying to use confluent Kafka SFTP CSV SOURCE Connector. In this I need to authenticate that SFTP SERVER by using private key.
I don't know how to work with tls.private.key
!
How can I achieve this?
Sample Configuration:
{
"tasks.max": "1",
"connector.class": "io.confluent.connect.sftp.SftpCsvSourceConnector",
"cleanup.policy": "NONE",
"behavior.on.error": "IGNORE",
"input.path": "/csv",
"error.path": "/error",
"finished.path": "/finish",
"input.file.pattern": "sample.csv",
"sftp.username": "rocky",
"sftp.host": "192.168.52.69",
"sftp.port": "22",
"kafka.topic": "sample-with-cast",
"csv.first.row.as.header": "true",
"schema.generation.enabled": "true",
"transforms": "Cast",
"transforms.Cast.type": "org.apache.kafka.connect.transforms.Cast$Value",
"transforms.Cast.spec": "ID:int32,ICCTHR_CaseCrThreshold:float64"
}
Note: I am sending request from postman!