camel-ftp-sink-kafka-connector sink configuration
Connector Description: Send data to an FTP 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-ftp-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-ftp-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.ftpsink.CamelFtpsinkSinkConnector
The camel-ftp-sink sink connector supports 9 options, which are listed below.
Name | Description | Default | Priority |
---|---|---|---|
Required The hostname of the FTP server. | HIGH | ||
Required The port of the FTP server. | "21" | HIGH | |
Required The username to access the FTP server. | HIGH | ||
Required The password to access the FTP server. | HIGH | ||
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 | |
Automatically create the directory the files should be written to. | true | MEDIUM |
The camel-ftp-sink sink connector has no converters out of the box.
The camel-ftp-sink sink connector has no transforms out of the box.
The camel-ftp-sink sink connector has no aggregation strategies out of the box.