From bfcdaf4e75b055aea353d13efcd7d144af8a7257 Mon Sep 17 00:00:00 2001 From: Andrea Cosentino Date: Thu, 25 Feb 2021 13:32:22 +0100 Subject: [PATCH] SFTP Examples: Moved to tar.gz --- sftp/sftp-sink/README.adoc | 6 +++--- sftp/sftp-source/README.adoc | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/sftp/sftp-sink/README.adoc b/sftp/sftp-sink/README.adoc index 5ac1004..57f0640 100644 --- a/sftp/sftp-sink/README.adoc +++ b/sftp/sftp-sink/README.adoc @@ -55,13 +55,13 @@ plugin.path=/home/oscerd/connectors === Download the connector package -Download the connector package zip and extract the content to the plugin.path directory. In this example we'll use `/home/oscerd/connectors/` +Download the connector package tar.gz and extract the content to the plugin.path directory. In this example we'll use `/home/oscerd/connectors/` [source] ---- > cd /home/oscerd/connectors/ -> wget https://repo1.maven.org/maven2/org/apache/camel/kafkaconnector/camel-sftp-kafka-connector/0.8.0/camel-sftp-kafka-connector-0.8.0-package.zip -> unzip camel-sftp-kafka-connector-0.8.0-package.zip +> wget https://repo1.maven.org/maven2/org/apache/camel/kafkaconnector/camel-sftp-kafka-connector/0.8.0/camel-sftp-kafka-connector-0.8.0-package.tar.gz +> untar.gz camel-sftp-kafka-connector-0.8.0-package.tar.gz ---- Open the SFTP sink configuration file diff --git a/sftp/sftp-source/README.adoc b/sftp/sftp-source/README.adoc index 4266f19..1058ab1 100644 --- a/sftp/sftp-source/README.adoc +++ b/sftp/sftp-source/README.adoc @@ -160,12 +160,12 @@ Now we need to build the connector: > mvn clean package ``` -In this example we'll use `/home/oscerd/connectors/` as plugin.path, but we'll need the generated zip from the previois build +In this example we'll use `/home/oscerd/connectors/` as plugin.path, but we'll need the generated tar.gz from the previois build ``` > cd /home/oscerd/connectors/ -> cp /home/workspace/miscellanea/sftp-extended/target/sftp-extended-0.8.0-package.zip . -> unzip sftp-extended-0.8.0-package.zip +> cp /home/workspace/miscellanea/sftp-extended/target/sftp-extended-0.8.0-package.tar.gz . +> untar.gz sftp-extended-0.8.0-package.tar.gz ``` Now it's time to setup the connector