camel-sftp-sink-kafka-connector sink configuration
Connector Description: Send data to an SFTP Server. The Kamelet expects the following headers to be set: - `file` / `ce-file`: as the file name to upload If the header won’t be set the exchange ID will be used as file name.
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 7 options, which are listed below.
Name | Description | Default | Priority |
---|---|---|---|
Required Hostname of the FTP server. |
HIGH |
||
Required Port of the FTP server. |
"22" |
HIGH |
|
Required The username to access the FTP server. |
HIGH |
||
Required The password to access the FTP server. |
HIGH |
||
Required The starting directory. |
HIGH |
||
Sets passive mode connection. |
false |
MEDIUM |
|
How to behave in case of file already existent. There are 4 enums and the value can be one of Override, Append, Fail or Ignore. |
"Override" |
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.