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/09/22 05:28:15 UTC

[camel-kafka-connector-examples] branch master updated: AWS2 SQS Source example: Fixed yaml

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 99560b2  AWS2 SQS Source example: Fixed yaml
99560b2 is described below

commit 99560b2ce6fc2f54243741a845cdaaf925671e9e
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Sep 22 07:26:04 2020 +0200

    AWS2 SQS Source example: Fixed yaml
---
 .../config/openshift/aws2-sqs-source-connector.yaml               | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/aws2-sqs/aws2-sqs-source/config/openshift/aws2-sqs-source-connector.yaml b/aws2-sqs/aws2-sqs-source/config/openshift/aws2-sqs-source-connector.yaml
index ffb3b60..d6f92cd 100644
--- a/aws2-sqs/aws2-sqs-source/config/openshift/aws2-sqs-source-connector.yaml
+++ b/aws2-sqs/aws2-sqs-source/config/openshift/aws2-sqs-source-connector.yaml
@@ -1,18 +1,18 @@
 apiVersion: kafka.strimzi.io/v1alpha1
 kind: KafkaConnector
 metadata:
-  name: s3-source-connector
+  name: sqs-source-connector
   namespace: myproject
   labels:
     strimzi.io/cluster: my-connect-cluster
 spec:
-  class: org.apache.camel.kafkaconnector.aws2s3.CamelAws2s3SourceConnector
+  class: org.apache.camel.kafkaconnector.aws2sqs.CamelAws2sqsSourceConnector
   tasksMax: 1
   config:
     key.converter: org.apache.kafka.connect.storage.StringConverter
     value.converter: org.apache.kafka.connect.storage.StringConverter
-    topics: s3-topic
-    camel.source.path.bucketNameOrArn: camel-kafka-connector
+    topics: sqs-topic
+    camel.source.path.queueNameOrArn: camel-connector-test
     camel.source.maxPollDuration: 10000
     camel.component.aws2-s3.accessKey: ${file:/opt/kafka/external-configuration/aws-credentials/aws2-sqs-cred.properties:accessKey}
     camel.component.aws2-s3.secretKey: ${file:/opt/kafka/external-configuration/aws-credentials/aws2-sqs-cred.properties:secretKey}