camel-sftp-sink-kafka-connector sink configuration
Connector Description: Send data to an SFTP Server. In the header, you can set the `file` / `ce-file` property to specify the filename to upload. If you do not set the property in the header, the Kamelet uses the exchange ID for the filename.
When using camel-sftp-sink-kafka-connector as sink make sure to use the following Maven dependency to have support for the connector:
<dependency>
<groupId>org.apache.camel.kafkaconnector</groupId>
<artifactId>camel-sftp-sink-kafka-connector</artifactId>
<version>x.x.x</version>
<!-- use the same version as your Camel Kafka connector version -->
</dependency>
To use this sink connector in Kafka connect you’ll need to set the following connector.class
connector.class=org.apache.camel.kafkaconnector.sftpsink.CamelSftpsinkSinkConnector
The camel-sftp-sink sink connector supports 14 options, which are listed below.
Name | Description | Default | Priority |
---|---|---|---|
Required The hostname of the FTP server. | HIGH | ||
Required The port of the FTP server. | "22" | HIGH | |
The username to access the FTP server. | MEDIUM | ||
The password to access the FTP server. | MEDIUM | ||
Required The starting directory. | HIGH | ||
Specifies to use passive mode connection. | false | MEDIUM | |
How to behave in case of file already existent. | "Override" | MEDIUM | |
Specifies the file transfer mode, BINARY or ASCII. Default is ASCII (false). | false | MEDIUM | |
Set the private key file so that the SFTP endpoint can do private key verification. | MEDIUM | ||
Set the private key file passphrase so that the SFTP endpoint can do private key verification. | MEDIUM | ||
Set the private key file (loaded from classpath by default) so that the SFTP endpoint can do private key verification. | MEDIUM | ||
Sets whether to use strict host key checking. | "false" | MEDIUM | |
If knownHostFile has not been explicit configured then use the host file from System.getProperty(user.home)/.ssh/known_hosts. | true | MEDIUM | |
Automatically create the directory the files should be written to. | true | MEDIUM |
The camel-sftp-sink sink connector has no converters out of the box.
The camel-sftp-sink sink connector has no transforms out of the box.
The camel-sftp-sink sink connector has no aggregation strategies out of the box.