You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2020/05/27 12:58:15 UTC

[camel-kafka-connector] branch fixed-docs created (now f6337e5)

This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a change to branch fixed-docs
in repository https://gitbox.apache.org/repos/asf/camel-kafka-connector.git.


      at f6337e5  Fixed the examples by using the correct classes

This branch includes the following new commits:

     new 64c6a3b  Updated the try-it-out locally guide with plugin.path approach
     new f6337e5  Fixed the examples by using the correct classes

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[camel-kafka-connector] 01/02: Updated the try-it-out locally guide with plugin.path approach

Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch fixed-docs
in repository https://gitbox.apache.org/repos/asf/camel-kafka-connector.git

commit 64c6a3bc26a019b25f3d72677210c2bb9a5e8562
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed May 27 14:50:38 2020 +0200

    Updated the try-it-out locally guide with plugin.path approach
---
 docs/modules/ROOT/pages/try-it-out-locally.adoc | 157 +++++++++++++++++++++---
 1 file changed, 142 insertions(+), 15 deletions(-)

diff --git a/docs/modules/ROOT/pages/try-it-out-locally.adoc b/docs/modules/ROOT/pages/try-it-out-locally.adoc
index 2daaa82..ab5cd5b 100644
--- a/docs/modules/ROOT/pages/try-it-out-locally.adoc
+++ b/docs/modules/ROOT/pages/try-it-out-locally.adoc
@@ -34,19 +34,29 @@ $KAFKA_HOME/bin/kafka-topics.sh --create \
   --topic mytopic
 ----
 
-Next, run Camel kafka connectors source and/or syncs:
+For using the quickstart we'll use the plugin.path property, so you'll have to add a path for your connectors.
+
+Open your configuration file located at `$KAFKA_HOME/config/connect-standalone.properties`
 
-[NOTE]
-====
-In order to run more than one instance of a standalone kafka connect on the same machine you neet to duplicate `$KAFKA_HOME/config/connect-standalone.properties` file changing the http port used for each instance:
+and add a property at the end
 
 [source,bash]
 ----
-cp $KAFKA_HOME/config/connect-standalone.properties $KAFKA_HOME/config/connect-standalone2.properties
-
-echo rest.port=<your unused port number> >> $KAFKA_HOME/config/connect-standalone2.properties
+# Set to a list of filesystem paths separated by commas (,) to enable class loading isolation for plugins
+# (connectors, converters, transformations). The list should consist of top level directories that include 
+# any combination of: 
+# a) directories immediately containing jars with plugins and their dependencies
+# b) uber-jars with plugins and their dependencies
+# c) directories immediately containing the package directory structure of classes of plugins and their dependencies
+# Note: symlinks will be followed to discover dependencies or plugins.
+# Examples: 
+# plugin.path=/usr/local/share/java,/usr/local/share/kafka/plugins,/opt/connectors,
+plugin.path=/home/connectors
 ----
-====
+
+At this point you're able to run the connectors quickstart.
+
+Next, run Camel kafka connectors source and/or syncs:
 
 You can use these Kafka utilities to listen or produce from a Kafka topic:
 
@@ -67,18 +77,18 @@ $KAFKA_HOME/bin/kafka-console-producer.sh --broker-list localhost:9092 --topic m
 
 For the following examples you need to fetch the `camel-kafka-connector` project and https://github.com/apache/camel-kafka-connector/blob/master/README.adoc#build-the-project[build] it locally by running `./mvnw package` from the root of the project. Look into the `config` and `examples` directories for the configuration files (`*.properties`) of the examples showcased here.
 
-First you need to set the `CLASSPATH` environment variable to include the `jar` files from the `core/target/camel-kafka-connector-[version]-package/share/java/` directory. On UNIX systems this can be done by running:
+[[Tryitoutlocally-SimpleLogger]]
+=== Simple logger (sink)
+
+First thing to do, is unzip or untar the camel-log-kafka-connector archive in the `plugin.path` location. After building the project you should have in `connectors/camel-log-kafka-connector/target/` a .zip file named `camel-log-kafka-connector-0.3.0-SNAPSHOT-package.zip`
 
 [source,bash]
 ----
-export CLASSPATH="$(find core/target/ -type f -name '*.jar'| grep '\-package' | tr '\n' ':')"
+> cd /home/connectors/
+> cp connectors/camel-log-kafka-connector/target/camel-log-kafka-connector-0.3.0-SNAPSHOT-package.zip .
+> unzip camel-log-kafka-connector-0.3.0-SNAPSHOT-package.zip
 ----
 
-[[Tryitoutlocally-SimpleLogger]]
-=== Simple logger (sink)
-
-This is an example of a _sink_ that logs messages consumed from `mytopic`.
-
 .Run the default sink, just a camel logger:
 [source,bash]
 ----
@@ -88,6 +98,15 @@ $KAFKA_HOME/bin/connect-standalone.sh $KAFKA_HOME/config/connect-standalone.prop
 [[Tryitoutlocally-Timer]]
 === Timer (source)
 
+First thing to do, is unzip or untar the camel-timer-kafka-connector archive in the `plugin.path` location. After building the project you should have in `connectors/camel-timer-kafka-connector/target/` a .zip file named `camel-timer-kafka-connector-0.3.0-SNAPSHOT-package.zip`
+
+[source,bash]
+----
+> cd /home/connectors/
+> cp connectors/camel-timer-kafka-connector/target/camel-log-kafka-connector-0.3.0-SNAPSHOT-package.zip .
+> unzip camel-timer-kafka-connector-0.3.0-SNAPSHOT-package.zip
+----
+
 This is an example of a _source_ that produces a message every second to `mytopic`.
 
 .Run the default source, just a camel timer:
@@ -99,6 +118,15 @@ $KAFKA_HOME/bin/connect-standalone.sh $KAFKA_HOME/config/connect-standalone.prop
 [[Tryitoutlocally-AwsKinesis]]
 === AWS Kinesis (source)
 
+First thing to do, is unzip or untar the camel-aws-kinesis-kafka-connector archive in the `plugin.path` location. After building the project you should have in `connectors/camel-aws-kinesis-kafka-connector/target/` a .zip file named `camel-aws-kinesis-kafka-connector-0.3.0-SNAPSHOT-package.zip`
+
+[source,bash]
+----
+> cd /home/connectors/
+> cp connectors/camel-aws-kinesis-kafka-connector/target/camel-aws-kinesis-kafka-connector-0.3.0-SNAPSHOT-package.zip .
+> unzip camel-aws-kinesis-kafka-connector-0.3.0-SNAPSHOT-package.zip
+----
+
 This example consumes from AWS Kinesis data stream and transfers the payload to `mytopic` topic in Kafka.
 
 Adjust properties in `examples/CamelAWSKinesisSourceConnector.properties` for your environment, you need to configure access key, secret key and region by setting `camel.component.aws-kinesis.configuration.access-key=youraccesskey`, `camel.component.aws-kinesis.configuration.secret-key=yoursecretkey` and `camel.component.aws-kinesis.configuration.region=yourregion`.
@@ -112,6 +140,15 @@ $KAFKA_HOME/bin/connect-standalone.sh $KAFKA_HOME/config/connect-standalone.prop
 [[Tryitoutlocally-AWSSQSSink]]
 === AWS SQS (sink)
 
+First thing to do, is unzip or untar the camel-aws-sqs-kafka-connector archive in the `plugin.path` location. After building the project you should have in `connectors/camel-aws-sqs-kafka-connector/target/` a .zip file named `camel-aws-sqs-kafka-connector-0.3.0-SNAPSHOT-package.zip`
+
+[source,bash]
+----
+> cd /home/connectors/
+> cp connectors/camel-aws-sqs-kafka-connector/target/camel-aws-sqs-kafka-connector-0.3.0-SNAPSHOT-package.zip .
+> unzip camel-aws-sqs-kafka-connector-0.3.0-SNAPSHOT-package.zip
+----
+
 This example consumes from Kafka topic `mytopic` and transfers the payload to AWS SQS.
 
 Adjust properties in `examples/CamelAWSSQSSinkConnector.properties` for your environment, you need to configure access key, secret key and region by setting `camel.component.aws-sqs.configuration.access-key=youraccesskey`, `camel.component.aws-sqs.configuration.secret-key=yoursecretkey` and `camel.component.aws-sqs.configuration.region=yourregion`
@@ -125,6 +162,15 @@ $KAFKA_HOME/bin/connect-standalone.sh $KAFKA_HOME/config/connect-standalone.prop
 [[Tryitoutlocally-AWSSQSSource]]
 === AWS SQS (source)
 
+First thing to do, is unzip or untar the camel-aws-sqs-kafka-connector archive in the `plugin.path` location. After building the project you should have in `connectors/camel-aws-sqs-kafka-connector/target/` a .zip file named `camel-aws-sqs-kafka-connector-0.3.0-SNAPSHOT-package.zip`
+
+[source,bash]
+----
+> cd /home/connectors/
+> cp connectors/camel-aws-sqs-kafka-connector/target/camel-aws-sqs-kafka-connector-0.3.0-SNAPSHOT-package.zip .
+> unzip camel-aws-sqs-kafka-connector-0.3.0-SNAPSHOT-package.zip
+----
+
 This example consumes from AWS SQS queue `mysqs` and transfers the payload to `mytopic` topic in Kafka.
 
 Adjust properties in `examples/CamelAWSSQSSourceConnector.properties` for your environment, you need to configure access key, secret key and region by setting `camel.component.aws-sqs.configuration.access-key=youraccesskey`, `camel.component.aws-sqs.configuration.secret-key=yoursecretkey` and `camel.component.aws-sqs.configuration.region=yourregion`
@@ -138,6 +184,15 @@ $KAFKA_HOME/bin/connect-standalone.sh $KAFKA_HOME/config/connect-standalone.prop
 [[Tryitoutlocally-AWSSNSSink]]
 === AWS SNS (sink)
 
+First thing to do, is unzip or untar the camel-aws-sqs-kafka-connector archive in the `plugin.path` location. After building the project you should have in `connectors/camel-aws-sns-kafka-connector/target/` a .zip file named `camel-aws-sns-kafka-connector-0.3.0-SNAPSHOT-package.zip`
+
+[source,bash]
+----
+> cd /home/connectors/
+> cp connectors/camel-aws-sns-kafka-connector/target/camel-aws-sns-kafka-connector-0.3.0-SNAPSHOT-package.zip .
+> unzip camel-aws-sns-kafka-connector-0.3.0-SNAPSHOT-package.zip
+----
+
 This example consumes from `mytopic` Kafka topic and transfers the payload to AWS SNS `topic` topic.
 
 Adjust properties in `examples/CamelAWSSNSSinkConnector.properties` for your environment, you need to configure access key, secret key and region by setting `camel.component.aws-sns.configuration.access-key=youraccesskey`, `camel.component.aws-sns.configuration.secret-key=yoursecretkey` and `camel.component.aws-sns.configuration.region=yourregion`
@@ -151,6 +206,15 @@ $KAFKA_HOME/bin/connect-standalone.sh $KAFKA_HOME/config/connect-standalone.prop
 [[Tryitoutlocally-AWSSNSSource]]
 === AWS S3 (source)
 
+First thing to do, is unzip or untar the camel-aws-sqs-kafka-connector archive in the `plugin.path` location. After building the project you should have in `connectors/camel-aws-s3-kafka-connector/target/` a .zip file named `camel-aws-s3-kafka-connector-0.3.0-SNAPSHOT-package.zip`
+
+[source,bash]
+----
+> cd /home/connectors/
+> cp connectors/camel-aws-s3-kafka-connector/target/camel-aws-s3-kafka-connector-0.3.0-SNAPSHOT-package.zip .
+> unzip camel-aws-s3-kafka-connector-0.3.0-SNAPSHOT-package.zip
+----
+
 This example fetches objects from AWS S3 in the `camel-kafka-connector` bucket and transfers the payload to `mytopic` Kafka topic. This example shows how to implement a custom converter converting from bytes received from S3 to Kafka's `SchemaAndValue`.
 
 Adjust properties in `examples/CamelAWSS3SourceConnector.properties` for your environment, you need to configure access key, secret key and region by adding `camel.component.aws-s3.configuration.access-key=youraccesskey`, `camel.component.aws-s3.configuration.secret-key=yoursecretkey` and `camel.component.aws-s3.configuration.region=yourregion`
@@ -164,6 +228,15 @@ $KAFKA_HOME/bin/connect-standalone.sh $KAFKA_HOME/config/connect-standalone.prop
 [[Tryitoutlocally-CassandraQL]]
 === Apache Cassandra
 
+First thing to do, is unzip or untar the camel-aws-sqs-kafka-connector archive in the `plugin.path` location. After building the project you should have in `connectors/camel-cql-kafka-connector/target/` a .zip file named `camel-cql-kafka-connector-0.3.0-SNAPSHOT-package.zip`
+
+[source,bash]
+----
+> cd /home/connectors/
+> cp connectors/camel-cql-kafka-connector/target/camel-cql-kafka-connector-0.3.0-SNAPSHOT-package.zip .
+> unzip camel-cql-kafka-connector-0.3.0-SNAPSHOT-package.zip
+----
+
 This examples require a running Cassandra instance, for simplicity the steps below show how to start Cassandra using Docker. First you'll need to run a Cassandra instance:
 
 [source,bash]
@@ -223,6 +296,15 @@ $KAFKA_HOME/bin/connect-standalone.sh $KAFKA_HOME/config/connect-standalone.prop
 [[Tryitoutlocally-CassandraQLSink]]
 ==== Apache Cassandra (sink)
 
+First thing to do, is unzip or untar the camel-aws-sqs-kafka-connector archive in the `plugin.path` location. After building the project you should have in `connectors/camel-cql-kafka-connector/target/` a .zip file named `camel-cql-kafka-connector-0.3.0-SNAPSHOT-package.zip`
+
+[source,bash]
+----
+> cd /home/connectors/
+> cp connectors/camel-cql-kafka-connector/target/camel-cql-kafka-connector-0.3.0-SNAPSHOT-package.zip .
+> unzip camel-cql-kafka-connector-0.3.0-SNAPSHOT-package.zip
+----
+
 This example adds data to the `users` table in Cassandra from the data consumed from the `mytopic` Kafka topic. Notice how the `name` column is populated from the Kafka message using CQL comand `insert into users...`.
 
 .Run the Cassandra CQL sink:
@@ -234,6 +316,15 @@ $KAFKA_HOME/bin/connect-standalone.sh $KAFKA_HOME/config/connect-standalone.prop
 [[Tryitoutlocally-ElasticsearchSink]]
 === Elasticsearch (sink)
 
+First thing to do, is unzip or untar the camel-aws-sqs-kafka-connector archive in the `plugin.path` location. After building the project you should have in `connectors/camel-elasticsearch-rest-kafka-connector/target/` a .zip file named `camel-elasticsearch-rest-kafka-connector-0.3.0-SNAPSHOT-package.zip`
+
+[source,bash]
+----
+> cd /home/connectors/
+> cp connectors/camel-elasticsearch-rest-kafka-connector/target/camel-elasticsearch-rest-kafka-connector-0.3.0-SNAPSHOT-package.zip .
+> unzip camel-elasticsearch-rest-kafka-connector-0.3.0-SNAPSHOT-package.zip
+----
+
 This example passes data from `mytopic` Kafka topic to `sampleIndexName` index in Elasticsearch. Adjust properties in `examples/CamelElasticSearchSinkConnector.properties` to reflect your environment, for example change the `hostAddresses` to a valid Elasticsearch instance hostname and port.
 
 For the index operation, it might be necessary to provide or implement a `transformer`. A sample configuration would be similar to the one below:
@@ -268,6 +359,15 @@ $KAFKA_HOME/bin/connect-standalone.sh $KAFKA_HOME/config/connect-standalone.prop
 [[Tryitoutlocally-FileSink]]
 === File (sink)
 
+First thing to do, is unzip or untar the camel-aws-sqs-kafka-connector archive in the `plugin.path` location. After building the project you should have in `connectors/camel-file-kafka-connector/target/` a .zip file named `camel-file-kafka-connector-0.3.0-SNAPSHOT-package.zip`
+
+[source,bash]
+----
+> cd /home/connectors/
+> cp connectors/camel-file-kafka-connector/target/camel-file-kafka-connector-0.3.0-SNAPSHOT-package.zip .
+> unzip camel-file-kafka-connector-0.3.0-SNAPSHOT-package.zip
+----
+
 This example appends data from `mytopic` Kafka topic to a file in `/tmp/kafkaconnect.txt`.
 
 .Run the file sink:
@@ -279,6 +379,15 @@ $KAFKA_HOME/bin/connect-standalone.sh $KAFKA_HOME/config/connect-standalone.prop
 [[Tryitoutlocally-HttpSink]]
 === HTTP (sink)
 
+First thing to do, is unzip or untar the camel-aws-sqs-kafka-connector archive in the `plugin.path` location. After building the project you should have in `connectors/camel-http-kafka-connector/target/` a .zip file named `camel-http-kafka-connector-0.3.0-SNAPSHOT-package.zip`
+
+[source,bash]
+----
+> cd /home/connectors/
+> cp connectors/camel-http-kafka-connector/target/camel-http-kafka-connector-0.3.0-SNAPSHOT-package.zip .
+> unzip camel-http-kafka-connector-0.3.0-SNAPSHOT-package.zip
+----
+
 This example sends data from `mytopic` Kafka topic to a HTTP service. Adjust properties in `examples/CamelHttpSinkConnector.properties` for your environment, for example configuring the `camel.sink.url`. 
 
 .Run the http sink:
@@ -290,6 +399,15 @@ $KAFKA_HOME/bin/connect-standalone.sh $KAFKA_HOME/config/connect-standalone.prop
 [[Tryitoutlocally-JMSSource]]
 === JMS (source)
 
+First thing to do, is unzip or untar the camel-aws-sqs-kafka-connector archive in the `plugin.path` location. After building the project you should have in `connectors/camel-sjms2-kafka-connector/target/` a .zip file named `camel-sjsm2-kafka-connector-0.3.0-SNAPSHOT-package.zip`
+
+[source,bash]
+----
+> cd /home/connectors/
+> cp connectors/camel-sjsm2-kafka-connector/target/camel-sjms2-kafka-connector-0.3.0-SNAPSHOT-package.zip .
+> unzip camel-sjsm2-kafka-connector-0.3.0-SNAPSHOT-package.zip
+----
+
 This example receives messages from a JMS queue named `myqueue` and transfers them to `mytopic` Kafka topic. In this example ActiveMQ is used and it's configured to connect to the broker running on `localhost:61616`. Adjust properties in `examples/CamelJmsSourceConnector.properties` for your environment, for example configuring username and password by setting `camel.component.sjms2.connection-factory.userName=yourusername` and `camel.component.sjms2.connection-factory.password=yourpassw [...]
 
 .Run the JMS source:
@@ -312,6 +430,15 @@ $KAFKA_HOME/bin/connect-standalone.sh $KAFKA_HOME/config/connect-standalone.prop
 [[Tryitoutlocally-TelegramSource]]
 === Telegram (source)
 
+First thing to do, is unzip or untar the camel-aws-sqs-kafka-connector archive in the `plugin.path` location. After building the project you should have in `connectors/camel-telegram-kafka-connector/target/` a .zip file named `camel-telegram-kafka-connector-0.3.0-SNAPSHOT-package.zip`
+
+[source,bash]
+----
+> cd /home/connectors/
+> cp connectors/camel-telegram-kafka-connector/target/camel-telegram-kafka-connector-0.3.0-SNAPSHOT-package.zip .
+> unzip camel-telegram-kafka-connector-0.3.0-SNAPSHOT-package.zip
+----
+
 This example transfers messages sent to Telegram bot to the `mytopic` Kafka topic. Adjust to set telegram bot token in `examples/CamelTelegramSourceConnector.properties` to reflect your bot's token.
 
 .Run the telegram source:


[camel-kafka-connector] 02/02: Fixed the examples by using the correct classes

Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch fixed-docs
in repository https://gitbox.apache.org/repos/asf/camel-kafka-connector.git

commit f6337e5a0f00bedde0e9100ec02577c73877284f
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed May 27 14:57:38 2020 +0200

    Fixed the examples by using the correct classes
---
 config/CamelSinkConnector.properties                | 2 +-
 config/CamelSourceConnector.properties              | 2 +-
 examples/CamelAWSKinesisSourceConnector.properties  | 2 +-
 examples/CamelAWSS3SourceConnector.properties       | 2 +-
 examples/CamelAWSSNSSinkConnector.properties        | 2 +-
 examples/CamelAWSSQSSinkConnector.properties        | 2 +-
 examples/CamelAWSSQSSourceConnector.properties      | 2 +-
 examples/CamelCassandraQLSinkConnector.properties   | 2 +-
 examples/CamelCassandraQLSourceConnector.properties | 2 +-
 examples/CamelElasticSearchSinkConnector.properties | 2 +-
 examples/CamelFileSinkConnector.properties          | 2 +-
 examples/CamelHttpSinkConnector.properties          | 2 +-
 examples/CamelJmsSinkConnector.properties           | 4 ++--
 examples/CamelJmsSourceConnector.properties         | 2 +-
 examples/CamelSlackSinkConnector.properties         | 2 +-
 examples/CamelTelegramSourceConnector.properties    | 2 +-
 16 files changed, 17 insertions(+), 17 deletions(-)

diff --git a/config/CamelSinkConnector.properties b/config/CamelSinkConnector.properties
index 5b8bdac..784fa87 100644
--- a/config/CamelSinkConnector.properties
+++ b/config/CamelSinkConnector.properties
@@ -18,7 +18,7 @@
 name=CamelSinkConnector
 topics=mytopic
 tasks.max=1
-connector.class=org.apache.camel.kafkaconnector.CamelSinkConnector
+connector.class=org.apache.camel.kafkaconnector.log.CamelLogSinkConnector
 key.converter=org.apache.kafka.connect.storage.StringConverter
 value.converter=org.apache.kafka.connect.storage.StringConverter
 
diff --git a/config/CamelSourceConnector.properties b/config/CamelSourceConnector.properties
index 3d88460..7dd82ee 100644
--- a/config/CamelSourceConnector.properties
+++ b/config/CamelSourceConnector.properties
@@ -17,7 +17,7 @@
 
 name=CamelSourceConnector
 tasks.max=1
-connector.class=org.apache.camel.kafkaconnector.CamelSourceConnector
+connector.class=org.apache.camel.kafkaconnector.timer.CamelTimerSourceConnector
 key.converter=org.apache.kafka.connect.storage.StringConverter
 value.converter=org.apache.kafka.connect.storage.StringConverter
 
diff --git a/examples/CamelAWSKinesisSourceConnector.properties b/examples/CamelAWSKinesisSourceConnector.properties
index f8dcd77..b17de86 100644
--- a/examples/CamelAWSKinesisSourceConnector.properties
+++ b/examples/CamelAWSKinesisSourceConnector.properties
@@ -13,7 +13,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 name=CamelAWSKinesisSourceConnector
-connector.class=org.apache.camel.kafkaconnector.CamelSourceConnector
+connector.class=org.apache.camel.kafkaconnector.awskinesis.CamelAwskinesisSourceConnector
 key.converter=org.apache.kafka.connect.storage.StringConverter
 value.converter=org.apache.kafka.connect.storage.StringConverter
 
diff --git a/examples/CamelAWSS3SourceConnector.properties b/examples/CamelAWSS3SourceConnector.properties
index fc4be7f..52be60f 100644
--- a/examples/CamelAWSS3SourceConnector.properties
+++ b/examples/CamelAWSS3SourceConnector.properties
@@ -16,7 +16,7 @@
 #
 
 name=CamelAWSS3SourceConnector
-connector.class=org.apache.camel.kafkaconnector.CamelSourceConnector
+connector.class=org.apache.camel.kafkaconnector.awss3.CamelAwss3SourceConnector
 key.converter=org.apache.kafka.connect.storage.StringConverter
 value.converter=org.apache.camel.kafkaconnector.converters.S3ObjectConverter
 #transforms=S3ObjectTransformer
diff --git a/examples/CamelAWSSNSSinkConnector.properties b/examples/CamelAWSSNSSinkConnector.properties
index b20245b..9aa526c 100644
--- a/examples/CamelAWSSNSSinkConnector.properties
+++ b/examples/CamelAWSSNSSinkConnector.properties
@@ -18,7 +18,7 @@
 name=CamelAWSSNSSinkConnector
 topics=mytopic
 tasks.max=1
-connector.class=org.apache.camel.kafkaconnector.CamelSinkConnector
+connector.class=org.apache.camel.kafkaconnector.awssns.CamelAwssnsSinkConnector
 key.converter=org.apache.kafka.connect.storage.StringConverter
 value.converter=org.apache.kafka.connect.storage.StringConverter
 
diff --git a/examples/CamelAWSSQSSinkConnector.properties b/examples/CamelAWSSQSSinkConnector.properties
index 500008d..a3aca69 100644
--- a/examples/CamelAWSSQSSinkConnector.properties
+++ b/examples/CamelAWSSQSSinkConnector.properties
@@ -18,7 +18,7 @@
 name=CamelAWSSQSSinkConnector
 topics=mytopic
 tasks.max=1
-connector.class=org.apache.camel.kafkaconnector.CamelSinkConnector
+connector.class=org.apache.camel.kafkaconnector.awssqs.CamelAwssqsSinkConnector
 key.converter=org.apache.kafka.connect.storage.StringConverter
 value.converter=org.apache.kafka.connect.storage.StringConverter
 
diff --git a/examples/CamelAWSSQSSourceConnector.properties b/examples/CamelAWSSQSSourceConnector.properties
index 5d85a40..0147187 100644
--- a/examples/CamelAWSSQSSourceConnector.properties
+++ b/examples/CamelAWSSQSSourceConnector.properties
@@ -16,7 +16,7 @@
 #
 
 name=CamelAWSSQSSourceConnector
-connector.class=org.apache.camel.kafkaconnector.CamelSourceConnector
+connector.class=org.apache.camel.kafkaconnector.awssqs.CamelAwssqsSourceConnector
 key.converter=org.apache.kafka.connect.storage.StringConverter
 value.converter=org.apache.kafka.connect.storage.StringConverter
 
diff --git a/examples/CamelCassandraQLSinkConnector.properties b/examples/CamelCassandraQLSinkConnector.properties
index e030f95..8917bdd 100644
--- a/examples/CamelCassandraQLSinkConnector.properties
+++ b/examples/CamelCassandraQLSinkConnector.properties
@@ -18,7 +18,7 @@
 name=CamelCassandraQLSinkConnector
 topics=mytopic
 tasks.max=1
-connector.class=org.apache.camel.kafkaconnector.CamelSinkConnector
+connector.class=org.apache.camel.kafkaconnector.cql.CamelCqlSinkConnector
 key.converter=org.apache.kafka.connect.storage.StringConverter
 value.converter=org.apache.kafka.connect.storage.StringConverter
 
diff --git a/examples/CamelCassandraQLSourceConnector.properties b/examples/CamelCassandraQLSourceConnector.properties
index ea60f4c..4795eb9 100644
--- a/examples/CamelCassandraQLSourceConnector.properties
+++ b/examples/CamelCassandraQLSourceConnector.properties
@@ -16,7 +16,7 @@
 #
 
 name=CamelCassandraQLSourceConnector
-connector.class=org.apache.camel.kafkaconnector.CamelSourceConnector
+connector.class=org.apache.camel.kafkaconnector.cql.CamelCqlSourceConnector
 key.converter=org.apache.kafka.connect.storage.StringConverter
 value.converter=org.apache.kafka.connect.storage.StringConverter
 
diff --git a/examples/CamelElasticSearchSinkConnector.properties b/examples/CamelElasticSearchSinkConnector.properties
index a6679ee..02e966f 100644
--- a/examples/CamelElasticSearchSinkConnector.properties
+++ b/examples/CamelElasticSearchSinkConnector.properties
@@ -18,7 +18,7 @@
 name=CamelElasticSearchSinkConnector
 topics=mytopic
 tasks.max=1
-connector.class=org.apache.camel.kafkaconnector.CamelSinkConnector
+connector.class=org.apache.camel.kafkaconnector.elasticsearchrest.CamelElasticsearchrestSinkConnector
 key.converter=org.apache.kafka.connect.storage.StringConverter
 value.converter=org.apache.kafka.connect.storage.StringConverter
 
diff --git a/examples/CamelFileSinkConnector.properties b/examples/CamelFileSinkConnector.properties
index bb97540..ce11259 100644
--- a/examples/CamelFileSinkConnector.properties
+++ b/examples/CamelFileSinkConnector.properties
@@ -18,7 +18,7 @@
 name=CamelFileSinkConnector
 topics=mytopic
 tasks.max=1
-connector.class=org.apache.camel.kafkaconnector.CamelSinkConnector
+connector.class=org.apache.camel.kafkaconnector.file.CamelFileSinkConnector
 key.converter=org.apache.kafka.connect.storage.StringConverter
 value.converter=org.apache.kafka.connect.storage.StringConverter
 
diff --git a/examples/CamelHttpSinkConnector.properties b/examples/CamelHttpSinkConnector.properties
index 384da26..6e12b83 100644
--- a/examples/CamelHttpSinkConnector.properties
+++ b/examples/CamelHttpSinkConnector.properties
@@ -18,7 +18,7 @@
 name=CamelHttpSinkConnector
 topics=mytopic
 tasks.max=1
-connector.class=org.apache.camel.kafkaconnector.CamelSinkConnector
+connector.class=org.apache.camel.kafkaconnector.http.CamelHttpSinkConnector
 key.converter=org.apache.kafka.connect.storage.StringConverter
 value.converter=org.apache.kafka.connect.storage.StringConverter
 
diff --git a/examples/CamelJmsSinkConnector.properties b/examples/CamelJmsSinkConnector.properties
index 8e0b917..1898b5b 100644
--- a/examples/CamelJmsSinkConnector.properties
+++ b/examples/CamelJmsSinkConnector.properties
@@ -18,7 +18,7 @@
 name=CamelJmsSinkConnector
 topics=mytopic
 tasks.max=1
-connector.class=org.apache.camel.kafkaconnector.CamelSinkConnector
+connector.class=org.apache.camel.kafkaconnector.sjms2.CamelSjms2SinkConnector
 key.converter=org.apache.kafka.connect.storage.StringConverter
 value.converter=org.apache.kafka.connect.storage.StringConverter
 
@@ -29,4 +29,4 @@ camel.component.sjms2.connection-factory.brokerURL=tcp://localhost:61616
 
 # If using AMQP via QPid JMS:
 # camel.component.sjms2.connection-factory=#class:org.apache.qpid.jms.JmsConnectionFactory
-# camel.component.sjms2.connection-factory.remoteURI=amqp://localhost:5672
\ No newline at end of file
+# camel.component.sjms2.connection-factory.remoteURI=amqp://localhost:5672
diff --git a/examples/CamelJmsSourceConnector.properties b/examples/CamelJmsSourceConnector.properties
index 2500d5a..b999e7b 100644
--- a/examples/CamelJmsSourceConnector.properties
+++ b/examples/CamelJmsSourceConnector.properties
@@ -17,7 +17,7 @@
 
 name=CamelJmsSourceConnector
 tasks.max=1
-connector.class=org.apache.camel.kafkaconnector.CamelSourceConnector
+connector.class=org.apache.camel.kafkaconnector.sjms2.CamelSjms2SourceConnector
 key.converter=org.apache.kafka.connect.storage.StringConverter
 value.converter=org.apache.kafka.connect.storage.StringConverter
 
diff --git a/examples/CamelSlackSinkConnector.properties b/examples/CamelSlackSinkConnector.properties
index bfe6bcd..53e6626 100644
--- a/examples/CamelSlackSinkConnector.properties
+++ b/examples/CamelSlackSinkConnector.properties
@@ -23,4 +23,4 @@ key.converter=org.apache.kafka.connect.storage.StringConverter
 camel.sink.endpoint.webhookUrl=https://hooks.slack.com/path/to/id
 camel.sink.path.channel=#opensourcetest
 
-topics=my-topic
\ No newline at end of file
+topics=my-topic
diff --git a/examples/CamelTelegramSourceConnector.properties b/examples/CamelTelegramSourceConnector.properties
index 5c69fcc..3f8783e 100644
--- a/examples/CamelTelegramSourceConnector.properties
+++ b/examples/CamelTelegramSourceConnector.properties
@@ -17,7 +17,7 @@
 
 name=CamelTelegramSourceConnector
 tasks.max=1
-connector.class=org.apache.camel.kafkaconnector.CamelSourceConnector
+connector.class=org.apache.camel.kafkaconnector.telegram.CamelTelegramSourceConnector
 key.converter=org.apache.kafka.connect.storage.StringConverter
 value.converter=org.apache.kafka.connect.storage.StringConverter