You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2024/05/06 14:13:57 UTC
(camel-kafka-connector) branch 442 updated: Upgrade to Camel 4.4.2
This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch 442
in repository https://gitbox.apache.org/repos/asf/camel-kafka-connector.git
The following commit(s) were added to refs/heads/442 by this push:
new eafb2851f8 Upgrade to Camel 4.4.2
eafb2851f8 is described below
commit eafb2851f81df617f0dcf01c6f2247b14f16a1e7
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Mon May 6 16:13:40 2024 +0200
Upgrade to Camel 4.4.2
---
.../resources/connectors/camel-aws2-iam-sink.json | 42 +-
.../resources/connectors/camel-aws2-kms-sink.json | 42 +-
.../connectors/camel-azure-cosmosdb-sink-sink.json | 13 +-
.../camel-azure-cosmosdb-source-source.json | 13 +-
.../camel-azure-eventhubs-sink-sink.json | 17 +-
.../camel-azure-eventhubs-source-source.json | 17 +-
.../camel-azure-servicebus-sink-sink.json | 7 +
.../camel-azure-servicebus-source-source.json | 7 +
.../camel-azure-storage-datalake-sink-sink.json | 7 +
...camel-azure-storage-datalake-source-source.json | 7 +
.../camel-azure-storage-queue-sink-sink.json | 7 +
.../camel-azure-storage-queue-source-source.json | 7 +
.../resources/connectors/camel-file-source.json | 4 +-
.../connectors/camel-google-storage-sink-sink.json | 2 +-
.../connectors/camel-jms-ibm-mq-sink-sink.json | 2 +-
.../connectors/camel-jms-ibm-mq-source-source.json | 2 +-
...picurio-registry-not-secured-source-source.json | 9 +-
...-kafka-azure-schema-registry-source-source.json | 9 +-
.../camel-kafka-not-secured-source-source.json | 7 +
.../camel-kafka-scram-source-source.json | 7 +
.../connectors/camel-kafka-source-source.json | 7 +
.../connectors/camel-kafka-ssl-source-source.json | 7 +
.../camel-opensearch-index-sink-sink.json | 2 +-
.../connectors/camel-salesforce-source-source.json | 7 +
.../resources/connectors/camel-sjms2-sink.json | 2 +-
.../resources/connectors/camel-sjms2-source.json | 2 +-
.../connectors/camel-slack-source-source.json | 7 +
.../resources/descriptors/connectors.properties | 14 +-
.../kamelets/aws-cloudtrail-source.kamelet.yaml | 4 +-
.../kamelets/aws-cloudwatch-sink.kamelet.yaml | 2 +-
.../camel-aws-ddb-sink-kafka-connector/pom.xml | 10 +-
.../resources/kamelets/aws-ddb-sink.kamelet.yaml | 6 +-
.../pom.xml | 5 +
.../kamelets/aws-ddb-streams-source.kamelet.yaml | 57 ++-
.../resources/kamelets/aws-ec2-sink.kamelet.yaml | 4 +-
.../kamelets/aws-eventbridge-sink.kamelet.yaml | 4 +-
.../aws-kinesis-firehose-sink.kamelet.yaml | 4 +-
.../kamelets/aws-kinesis-sink.kamelet.yaml | 4 +-
.../pom.xml | 10 +-
.../kamelets/aws-kinesis-source.kamelet.yaml | 14 +-
.../kamelets/aws-lambda-sink.kamelet.yaml | 2 +-
.../pom.xml | 10 +-
.../kamelets/aws-redshift-sink.kamelet.yaml | 4 +-
.../pom.xml | 10 +-
.../kamelets/aws-redshift-source.kamelet.yaml | 4 +-
.../kamelets/aws-s3-cdc-source.kamelet.yaml | 7 +-
.../resources/kamelets/aws-s3-sink.kamelet.yaml | 6 +-
.../camel-aws-s3-source-kafka-connector/pom.xml | 10 +-
.../resources/kamelets/aws-s3-source.kamelet.yaml | 20 +-
.../aws-s3-streaming-upload-sink.kamelet.yaml | 6 +-
.../kamelets/aws-secrets-manager-sink.kamelet.yaml | 3 +-
.../resources/kamelets/aws-ses-sink.kamelet.yaml | 3 +-
.../kamelets/aws-sns-fifo-sink.kamelet.yaml | 2 +-
.../resources/kamelets/aws-sns-sink.kamelet.yaml | 5 +-
.../kamelets/aws-sqs-batch-sink.kamelet.yaml | 5 +-
.../kamelets/aws-sqs-fifo-sink.kamelet.yaml | 6 +-
.../resources/kamelets/aws-sqs-sink.kamelet.yaml | 5 +-
.../camel-aws-sqs-source-kafka-connector/pom.xml | 10 +-
.../resources/kamelets/aws-sqs-source.kamelet.yaml | 19 +-
.../aws-timestream-query-sink.kamelet.yaml | 4 +-
.../generated/resources/camel-aws2-iam-sink.json | 42 +-
.../aws2iam/CamelAws2iamSinkConnectorConfig.java | 32 +-
.../generated/resources/camel-aws2-kms-sink.json | 42 +-
.../aws2kms/CamelAws2kmsSinkConnectorConfig.java | 32 +-
.../resources/camel-azure-cosmosdb-sink-sink.json | 13 +-
.../CamelAzurecosmosdbsinkSinkConnector.properties | 2 -
.../CamelAzurecosmosdbsinkSinkConnectorConfig.java | 6 +-
.../kamelets/azure-cosmosdb-sink.kamelet.yaml | 18 +-
.../camel-azure-cosmosdb-source-source.json | 13 +-
...elAzurecosmosdbsourceSourceConnector.properties | 2 -
...elAzurecosmosdbsourceSourceConnectorConfig.java | 6 +-
.../kamelets/azure-cosmosdb-source.kamelet.yaml | 18 +-
.../resources/camel-azure-eventhubs-sink-sink.json | 17 +-
...CamelAzureeventhubssinkSinkConnector.properties | 4 -
...CamelAzureeventhubssinkSinkConnectorConfig.java | 8 +-
.../kamelets/azure-eventhubs-sink.kamelet.yaml | 19 +-
.../camel-azure-eventhubs-source-source.json | 17 +-
...lAzureeventhubssourceSourceConnector.properties | 4 -
...lAzureeventhubssourceSourceConnectorConfig.java | 8 +-
.../kamelets/azure-eventhubs-source.kamelet.yaml | 19 +-
.../kamelets/azure-functions-sink.kamelet.yaml | 2 +-
.../camel-azure-servicebus-sink-sink.json | 7 +
...amelAzureservicebussinkSinkConnectorConfig.java | 4 +
.../kamelets/azure-servicebus-sink.kamelet.yaml | 11 +-
.../camel-azure-servicebus-source-source.json | 7 +
...AzureservicebussourceSourceConnectorConfig.java | 4 +
.../kamelets/azure-servicebus-source.kamelet.yaml | 9 +-
.../azure-storage-blob-append-sink.kamelet.yaml | 2 +-
.../azure-storage-blob-cdc-source.kamelet.yaml | 3 +-
...ure-storage-blob-changefeed-source.kamelet.yaml | 2 +-
.../kamelets/azure-storage-blob-sink.kamelet.yaml | 2 +-
.../pom.xml | 10 +-
.../azure-storage-blob-source.kamelet.yaml | 15 +-
.../pom.xml | 10 +-
.../camel-azure-storage-datalake-sink-sink.json | 7 +
...zurestoragedatalakesinkSinkConnectorConfig.java | 4 +
.../azure-storage-datalake-sink.kamelet.yaml | 13 +-
.../pom.xml | 10 +-
...camel-azure-storage-datalake-source-source.json | 7 +
...storagedatalakesourceSourceConnectorConfig.java | 4 +
.../azure-storage-datalake-source.kamelet.yaml | 11 +-
.../pom.xml | 10 +-
.../descriptors/connector-sink.properties | 1 +
.../camel-azure-storage-files-sink-sink.json | 45 +++
.../src/main/assembly/package.xml | 0
...lAzurestoragefilessinkSinkConnector.properties} | 12 +-
.../CamelAzurestoragefilessinkSinkConnector.java} | 10 +-
...elAzurestoragefilessinkSinkConnectorConfig.java | 64 ++++
.../CamelAzurestoragefilessinkSinkTask.java} | 12 +-
.../src/main/resources/META-INF/LICENSE.txt | 0
.../src/main/resources/META-INF/NOTICE.txt | 0
.../azure-storage-files-sink.kamelet.yaml} | 39 +-
.../pom.xml | 21 +-
.../descriptors/connector-source.properties | 1 +
.../camel-azure-storage-files-source-source.json | 66 ++++
.../src/main/assembly/package.xml | 0
...restoragefilessourceSourceConnector.properties} | 12 +-
...melAzurestoragefilessourceSourceConnector.java} | 10 +-
...urestoragefilessourceSourceConnectorConfig.java | 76 ++++
.../CamelAzurestoragefilessourceSourceTask.java} | 12 +-
.../src/main/resources/META-INF/LICENSE.txt | 0
.../src/main/resources/META-INF/NOTICE.txt | 0
.../azure-storage-files-source.kamelet.yaml} | 85 +++--
.../camel-azure-storage-queue-sink-sink.json | 7 +
...elAzurestoragequeuesinkSinkConnectorConfig.java | 4 +
.../kamelets/azure-storage-queue-sink.kamelet.yaml | 11 +-
.../pom.xml | 10 +-
.../camel-azure-storage-queue-source-source.json | 7 +
...urestoragequeuesourceSourceConnectorConfig.java | 4 +
.../azure-storage-queue-source.kamelet.yaml | 82 +++-
.../resources/kamelets/beer-source.kamelet.yaml | 2 +-
.../resources/kamelets/bitcoin-source.kamelet.yaml | 2 +-
.../resources/kamelets/cassandra-sink.kamelet.yaml | 3 +-
.../kamelets/cassandra-source.kamelet.yaml | 2 +-
.../main/resources/kamelets/ceph-sink.kamelet.yaml | 3 +-
.../resources/kamelets/ceph-source.kamelet.yaml | 6 +-
.../kamelets/chuck-norris-source.kamelet.yaml | 2 +-
.../resources/kamelets/coffee-source.kamelet.yaml | 2 +-
.../resources/kamelets/couchbase-sink.kamelet.yaml | 3 +-
.../resources/kamelets/cron-source.kamelet.yaml | 2 +-
.../resources/kamelets/dropbox-sink.kamelet.yaml | 2 +-
.../resources/kamelets/dropbox-source.kamelet.yaml | 2 +-
.../kamelets/earthquake-source.kamelet.yaml | 2 +-
.../kamelets/elasticsearch-index-sink.kamelet.yaml | 3 +-
.../elasticsearch-search-source.kamelet.yaml | 3 +-
.../main/resources/kamelets/exec-sink.kamelet.yaml | 2 +-
.../main/resources/kamelets/fhir-sink.kamelet.yaml | 5 +-
.../resources/kamelets/fhir-source.kamelet.yaml | 3 +-
.../src/generated/resources/camel-file-source.json | 4 +-
.../file/CamelFileSourceConnectorConfig.java | 4 +-
.../kamelets/file-watch-source.kamelet.yaml | 2 +-
.../main/resources/kamelets/ftp-sink.kamelet.yaml | 5 +-
.../resources/kamelets/ftp-source.kamelet.yaml | 8 +-
.../main/resources/kamelets/ftps-sink.kamelet.yaml | 5 +-
.../resources/kamelets/ftps-source.kamelet.yaml | 8 +-
.../kamelets/github-commit-source.kamelet.yaml | 2 +-
.../kamelets/github-event-source.kamelet.yaml | 2 +-
.../github-pullrequest-comment-source.kamelet.yaml | 2 +-
.../github-pullrequest-source.kamelet.yaml | 2 +-
.../kamelets/github-tag-source.kamelet.yaml | 2 +-
.../kamelets/google-bigquery-sink.kamelet.yaml | 2 +-
.../kamelets/google-calendar-source.kamelet.yaml | 4 +-
.../kamelets/google-functions-sink.kamelet.yaml | 2 +-
.../kamelets/google-mail-source.kamelet.yaml | 3 +-
.../kamelets/google-pubsub-sink.kamelet.yaml | 2 +-
.../kamelets/google-pubsub-source.kamelet.yaml | 7 +-
.../pom.xml | 10 +-
.../kamelets/google-sheets-sink.kamelet.yaml | 4 +-
.../kamelets/google-sheets-source.kamelet.yaml | 6 +-
.../google-storage-cdc-source.kamelet.yaml | 8 +-
.../resources/camel-google-storage-sink-sink.json | 2 +-
.../kamelets/google-storage-sink.kamelet.yaml | 7 +-
.../kamelets/google-storage-source.kamelet.yaml | 6 +-
.../resources/kamelets/graphql-sink.kamelet.yaml | 2 +-
.../descriptors/connector-sink.properties | 1 -
.../descriptors/connector-source.properties | 1 -
.../src/generated/resources/camel-hdfs-sink.json | 275 --------------
.../src/generated/resources/camel-hdfs-source.json | 421 ---------------------
.../hdfs/CamelHdfsSinkConnectorConfig.java | 169 ---------
.../hdfs/CamelHdfsSourceConnectorConfig.java | 247 ------------
.../kamelets/http-secured-sink.kamelet.yaml | 5 +-
.../kamelets/http-secured-source.kamelet.yaml | 2 +-
.../main/resources/kamelets/http-sink.kamelet.yaml | 2 +-
.../resources/kamelets/http-source.kamelet.yaml | 2 +-
.../kamelets/infinispan-sink.kamelet.yaml | 3 +-
.../kamelets/infinispan-source.kamelet.yaml | 3 +-
.../kamelets/jira-add-comment-sink.kamelet.yaml | 2 +-
.../kamelets/jira-add-issue-sink.kamelet.yaml | 2 +-
.../kamelets/jira-oauth-source.kamelet.yaml | 2 +-
.../resources/kamelets/jira-source.kamelet.yaml | 2 +-
.../jira-transition-issue-sink.kamelet.yaml | 2 +-
.../kamelets/jira-update-issue-sink.kamelet.yaml | 2 +-
.../kamelets/jms-amqp-10-sink.kamelet.yaml | 2 +-
.../kamelets/jms-amqp-10-source.kamelet.yaml | 2 +-
.../pom.xml | 10 +-
.../kamelets/jms-apache-artemis-sink.kamelet.yaml | 4 +-
.../pom.xml | 10 +-
.../jms-apache-artemis-source.kamelet.yaml | 4 +-
.../resources/camel-jms-ibm-mq-sink-sink.json | 2 +-
.../kamelets/jms-ibm-mq-sink.kamelet.yaml | 6 +-
.../resources/camel-jms-ibm-mq-source-source.json | 2 +-
.../kamelets/jms-ibm-mq-source.kamelet.yaml | 6 +-
...apicurio-registry-not-secured-sink.kamelet.yaml | 2 +-
.../pom.xml | 10 +-
...picurio-registry-not-secured-source-source.json | 9 +-
...istrynotsecuredsourceSourceConnectorConfig.java | 4 +
...icurio-registry-not-secured-source.kamelet.yaml | 13 +-
.../pom.xml | 26 +-
.../kafka-azure-schema-registry-sink.kamelet.yaml | 8 +-
.../pom.xml | 26 +-
...-kafka-azure-schema-registry-source-source.json | 9 +-
...eschemaregistrysourceSourceConnectorConfig.java | 4 +
...kafka-azure-schema-registry-source.kamelet.yaml | 19 +-
.../pom.xml | 16 +-
.../descriptors/connector-source.properties | 1 +
...picurio-registry-not-secured-source-source.json | 106 ++++++
.../src/main/assembly/package.xml | 0
...strynotsecuredsourceSourceConnector.properties} | 14 +-
...ioregistrynotsecuredsourceSourceConnector.java} | 10 +-
...istrynotsecuredsourceSourceConnectorConfig.java | 100 +++++
...picurioregistrynotsecuredsourceSourceTask.java} | 14 +-
.../src/main/resources/META-INF/LICENSE.txt | 0
.../src/main/resources/META-INF/NOTICE.txt | 0
...curio-registry-not-secured-source.kamelet.yaml} | 34 +-
.../pom.xml | 32 +-
.../descriptors/connector-source.properties | 1 +
...-batch-azure-schema-registry-source-source.json | 125 ++++++
.../src/main/assembly/package.xml | 0
...schemaregistrysourceSourceConnector.properties} | 16 +-
...hazureschemaregistrysourceSourceConnector.java} | 10 +-
...eschemaregistrysourceSourceConnectorConfig.java | 112 ++++++
...abatchazureschemaregistrysourceSourceTask.java} | 14 +-
.../src/main/resources/META-INF/LICENSE.txt | 0
.../src/main/resources/META-INF/NOTICE.txt | 0
...atch-azure-schema-registry-source.kamelet.yaml} | 40 +-
.../pom.xml | 16 +-
.../descriptors/connector-source.properties | 1 +
...amel-kafka-batch-not-secured-source-source.json | 86 +++++
.../src/main/assembly/package.xml | 0
...atchnotsecuredsourceSourceConnector.properties} | 12 +-
...KafkabatchnotsecuredsourceSourceConnector.java} | 10 +-
...batchnotsecuredsourceSourceConnectorConfig.java | 88 +++++
...CamelKafkabatchnotsecuredsourceSourceTask.java} | 14 +-
.../src/main/resources/META-INF/LICENSE.txt | 0
.../src/main/resources/META-INF/NOTICE.txt | 0
.../kafka-batch-not-secured-source.kamelet.yaml} | 31 +-
.../pom.xml | 16 +-
.../descriptors/connector-source.properties | 1 +
.../camel-kafka-batch-scram-source-source.json | 112 ++++++
.../src/main/assembly/package.xml | 0
...afkabatchscramsourceSourceConnector.properties} | 16 +-
...CamelKafkabatchscramsourceSourceConnector.java} | 10 +-
...KafkabatchscramsourceSourceConnectorConfig.java | 104 +++++
.../CamelKafkabatchscramsourceSourceTask.java} | 12 +-
.../src/main/resources/META-INF/LICENSE.txt | 0
.../src/main/resources/META-INF/NOTICE.txt | 0
.../kafka-batch-scram-source.kamelet.yaml} | 34 +-
.../pom.xml | 16 +-
.../descriptors/connector-source.properties | 1 +
.../resources/camel-kafka-batch-source-source.json | 112 ++++++
.../src/main/assembly/package.xml | 0
...amelKafkabatchsourceSourceConnector.properties} | 16 +-
.../CamelKafkabatchsourceSourceConnector.java} | 10 +-
...CamelKafkabatchsourceSourceConnectorConfig.java | 104 +++++
.../CamelKafkabatchsourceSourceTask.java} | 12 +-
.../src/main/resources/META-INF/LICENSE.txt | 0
.../src/main/resources/META-INF/NOTICE.txt | 0
.../kamelets/kafka-batch-source.kamelet.yaml} | 34 +-
.../pom.xml | 16 +-
.../descriptors/connector-source.properties | 1 +
.../camel-kafka-batch-ssl-source-source.json | 102 +++--
.../src/main/assembly/package.xml | 0
...lKafkabatchsslsourceSourceConnector.properties} | 16 +-
.../CamelKafkabatchsslsourceSourceConnector.java} | 10 +-
...elKafkabatchsslsourceSourceConnectorConfig.java | 128 +++++++
.../CamelKafkabatchsslsourceSourceTask.java} | 12 +-
.../src/main/resources/META-INF/LICENSE.txt | 0
.../src/main/resources/META-INF/NOTICE.txt | 0
.../kamelets/kafka-batch-ssl-source.kamelet.yaml} | 36 +-
.../pom.xml | 10 +-
.../kamelets/kafka-not-secured-sink.kamelet.yaml | 14 +-
.../pom.xml | 10 +-
.../camel-kafka-not-secured-source-source.json | 7 +
...KafkanotsecuredsourceSourceConnectorConfig.java | 4 +
.../kamelets/kafka-not-secured-source.kamelet.yaml | 10 +-
.../kamelets/kafka-scram-sink.kamelet.yaml | 2 +-
.../pom.xml | 10 +-
.../resources/camel-kafka-scram-source-source.json | 7 +
...CamelKafkascramsourceSourceConnectorConfig.java | 4 +
.../kamelets/kafka-scram-source.kamelet.yaml | 13 +-
.../resources/kamelets/kafka-sink.kamelet.yaml | 2 +-
.../camel-kafka-source-kafka-connector/pom.xml | 10 +-
.../resources/camel-kafka-source-source.json | 7 +
.../CamelKafkasourceSourceConnectorConfig.java | 4 +
.../resources/kamelets/kafka-source.kamelet.yaml | 13 +-
.../resources/kamelets/kafka-ssl-sink.kamelet.yaml | 2 +-
.../camel-kafka-ssl-source-kafka-connector/pom.xml | 10 +-
.../resources/camel-kafka-ssl-source-source.json | 7 +
.../CamelKafkasslsourceSourceConnectorConfig.java | 4 +
.../kamelets/kafka-ssl-source.kamelet.yaml | 15 +-
.../kubernetes-namespaces-source.kamelet.yaml | 2 +-
.../kamelets/kubernetes-nodes-source.kamelet.yaml | 2 +-
.../kamelets/kubernetes-pods-source.kamelet.yaml | 2 +-
.../main/resources/kamelets/log-sink.kamelet.yaml | 2 +-
.../kamelets/mail-imap-source.kamelet.yaml | 2 +-
.../main/resources/kamelets/mail-sink.kamelet.yaml | 2 +-
.../resources/kamelets/mariadb-sink.kamelet.yaml | 2 +-
.../resources/kamelets/mariadb-source.kamelet.yaml | 2 +-
.../resources/kamelets/minio-sink.kamelet.yaml | 7 +-
.../resources/kamelets/minio-source.kamelet.yaml | 6 +-
.../pom.xml | 10 +-
.../mongodb-changes-stream-source.kamelet.yaml | 6 +-
.../camel-mongodb-sink-kafka-connector/pom.xml | 10 +-
.../resources/kamelets/mongodb-sink.kamelet.yaml | 11 +-
.../camel-mongodb-source-kafka-connector/pom.xml | 10 +-
.../resources/kamelets/mongodb-source.kamelet.yaml | 9 +-
.../main/resources/kamelets/mqtt-sink.kamelet.yaml | 2 +-
.../resources/kamelets/mqtt-source.kamelet.yaml | 2 +-
.../resources/kamelets/mqtt5-sink.kamelet.yaml | 2 +-
.../resources/kamelets/mqtt5-source.kamelet.yaml | 2 +-
.../resources/kamelets/mysql-sink.kamelet.yaml | 2 +-
.../resources/kamelets/mysql-source.kamelet.yaml | 2 +-
.../main/resources/kamelets/nats-sink.kamelet.yaml | 2 +-
.../resources/kamelets/nats-source.kamelet.yaml | 2 +-
.../camel-opensearch-index-sink-sink.json | 2 +-
.../kamelets/opensearch-index-sink.kamelet.yaml | 13 +-
.../kamelets/opensearch-search-source.kamelet.yaml | 7 +-
.../kamelets/oracle-database-sink.kamelet.yaml | 2 +-
.../kamelets/oracle-database-source.kamelet.yaml | 2 +-
.../kamelets/postgresql-sink.kamelet.yaml | 2 +-
.../kamelets/postgresql-source.kamelet.yaml | 2 +-
.../resources/kamelets/pulsar-sink.kamelet.yaml | 2 +-
.../resources/kamelets/pulsar-source.kamelet.yaml | 2 +-
.../resources/kamelets/redis-sink.kamelet.yaml | 2 +-
.../resources/kamelets/redis-source.kamelet.yaml | 2 +-
.../kamelets/rest-openapi-sink.kamelet.yaml | 2 +-
.../salesforce-composite-upsert-sink.kamelet.yaml | 2 +-
.../kamelets/salesforce-create-sink.kamelet.yaml | 2 +-
.../kamelets/salesforce-delete-sink.kamelet.yaml | 2 +-
.../resources/camel-salesforce-source-source.json | 7 +
...CamelSalesforcesourceSourceConnectorConfig.java | 4 +
.../kamelets/salesforce-source.kamelet.yaml | 17 +-
.../kamelets/salesforce-update-sink.kamelet.yaml | 2 +-
.../main/resources/kamelets/scp-sink.kamelet.yaml | 3 +-
.../main/resources/kamelets/sftp-sink.kamelet.yaml | 8 +-
.../resources/kamelets/sftp-source.kamelet.yaml | 12 +-
.../src/generated/resources/camel-sjms2-sink.json | 2 +-
.../generated/resources/camel-sjms2-source.json | 2 +-
.../sjms2/CamelSjms2SinkConnectorConfig.java | 2 +-
.../sjms2/CamelSjms2SourceConnectorConfig.java | 2 +-
.../resources/kamelets/slack-sink.kamelet.yaml | 2 +-
.../resources/camel-slack-source-source.json | 7 +
.../CamelSlacksourceSourceConnectorConfig.java | 4 +
.../resources/kamelets/slack-source.kamelet.yaml | 8 +-
.../pom.xml | 16 +-
.../descriptors/connector-sink.properties | 1 +
.../resources/camel-snowflake-sink-sink.json | 43 +++
.../src/main/assembly/package.xml | 0
.../CamelSnowflakesinkSinkConnector.properties} | 20 +-
.../CamelSnowflakesinkSinkConnector.java} | 8 +-
.../CamelSnowflakesinkSinkConnectorConfig.java | 64 ++++
.../snowflakesink/CamelSnowflakesinkSinkTask.java} | 12 +-
.../src/main/resources/META-INF/LICENSE.txt | 0
.../src/main/resources/META-INF/NOTICE.txt | 0
.../resources/kamelets/snowflake-sink.kamelet.yaml | 104 +++++
.../pom.xml | 16 +-
.../descriptors/connector-source.properties | 1 +
.../resources/camel-snowflake-source-source.json | 56 +++
.../src/main/assembly/package.xml | 0
...CamelSnowflakesourceSourceConnector.properties} | 16 +-
.../CamelSnowflakesourceSourceConnector.java} | 8 +-
.../CamelSnowflakesourceSourceConnectorConfig.java | 72 ++++
.../CamelSnowflakesourceSourceTask.java} | 12 +-
.../src/main/resources/META-INF/LICENSE.txt | 0
.../src/main/resources/META-INF/NOTICE.txt | 0
.../kamelets/snowflake-source.kamelet.yaml | 107 ++++++
.../kamelets/splunk-hec-sink.kamelet.yaml | 6 +-
.../resources/kamelets/splunk-sink.kamelet.yaml | 2 +-
.../resources/kamelets/splunk-source.kamelet.yaml | 2 +-
.../pom.xml | 16 +-
.../descriptors/connector-sink.properties | 1 +
.../resources/camel-spring-rabbitmq-sink-sink.json | 55 +++
.../src/main/assembly/package.xml | 0
...amelSpringrabbitmqsinkSinkConnector.properties} | 14 +-
.../CamelSpringrabbitmqsinkSinkConnector.java} | 8 +-
...CamelSpringrabbitmqsinkSinkConnectorConfig.java | 72 ++++
.../CamelSpringrabbitmqsinkSinkTask.java} | 12 +-
.../src/main/resources/META-INF/LICENSE.txt | 0
.../src/main/resources/META-INF/NOTICE.txt | 0
.../kamelets/spring-rabbitmq-sink.kamelet.yaml | 97 +++++
.../pom.xml | 12 +-
.../descriptors/connector-source.properties | 1 +
.../camel-spring-rabbitmq-source-source.json | 62 +++
.../src/main/assembly/package.xml | 0
...SpringrabbitmqsourceSourceConnector.properties} | 14 +-
.../CamelSpringrabbitmqsourceSourceConnector.java} | 10 +-
...lSpringrabbitmqsourceSourceConnectorConfig.java | 76 ++++
.../CamelSpringrabbitmqsourceSourceTask.java} | 12 +-
.../src/main/resources/META-INF/LICENSE.txt | 0
.../src/main/resources/META-INF/NOTICE.txt | 0
.../kamelets/spring-rabbitmq-source.kamelet.yaml | 102 +++++
.../resources/kamelets/sqlserver-sink.kamelet.yaml | 8 +-
.../kamelets/sqlserver-source.kamelet.yaml | 6 +-
.../main/resources/kamelets/ssh-sink.kamelet.yaml | 2 +-
.../resources/kamelets/ssh-source.kamelet.yaml | 2 +-
.../resources/kamelets/telegram-sink.kamelet.yaml | 2 +-
.../kamelets/telegram-source.kamelet.yaml | 2 +-
.../resources/kamelets/timer-source.kamelet.yaml | 2 +-
.../twitter-directmessage-source.kamelet.yaml | 2 +-
.../kamelets/twitter-search-source.kamelet.yaml | 2 +-
.../kamelets/twitter-timeline-source.kamelet.yaml | 2 +-
.../resources/kamelets/webhook-source.kamelet.yaml | 2 +-
.../resources/kamelets/wttrin-source.kamelet.yaml | 2 +-
connectors/pom.xml | 15 +-
docs/modules/ROOT/nav.adoc | 27 +-
docs/modules/ROOT/pages/reference/index.adoc | 15 +-
parent/pom.xml | 4 +-
tests/itests-hdfs/pom.xml | 123 ------
.../hdfs/sink/CamelHDFSPropertyFactory.java | 71 ----
.../hdfs/sink/CamelSinkHDFSITCase.java | 169 ---------
.../camel/kafkaconnector/hdfs/utils/HDFSEasy.java | 158 --------
tests/itests-hdfs/src/test/resources/hdfs-site.xml | 28 --
tests/pom.xml | 1 -
423 files changed, 4230 insertions(+), 2862 deletions(-)
diff --git a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-aws2-iam-sink.json b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-aws2-iam-sink.json
index d80473461b..9ac4a8e7e9 100644
--- a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-aws2-iam-sink.json
+++ b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-aws2-iam-sink.json
@@ -17,7 +17,7 @@
},
"camel.sink.endpoint.iamClient": {
"name": "camel.sink.endpoint.iamClient",
- "description": "To use a existing configured AWS IAM as client",
+ "description": "To use an existing configured AWS IAM client",
"priority": "MEDIUM",
"required": "false"
},
@@ -44,7 +44,7 @@
},
"camel.sink.endpoint.overrideEndpoint": {
"name": "camel.sink.endpoint.overrideEndpoint",
- "description": "Set the need for overidding the endpoint. This option needs to be used in combination with uriEndpointOverride option",
+ "description": "Set the need for overriding the endpoint. This option needs to be used in combination with the uriEndpointOverride option",
"defaultValue": "false",
"priority": "MEDIUM",
"required": "false"
@@ -58,7 +58,7 @@
},
"camel.sink.endpoint.region": {
"name": "camel.sink.endpoint.region",
- "description": "The region in which IAM client needs to work. When using this parameter, the configuration will expect the lowercase name of the region (for example ap-east-1) You'll need to use the name Region.EU_WEST_1.id() One of: [ap-south-2] [ap-south-1] [eu-south-1] [eu-south-2] [us-gov-east-1] [me-central-1] [il-central-1] [ca-central-1] [eu-central-1] [us-iso-west-1] [eu-central-2] [us-west-1] [us-west-2] [af-south-1] [eu-north-1] [eu-west-3] [eu-west-2] [eu-west-1] [ap-northe [...]
+ "description": "The region in which IAM client needs to work. When using this parameter, the configuration will expect the lowercase name of the region (for example, ap-east-1) You'll need to use the name Region.EU_WEST_1.id() One of: [ap-south-2] [ap-south-1] [eu-south-1] [eu-south-2] [us-gov-east-1] [me-central-1] [il-central-1] [ca-central-1] [eu-central-1] [us-iso-west-1] [eu-central-2] [us-west-1] [us-west-2] [af-south-1] [eu-north-1] [eu-west-3] [eu-west-2] [eu-west-1] [ap-north [...]
"defaultValue": "\"aws-global\"",
"priority": "MEDIUM",
"required": "false",
@@ -149,7 +149,7 @@
},
"camel.sink.endpoint.profileCredentialsName": {
"name": "camel.sink.endpoint.profileCredentialsName",
- "description": "If using a profile credentials provider this parameter will set the profile name",
+ "description": "If using a profile credentials provider, this parameter will set the profile name",
"priority": "MEDIUM",
"required": "false"
},
@@ -159,6 +159,12 @@
"priority": "MEDIUM",
"required": "false"
},
+ "camel.sink.endpoint.sessionToken": {
+ "name": "camel.sink.endpoint.sessionToken",
+ "description": "Amazon AWS Session Token used when the user needs to assume an IAM role",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
"camel.sink.endpoint.trustAllCertificates": {
"name": "camel.sink.endpoint.trustAllCertificates",
"description": "If we want to trust all certificates in case of overriding the endpoint",
@@ -180,6 +186,13 @@
"priority": "MEDIUM",
"required": "false"
},
+ "camel.sink.endpoint.useSessionCredentials": {
+ "name": "camel.sink.endpoint.useSessionCredentials",
+ "description": "Set whether the IAM client should expect to use Session Credentials. This is useful in a situation in which the user needs to assume a IAM role for doing operations in IAM.",
+ "defaultValue": "false",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
"camel.component.aws2-iam.configuration": {
"name": "camel.component.aws2-iam.configuration",
"description": "Component configuration",
@@ -188,7 +201,7 @@
},
"camel.component.aws2-iam.iamClient": {
"name": "camel.component.aws2-iam.iamClient",
- "description": "To use a existing configured AWS IAM as client",
+ "description": "To use an existing configured AWS IAM client",
"priority": "MEDIUM",
"required": "false"
},
@@ -222,7 +235,7 @@
},
"camel.component.aws2-iam.overrideEndpoint": {
"name": "camel.component.aws2-iam.overrideEndpoint",
- "description": "Set the need for overidding the endpoint. This option needs to be used in combination with uriEndpointOverride option",
+ "description": "Set the need for overriding the endpoint. This option needs to be used in combination with the uriEndpointOverride option",
"defaultValue": "false",
"priority": "MEDIUM",
"required": "false"
@@ -236,7 +249,7 @@
},
"camel.component.aws2-iam.region": {
"name": "camel.component.aws2-iam.region",
- "description": "The region in which IAM client needs to work. When using this parameter, the configuration will expect the lowercase name of the region (for example ap-east-1) You'll need to use the name Region.EU_WEST_1.id() One of: [ap-south-2] [ap-south-1] [eu-south-1] [eu-south-2] [us-gov-east-1] [me-central-1] [il-central-1] [ca-central-1] [eu-central-1] [us-iso-west-1] [eu-central-2] [us-west-1] [us-west-2] [af-south-1] [eu-north-1] [eu-west-3] [eu-west-2] [eu-west-1] [ap-northe [...]
+ "description": "The region in which IAM client needs to work. When using this parameter, the configuration will expect the lowercase name of the region (for example, ap-east-1) You'll need to use the name Region.EU_WEST_1.id() One of: [ap-south-2] [ap-south-1] [eu-south-1] [eu-south-2] [us-gov-east-1] [me-central-1] [il-central-1] [ca-central-1] [eu-central-1] [us-iso-west-1] [eu-central-2] [us-west-1] [us-west-2] [af-south-1] [eu-north-1] [eu-west-3] [eu-west-2] [eu-west-1] [ap-north [...]
"defaultValue": "\"aws-global\"",
"priority": "MEDIUM",
"required": "false",
@@ -341,7 +354,7 @@
},
"camel.component.aws2-iam.profileCredentialsName": {
"name": "camel.component.aws2-iam.profileCredentialsName",
- "description": "If using a profile credentials provider this parameter will set the profile name",
+ "description": "If using a profile credentials provider, this parameter will set the profile name",
"priority": "MEDIUM",
"required": "false"
},
@@ -351,6 +364,12 @@
"priority": "MEDIUM",
"required": "false"
},
+ "camel.component.aws2-iam.sessionToken": {
+ "name": "camel.component.aws2-iam.sessionToken",
+ "description": "Amazon AWS Session Token used when the user needs to assume an IAM role",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
"camel.component.aws2-iam.trustAllCertificates": {
"name": "camel.component.aws2-iam.trustAllCertificates",
"description": "If we want to trust all certificates in case of overriding the endpoint",
@@ -371,6 +390,13 @@
"defaultValue": "false",
"priority": "MEDIUM",
"required": "false"
+ },
+ "camel.component.aws2-iam.useSessionCredentials": {
+ "name": "camel.component.aws2-iam.useSessionCredentials",
+ "description": "Set whether the IAM client should expect to use Session Credentials. This is useful in a situation in which the user needs to assume a IAM role for doing operations in IAM.",
+ "defaultValue": "false",
+ "priority": "MEDIUM",
+ "required": "false"
}
}
}
\ No newline at end of file
diff --git a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-aws2-kms-sink.json b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-aws2-kms-sink.json
index 7661d459c2..6003a79c9d 100644
--- a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-aws2-kms-sink.json
+++ b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-aws2-kms-sink.json
@@ -31,7 +31,7 @@
},
"camel.sink.endpoint.overrideEndpoint": {
"name": "camel.sink.endpoint.overrideEndpoint",
- "description": "Set the need for overidding the endpoint. This option needs to be used in combination with uriEndpointOverride option",
+ "description": "Set the need for overriding the endpoint. This option needs to be used in combination with the uriEndpointOverride option",
"defaultValue": "false",
"priority": "MEDIUM",
"required": "false"
@@ -45,7 +45,7 @@
},
"camel.sink.endpoint.region": {
"name": "camel.sink.endpoint.region",
- "description": "The region in which EKS client needs to work. When using this parameter, the configuration will expect the lowercase name of the region (for example ap-east-1) You'll need to use the name Region.EU_WEST_1.id() One of: [ap-south-2] [ap-south-1] [eu-south-1] [eu-south-2] [us-gov-east-1] [me-central-1] [il-central-1] [ca-central-1] [eu-central-1] [us-iso-west-1] [eu-central-2] [us-west-1] [us-west-2] [af-south-1] [eu-north-1] [eu-west-3] [eu-west-2] [eu-west-1] [ap-northe [...]
+ "description": "The region in which EKS client needs to work. When using this parameter, the configuration will expect the lowercase name of the region (for example, ap-east-1) You'll need to use the name Region.EU_WEST_1.id() One of: [ap-south-2] [ap-south-1] [eu-south-1] [eu-south-2] [us-gov-east-1] [me-central-1] [il-central-1] [ca-central-1] [eu-central-1] [us-iso-west-1] [eu-central-2] [us-west-1] [us-west-2] [af-south-1] [eu-north-1] [eu-west-3] [eu-west-2] [eu-west-1] [ap-north [...]
"priority": "MEDIUM",
"required": "false",
"enum": [
@@ -106,7 +106,7 @@
},
"camel.sink.endpoint.kmsClient": {
"name": "camel.sink.endpoint.kmsClient",
- "description": "To use a existing configured AWS KMS as client",
+ "description": "To use an existing configured AWS KMS client",
"priority": "MEDIUM",
"required": "false"
},
@@ -141,7 +141,7 @@
},
"camel.sink.endpoint.profileCredentialsName": {
"name": "camel.sink.endpoint.profileCredentialsName",
- "description": "If using a profile credentials provider this parameter will set the profile name",
+ "description": "If using a profile credentials provider, this parameter will set the profile name",
"priority": "MEDIUM",
"required": "false"
},
@@ -151,6 +151,12 @@
"priority": "MEDIUM",
"required": "false"
},
+ "camel.sink.endpoint.sessionToken": {
+ "name": "camel.sink.endpoint.sessionToken",
+ "description": "Amazon AWS Session Token used when the user needs to assume an IAM role",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
"camel.sink.endpoint.trustAllCertificates": {
"name": "camel.sink.endpoint.trustAllCertificates",
"description": "If we want to trust all certificates in case of overriding the endpoint",
@@ -172,6 +178,13 @@
"priority": "MEDIUM",
"required": "false"
},
+ "camel.sink.endpoint.useSessionCredentials": {
+ "name": "camel.sink.endpoint.useSessionCredentials",
+ "description": "Set whether the KMS client should expect to use Session Credentials. This is useful in a situation in which the user needs to assume a IAM role for doing operations in KMS.",
+ "defaultValue": "false",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
"camel.component.aws2-kms.configuration": {
"name": "camel.component.aws2-kms.configuration",
"description": "Component configuration",
@@ -201,7 +214,7 @@
},
"camel.component.aws2-kms.overrideEndpoint": {
"name": "camel.component.aws2-kms.overrideEndpoint",
- "description": "Set the need for overidding the endpoint. This option needs to be used in combination with uriEndpointOverride option",
+ "description": "Set the need for overriding the endpoint. This option needs to be used in combination with the uriEndpointOverride option",
"defaultValue": "false",
"priority": "MEDIUM",
"required": "false"
@@ -215,7 +228,7 @@
},
"camel.component.aws2-kms.region": {
"name": "camel.component.aws2-kms.region",
- "description": "The region in which EKS client needs to work. When using this parameter, the configuration will expect the lowercase name of the region (for example ap-east-1) You'll need to use the name Region.EU_WEST_1.id() One of: [ap-south-2] [ap-south-1] [eu-south-1] [eu-south-2] [us-gov-east-1] [me-central-1] [il-central-1] [ca-central-1] [eu-central-1] [us-iso-west-1] [eu-central-2] [us-west-1] [us-west-2] [af-south-1] [eu-north-1] [eu-west-3] [eu-west-2] [eu-west-1] [ap-northe [...]
+ "description": "The region in which EKS client needs to work. When using this parameter, the configuration will expect the lowercase name of the region (for example, ap-east-1) You'll need to use the name Region.EU_WEST_1.id() One of: [ap-south-2] [ap-south-1] [eu-south-1] [eu-south-2] [us-gov-east-1] [me-central-1] [il-central-1] [ca-central-1] [eu-central-1] [us-iso-west-1] [eu-central-2] [us-west-1] [us-west-2] [af-south-1] [eu-north-1] [eu-west-3] [eu-west-2] [eu-west-1] [ap-north [...]
"priority": "MEDIUM",
"required": "false",
"enum": [
@@ -276,7 +289,7 @@
},
"camel.component.aws2-kms.kmsClient": {
"name": "camel.component.aws2-kms.kmsClient",
- "description": "To use a existing configured AWS KMS as client",
+ "description": "To use an existing configured AWS KMS client",
"priority": "MEDIUM",
"required": "false"
},
@@ -311,7 +324,7 @@
},
"camel.component.aws2-kms.profileCredentialsName": {
"name": "camel.component.aws2-kms.profileCredentialsName",
- "description": "If using a profile credentials provider this parameter will set the profile name",
+ "description": "If using a profile credentials provider, this parameter will set the profile name",
"priority": "MEDIUM",
"required": "false"
},
@@ -321,6 +334,12 @@
"priority": "MEDIUM",
"required": "false"
},
+ "camel.component.aws2-kms.sessionToken": {
+ "name": "camel.component.aws2-kms.sessionToken",
+ "description": "Amazon AWS Session Token used when the user needs to assume an IAM role",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
"camel.component.aws2-kms.trustAllCertificates": {
"name": "camel.component.aws2-kms.trustAllCertificates",
"description": "If we want to trust all certificates in case of overriding the endpoint",
@@ -341,6 +360,13 @@
"defaultValue": "false",
"priority": "MEDIUM",
"required": "false"
+ },
+ "camel.component.aws2-kms.useSessionCredentials": {
+ "name": "camel.component.aws2-kms.useSessionCredentials",
+ "description": "Set whether the KMS client should expect to use Session Credentials. This is useful in a situation in which the user needs to assume a IAM role for doing operations in KMS.",
+ "defaultValue": "false",
+ "priority": "MEDIUM",
+ "required": "false"
}
}
}
\ No newline at end of file
diff --git a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-azure-cosmosdb-sink-sink.json b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-azure-cosmosdb-sink-sink.json
index 3e7951cdda..0d6962cfc2 100644
--- a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-azure-cosmosdb-sink-sink.json
+++ b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-azure-cosmosdb-sink-sink.json
@@ -6,7 +6,7 @@
"id": "camel-azure-cosmosdb-sink-sink",
"type": "sink",
"version": "4.4.2-SNAPSHOT",
- "description": "Send Data to an Azure CosmosDB instance\n\nIn the headers, you can optionally set the `itemPartitionKey` \/ `ce-itemPartitionKey` property to specify the partition key for a specific item.\n\nIf you do not set the property in the header, you'll need to use the static property itemPartitonKey."
+ "description": "Send Data to an Azure CosmosDB instance\n\nIn the headers, you can optionally set the `itemPartitionKey` \/ `ce-itemPartitionKey` property to specify the partition key for a specific item.\n\nIf you do not set the property in the header, you'll need to use the static property itemPartitonKey.\n\nThere are two different mechanism of authentication `SHARED_ACCOUNT_KEY` and `AZURE_IDENTITY`, you could specify with credentialType property. If you're using `SHARED_ACCOUNT_KE [...]
},
"properties": {
"camel.kamelet.azure-cosmosdb-sink.databaseName": {
@@ -24,8 +24,8 @@
"camel.kamelet.azure-cosmosdb-sink.accountKey": {
"name": "camel.kamelet.azure-cosmosdb-sink.accountKey",
"description": "The Azure Cosmos account Key.",
- "priority": "HIGH",
- "required": "true"
+ "priority": "MEDIUM",
+ "required": "false"
},
"camel.kamelet.azure-cosmosdb-sink.databaseEndpoint": {
"name": "camel.kamelet.azure-cosmosdb-sink.databaseEndpoint",
@@ -38,6 +38,13 @@
"description": "Represents a partition key value in the Azure Cosmos DB database service. A partition key identifies the partition where the item is stored in.",
"priority": "MEDIUM",
"required": "false"
+ },
+ "camel.kamelet.azure-cosmosdb-sink.credentialType": {
+ "name": "camel.kamelet.azure-cosmosdb-sink.credentialType",
+ "description": "Determines the credential strategy to adopt.",
+ "defaultValue": "\"SHARED_ACCOUNT_KEY\"",
+ "priority": "MEDIUM",
+ "required": "false"
}
}
}
\ No newline at end of file
diff --git a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-azure-cosmosdb-source-source.json b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-azure-cosmosdb-source-source.json
index 2155fa35dc..57d91bbbf0 100644
--- a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-azure-cosmosdb-source-source.json
+++ b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-azure-cosmosdb-source-source.json
@@ -6,7 +6,7 @@
"id": "camel-azure-cosmosdb-source-source",
"type": "source",
"version": "4.4.2-SNAPSHOT",
- "description": "Consume Changes from a CosmosDB instance"
+ "description": "Consume Changes from a CosmosDB instance.\n\nThere are two different mechanism of authentication `SHARED_ACCOUNT_KEY` and `AZURE_IDENTITY`, you could specify with credentialType property. If you're using `SHARED_ACCOUNT_KEY` accountKey property will be needed.\n\nIn case of `AZURE_IDENTITY` selection, the DefaultAzureCredential will attempt to authenticate via the following mechanisms in the following order enviroment, Workload Identity, Managed Identity, Azure Develope [...]
},
"properties": {
"camel.kamelet.azure-cosmosdb-source.databaseName": {
@@ -24,8 +24,8 @@
"camel.kamelet.azure-cosmosdb-source.accountKey": {
"name": "camel.kamelet.azure-cosmosdb-source.accountKey",
"description": "The Azure Cosmos account Key.",
- "priority": "HIGH",
- "required": "true"
+ "priority": "MEDIUM",
+ "required": "false"
},
"camel.kamelet.azure-cosmosdb-source.leaseDatabaseName": {
"name": "camel.kamelet.azure-cosmosdb-source.leaseDatabaseName",
@@ -58,6 +58,13 @@
"description": "Sets the Azure Cosmos database endpoint the component will connect to.",
"priority": "HIGH",
"required": "true"
+ },
+ "camel.kamelet.azure-cosmosdb-source.credentialType": {
+ "name": "camel.kamelet.azure-cosmosdb-source.credentialType",
+ "description": "Determines the credential strategy to adopt.",
+ "defaultValue": "\"SHARED_ACCOUNT_KEY\"",
+ "priority": "MEDIUM",
+ "required": "false"
}
}
}
\ No newline at end of file
diff --git a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-azure-eventhubs-sink-sink.json b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-azure-eventhubs-sink-sink.json
index 743eeb2d02..7f7455983d 100644
--- a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-azure-eventhubs-sink-sink.json
+++ b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-azure-eventhubs-sink-sink.json
@@ -6,7 +6,7 @@
"id": "camel-azure-eventhubs-sink-sink",
"type": "sink",
"version": "4.4.2-SNAPSHOT",
- "description": "Send events to Azure Event Hubs.\n\nThe Kamelet checks for the `partition-id` \/ `ce-partition-id` header which is an identifier of the Event Hub partition that the event will be sent to. If the identifier is not specified, the Event Hubs service will be responsible for routing events that are sent to an available partition.\n \nA header is optional. If the header is not set, the partition is assigned by Event Hubs."
+ "description": "Send events to Azure Event Hubs.\n\nThe Kamelet checks for the `partition-id` \/ `ce-partition-id` header which is an identifier of the Event Hub partition that the event will be sent to. If the identifier is not specified, the Event Hubs service will be responsible for routing events that are sent to an available partition.\n \nA header is optional. If the header is not set, the partition is assigned by Event Hubs.\n\nThere are two different mechanism of authenticati [...]
},
"properties": {
"camel.kamelet.azure-eventhubs-sink.namespaceName": {
@@ -24,14 +24,21 @@
"camel.kamelet.azure-eventhubs-sink.sharedAccessName": {
"name": "camel.kamelet.azure-eventhubs-sink.sharedAccessName",
"description": "The Event Hubs SAS key name.",
- "priority": "HIGH",
- "required": "true"
+ "priority": "MEDIUM",
+ "required": "false"
},
"camel.kamelet.azure-eventhubs-sink.sharedAccessKey": {
"name": "camel.kamelet.azure-eventhubs-sink.sharedAccessKey",
"description": "The key for the Event Hubs SAS key name.",
- "priority": "HIGH",
- "required": "true"
+ "priority": "MEDIUM",
+ "required": "false"
+ },
+ "camel.kamelet.azure-eventhubs-sink.credentialType": {
+ "name": "camel.kamelet.azure-eventhubs-sink.credentialType",
+ "description": "Determines the credential strategy to adopt.",
+ "defaultValue": "\"CONNECTION_STRING\"",
+ "priority": "MEDIUM",
+ "required": "false"
}
}
}
\ No newline at end of file
diff --git a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-azure-eventhubs-source-source.json b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-azure-eventhubs-source-source.json
index c9520f62ef..c82204bba2 100644
--- a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-azure-eventhubs-source-source.json
+++ b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-azure-eventhubs-source-source.json
@@ -6,7 +6,7 @@
"id": "camel-azure-eventhubs-source-source",
"type": "source",
"version": "4.4.2-SNAPSHOT",
- "description": "Receive events from Azure Event Hubs."
+ "description": "Receive events from Azure Event Hubs.\n\nThere are two different mechanism of authentication `CONNECTION_STRING` and `AZURE_IDENTITY`, you could specify with credentialType property. If you're using `CONNECTION_STRING` sharedAccessName and sharedAccessKey properties will be needed.\n\nIn case of `AZURE_IDENTITY` selection, the DefaultAzureCredential will attempt to authenticate via the following mechanisms in the following order enviroment, Workload Identity, Managed Id [...]
},
"properties": {
"camel.kamelet.azure-eventhubs-source.namespaceName": {
@@ -24,14 +24,14 @@
"camel.kamelet.azure-eventhubs-source.sharedAccessName": {
"name": "camel.kamelet.azure-eventhubs-source.sharedAccessName",
"description": "The Event Hubs SAS key name.",
- "priority": "HIGH",
- "required": "true"
+ "priority": "MEDIUM",
+ "required": "false"
},
"camel.kamelet.azure-eventhubs-source.sharedAccessKey": {
"name": "camel.kamelet.azure-eventhubs-source.sharedAccessKey",
"description": "The key for the Event Hubs SAS key name.",
- "priority": "HIGH",
- "required": "true"
+ "priority": "MEDIUM",
+ "required": "false"
},
"camel.kamelet.azure-eventhubs-source.blobAccountName": {
"name": "camel.kamelet.azure-eventhubs-source.blobAccountName",
@@ -50,6 +50,13 @@
"description": "The key for the Azure Storage Blob service that is associated with the Storage Blob account name.",
"priority": "HIGH",
"required": "true"
+ },
+ "camel.kamelet.azure-eventhubs-source.credentialType": {
+ "name": "camel.kamelet.azure-eventhubs-source.credentialType",
+ "description": "Determines the credential strategy to adopt.",
+ "defaultValue": "\"CONNECTION_STRING\"",
+ "priority": "MEDIUM",
+ "required": "false"
}
}
}
\ No newline at end of file
diff --git a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-azure-servicebus-sink-sink.json b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-azure-servicebus-sink-sink.json
index b3d0f47e99..69252280e2 100644
--- a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-azure-servicebus-sink-sink.json
+++ b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-azure-servicebus-sink-sink.json
@@ -27,6 +27,13 @@
"defaultValue": "\"queue\"",
"priority": "MEDIUM",
"required": "false"
+ },
+ "camel.kamelet.azure-servicebus-sink.credentialType": {
+ "name": "camel.kamelet.azure-servicebus-sink.credentialType",
+ "description": "Determines the credential strategy to adopt.",
+ "defaultValue": "\"CONNECTION_STRING\"",
+ "priority": "MEDIUM",
+ "required": "false"
}
}
}
\ No newline at end of file
diff --git a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-azure-servicebus-source-source.json b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-azure-servicebus-source-source.json
index 4626f50f83..1da0972ed5 100644
--- a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-azure-servicebus-source-source.json
+++ b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-azure-servicebus-source-source.json
@@ -40,6 +40,13 @@
"defaultValue": "\"queue\"",
"priority": "MEDIUM",
"required": "false"
+ },
+ "camel.kamelet.azure-servicebus-source.credentialType": {
+ "name": "camel.kamelet.azure-servicebus-source.credentialType",
+ "description": "Determines the credential strategy to adopt.",
+ "defaultValue": "\"CONNECTION_STRING\"",
+ "priority": "MEDIUM",
+ "required": "false"
}
}
}
\ No newline at end of file
diff --git a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-azure-storage-datalake-sink-sink.json b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-azure-storage-datalake-sink-sink.json
index dd5d229c63..02ef6b7f37 100644
--- a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-azure-storage-datalake-sink-sink.json
+++ b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-azure-storage-datalake-sink-sink.json
@@ -38,6 +38,13 @@
"description": "The Azure Storage Blob Data lake File system name.",
"priority": "HIGH",
"required": "true"
+ },
+ "camel.kamelet.azure-storage-datalake-sink.credentialType": {
+ "name": "camel.kamelet.azure-storage-datalake-sink.credentialType",
+ "description": "Determines the credential strategy to adopt.",
+ "defaultValue": "\"CLIENT_SECRET\"",
+ "priority": "MEDIUM",
+ "required": "false"
}
}
}
\ No newline at end of file
diff --git a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-azure-storage-datalake-source-source.json b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-azure-storage-datalake-source-source.json
index 4fd6f52936..89854fe4c0 100644
--- a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-azure-storage-datalake-source-source.json
+++ b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-azure-storage-datalake-source-source.json
@@ -45,6 +45,13 @@
"defaultValue": "500",
"priority": "MEDIUM",
"required": "false"
+ },
+ "camel.kamelet.azure-storage-datalake-source.credentialType": {
+ "name": "camel.kamelet.azure-storage-datalake-source.credentialType",
+ "description": "Determines the credential strategy to adopt.",
+ "defaultValue": "\"CLIENT_SECRET\"",
+ "priority": "MEDIUM",
+ "required": "false"
}
}
}
\ No newline at end of file
diff --git a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-azure-storage-queue-sink-sink.json b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-azure-storage-queue-sink-sink.json
index eb1312b1f3..33bb96508c 100644
--- a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-azure-storage-queue-sink-sink.json
+++ b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-azure-storage-queue-sink-sink.json
@@ -26,6 +26,13 @@
"description": "The Azure Storage Queue access key.",
"priority": "HIGH",
"required": "true"
+ },
+ "camel.kamelet.azure-storage-queue-sink.credentialType": {
+ "name": "camel.kamelet.azure-storage-queue-sink.credentialType",
+ "description": "Determines the credential strategy to adopt.",
+ "defaultValue": "\"SHARED_ACCOUNT_KEY\"",
+ "priority": "MEDIUM",
+ "required": "false"
}
}
}
\ No newline at end of file
diff --git a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-azure-storage-queue-source-source.json b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-azure-storage-queue-source-source.json
index 4ab52228ff..37454b736c 100644
--- a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-azure-storage-queue-source-source.json
+++ b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-azure-storage-queue-source-source.json
@@ -33,6 +33,13 @@
"defaultValue": "1",
"priority": "MEDIUM",
"required": "false"
+ },
+ "camel.kamelet.azure-storage-queue-source.credentialType": {
+ "name": "camel.kamelet.azure-storage-queue-source.credentialType",
+ "description": "Determines the credential strategy to adopt.",
+ "defaultValue": "\"SHARED_ACCOUNT_KEY\"",
+ "priority": "MEDIUM",
+ "required": "false"
}
}
}
\ No newline at end of file
diff --git a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-file-source.json b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-file-source.json
index 61a40be705..ed229ac9de 100644
--- a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-file-source.json
+++ b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-file-source.json
@@ -353,7 +353,7 @@
},
"camel.source.endpoint.readLockCheckInterval": {
"name": "camel.source.endpoint.readLockCheckInterval",
- "description": "Interval in millis for the read-lock, if supported by the read lock. This interval is used for sleeping between attempts to acquire the read lock. For example when using the changed read lock, you can set a higher interval period to cater for slow writes. The default of 1 sec. may be too fast if the producer is very slow writing the file. Notice: For FTP the default readLockCheckInterval is 5000. The readLockTimeout value must be higher than readLockCheckInterval, but [...]
+ "description": "Interval in millis for the read-lock, if supported by the read lock. This interval is used for sleeping between attempts to acquire the read lock. For example when using the changed read lock, you can set a higher interval period to cater for slow writes. The default of 1 sec. may be too fast if the producer is very slow writing the file. Notice: For FTP the default readLockCheckInterval is 5000. The readLockTimeout value must be higher than readLockCheckInterval, but [...]
"defaultValue": "1000L",
"priority": "MEDIUM",
"required": "false"
@@ -442,7 +442,7 @@
},
"camel.source.endpoint.readLockTimeout": {
"name": "camel.source.endpoint.readLockTimeout",
- "description": "Optional timeout in millis for the read-lock, if supported by the read-lock. If the read-lock could not be granted and the timeout triggered, then Camel will skip the file. At next poll Camel, will try the file again, and this time maybe the read-lock could be granted. Use a value of 0 or lower to indicate forever. Currently fileLock, changed and rename support the timeout. Notice: For FTP the default readLockTimeout value is 20000 instead of 10000. The readLockTimeout [...]
+ "description": "Optional timeout in millis for the read-lock, if supported by the read-lock. If the read-lock could not be granted and the timeout triggered, then Camel will skip the file. At next poll Camel, will try the file again, and this time maybe the read-lock could be granted. Use a value of 0 or lower to indicate forever. Currently fileLock, changed and rename support the timeout. Notice: For FTP the default readLockTimeout value is 20000 instead of 10000. The readLockTimeout [...]
"defaultValue": "10000L",
"priority": "MEDIUM",
"required": "false"
diff --git a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-google-storage-sink-sink.json b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-google-storage-sink-sink.json
index b19519c6b9..f027defd97 100644
--- a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-google-storage-sink-sink.json
+++ b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-google-storage-sink-sink.json
@@ -6,7 +6,7 @@
"id": "camel-google-storage-sink-sink",
"type": "sink",
"version": "4.4.2-SNAPSHOT",
- "description": "Upload objects to Google Cloud Storage.\n\nIf you specify the `serviceAccountKey` property, you must base64 encode it before you pass it as a parameter.\n \nIn the header, you can set the `file` \/ `ce-file` property to specify the filename to upload. If you do set property in the header, the Kamelet uses the exchange ID as filename."
+ "description": "Upload objects to Google Cloud Storage.\n\nIf you specify the `serviceAccountKey` property, you must base64 encode it before you pass it as a parameter.\n\nIn the header, you can set the `file` \/ `ce-file` property to specify the filename to upload. If you do set property in the header, the Kamelet uses the exchange ID as filename."
},
"properties": {
"camel.kamelet.google-storage-sink.bucketNameOrArn": {
diff --git a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-jms-ibm-mq-sink-sink.json b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-jms-ibm-mq-sink-sink.json
index f9dd511b0e..91299bbbc7 100644
--- a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-jms-ibm-mq-sink-sink.json
+++ b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-jms-ibm-mq-sink-sink.json
@@ -6,7 +6,7 @@
"id": "camel-jms-ibm-mq-sink-sink",
"type": "sink",
"version": "4.4.2-SNAPSHOT",
- "description": "A Kamelet that can produce events to an IBM MQ message queue using JMS.\n\nIn your Pipe file, you must explicitly declare the IBM MQ Server driver dependency in spec->integration->dependencies\n\n- \"mvn:com.ibm.mq:com.ibm.mq.allclient:<version>\""
+ "description": "A Kamelet that can produce events to an IBM MQ message queue using JMS.\n\nIn your Pipe file, you must explicitly declare the IBM MQ Server driver dependency in spec->integration->dependencies\n\n- \"mvn:com.ibm.mq:com.ibm.mq.jakarta.client:<version>\""
},
"properties": {
"camel.kamelet.jms-ibm-mq-sink.serverName": {
diff --git a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-jms-ibm-mq-source-source.json b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-jms-ibm-mq-source-source.json
index c1db0f3924..f499bf92b0 100644
--- a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-jms-ibm-mq-source-source.json
+++ b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-jms-ibm-mq-source-source.json
@@ -6,7 +6,7 @@
"id": "camel-jms-ibm-mq-source-source",
"type": "source",
"version": "4.4.2-SNAPSHOT",
- "description": "A Kamelet that can read events from an IBM MQ message queue using JMS.\n\nIn your Pipe file, you must explicitly declare the IBM MQ Server driver dependency in spec->integration->dependencies\n\n- \"mvn:com.ibm.mq:com.ibm.mq.allclient:<version>\""
+ "description": "A Kamelet that can read events from an IBM MQ message queue using JMS.\n\nIn your Pipe file, you must explicitly declare the IBM MQ Server driver dependency in spec->integration->dependencies\n\n- \"mvn:com.ibm.mq:com.ibm.mq.jakarta.client:<version>\""
},
"properties": {
"camel.kamelet.jms-ibm-mq-source.serverName": {
diff --git a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-kafka-apicurio-registry-not-secured-source-source.json b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-kafka-apicurio-registry-not-secured-source-source.json
index 9e05eb59e5..8c17906f89 100644
--- a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-kafka-apicurio-registry-not-secured-source-source.json
+++ b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-kafka-apicurio-registry-not-secured-source-source.json
@@ -81,6 +81,13 @@
"defaultValue": "\"io.apicurio.registry.serde.avro.ReflectAvroDatumProvider\"",
"priority": "MEDIUM",
"required": "false"
+ },
+ "camel.kamelet.kafka-apicurio-registry-not-secured-source.topicIsPattern": {
+ "name": "camel.kamelet.kafka-apicurio-registry-not-secured-source.topicIsPattern",
+ "description": "Whether the topic is a pattern (regular expression). This can be used to subscribe to dynamic number of topics matching the pattern.",
+ "defaultValue": "false",
+ "priority": "MEDIUM",
+ "required": "false"
}
}
-}
+}
\ No newline at end of file
diff --git a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-kafka-azure-schema-registry-source-source.json b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-kafka-azure-schema-registry-source-source.json
index e547c819c2..ea76d8d934 100644
--- a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-kafka-azure-schema-registry-source-source.json
+++ b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-kafka-azure-schema-registry-source-source.json
@@ -100,6 +100,13 @@
"description": "The Specific Type Avro will have to deal with Example: com.example.Order",
"priority": "MEDIUM",
"required": "false"
+ },
+ "camel.kamelet.kafka-azure-schema-registry-source.topicIsPattern": {
+ "name": "camel.kamelet.kafka-azure-schema-registry-source.topicIsPattern",
+ "description": "Whether the topic is a pattern (regular expression). This can be used to subscribe to dynamic number of topics matching the pattern.",
+ "defaultValue": "false",
+ "priority": "MEDIUM",
+ "required": "false"
}
}
-}
+}
\ No newline at end of file
diff --git a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-kafka-not-secured-source-source.json b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-kafka-not-secured-source-source.json
index 8ef3aef63b..039e13faf6 100644
--- a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-kafka-not-secured-source-source.json
+++ b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-kafka-not-secured-source-source.json
@@ -61,6 +61,13 @@
"defaultValue": "true",
"priority": "MEDIUM",
"required": "false"
+ },
+ "camel.kamelet.kafka-not-secured-source.topicIsPattern": {
+ "name": "camel.kamelet.kafka-not-secured-source.topicIsPattern",
+ "description": "Whether the topic is a pattern (regular expression). This can be used to subscribe to dynamic number of topics matching the pattern.",
+ "defaultValue": "false",
+ "priority": "MEDIUM",
+ "required": "false"
}
}
}
\ No newline at end of file
diff --git a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-kafka-scram-source-source.json b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-kafka-scram-source-source.json
index 7bee864012..79186f577d 100644
--- a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-kafka-scram-source-source.json
+++ b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-kafka-scram-source-source.json
@@ -87,6 +87,13 @@
"defaultValue": "true",
"priority": "MEDIUM",
"required": "false"
+ },
+ "camel.kamelet.kafka-scram-source.topicIsPattern": {
+ "name": "camel.kamelet.kafka-scram-source.topicIsPattern",
+ "description": "Whether the topic is a pattern (regular expression). This can be used to subscribe to dynamic number of topics matching the pattern.",
+ "defaultValue": "false",
+ "priority": "MEDIUM",
+ "required": "false"
}
}
}
\ No newline at end of file
diff --git a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-kafka-source-source.json b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-kafka-source-source.json
index 9c827b8b05..a521aa4e2f 100644
--- a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-kafka-source-source.json
+++ b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-kafka-source-source.json
@@ -87,6 +87,13 @@
"defaultValue": "true",
"priority": "MEDIUM",
"required": "false"
+ },
+ "camel.kamelet.kafka-source.topicIsPattern": {
+ "name": "camel.kamelet.kafka-source.topicIsPattern",
+ "description": "Whether the topic is a pattern (regular expression). This can be used to subscribe to dynamic number of topics matching the pattern.",
+ "defaultValue": "false",
+ "priority": "MEDIUM",
+ "required": "false"
}
}
}
\ No newline at end of file
diff --git a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-kafka-ssl-source-source.json b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-kafka-ssl-source-source.json
index b721e3e35b..31de577707 100644
--- a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-kafka-ssl-source-source.json
+++ b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-kafka-ssl-source-source.json
@@ -126,6 +126,13 @@
"description": "Java Authentication and Authorization Service (JAAS) for Simple Authentication and Security Layer (SASL) configuration.",
"priority": "MEDIUM",
"required": "false"
+ },
+ "camel.kamelet.kafka-ssl-source.topicIsPattern": {
+ "name": "camel.kamelet.kafka-ssl-source.topicIsPattern",
+ "description": "Whether the topic is a pattern (regular expression). This can be used to subscribe to dynamic number of topics matching the pattern.",
+ "defaultValue": "false",
+ "priority": "MEDIUM",
+ "required": "false"
}
}
}
\ No newline at end of file
diff --git a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-opensearch-index-sink-sink.json b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-opensearch-index-sink-sink.json
index b3d91edf3e..79972c5f91 100644
--- a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-opensearch-index-sink-sink.json
+++ b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-opensearch-index-sink-sink.json
@@ -6,7 +6,7 @@
"id": "camel-opensearch-index-sink-sink",
"type": "sink",
"version": "4.4.2-SNAPSHOT",
- "description": "Stores JSON-formatted data into Opensearch.\n\nThe input data must be formatted in JSON according to the requirements of the index. \n\nIf you specify the `certificate` property, you must base64 encode it before you pass it as a parameter.\n\nIn the header, you can set the following properties:\n\n- `indexId` \/ `ce-indexid`: The index ID for OpenSearch.\n\n- `indexName` \/ `ce-indexname`: The index name for OpenSearch.\n\nIf you do not set a property in the header, the [...]
+ "description": "Stores JSON-formatted data into Opensearch.\n\nThe input data must be formatted in JSON according to the requirements of the index.\n\nIf you specify the `certificate` property, you must base64 encode it before you pass it as a parameter.\n\nIn the header, you can set the following properties:\n\n- `indexId` \/ `ce-indexid`: The index ID for OpenSearch.\n\n- `indexName` \/ `ce-indexname`: The index name for OpenSearch.\n\nIf you do not set a property in the header, the [...]
},
"properties": {
"camel.kamelet.opensearch-index-sink.user": {
diff --git a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-salesforce-source-source.json b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-salesforce-source-source.json
index cc4029bc17..0f7e276a39 100644
--- a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-salesforce-source-source.json
+++ b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-salesforce-source-source.json
@@ -93,6 +93,13 @@
"defaultValue": "\"subscribe\"",
"priority": "MEDIUM",
"required": "false"
+ },
+ "camel.kamelet.salesforce-source.rawPayload": {
+ "name": "camel.kamelet.salesforce-source.rawPayload",
+ "description": "Use raw payload String for request and response (either JSON or XML depending on format), instead of DTOs, false by default.",
+ "defaultValue": "false",
+ "priority": "MEDIUM",
+ "required": "false"
}
}
}
\ No newline at end of file
diff --git a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-sjms2-sink.json b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-sjms2-sink.json
index 8e57568b0e..238d4adb5e 100644
--- a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-sjms2-sink.json
+++ b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-sjms2-sink.json
@@ -174,7 +174,7 @@
},
"camel.sink.endpoint.asyncStartListener": {
"name": "camel.sink.endpoint.asyncStartListener",
- "description": "Whether to startup the consumer message listener asynchronously, when starting a route. For example if a JmsConsumer cannot get a connection to a remote JMS broker, then it may block while retrying and\/or failover. This will cause Camel to block while starting routes. By setting this option to true, you will let routes startup, while the JmsConsumer connects to the JMS broker using a dedicated thread in asynchronous mode. If this option is used, then beware that if th [...]
+ "description": "Whether to startup the consumer message listener asynchronously, when starting a route. For example if a JmsConsumer cannot get a connection to a remote JMS broker, then it may block while retrying and\/or fail over. This will cause Camel to block while starting routes. By setting this option to true, you will let routes startup, while the JmsConsumer connects to the JMS broker using a dedicated thread in asynchronous mode. If this option is used, then beware that if t [...]
"defaultValue": "false",
"priority": "MEDIUM",
"required": "false"
diff --git a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-sjms2-source.json b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-sjms2-source.json
index cd8b6cdfb7..16cfc95c6a 100644
--- a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-sjms2-source.json
+++ b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-sjms2-source.json
@@ -177,7 +177,7 @@
},
"camel.source.endpoint.asyncStartListener": {
"name": "camel.source.endpoint.asyncStartListener",
- "description": "Whether to startup the consumer message listener asynchronously, when starting a route. For example if a JmsConsumer cannot get a connection to a remote JMS broker, then it may block while retrying and\/or failover. This will cause Camel to block while starting routes. By setting this option to true, you will let routes startup, while the JmsConsumer connects to the JMS broker using a dedicated thread in asynchronous mode. If this option is used, then beware that if th [...]
+ "description": "Whether to startup the consumer message listener asynchronously, when starting a route. For example if a JmsConsumer cannot get a connection to a remote JMS broker, then it may block while retrying and\/or fail over. This will cause Camel to block while starting routes. By setting this option to true, you will let routes startup, while the JmsConsumer connects to the JMS broker using a dedicated thread in asynchronous mode. If this option is used, then beware that if t [...]
"defaultValue": "false",
"priority": "MEDIUM",
"required": "false"
diff --git a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-slack-source-source.json b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-slack-source-source.json
index 74dd84cd19..4df0f1237d 100644
--- a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-slack-source-source.json
+++ b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-slack-source-source.json
@@ -27,6 +27,13 @@
"defaultValue": "\"60000\"",
"priority": "MEDIUM",
"required": "false"
+ },
+ "camel.kamelet.slack-source.naturalOrder": {
+ "name": "camel.kamelet.slack-source.naturalOrder",
+ "description": "Create exchanges in natural order (oldest to newest) or not.",
+ "defaultValue": "false",
+ "priority": "MEDIUM",
+ "required": "false"
}
}
}
\ No newline at end of file
diff --git a/camel-kafka-connector-catalog/src/generated/resources/descriptors/connectors.properties b/camel-kafka-connector-catalog/src/generated/resources/descriptors/connectors.properties
index e2f9366835..cbafcd1dd8 100644
--- a/camel-kafka-connector-catalog/src/generated/resources/descriptors/connectors.properties
+++ b/camel-kafka-connector-catalog/src/generated/resources/descriptors/connectors.properties
@@ -39,6 +39,8 @@ camel-azure-storage-blob-sink-sink
camel-azure-storage-blob-source-source
camel-azure-storage-datalake-sink-sink
camel-azure-storage-datalake-source-source
+camel-azure-storage-files-sink-sink
+camel-azure-storage-files-source-source
camel-azure-storage-queue-sink-sink
camel-azure-storage-queue-source-source
camel-beer-source-source
@@ -87,8 +89,6 @@ camel-google-storage-cdc-source-source
camel-google-storage-sink-sink
camel-google-storage-source-source
camel-graphql-sink-sink
-camel-hdfs-source
-camel-hdfs-sink
camel-http-secured-sink-sink
camel-http-secured-source-source
camel-http-sink-sink
@@ -113,6 +113,12 @@ camel-kafka-apicurio-registry-not-secured-sink-sink
camel-kafka-apicurio-registry-not-secured-source-source
camel-kafka-azure-schema-registry-sink-sink
camel-kafka-azure-schema-registry-source-source
+camel-kafka-batch-apicurio-registry-not-secured-source-source
+camel-kafka-batch-azure-schema-registry-source-source
+camel-kafka-batch-not-secured-source-source
+camel-kafka-batch-scram-source-source
+camel-kafka-batch-source-source
+camel-kafka-batch-ssl-source-source
camel-kafka-not-secured-sink-sink
camel-kafka-not-secured-source-source
camel-kafka-scram-sink-sink
@@ -169,9 +175,13 @@ camel-sjms2-source
camel-sjms2-sink
camel-slack-sink-sink
camel-slack-source-source
+camel-snowflake-sink-sink
+camel-snowflake-source-source
camel-splunk-hec-sink-sink
camel-splunk-sink-sink
camel-splunk-source-source
+camel-spring-rabbitmq-sink-sink
+camel-spring-rabbitmq-source-source
camel-sqlserver-sink-sink
camel-sqlserver-source-source
camel-ssh-sink-sink
diff --git a/connectors/camel-aws-cloudtrail-source-kafka-connector/src/main/resources/kamelets/aws-cloudtrail-source.kamelet.yaml b/connectors/camel-aws-cloudtrail-source-kafka-connector/src/main/resources/kamelets/aws-cloudtrail-source.kamelet.yaml
index 7f64671d2e..a2ee46a795 100644
--- a/connectors/camel-aws-cloudtrail-source-kafka-connector/src/main/resources/kamelets/aws-cloudtrail-source.kamelet.yaml
+++ b/connectors/camel-aws-cloudtrail-source-kafka-connector/src/main/resources/kamelets/aws-cloudtrail-source.kamelet.yaml
@@ -4,7 +4,7 @@ metadata:
name: aws-cloudtrail-source
annotations:
camel.apache.org/kamelet.support.level: "Stable"
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2aWV3Qm94PSIwIDAgNzQuMzc1IDg1IiBmaWxsPSIjZmZmIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHN0cm9rZT0iIzAwMCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48dXNlIHhsaW5rOmhyZWY9IiNBIiB4PSIyLjE4OCIgeT0iMi41Ii8+PHN5bWJvbCBpZD0iQSIgb3ZlcmZsb3c9InZpc2libGUiPjxnIHN0cm9rZT0ibm9uZSI+PHBhdGggZD0iTTkuOTY2IDM1LjQ5M2wtMi4yODguMT [...]
camel.apache.org/provider: "Apache Software Foundation"
camel.apache.org/kamelet.group: "AWS Cloudtrail"
@@ -45,7 +45,6 @@ spec:
title: Default Credentials Provider
description: If true, the Cloudtrail client loads credentials through a default credentials provider. If false, it uses the basic authentication method (access key and secret key).
type: boolean
- x-descriptors:
default: false
uriEndpointOverride:
title: Overwrite Endpoint URI
@@ -55,7 +54,6 @@ spec:
title: Endpoint Overwrite
description: Select this option to override the endpoint URI. To use this option, you must also provide a URI for the `uriEndpointOverride` option.
type: boolean
- x-descriptors:
default: false
maxResults:
title: Max Results
diff --git a/connectors/camel-aws-cloudwatch-sink-kafka-connector/src/main/resources/kamelets/aws-cloudwatch-sink.kamelet.yaml b/connectors/camel-aws-cloudwatch-sink-kafka-connector/src/main/resources/kamelets/aws-cloudwatch-sink.kamelet.yaml
index 1398dff1d3..921a3626c6 100644
--- a/connectors/camel-aws-cloudwatch-sink-kafka-connector/src/main/resources/kamelets/aws-cloudwatch-sink.kamelet.yaml
+++ b/connectors/camel-aws-cloudwatch-sink-kafka-connector/src/main/resources/kamelets/aws-cloudwatch-sink.kamelet.yaml
@@ -21,7 +21,7 @@ metadata:
name: aws-cloudwatch-sink
annotations:
camel.apache.org/kamelet.support.level: "Stable"
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjIwNyIgaGVpZ2h0PSIyNTAwIiB2aWV3Qm94PSIwIDAgMjU2IDI5MCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJ4TWlkWU1pZCI+PHBhdGggZD0iTTI1NiAxOTkuMzA1bC0xMjcuOTU3LTE4Ljc5N0wwIDE5OS4zMjlsMTI4LjAxIDQ3LjQzOUwyNTYgMTk5LjMwNSIgZmlsbD0iI0I3Q0E5RCIvPjxwYXRoIGQ9Ik0yNS42MjEgMTk3LjExM2wyMS42MyA2Ljc2MSAxLjk3MS0yLjIzOFY1MC4yODRsLTEuOTcxLTIuNTg1LTIxLjYzIDguMjc0djE0MS4xNCIgZmlsbD0iIzRCNjEyQyIvPjxwYXRoIG [...]
camel.apache.org/provider: "Apache Software Foundation"
camel.apache.org/kamelet.group: "AWS Cloudwatch"
diff --git a/connectors/camel-aws-ddb-sink-kafka-connector/pom.xml b/connectors/camel-aws-ddb-sink-kafka-connector/pom.xml
index f5cc3f03a1..19817b7b65 100644
--- a/connectors/camel-aws-ddb-sink-kafka-connector/pom.xml
+++ b/connectors/camel-aws-ddb-sink-kafka-connector/pom.xml
@@ -61,14 +61,14 @@
<groupId>org.apache.camel</groupId>
<artifactId>camel-yaml-dsl</artifactId>
</dependency>
- <dependency>
- <groupId>org.apache.camel</groupId>
- <artifactId>camel-kamelet</artifactId>
- </dependency>
<dependency>
<groupId>org.apache.camel.kamelets</groupId>
<artifactId>camel-kamelets-utils</artifactId>
- <version>4.3.0</version>
+ <version>4.4.2</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.camel</groupId>
+ <artifactId>camel-kamelet</artifactId>
</dependency>
<!--END OF GENERATED CODE-->
</dependencies>
diff --git a/connectors/camel-aws-ddb-sink-kafka-connector/src/main/resources/kamelets/aws-ddb-sink.kamelet.yaml b/connectors/camel-aws-ddb-sink-kafka-connector/src/main/resources/kamelets/aws-ddb-sink.kamelet.yaml
index 3767401b31..b4d628fdc2 100644
--- a/connectors/camel-aws-ddb-sink-kafka-connector/src/main/resources/kamelets/aws-ddb-sink.kamelet.yaml
+++ b/connectors/camel-aws-ddb-sink-kafka-connector/src/main/resources/kamelets/aws-ddb-sink.kamelet.yaml
@@ -21,7 +21,7 @@ metadata:
name: aws-ddb-sink
annotations:
camel.apache.org/kamelet.support.level: "Stable"
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjEwMCIgd2lkdGg9IjEwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBmaWxsPSIjMkQ3MkI4IiBkPSJNNzQuMTc0IDMxLjgwN2w3LjQzNyA1LjM2N3YtNy42MDJsLTcuNDgtOC43NjV2MTAuOTU3bC4wNDMuMDE1eiIvPjxwYXRoIGZpbGw9IiM1Mjk0Q0YiIGQ9Ik01OS44MzggODUuNjY2bDE0LjI5My03LjE0NlYyMC43OTFsLTE0LjMwMy03LjEyNHoiLz48cGF0aCBmaWxsPSIjMjA1Qjk4IiBkPSJNMzkuNDk2IDg1LjY2NkwyNS4yMDMgNzguNTJWMjAuNzkxbDE0LjMwMy03LjEyNHoiLz48cGF0aCBmaWxsPSIjMkQ3Mk [...]
camel.apache.org/provider: "Apache Software Foundation"
camel.apache.org/kamelet.group: "AWS DynamoDB Streams"
@@ -89,7 +89,6 @@ spec:
title: Default Credentials Provider
description: If true, the DynamoDB client loads credentials through a default credentials provider. If false, it uses the basic authentication method (access key and secret key).
type: boolean
- x-descriptors:
default: false
uriEndpointOverride:
title: Overwrite Endpoint URI
@@ -99,7 +98,6 @@ spec:
title: Endpoint Overwrite
description: Select this option to override the endpoint URI. To use this option, you must also provide a URI for the `uriEndpointOverride` option.
type: boolean
- x-descriptors:
default: false
dataTypes:
in:
@@ -140,7 +138,7 @@ spec:
type: object
description: Attribute value map specifies all attributes to change with the given operation.
dependencies:
- - mvn:org.apache.camel.kamelets:camel-kamelets-utils:4.3.0
+ - mvn:org.apache.camel.kamelets:camel-kamelets-utils:4.4.2
- "camel:core"
- "camel:jackson"
- "camel:aws2-ddb"
diff --git a/connectors/camel-aws-ddb-streams-source-kafka-connector/pom.xml b/connectors/camel-aws-ddb-streams-source-kafka-connector/pom.xml
index c9fe23825a..793d9cc5c1 100644
--- a/connectors/camel-aws-ddb-streams-source-kafka-connector/pom.xml
+++ b/connectors/camel-aws-ddb-streams-source-kafka-connector/pom.xml
@@ -57,6 +57,11 @@
<groupId>org.apache.camel</groupId>
<artifactId>camel-yaml-dsl</artifactId>
</dependency>
+ <dependency>
+ <groupId>org.apache.camel.kamelets</groupId>
+ <artifactId>camel-kamelets-utils</artifactId>
+ <version>4.4.2</version>
+ </dependency>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-kamelet</artifactId>
diff --git a/connectors/camel-aws-ddb-streams-source-kafka-connector/src/main/resources/kamelets/aws-ddb-streams-source.kamelet.yaml b/connectors/camel-aws-ddb-streams-source-kafka-connector/src/main/resources/kamelets/aws-ddb-streams-source.kamelet.yaml
index 567d4b94f3..f502a2bf6b 100644
--- a/connectors/camel-aws-ddb-streams-source-kafka-connector/src/main/resources/kamelets/aws-ddb-streams-source.kamelet.yaml
+++ b/connectors/camel-aws-ddb-streams-source-kafka-connector/src/main/resources/kamelets/aws-ddb-streams-source.kamelet.yaml
@@ -21,7 +21,7 @@ metadata:
name: aws-ddb-streams-source
annotations:
camel.apache.org/kamelet.support.level: "Stable"
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjEwMCIgd2lkdGg9IjEwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBmaWxsPSIjMkQ3MkI4IiBkPSJNNzQuMTc0IDMxLjgwN2w3LjQzNyA1LjM2N3YtNy42MDJsLTcuNDgtOC43NjV2MTAuOTU3bC4wNDMuMDE1eiIvPjxwYXRoIGZpbGw9IiM1Mjk0Q0YiIGQ9Ik01OS44MzggODUuNjY2bDE0LjI5My03LjE0NlYyMC43OTFsLTE0LjMwMy03LjEyNHoiLz48cGF0aCBmaWxsPSIjMjA1Qjk4IiBkPSJNMzkuNDk2IDg1LjY2NkwyNS4yMDMgNzguNTJWMjAuNzkxbDE0LjMwMy03LjEyNHoiLz48cGF0aCBmaWxsPSIjMkQ3Mk [...]
camel.apache.org/provider: "Apache Software Foundation"
camel.apache.org/kamelet.group: "AWS DynamoDB Streams"
@@ -67,14 +67,13 @@ spec:
enum: ["ap-south-1", "eu-south-1", "us-gov-east-1", "me-central-1", "ca-central-1", "eu-central-1", "us-iso-west-1", "us-west-1", "us-west-2", "af-south-1", "eu-north-1", "eu-west-3", "eu-west-2", "eu-west-1", "ap-northeast-3", "ap-northeast-2", "ap-northeast-1", "me-south-1", "sa-east-1", "ap-east-1", "cn-north-1", "us-gov-west-1", "ap-southeast-1", "ap-southeast-2", "us-iso-east-1", "ap-southeast-3", "us-east-1", "us-east-2", "cn-northwest-1", "us-isob-east-1", "aws-global", "a [...]
streamIteratorType:
title: Stream Iterator Type
- description: Defines where in the DynamoDB stream to start getting records. There are two enums and the value can be one of FROM_LATEST and FROM_START. Note that using FROM_START can cause a significant delay before the stream has caught up to real-time.
+ description: Defines where in the DynamoDB stream to start getting records. There are two enums and the value can be one of FROM_LATEST and FROM_START. Note that using FROM_START can cause a significant delay before the stream has caught up to real-time.
type: string
default: FROM_LATEST
useDefaultCredentialsProvider:
title: Default Credentials Provider
description: If true, the DynamoDB client loads credentials through a default credentials provider. If false, it uses the basic authentication method (access key and secret key).
type: boolean
- x-descriptors:
default: false
uriEndpointOverride:
title: Overwrite Endpoint URI
@@ -84,17 +83,58 @@ spec:
title: Endpoint Overwrite
description: Select this option to override the endpoint URI. To use this option, you must also provide a URI for the `uriEndpointOverride` option.
type: boolean
- x-descriptors:
default: false
delay:
title: Delay
description: The number of milliseconds before the next poll from the database.
type: integer
default: 500
- types:
+ dataTypes:
out:
- mediaType: application/json
+ default: json
+ headers:
+ CamelAwsDdbStreamEventSource:
+ title: The DDB Stream Event Source
+ description: The Amazon Web Services service from which the stream record originated. For DynamoDB Streams, this is aws:dynamodb.
+ type: string
+ CamelAwsDdbStreamEventId:
+ title: The DDB Stream Event Id
+ description: A globally unique identifier for the event that was recorded in this stream record.
+ type: string
+ types:
+ json:
+ format: "application-json"
+ description: Default Json representation of a DDB Stream Event.
+ mediaType: application/json
+ cloudevents:
+ format: "aws2-ddbstream:application-cloudevents"
+ description: |-
+ Data type transformer converts AWS Dynamo DB Streams get records response to CloudEvent v1_0 data format. The data
+ type sets Camel specific CloudEvent headers with values extracted from AWS Dynamo DB Streams get records.
+ headers:
+ CamelCloudEventID:
+ title: CloudEvent ID
+ description: The Camel exchange id set as event id
+ type: string
+ CamelCloudEventType:
+ title: CloudEvent Type
+ description: The event type
+ default: "org.apache.camel.event.aws.ddbstream.getRecords"
+ type: string
+ CamelCloudEventSource:
+ title: CloudEvent Source
+ description: The event source. By default, the DDB Stream Event source receipt handle with prefix "aws.ddbstream.".
+ type: string
+ CamelCloudEventSubject:
+ title: CloudEvent Subject
+ description: The event subject. The DDB Stream Event Id.
+ type: string
+ CamelCloudEventTime:
+ title: CloudEvent Time
+ description: The exchange creation timestamp as event time.
+ type: string
dependencies:
+ - mvn:org.apache.camel.kamelets:camel-kamelets-utils:4.4.2
- "camel:gson"
- "camel:aws2-ddb"
- "camel:kamelet"
@@ -111,7 +151,6 @@ spec:
overrideEndpoint: "{{overrideEndpoint}}"
delay: "{{delay}}"
steps:
- - marshal:
- json:
- library: Gson
+ - transform:
+ toType: "aws2-ddb:application-x-struct"
- to: "kamelet:sink"
\ No newline at end of file
diff --git a/connectors/camel-aws-ec2-sink-kafka-connector/src/main/resources/kamelets/aws-ec2-sink.kamelet.yaml b/connectors/camel-aws-ec2-sink-kafka-connector/src/main/resources/kamelets/aws-ec2-sink.kamelet.yaml
index aa3c0d7156..3eda3678f3 100644
--- a/connectors/camel-aws-ec2-sink-kafka-connector/src/main/resources/kamelets/aws-ec2-sink.kamelet.yaml
+++ b/connectors/camel-aws-ec2-sink-kafka-connector/src/main/resources/kamelets/aws-ec2-sink.kamelet.yaml
@@ -21,7 +21,7 @@ metadata:
name: aws-ec2-sink
annotations:
camel.apache.org/kamelet.support.level: "Stable"
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjA2NSIgaGVpZ2h0PSIyNTAwIiB2aWV3Qm94PSIwIDAgMjU2IDMxMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJ4TWlkWU1pZCI+PHBhdGggZD0iTTQyLjc1NCAyNDQuNDk1bC0yOS45MTggNi44MjZWNTcuNTY1bDI5LjkxOCA2LjgzOXYxODAuMDkxIiBmaWxsPSIjRjY4NTM2Ii8+PHBhdGggZD0iTTgwLjA4MiAyNTUuOTMxbC0zNy4zMjggMTAuNjA4VjQyLjYxMmwzNy4zMjggMTAuNTk1djIwMi43MjRNMTI3Ljk2NiAyNjcuNjgxbC00Ny44ODQgMTcuNTI0VjIzLjk0Nmw0Ny44ODQgMTcuNT [...]
camel.apache.org/provider: "Apache Software Foundation"
camel.apache.org/kamelet.group: "AWS EC2"
@@ -68,7 +68,6 @@ spec:
title: Default Credentials Provider
description: If true, the CloudWatch client loads credentials through a default credentials provider. If false, it uses the basic authentication method (access key and secret key).
type: boolean
- x-descriptors:
default: false
uriEndpointOverride:
title: Overwrite Endpoint URI
@@ -78,7 +77,6 @@ spec:
title: Endpoint Overwrite
description: Select this option to override the endpoint URI. To use this option, you must also provide a URI for the `uriEndpointOverride` option.
type: boolean
- x-descriptors:
default: false
dependencies:
- "camel:core"
diff --git a/connectors/camel-aws-eventbridge-sink-kafka-connector/src/main/resources/kamelets/aws-eventbridge-sink.kamelet.yaml b/connectors/camel-aws-eventbridge-sink-kafka-connector/src/main/resources/kamelets/aws-eventbridge-sink.kamelet.yaml
index 753e237728..5fde3c382d 100644
--- a/connectors/camel-aws-eventbridge-sink-kafka-connector/src/main/resources/kamelets/aws-eventbridge-sink.kamelet.yaml
+++ b/connectors/camel-aws-eventbridge-sink-kafka-connector/src/main/resources/kamelets/aws-eventbridge-sink.kamelet.yaml
@@ -21,7 +21,7 @@ metadata:
name: aws-eventbridge-sink
annotations:
camel.apache.org/kamelet.support.level: "Stable"
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMWVtIiBoZWlnaHQ9IjFlbSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ieE1pZFlNaWQgbWVldCIgdmlld0JveD0iMCAwIDI1NiAyNTYiIHN0eWxlPSItbXMtdHJhbnNmb3JtOiByb3RhdGUoMzYwZGVnKTsgLXdlYmtpdC10cmFuc2Zvcm06IHJvdGF0ZSgzNjBkZWcpOyB0cmFuc2Zvcm06IHJvdGF0ZSgzNjBkZWcpOyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJJY29uaWZ5SWQtMTgyM2Y2NTU1NjktYWYxZGQ1LT [...]
camel.apache.org/provider: "Apache Software Foundation"
camel.apache.org/kamelet.group: "AWS Eventbridge"
@@ -77,7 +77,6 @@ spec:
title: Default Credentials Provider
description: If true, the Eventbridge client loads credentials through a default credentials provider. If false, it uses the basic authentication method (access key and secret key).
type: boolean
- x-descriptors:
default: false
uriEndpointOverride:
title: Overwrite Endpoint URI
@@ -87,7 +86,6 @@ spec:
title: Endpoint Overwrite
description: Select this option to override the endpoint URI. To use this option, you must also provide a URI for the `uriEndpointOverride` option.
type: boolean
- x-descriptors:
default: false
dependencies:
- "camel:core"
diff --git a/connectors/camel-aws-kinesis-firehose-sink-kafka-connector/src/main/resources/kamelets/aws-kinesis-firehose-sink.kamelet.yaml b/connectors/camel-aws-kinesis-firehose-sink-kafka-connector/src/main/resources/kamelets/aws-kinesis-firehose-sink.kamelet.yaml
index 783af18ef2..5b44c6ae87 100644
--- a/connectors/camel-aws-kinesis-firehose-sink-kafka-connector/src/main/resources/kamelets/aws-kinesis-firehose-sink.kamelet.yaml
+++ b/connectors/camel-aws-kinesis-firehose-sink-kafka-connector/src/main/resources/kamelets/aws-kinesis-firehose-sink.kamelet.yaml
@@ -21,7 +21,7 @@ metadata:
name: aws-kinesis-firehose-sink
annotations:
camel.apache.org/kamelet.support.level: "Stable"
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2aWV3Qm94PSIwIDAgODUgODUiIGZpbGw9IiNmZmYiIGZpbGwtcnVsZT0iZXZlbm9kZCIgc3Ryb2tlPSIjMDAwIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPjx1c2UgeGxpbms6aHJlZj0iI0EiIHg9IjIuNSIgeT0iMi41Ii8+PHN5bWJvbCBpZD0iQSIgb3ZlcmZsb3c9InZpc2libGUiPjxnIHN0cm9rZT0ibm9uZSI+PHBhdGggZD0iTTEzLjc2NiAzLjEyaDUyLjQ2OGMzLjY1MSAwID [...]
camel.apache.org/provider: "Apache Software Foundation"
camel.apache.org/kamelet.group: "AWS Kinesis Firehose"
@@ -69,7 +69,6 @@ spec:
title: Default Credentials Provider
description: Set whether the Kinesis Firehose client should expect to load credentials through a default credentials provider or to expect static credentials to be passed in.
type: boolean
- x-descriptors:
default: false
uriEndpointOverride:
title: Overwrite Endpoint URI
@@ -79,7 +78,6 @@ spec:
title: Endpoint Overwrite
description: Select this option to override the endpoint URI. To use this option, you must also provide a URI for the `uriEndpointOverride` option.
type: boolean
- x-descriptors:
default: false
dependencies:
- "camel:aws2-kinesis"
diff --git a/connectors/camel-aws-kinesis-sink-kafka-connector/src/main/resources/kamelets/aws-kinesis-sink.kamelet.yaml b/connectors/camel-aws-kinesis-sink-kafka-connector/src/main/resources/kamelets/aws-kinesis-sink.kamelet.yaml
index 981662d74b..548d09ac44 100644
--- a/connectors/camel-aws-kinesis-sink-kafka-connector/src/main/resources/kamelets/aws-kinesis-sink.kamelet.yaml
+++ b/connectors/camel-aws-kinesis-sink-kafka-connector/src/main/resources/kamelets/aws-kinesis-sink.kamelet.yaml
@@ -21,7 +21,7 @@ metadata:
name: aws-kinesis-sink
annotations:
camel.apache.org/kamelet.support.level: "Stable"
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNTYgMzA4LjIzNDAxIj48dGl0bGU+YXdzLWtpbmVzaXM8L3RpdGxlPjxwYXRoIGQ9Ik0wLDE3Mi4wODdsMTI3Ljc1NCw1OC44MSwxMjcuNzUyLTU4LjgxLTEyNy43NTItNS4yOTNaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwIDAuMDAwMDUpIiBmaWxsPSIjZmNiZjkyIi8+PHBhdGggZD0iTTEyOC4xNDcsMCwuMDU5LDYzLjg4MXY5MC4xMzZIMTUzLjY0OFYxMi43NTFaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwIDAuMD [...]
camel.apache.org/provider: "Apache Software Foundation"
camel.apache.org/kamelet.group: "AWS Kinesis"
@@ -76,7 +76,6 @@ spec:
title: Default Credentials Provider
description: If true, the Kinesis client loads credentials through a default credentials provider. If false, it uses the basic authentication method (access key and secret key).
type: boolean
- x-descriptors:
default: false
uriEndpointOverride:
title: Overwrite Endpoint URI
@@ -86,7 +85,6 @@ spec:
title: Endpoint Overwrite
description: Select this option to override the endpoint URI. To use this option, you must also provide a URI for the `uriEndpointOverride` option.
type: boolean
- x-descriptors:
default: false
types:
in:
diff --git a/connectors/camel-aws-kinesis-source-kafka-connector/pom.xml b/connectors/camel-aws-kinesis-source-kafka-connector/pom.xml
index 00490fd7c2..c345a447ac 100644
--- a/connectors/camel-aws-kinesis-source-kafka-connector/pom.xml
+++ b/connectors/camel-aws-kinesis-source-kafka-connector/pom.xml
@@ -53,14 +53,14 @@
<groupId>org.apache.camel</groupId>
<artifactId>camel-yaml-dsl</artifactId>
</dependency>
- <dependency>
- <groupId>org.apache.camel</groupId>
- <artifactId>camel-kamelet</artifactId>
- </dependency>
<dependency>
<groupId>org.apache.camel.kamelets</groupId>
<artifactId>camel-kamelets-utils</artifactId>
- <version>4.3.0</version>
+ <version>4.4.2</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.camel</groupId>
+ <artifactId>camel-kamelet</artifactId>
</dependency>
<dependency>
<groupId>org.apache.camel</groupId>
diff --git a/connectors/camel-aws-kinesis-source-kafka-connector/src/main/resources/kamelets/aws-kinesis-source.kamelet.yaml b/connectors/camel-aws-kinesis-source-kafka-connector/src/main/resources/kamelets/aws-kinesis-source.kamelet.yaml
index eda0a5b508..1acac49bc6 100644
--- a/connectors/camel-aws-kinesis-source-kafka-connector/src/main/resources/kamelets/aws-kinesis-source.kamelet.yaml
+++ b/connectors/camel-aws-kinesis-source-kafka-connector/src/main/resources/kamelets/aws-kinesis-source.kamelet.yaml
@@ -21,7 +21,7 @@ metadata:
name: aws-kinesis-source
annotations:
camel.apache.org/kamelet.support.level: "Stable"
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNTYgMzA4LjIzNDAxIj48dGl0bGU+YXdzLWtpbmVzaXM8L3RpdGxlPjxwYXRoIGQ9Ik0wLDE3Mi4wODdsMTI3Ljc1NCw1OC44MSwxMjcuNzUyLTU4LjgxLTEyNy43NTItNS4yOTNaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwIDAuMDAwMDUpIiBmaWxsPSIjZmNiZjkyIi8+PHBhdGggZD0iTTEyOC4xNDcsMCwuMDU5LDYzLjg4MXY5MC4xMzZIMTUzLjY0OFYxMi43NTFaIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwIDAuMD [...]
camel.apache.org/provider: "Apache Software Foundation"
camel.apache.org/kamelet.group: "AWS Kinesis"
@@ -93,16 +93,8 @@ spec:
- "camel:aws2-kinesis"
- "camel:kamelet"
- "camel:core"
- - "mvn:org.apache.camel.kamelets:camel-kamelets-utils:4.3.0"
+ - "mvn:org.apache.camel.kamelets:camel-kamelets-utils:4.4.2"
template:
- beans:
- - name: duplicateHeaders
- type: "#class:org.apache.camel.kamelets.utils.headers.DuplicateNamingHeaders"
- properties:
- prefix: 'CamelAwsKinesis'
- renamingPrefix: 'aws.kinesis.'
- mode: 'filtering'
- selectedHeaders: 'CamelAwsKinesisPartitionKey,CamelAwsKinesisSequenceNumber'
from:
uri: aws2-kinesis:{{stream}}
parameters:
@@ -114,6 +106,4 @@ spec:
overrideEndpoint: "{{overrideEndpoint}}"
delay: "{{delay}}"
steps:
- - process:
- ref: "{{duplicateHeaders}}"
- to: "kamelet:sink"
\ No newline at end of file
diff --git a/connectors/camel-aws-lambda-sink-kafka-connector/src/main/resources/kamelets/aws-lambda-sink.kamelet.yaml b/connectors/camel-aws-lambda-sink-kafka-connector/src/main/resources/kamelets/aws-lambda-sink.kamelet.yaml
index e10131ee9f..5ae4eb44bd 100644
--- a/connectors/camel-aws-lambda-sink-kafka-connector/src/main/resources/kamelets/aws-lambda-sink.kamelet.yaml
+++ b/connectors/camel-aws-lambda-sink-kafka-connector/src/main/resources/kamelets/aws-lambda-sink.kamelet.yaml
@@ -21,7 +21,7 @@ metadata:
name: aws-lambda-sink
annotations:
camel.apache.org/kamelet.support.level: "Stable"
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjA2NSIgaGVpZ2h0PSIyNTAwIiB2aWV3Qm94PSIwIDAgMjU2IDMxMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJ4TWlkWU1pZCI+PHBhdGggZD0iTTAgMjQ1LjI2MmwxNi4zMjIgOC4xNjFMMTkgMjQ4LjY2OFY1OS4zMzNsLTIuNjc4LTMuNDk0TDAgNjR2MTgxLjI2MiIgZmlsbD0iIzlENTAyNSIvPjxwYXRoIGQ9Ik00Ny42NzggNjMuNTdsLTMxLjM1Ni03LjczMXYxOTcuNTg0bDMxLjM1Ni03LjMwMlY2My41NyIgZmlsbD0iI0Y2ODUzNiIvPjxwYXRoIGQ9Ik0xNDMuODkzIDc4LjYwNGwyMi [...]
camel.apache.org/provider: "Apache Software Foundation"
camel.apache.org/kamelet.group: "AWS Lambda"
diff --git a/connectors/camel-aws-redshift-sink-kafka-connector/pom.xml b/connectors/camel-aws-redshift-sink-kafka-connector/pom.xml
index 3171812e64..830f0d2d3e 100644
--- a/connectors/camel-aws-redshift-sink-kafka-connector/pom.xml
+++ b/connectors/camel-aws-redshift-sink-kafka-connector/pom.xml
@@ -41,15 +41,15 @@
</dependency>
<!-- Camel -->
<!--START OF GENERATED CODE-->
- <dependency>
- <groupId>com.amazon.redshift</groupId>
- <artifactId>redshift-jdbc42</artifactId>
- <version>2.1.0.24</version>
- </dependency>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-jackson</artifactId>
</dependency>
+ <dependency>
+ <groupId>com.amazon.redshift</groupId>
+ <artifactId>redshift-jdbc42</artifactId>
+ <version>2.1.0.26</version>
+ </dependency>
<dependency>
<groupId>org.apache.camel.kafkaconnector</groupId>
<artifactId>camel-kafka-connector</artifactId>
diff --git a/connectors/camel-aws-redshift-sink-kafka-connector/src/main/resources/kamelets/aws-redshift-sink.kamelet.yaml b/connectors/camel-aws-redshift-sink-kafka-connector/src/main/resources/kamelets/aws-redshift-sink.kamelet.yaml
index 1bc5a7823b..a7b396e706 100644
--- a/connectors/camel-aws-redshift-sink-kafka-connector/src/main/resources/kamelets/aws-redshift-sink.kamelet.yaml
+++ b/connectors/camel-aws-redshift-sink-kafka-connector/src/main/resources/kamelets/aws-redshift-sink.kamelet.yaml
@@ -20,7 +20,7 @@ metadata:
name: aws-redshift-sink
annotations:
camel.apache.org/kamelet.support.level: "Stable"
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PHN2ZyBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCAxNjE1IDE3ODMuNyIgdmlld0JveD0iMCAwIDE2MTUgMTc4My43IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Im04MDcuNSAxMzYzLjggNjc4LjMgMTYxLjV2LTEyNzAuNWwtNjc4LjMgMTYxLjV6IiBmaWxsPSIjMjA1Yjk3Ii8+PHBhdGggZD0ibTE0ODUuOCAyNTQuOCAxMjkuMiA2NC42djExNDEuM2wtMTI5LjIgNjQuNnptLTY3OC4zIDExMDktNjc4LjMgMTYxLjV2LTEyNzAuNWw2NzguMyAxNjEuNXoiIGZpbGw9IiM1MTkzY2UiLz48cGF0aCBkPSJtMTI5LjIgMjU0LjgtMTI5Lj [...]
camel.apache.org/provider: "Apache Software Foundation"
camel.apache.org/kamelet.group: "AWS Redshift"
@@ -87,7 +87,7 @@ spec:
- "camel:jackson"
- "camel:kamelet"
- "camel:sql"
- - "mvn:com.amazon.redshift:redshift-jdbc42:2.1.0.24"
+ - "mvn:com.amazon.redshift:redshift-jdbc42:2.1.0.26"
- "mvn:org.apache.commons:commons-dbcp2:2.11.0"
template:
beans:
diff --git a/connectors/camel-aws-redshift-source-kafka-connector/pom.xml b/connectors/camel-aws-redshift-source-kafka-connector/pom.xml
index e1e8c31077..7f0775426a 100644
--- a/connectors/camel-aws-redshift-source-kafka-connector/pom.xml
+++ b/connectors/camel-aws-redshift-source-kafka-connector/pom.xml
@@ -41,15 +41,15 @@
</dependency>
<!-- Camel -->
<!--START OF GENERATED CODE-->
- <dependency>
- <groupId>com.amazon.redshift</groupId>
- <artifactId>redshift-jdbc42</artifactId>
- <version>2.1.0.24</version>
- </dependency>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-jackson</artifactId>
</dependency>
+ <dependency>
+ <groupId>com.amazon.redshift</groupId>
+ <artifactId>redshift-jdbc42</artifactId>
+ <version>2.1.0.26</version>
+ </dependency>
<dependency>
<groupId>org.apache.camel.kafkaconnector</groupId>
<artifactId>camel-kafka-connector</artifactId>
diff --git a/connectors/camel-aws-redshift-source-kafka-connector/src/main/resources/kamelets/aws-redshift-source.kamelet.yaml b/connectors/camel-aws-redshift-source-kafka-connector/src/main/resources/kamelets/aws-redshift-source.kamelet.yaml
index c6e6048746..a142234280 100644
--- a/connectors/camel-aws-redshift-source-kafka-connector/src/main/resources/kamelets/aws-redshift-source.kamelet.yaml
+++ b/connectors/camel-aws-redshift-source-kafka-connector/src/main/resources/kamelets/aws-redshift-source.kamelet.yaml
@@ -20,7 +20,7 @@ metadata:
name: aws-redshift-source
annotations:
camel.apache.org/kamelet.support.level: "Stable"
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PHN2ZyBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCAxNjE1IDE3ODMuNyIgdmlld0JveD0iMCAwIDE2MTUgMTc4My43IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxwYXRoIGQ9Im04MDcuNSAxMzYzLjggNjc4LjMgMTYxLjV2LTEyNzAuNWwtNjc4LjMgMTYxLjV6IiBmaWxsPSIjMjA1Yjk3Ii8+PHBhdGggZD0ibTE0ODUuOCAyNTQuOCAxMjkuMiA2NC42djExNDEuM2wtMTI5LjIgNjQuNnptLTY3OC4zIDExMDktNjc4LjMgMTYxLjV2LTEyNzAuNWw2NzguMyAxNjEuNXoiIGZpbGw9IiM1MTkzY2UiLz48cGF0aCBkPSJtMTI5LjIgMjU0LjgtMTI5Lj [...]
camel.apache.org/provider: "Apache Software Foundation"
camel.apache.org/kamelet.group: "AWS Redshift"
@@ -89,7 +89,7 @@ spec:
- "camel:jackson"
- "camel:kamelet"
- "camel:sql"
- - "mvn:com.amazon.redshift:redshift-jdbc42:2.1.0.24"
+ - "mvn:com.amazon.redshift:redshift-jdbc42:2.1.0.26"
- "mvn:org.apache.commons:commons-dbcp2:2.11.0"
template:
beans:
diff --git a/connectors/camel-aws-s3-cdc-source-kafka-connector/src/main/resources/kamelets/aws-s3-cdc-source.kamelet.yaml b/connectors/camel-aws-s3-cdc-source-kafka-connector/src/main/resources/kamelets/aws-s3-cdc-source.kamelet.yaml
index dd3a6fda60..c14dd39f28 100644
--- a/connectors/camel-aws-s3-cdc-source-kafka-connector/src/main/resources/kamelets/aws-s3-cdc-source.kamelet.yaml
+++ b/connectors/camel-aws-s3-cdc-source-kafka-connector/src/main/resources/kamelets/aws-s3-cdc-source.kamelet.yaml
@@ -4,7 +4,7 @@ metadata:
name: aws-s3-cdc-source
annotations:
camel.apache.org/kamelet.support.level: Preview
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/kamelet.icon: >-
data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcKICAgeG1sbnM6ZGM9Imh0dHA6Ly9wdXJsLm9yZy9kYy9lbGVtZW50cy8xLjEvIgogICB4bWxuczpjYz0iaHR0cDovL2NyZWF0aXZlY29tbW9ucy5vcmcvbnMjIgogICB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiCiAgIHhtbG5zOnN2Zz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiAgIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIKICAgeG1sbnM6c29kaXBvZGk9Imh0dHA6Ly9zb2RpcG9kaS5zb3VyY2Vmb3JnZS5uZXQvRFRE [...]
camel.apache.org/provider: Apache Software Foundation
@@ -40,7 +40,6 @@ spec:
title: Auto-delete Messages
description: Delete messages after consuming them
type: boolean
- x-descriptors:
default: true
accessKey:
title: Access Key
@@ -107,7 +106,6 @@ spec:
title: Autocreate Queue
description: Setting the autocreation of the SQS queue.
type: boolean
- x-descriptors:
default: false
amazonAWSHost:
title: AWS Host
@@ -139,7 +137,6 @@ spec:
Select this option to override the endpoint URI. To use this option,
you must also provide a URI for the `uriEndpointOverride` option.
type: boolean
- x-descriptors:
default: false
delay:
title: Delay
@@ -152,7 +149,6 @@ spec:
If greedy is enabled, then the polling will happen immediately again,
if the previous run polled 1 or more messages.
type: boolean
- x-descriptors:
default: false
getObject:
title: Greedy Object in Bucket
@@ -160,7 +156,6 @@ spec:
If getObject is enabled, then the file created in the bucket will be
get and returned as body, if not only the event will returned as body.
type: boolean
- x-descriptors:
default: false
dependencies:
- 'camel:core'
diff --git a/connectors/camel-aws-s3-sink-kafka-connector/src/main/resources/kamelets/aws-s3-sink.kamelet.yaml b/connectors/camel-aws-s3-sink-kafka-connector/src/main/resources/kamelets/aws-s3-sink.kamelet.yaml
index 965f5c6fa3..a611f91f29 100644
--- a/connectors/camel-aws-s3-sink-kafka-connector/src/main/resources/kamelets/aws-s3-sink.kamelet.yaml
+++ b/connectors/camel-aws-s3-sink-kafka-connector/src/main/resources/kamelets/aws-s3-sink.kamelet.yaml
@@ -21,7 +21,7 @@ metadata:
name: aws-s3-sink
annotations:
camel.apache.org/kamelet.support.level: "Stable"
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIGlkPSJMYXllcl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHg9IjAiIHk9IjAiIHZpZXdCb3g9IjAgMCAyNDguMiAzMDAiIHhtbDpzcGFjZT0icHJlc2VydmUiPjxzdHlsZT4uc3QyOHtmaWxsOiM4YzMxMjN9LnN0Mjl7ZmlsbDojZTA1MjQzfTwvc3R5bGU+PHBhdGggY2xhc3M9InN0MjgiIGQ9Ik0yMCA1Mi4xTDAgNjJ2MTc1LjVsMjAgOS45LjEtLjFWNTIuMmwtLjEtLjEiLz48cGF0aCBjbGFzcz0ic3QyOSIgZD0iTTEyNyAyMjJMMjAgMjQ3LjVWNTIuMUwxMjcgNzd2MTQ1Ii8+PHBhdGggY2xhc3M9InN0MjgiIG [...]
camel.apache.org/provider: "Apache Software Foundation"
camel.apache.org/kamelet.group: "AWS S3"
@@ -73,13 +73,11 @@ spec:
title: Autocreate Bucket
description: Specifies to automatically create the S3 bucket.
type: boolean
- x-descriptors:
default: false
useDefaultCredentialsProvider:
title: Default Credentials Provider
description: If true, the S3 client loads credentials through a default credentials provider. If false, it uses the basic authentication method (access key and secret key).
type: boolean
- x-descriptors:
default: false
uriEndpointOverride:
title: Overwrite Endpoint URI
@@ -89,13 +87,11 @@ spec:
title: Endpoint Overwrite
description: Select this option to override the endpoint URI. To use this option, you must also provide a URI for the `uriEndpointOverride` option.
type: boolean
- x-descriptors:
default: false
forcePathStyle:
title: Force Path Style
description: Forces path style when accessing AWS S3 buckets.
type: boolean
- x-descriptors:
default: false
keyName:
title: Key Name
diff --git a/connectors/camel-aws-s3-source-kafka-connector/pom.xml b/connectors/camel-aws-s3-source-kafka-connector/pom.xml
index bb572dc29a..609fab8840 100644
--- a/connectors/camel-aws-s3-source-kafka-connector/pom.xml
+++ b/connectors/camel-aws-s3-source-kafka-connector/pom.xml
@@ -53,6 +53,11 @@
<groupId>org.apache.camel</groupId>
<artifactId>camel-yaml-dsl</artifactId>
</dependency>
+ <dependency>
+ <groupId>org.apache.camel.kamelets</groupId>
+ <artifactId>camel-kamelets-utils</artifactId>
+ <version>4.4.2</version>
+ </dependency>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-aws2-s3</artifactId>
@@ -61,11 +66,6 @@
<groupId>org.apache.camel</groupId>
<artifactId>camel-kamelet</artifactId>
</dependency>
- <dependency>
- <groupId>org.apache.camel.kamelets</groupId>
- <artifactId>camel-kamelets-utils</artifactId>
- <version>4.3.0</version>
- </dependency>
<!--END OF GENERATED CODE-->
</dependencies>
<build>
diff --git a/connectors/camel-aws-s3-source-kafka-connector/src/main/resources/kamelets/aws-s3-source.kamelet.yaml b/connectors/camel-aws-s3-source-kafka-connector/src/main/resources/kamelets/aws-s3-source.kamelet.yaml
index d3adaa1e90..5a602d6606 100644
--- a/connectors/camel-aws-s3-source-kafka-connector/src/main/resources/kamelets/aws-s3-source.kamelet.yaml
+++ b/connectors/camel-aws-s3-source-kafka-connector/src/main/resources/kamelets/aws-s3-source.kamelet.yaml
@@ -4,7 +4,7 @@ metadata:
name: aws-s3-source
annotations:
camel.apache.org/kamelet.support.level: "Stable"
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIGlkPSJMYXllcl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHg9IjAiIHk9IjAiIHZpZXdCb3g9IjAgMCAyNDguMiAzMDAiIHhtbDpzcGFjZT0icHJlc2VydmUiPjxzdHlsZT4uc3QyOHtmaWxsOiM4YzMxMjN9LnN0Mjl7ZmlsbDojZTA1MjQzfTwvc3R5bGU+PHBhdGggY2xhc3M9InN0MjgiIGQ9Ik0yMCA1Mi4xTDAgNjJ2MTc1LjVsMjAgOS45LjEtLjFWNTIuMmwtLjEtLjEiLz48cGF0aCBjbGFzcz0ic3QyOSIgZD0iTTEyNyAyMjJMMjAgMjQ3LjVWNTIuMUwxMjcgNzd2MTQ1Ii8+PHBhdGggY2xhc3M9InN0MjgiIG [...]
camel.apache.org/provider: "Apache Software Foundation"
camel.apache.org/kamelet.group: "AWS S3"
@@ -35,7 +35,6 @@ spec:
title: Auto-delete Objects
description: Specifies to delete objects after consuming them.
type: boolean
- x-descriptors:
default: true
accessKey:
title: Access Key
@@ -60,7 +59,6 @@ spec:
title: Autocreate Bucket
description: Specifies to automatically create the S3 bucket.
type: boolean
- x-descriptors:
default: false
prefix:
title: Prefix
@@ -71,13 +69,11 @@ spec:
title: Ignore Body
description: If true, the S3 Object body is ignored. Setting this to true overrides any behavior defined by the `includeBody` option. If false, the S3 object is put in the body.
type: boolean
- x-descriptors:
default: false
useDefaultCredentialsProvider:
title: Default Credentials Provider
description: If true, the S3 client loads credentials through a default credentials provider. If false, it uses the basic authentication method (access key and secret key).
type: boolean
- x-descriptors:
default: false
uriEndpointOverride:
title: Overwrite Endpoint URI
@@ -87,13 +83,11 @@ spec:
title: Endpoint Overwrite
description: Select this option to override the endpoint URI. To use this option, you must also provide a URI for the `uriEndpointOverride` option.
type: boolean
- x-descriptors:
default: false
forcePathStyle:
title: Force Path Style
description: Forces path style when accessing AWS S3 buckets.
type: boolean
- x-descriptors:
default: false
delay:
title: Delay
@@ -163,17 +157,9 @@ spec:
dependencies:
- "camel:core"
- "camel:aws2-s3"
- - "mvn:org.apache.camel.kamelets:camel-kamelets-utils:4.3.0"
+ - "mvn:org.apache.camel.kamelets:camel-kamelets-utils:4.4.2"
- "camel:kamelet"
template:
- beans:
- - name: renameHeaders
- type: "#class:org.apache.camel.kamelets.utils.headers.DuplicateNamingHeaders"
- properties:
- prefix: 'CamelAwsS3'
- renamingPrefix: 'aws.s3.'
- mode: 'filtering'
- selectedHeaders: 'CamelAwsS3Key,CamelAwsS3BucketName'
from:
uri: "aws2-s3:{{bucketNameOrArn}}"
parameters:
@@ -191,6 +177,4 @@ spec:
delay: "{{delay}}"
maxMessagesPerPoll: "{{maxMessagesPerPoll}}"
steps:
- - process:
- ref: "{{renameHeaders}}"
- to: "kamelet:sink"
\ No newline at end of file
diff --git a/connectors/camel-aws-s3-streaming-upload-sink-kafka-connector/src/main/resources/kamelets/aws-s3-streaming-upload-sink.kamelet.yaml b/connectors/camel-aws-s3-streaming-upload-sink-kafka-connector/src/main/resources/kamelets/aws-s3-streaming-upload-sink.kamelet.yaml
index ec5fb8c578..70207a6817 100644
--- a/connectors/camel-aws-s3-streaming-upload-sink-kafka-connector/src/main/resources/kamelets/aws-s3-streaming-upload-sink.kamelet.yaml
+++ b/connectors/camel-aws-s3-streaming-upload-sink-kafka-connector/src/main/resources/kamelets/aws-s3-streaming-upload-sink.kamelet.yaml
@@ -21,7 +21,7 @@ metadata:
name: aws-s3-streaming-upload-sink
annotations:
camel.apache.org/kamelet.support.level: "Stable"
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIGlkPSJMYXllcl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHg9IjAiIHk9IjAiIHZpZXdCb3g9IjAgMCAyNDguMiAzMDAiIHhtbDpzcGFjZT0icHJlc2VydmUiPjxzdHlsZT4uc3QyOHtmaWxsOiM4YzMxMjN9LnN0Mjl7ZmlsbDojZTA1MjQzfTwvc3R5bGU+PHBhdGggY2xhc3M9InN0MjgiIGQ9Ik0yMCA1Mi4xTDAgNjJ2MTc1LjVsMjAgOS45LjEtLjFWNTIuMmwtLjEtLjEiLz48cGF0aCBjbGFzcz0ic3QyOSIgZD0iTTEyNyAyMjJMMjAgMjQ3LjVWNTIuMUwxMjcgNzd2MTQ1Ii8+PHBhdGggY2xhc3M9InN0MjgiIG [...]
camel.apache.org/provider: "Apache Software Foundation"
camel.apache.org/kamelet.group: "AWS S3"
@@ -70,7 +70,6 @@ spec:
title: Autocreate Bucket
description: Setting the autocreation of the S3 bucket bucketName.
type: boolean
- x-descriptors:
default: false
restartingPolicy:
title: Restarting Policy
@@ -104,7 +103,6 @@ spec:
title: Default Credentials Provider
description: Set whether the S3 client should expect to load credentials through a default credentials provider or to expect static credentials to be passed in.
type: boolean
- x-descriptors:
default: false
uriEndpointOverride:
title: Overwrite Endpoint URI
@@ -114,13 +112,11 @@ spec:
title: Endpoint Overwrite
description: Select this option to override the endpoint URI. To use this option, you must also provide a URI for the `uriEndpointOverride` option.
type: boolean
- x-descriptors:
default: false
forcePathStyle:
title: Force Path Style
description: Forces path style when accessing AWS S3 buckets.
type: boolean
- x-descriptors:
default: false
dependencies:
- "camel:aws2-s3"
diff --git a/connectors/camel-aws-secrets-manager-sink-kafka-connector/src/main/resources/kamelets/aws-secrets-manager-sink.kamelet.yaml b/connectors/camel-aws-secrets-manager-sink-kafka-connector/src/main/resources/kamelets/aws-secrets-manager-sink.kamelet.yaml
index b13e831bfc..74821a5965 100644
--- a/connectors/camel-aws-secrets-manager-sink-kafka-connector/src/main/resources/kamelets/aws-secrets-manager-sink.kamelet.yaml
+++ b/connectors/camel-aws-secrets-manager-sink-kafka-connector/src/main/resources/kamelets/aws-secrets-manager-sink.kamelet.yaml
@@ -21,7 +21,7 @@ metadata:
name: aws-secrets-manager-sink
annotations:
camel.apache.org/kamelet.support.level: "Stable"
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2aWV3Qm94PSIwIDAgNzUgNzUiIHdpZHRoPSIyNTYiIGhlaWdodD0iMjU2Ij48ZGVmcz48c3R5bGU+LmNscy0xe2ZpbGw6dXJsKCNSZWRHcmFkaWVudCk7fS5jbHMtMntmaWxsOiNmZmY7fTwvc3R5bGU+PGxpbmVhckdyYWRpZW50IGlkPSJSZWRHcmFkaWVudCIgeDE9Ii0yMDQyLjU0IiB5MT0iMTk4NS40NyIgeDI9Ii0xOTM2LjQ3IiB5Mj0iMjA5MS41NCIgZ3JhZGllbnRUcmFuc2Zvcm09InRyYW5zbGF0ZSgtMjAwMSAtMT [...]
camel.apache.org/provider: "Apache Software Foundation"
camel.apache.org/kamelet.group: "AWS Secrets Manager"
@@ -70,7 +70,6 @@ spec:
title: Default Credentials Provider
description: Set whether the Secrets Manager client should expect to load credentials through a default credentials provider or to expect static credentials to be passed in.
type: boolean
- x-descriptors:
default: false
dependencies:
- "camel:core"
diff --git a/connectors/camel-aws-ses-sink-kafka-connector/src/main/resources/kamelets/aws-ses-sink.kamelet.yaml b/connectors/camel-aws-ses-sink-kafka-connector/src/main/resources/kamelets/aws-ses-sink.kamelet.yaml
index 57b7e337ef..9eebee25f2 100644
--- a/connectors/camel-aws-ses-sink-kafka-connector/src/main/resources/kamelets/aws-ses-sink.kamelet.yaml
+++ b/connectors/camel-aws-ses-sink-kafka-connector/src/main/resources/kamelets/aws-ses-sink.kamelet.yaml
@@ -21,7 +21,7 @@ metadata:
name: aws-ses-sink
annotations:
camel.apache.org/kamelet.support.level: "Stable"
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjI1NnB4IiBoZWlnaHQ9IjI5OXB4IiB2aWV3Qm94PSIwIDAgMjU2IDI5OSIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJ4TWlkWU1pZCI+Cgk8Zz4KCQk8cGF0aCBkPSJNNjAuNTU2LDQ3LjYwMiBMMCwxNDQuMDEgTDYwLjU1NiwyNDAuNDM0IEw2MS42MTIsMjM5LjY4MSBMNjAuODM3LDQ3LjggTD [...]
camel.apache.org/provider: "Apache Software Foundation"
camel.apache.org/kamelet.group: "AWS SES"
@@ -79,7 +79,6 @@ spec:
title: Default Credentials Provider
description: If true, the SES client loads credentials through a default credentials provider. If false, it uses the basic authentication method (access key and secret key).
type: boolean
- x-descriptors:
default: false
dependencies:
- "camel:core"
diff --git a/connectors/camel-aws-sns-fifo-sink-kafka-connector/src/main/resources/kamelets/aws-sns-fifo-sink.kamelet.yaml b/connectors/camel-aws-sns-fifo-sink-kafka-connector/src/main/resources/kamelets/aws-sns-fifo-sink.kamelet.yaml
index 0548805e5b..f4da879fc6 100644
--- a/connectors/camel-aws-sns-fifo-sink-kafka-connector/src/main/resources/kamelets/aws-sns-fifo-sink.kamelet.yaml
+++ b/connectors/camel-aws-sns-fifo-sink-kafka-connector/src/main/resources/kamelets/aws-sns-fifo-sink.kamelet.yaml
@@ -21,7 +21,7 @@ metadata:
name: aws-sns-fifo-sink
annotations:
camel.apache.org/kamelet.support.level: "Stable"
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+DQo8c3ZnICAgdmlld0JveD0iMCAwIDI1NiAyNTciIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgcHJlc2VydmVBc3BlY3RSYXRpbz0ieE1pZFlNaWQiPg0KCTxnPg0KCQk8cGF0aCBkPSJNOTguODc1LDIzMi4wMzMgTDcyLjQ0MiwyMjQuNjI1IEw0Ny40NDEsMTk2LjExNyBMNzguNzEzLDE5NS4yNTQgTDk4Ljg3NSwyMzIuMDMzIiBmaWxsPSIjOTk1QjgwIj [...]
camel.apache.org/provider: "Apache Software Foundation"
camel.apache.org/kamelet.group: "AWS SNS"
diff --git a/connectors/camel-aws-sns-sink-kafka-connector/src/main/resources/kamelets/aws-sns-sink.kamelet.yaml b/connectors/camel-aws-sns-sink-kafka-connector/src/main/resources/kamelets/aws-sns-sink.kamelet.yaml
index 12527ffbcc..431d1fa8df 100644
--- a/connectors/camel-aws-sns-sink-kafka-connector/src/main/resources/kamelets/aws-sns-sink.kamelet.yaml
+++ b/connectors/camel-aws-sns-sink-kafka-connector/src/main/resources/kamelets/aws-sns-sink.kamelet.yaml
@@ -21,7 +21,7 @@ metadata:
name: aws-sns-sink
annotations:
camel.apache.org/kamelet.support.level: "Stable"
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+DQo8c3ZnICAgdmlld0JveD0iMCAwIDI1NiAyNTciIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgcHJlc2VydmVBc3BlY3RSYXRpbz0ieE1pZFlNaWQiPg0KCTxnPg0KCQk8cGF0aCBkPSJNOTguODc1LDIzMi4wMzMgTDcyLjQ0MiwyMjQuNjI1IEw0Ny40NDEsMTk2LjExNyBMNzguNzEzLDE5NS4yNTQgTDk4Ljg3NSwyMzIuMDMzIiBmaWxsPSIjOTk1QjgwIj [...]
camel.apache.org/provider: "Apache Software Foundation"
camel.apache.org/kamelet.group: "AWS SNS"
@@ -71,13 +71,11 @@ spec:
title: Autocreate Topic
description: Setting the autocreation of the SNS topic.
type: boolean
- x-descriptors:
default: false
useDefaultCredentialsProvider:
title: Default Credentials Provider
description: If true, the SNS client loads credentials through a default credentials provider. If false, it uses the basic authentication method (access key and secret key).
type: boolean
- x-descriptors:
default: false
uriEndpointOverride:
title: Overwrite Endpoint URI
@@ -87,7 +85,6 @@ spec:
title: Endpoint Overwrite
description: Select this option to override the endpoint URI. To use this option, you must also provide a URI for the `uriEndpointOverride` option.
type: boolean
- x-descriptors:
default: false
dependencies:
- "camel:core"
diff --git a/connectors/camel-aws-sqs-batch-sink-kafka-connector/src/main/resources/kamelets/aws-sqs-batch-sink.kamelet.yaml b/connectors/camel-aws-sqs-batch-sink-kafka-connector/src/main/resources/kamelets/aws-sqs-batch-sink.kamelet.yaml
index d5059bb90e..bdef04e2a5 100644
--- a/connectors/camel-aws-sqs-batch-sink-kafka-connector/src/main/resources/kamelets/aws-sqs-batch-sink.kamelet.yaml
+++ b/connectors/camel-aws-sqs-batch-sink-kafka-connector/src/main/resources/kamelets/aws-sqs-batch-sink.kamelet.yaml
@@ -21,7 +21,7 @@ metadata:
name: aws-sqs-batch-sink
annotations:
camel.apache.org/kamelet.support.level: "Stable"
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcKICAgeG1sbnM6ZGM9Imh0dHA6Ly9wdXJsLm9yZy9kYy9lbGVtZW50cy8xLjEvIgogICB4bWxuczpjYz0iaHR0cDovL2NyZWF0aXZlY29tbW9ucy5vcmcvbnMjIgogICB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiCiAgIHhtbG5zOnN2Zz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiAgIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIKICAgeG1sbnM6c29kaXBvZGk9Imh0dHA6Ly9zb2RpcG [...]
camel.apache.org/provider: "Apache Software Foundation"
camel.apache.org/kamelet.group: "AWS SQS"
@@ -70,7 +70,6 @@ spec:
title: Autocreate Queue
description: Setting the autocreation of the SQS queue.
type: boolean
- x-descriptors:
default: false
batchSeparator:
title: Batch Separator
@@ -92,7 +91,6 @@ spec:
title: Default Credentials Provider
description: Set whether the SQS client should expect to load credentials through a default credentials provider or to expect static credentials to be passed in.
type: boolean
- x-descriptors:
default: false
uriEndpointOverride:
title: Overwrite Endpoint URI
@@ -102,7 +100,6 @@ spec:
title: Endpoint Overwrite
description: Select this option to override the endpoint URI. To use this option, you must also provide a URI for the `uriEndpointOverride` option.
type: boolean
- x-descriptors:
default: false
dependencies:
- "camel:aws2-sqs"
diff --git a/connectors/camel-aws-sqs-fifo-sink-kafka-connector/src/main/resources/kamelets/aws-sqs-fifo-sink.kamelet.yaml b/connectors/camel-aws-sqs-fifo-sink-kafka-connector/src/main/resources/kamelets/aws-sqs-fifo-sink.kamelet.yaml
index e744d5e27f..ad6255b7af 100644
--- a/connectors/camel-aws-sqs-fifo-sink-kafka-connector/src/main/resources/kamelets/aws-sqs-fifo-sink.kamelet.yaml
+++ b/connectors/camel-aws-sqs-fifo-sink-kafka-connector/src/main/resources/kamelets/aws-sqs-fifo-sink.kamelet.yaml
@@ -21,7 +21,7 @@ metadata:
name: aws-sqs-fifo-sink
annotations:
camel.apache.org/kamelet.support.level: "Stable"
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcKICAgeG1sbnM6ZGM9Imh0dHA6Ly9wdXJsLm9yZy9kYy9lbGVtZW50cy8xLjEvIgogICB4bWxuczpjYz0iaHR0cDovL2NyZWF0aXZlY29tbW9ucy5vcmcvbnMjIgogICB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiCiAgIHhtbG5zOnN2Zz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiAgIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIKICAgeG1sbnM6c29kaXBvZGk9Imh0dHA6Ly9zb2RpcG [...]
camel.apache.org/provider: "Apache Software Foundation"
camel.apache.org/kamelet.group: "AWS SQS"
@@ -70,12 +70,10 @@ spec:
description: Use content-based deduplication (should be enabled in the SQS FIFO queue first)
type: boolean
default: false
- x-descriptors:
autoCreateQueue:
title: Autocreate Queue
description: Setting the autocreation of the SQS queue.
type: boolean
- x-descriptors:
default: false
amazonAWSHost:
title: AWS Host
@@ -92,7 +90,6 @@ spec:
title: Default Credentials Provider
description: Set whether the SQS client should expect to load credentials through a default credentials provider or to expect static credentials to be passed in.
type: boolean
- x-descriptors:
default: false
uriEndpointOverride:
title: Overwrite Endpoint URI
@@ -102,7 +99,6 @@ spec:
title: Endpoint Overwrite
description: Select this option to override the endpoint URI. To use this option, you must also provide a URI for the `uriEndpointOverride` option.
type: boolean
- x-descriptors:
default: false
dependencies:
- "camel:aws2-sqs"
diff --git a/connectors/camel-aws-sqs-sink-kafka-connector/src/main/resources/kamelets/aws-sqs-sink.kamelet.yaml b/connectors/camel-aws-sqs-sink-kafka-connector/src/main/resources/kamelets/aws-sqs-sink.kamelet.yaml
index b2addca058..bc9336cc34 100644
--- a/connectors/camel-aws-sqs-sink-kafka-connector/src/main/resources/kamelets/aws-sqs-sink.kamelet.yaml
+++ b/connectors/camel-aws-sqs-sink-kafka-connector/src/main/resources/kamelets/aws-sqs-sink.kamelet.yaml
@@ -21,7 +21,7 @@ metadata:
name: aws-sqs-sink
annotations:
camel.apache.org/kamelet.support.level: "Stable"
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcKICAgeG1sbnM6ZGM9Imh0dHA6Ly9wdXJsLm9yZy9kYy9lbGVtZW50cy8xLjEvIgogICB4bWxuczpjYz0iaHR0cDovL2NyZWF0aXZlY29tbW9ucy5vcmcvbnMjIgogICB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiCiAgIHhtbG5zOnN2Zz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiAgIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIKICAgeG1sbnM6c29kaXBvZGk9Imh0dHA6Ly9zb2RpcG [...]
camel.apache.org/provider: "Apache Software Foundation"
camel.apache.org/kamelet.group: "AWS SQS"
@@ -69,7 +69,6 @@ spec:
title: Autocreate Queue
description: Automatically create the SQS queue.
type: boolean
- x-descriptors:
default: false
amazonAWSHost:
title: AWS Host
@@ -86,7 +85,6 @@ spec:
title: Default Credentials Provider
description: If true, the SQS client loads credentials through a default credentials provider. If false, it uses the basic authentication method (access key and secret key).
type: boolean
- x-descriptors:
default: false
uriEndpointOverride:
title: Overwrite Endpoint URI
@@ -96,7 +94,6 @@ spec:
title: Endpoint Overwrite
description: Select this option to override the endpoint URI. To use this option, you must also provide a URI for the `uriEndpointOverride` option.
type: boolean
- x-descriptors:
default: false
dependencies:
- "camel:aws2-sqs"
diff --git a/connectors/camel-aws-sqs-source-kafka-connector/pom.xml b/connectors/camel-aws-sqs-source-kafka-connector/pom.xml
index 6672cfec52..24e3391bfb 100644
--- a/connectors/camel-aws-sqs-source-kafka-connector/pom.xml
+++ b/connectors/camel-aws-sqs-source-kafka-connector/pom.xml
@@ -57,14 +57,14 @@
<groupId>org.apache.camel</groupId>
<artifactId>camel-yaml-dsl</artifactId>
</dependency>
- <dependency>
- <groupId>org.apache.camel</groupId>
- <artifactId>camel-kamelet</artifactId>
- </dependency>
<dependency>
<groupId>org.apache.camel.kamelets</groupId>
<artifactId>camel-kamelets-utils</artifactId>
- <version>4.3.0</version>
+ <version>4.4.2</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.camel</groupId>
+ <artifactId>camel-kamelet</artifactId>
</dependency>
<!--END OF GENERATED CODE-->
</dependencies>
diff --git a/connectors/camel-aws-sqs-source-kafka-connector/src/main/resources/kamelets/aws-sqs-source.kamelet.yaml b/connectors/camel-aws-sqs-source-kafka-connector/src/main/resources/kamelets/aws-sqs-source.kamelet.yaml
index 40e0fc1286..43b8a25372 100644
--- a/connectors/camel-aws-sqs-source-kafka-connector/src/main/resources/kamelets/aws-sqs-source.kamelet.yaml
+++ b/connectors/camel-aws-sqs-source-kafka-connector/src/main/resources/kamelets/aws-sqs-source.kamelet.yaml
@@ -21,7 +21,7 @@ metadata:
name: aws-sqs-source
annotations:
camel.apache.org/kamelet.support.level: "Stable"
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcKICAgeG1sbnM6ZGM9Imh0dHA6Ly9wdXJsLm9yZy9kYy9lbGVtZW50cy8xLjEvIgogICB4bWxuczpjYz0iaHR0cDovL2NyZWF0aXZlY29tbW9ucy5vcmcvbnMjIgogICB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiCiAgIHhtbG5zOnN2Zz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiAgIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIKICAgeG1sbnM6c29kaXBvZGk9Imh0dHA6Ly9zb2RpcG [...]
camel.apache.org/provider: "Apache Software Foundation"
camel.apache.org/kamelet.group: "AWS SQS"
@@ -53,7 +53,6 @@ spec:
title: Auto-delete Messages
description: Delete messages after consuming them
type: boolean
- x-descriptors:
default: true
accessKey:
title: Access Key
@@ -85,7 +84,6 @@ spec:
title: Autocreate Queue
description: Setting the autocreation of the SQS queue.
type: boolean
- x-descriptors:
default: false
amazonAWSHost:
title: AWS Host
@@ -109,7 +107,6 @@ spec:
title: Default Credentials Provider
description: If true, the SQS client loads credentials through a default credentials provider. If false, it uses the basic authentication method (access key and secret key).
type: boolean
- x-descriptors:
default: false
uriEndpointOverride:
title: Overwrite Endpoint URI
@@ -119,7 +116,6 @@ spec:
title: Endpoint Overwrite
description: Select this option to override the endpoint URI. To use this option, you must also provide a URI for the `uriEndpointOverride` option.
type: boolean
- x-descriptors:
default: false
delay:
title: Delay
@@ -130,7 +126,6 @@ spec:
title: Greedy Scheduler
description: If greedy is enabled, then the polling will happen immediately again, if the previous run polled 1 or more messages.
type: boolean
- x-descriptors:
default: false
dataTypes:
out:
@@ -194,17 +189,9 @@ spec:
dependencies:
- "camel:core"
- "camel:aws2-sqs"
- - "mvn:org.apache.camel.kamelets:camel-kamelets-utils:4.3.0"
+ - "mvn:org.apache.camel.kamelets:camel-kamelets-utils:4.4.2"
- "camel:kamelet"
template:
- beans:
- - name: renameHeaders
- type: "#class:org.apache.camel.kamelets.utils.headers.DuplicateNamingHeaders"
- properties:
- prefix: 'CamelAwsSqs'
- renamingPrefix: 'aws.sqs.'
- mode: 'filtering'
- selectedHeaders: 'CamelAwsSqsReceiptHandle,CamelAwsSqsMessageId'
from:
uri: "aws2-sqs:{{queueNameOrArn}}"
parameters:
@@ -221,6 +208,4 @@ spec:
delay: "{{delay}}"
greedy: "{{greedy}}"
steps:
- - process:
- ref: "{{renameHeaders}}"
- to: "kamelet:sink"
\ No newline at end of file
diff --git a/connectors/camel-aws-timestream-query-sink-kafka-connector/src/main/resources/kamelets/aws-timestream-query-sink.kamelet.yaml b/connectors/camel-aws-timestream-query-sink-kafka-connector/src/main/resources/kamelets/aws-timestream-query-sink.kamelet.yaml
index 4dce9f0029..07c954d1eb 100644
--- a/connectors/camel-aws-timestream-query-sink-kafka-connector/src/main/resources/kamelets/aws-timestream-query-sink.kamelet.yaml
+++ b/connectors/camel-aws-timestream-query-sink-kafka-connector/src/main/resources/kamelets/aws-timestream-query-sink.kamelet.yaml
@@ -21,7 +21,7 @@ metadata:
name: aws-timestream-query-sink
annotations:
camel.apache.org/kamelet.support.level: "Preview"
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMjU2cHgiIGhlaWdodD0iMjU2cHgiIHZpZXdCb3g9IjAgMCAyNTYgMjU2IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHByZXNlcnZlQXNwZWN0UmF0aW89InhNaWRZTWlkIj4KICAgIDx0aXRsZT5BV1MgVGltZXN0cmVhbTwvdGl0bGU+CiAgICA8ZGVmcz4KICAgICAgICA8bGluZWFyR3JhZGllbnQgeDE9IjAlIiB5MT0iMTAwJSIgeDI9IjEwMCUiIHkyPSIwJS [...]
camel.apache.org/provider: "Apache Software Foundation"
camel.apache.org/kamelet.group: "AWS Timestream"
@@ -68,7 +68,6 @@ spec:
title: Default Credentials Provider
description: If true, the CloudWatch client loads credentials through a default credentials provider. If false, it uses the basic authentication method (access key and secret key).
type: boolean
- x-descriptors:
default: false
uriEndpointOverride:
title: Overwrite Endpoint URI
@@ -78,7 +77,6 @@ spec:
title: Endpoint Overwrite
description: Select this option to override the endpoint URI. To use this option, you must also provide a URI for the `uriEndpointOverride` option.
type: boolean
- x-descriptors:
default: false
dependencies:
- "camel:core"
diff --git a/connectors/camel-aws2-iam-kafka-connector/src/generated/resources/camel-aws2-iam-sink.json b/connectors/camel-aws2-iam-kafka-connector/src/generated/resources/camel-aws2-iam-sink.json
index d80473461b..9ac4a8e7e9 100644
--- a/connectors/camel-aws2-iam-kafka-connector/src/generated/resources/camel-aws2-iam-sink.json
+++ b/connectors/camel-aws2-iam-kafka-connector/src/generated/resources/camel-aws2-iam-sink.json
@@ -17,7 +17,7 @@
},
"camel.sink.endpoint.iamClient": {
"name": "camel.sink.endpoint.iamClient",
- "description": "To use a existing configured AWS IAM as client",
+ "description": "To use an existing configured AWS IAM client",
"priority": "MEDIUM",
"required": "false"
},
@@ -44,7 +44,7 @@
},
"camel.sink.endpoint.overrideEndpoint": {
"name": "camel.sink.endpoint.overrideEndpoint",
- "description": "Set the need for overidding the endpoint. This option needs to be used in combination with uriEndpointOverride option",
+ "description": "Set the need for overriding the endpoint. This option needs to be used in combination with the uriEndpointOverride option",
"defaultValue": "false",
"priority": "MEDIUM",
"required": "false"
@@ -58,7 +58,7 @@
},
"camel.sink.endpoint.region": {
"name": "camel.sink.endpoint.region",
- "description": "The region in which IAM client needs to work. When using this parameter, the configuration will expect the lowercase name of the region (for example ap-east-1) You'll need to use the name Region.EU_WEST_1.id() One of: [ap-south-2] [ap-south-1] [eu-south-1] [eu-south-2] [us-gov-east-1] [me-central-1] [il-central-1] [ca-central-1] [eu-central-1] [us-iso-west-1] [eu-central-2] [us-west-1] [us-west-2] [af-south-1] [eu-north-1] [eu-west-3] [eu-west-2] [eu-west-1] [ap-northe [...]
+ "description": "The region in which IAM client needs to work. When using this parameter, the configuration will expect the lowercase name of the region (for example, ap-east-1) You'll need to use the name Region.EU_WEST_1.id() One of: [ap-south-2] [ap-south-1] [eu-south-1] [eu-south-2] [us-gov-east-1] [me-central-1] [il-central-1] [ca-central-1] [eu-central-1] [us-iso-west-1] [eu-central-2] [us-west-1] [us-west-2] [af-south-1] [eu-north-1] [eu-west-3] [eu-west-2] [eu-west-1] [ap-north [...]
"defaultValue": "\"aws-global\"",
"priority": "MEDIUM",
"required": "false",
@@ -149,7 +149,7 @@
},
"camel.sink.endpoint.profileCredentialsName": {
"name": "camel.sink.endpoint.profileCredentialsName",
- "description": "If using a profile credentials provider this parameter will set the profile name",
+ "description": "If using a profile credentials provider, this parameter will set the profile name",
"priority": "MEDIUM",
"required": "false"
},
@@ -159,6 +159,12 @@
"priority": "MEDIUM",
"required": "false"
},
+ "camel.sink.endpoint.sessionToken": {
+ "name": "camel.sink.endpoint.sessionToken",
+ "description": "Amazon AWS Session Token used when the user needs to assume an IAM role",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
"camel.sink.endpoint.trustAllCertificates": {
"name": "camel.sink.endpoint.trustAllCertificates",
"description": "If we want to trust all certificates in case of overriding the endpoint",
@@ -180,6 +186,13 @@
"priority": "MEDIUM",
"required": "false"
},
+ "camel.sink.endpoint.useSessionCredentials": {
+ "name": "camel.sink.endpoint.useSessionCredentials",
+ "description": "Set whether the IAM client should expect to use Session Credentials. This is useful in a situation in which the user needs to assume a IAM role for doing operations in IAM.",
+ "defaultValue": "false",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
"camel.component.aws2-iam.configuration": {
"name": "camel.component.aws2-iam.configuration",
"description": "Component configuration",
@@ -188,7 +201,7 @@
},
"camel.component.aws2-iam.iamClient": {
"name": "camel.component.aws2-iam.iamClient",
- "description": "To use a existing configured AWS IAM as client",
+ "description": "To use an existing configured AWS IAM client",
"priority": "MEDIUM",
"required": "false"
},
@@ -222,7 +235,7 @@
},
"camel.component.aws2-iam.overrideEndpoint": {
"name": "camel.component.aws2-iam.overrideEndpoint",
- "description": "Set the need for overidding the endpoint. This option needs to be used in combination with uriEndpointOverride option",
+ "description": "Set the need for overriding the endpoint. This option needs to be used in combination with the uriEndpointOverride option",
"defaultValue": "false",
"priority": "MEDIUM",
"required": "false"
@@ -236,7 +249,7 @@
},
"camel.component.aws2-iam.region": {
"name": "camel.component.aws2-iam.region",
- "description": "The region in which IAM client needs to work. When using this parameter, the configuration will expect the lowercase name of the region (for example ap-east-1) You'll need to use the name Region.EU_WEST_1.id() One of: [ap-south-2] [ap-south-1] [eu-south-1] [eu-south-2] [us-gov-east-1] [me-central-1] [il-central-1] [ca-central-1] [eu-central-1] [us-iso-west-1] [eu-central-2] [us-west-1] [us-west-2] [af-south-1] [eu-north-1] [eu-west-3] [eu-west-2] [eu-west-1] [ap-northe [...]
+ "description": "The region in which IAM client needs to work. When using this parameter, the configuration will expect the lowercase name of the region (for example, ap-east-1) You'll need to use the name Region.EU_WEST_1.id() One of: [ap-south-2] [ap-south-1] [eu-south-1] [eu-south-2] [us-gov-east-1] [me-central-1] [il-central-1] [ca-central-1] [eu-central-1] [us-iso-west-1] [eu-central-2] [us-west-1] [us-west-2] [af-south-1] [eu-north-1] [eu-west-3] [eu-west-2] [eu-west-1] [ap-north [...]
"defaultValue": "\"aws-global\"",
"priority": "MEDIUM",
"required": "false",
@@ -341,7 +354,7 @@
},
"camel.component.aws2-iam.profileCredentialsName": {
"name": "camel.component.aws2-iam.profileCredentialsName",
- "description": "If using a profile credentials provider this parameter will set the profile name",
+ "description": "If using a profile credentials provider, this parameter will set the profile name",
"priority": "MEDIUM",
"required": "false"
},
@@ -351,6 +364,12 @@
"priority": "MEDIUM",
"required": "false"
},
+ "camel.component.aws2-iam.sessionToken": {
+ "name": "camel.component.aws2-iam.sessionToken",
+ "description": "Amazon AWS Session Token used when the user needs to assume an IAM role",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
"camel.component.aws2-iam.trustAllCertificates": {
"name": "camel.component.aws2-iam.trustAllCertificates",
"description": "If we want to trust all certificates in case of overriding the endpoint",
@@ -371,6 +390,13 @@
"defaultValue": "false",
"priority": "MEDIUM",
"required": "false"
+ },
+ "camel.component.aws2-iam.useSessionCredentials": {
+ "name": "camel.component.aws2-iam.useSessionCredentials",
+ "description": "Set whether the IAM client should expect to use Session Credentials. This is useful in a situation in which the user needs to assume a IAM role for doing operations in IAM.",
+ "defaultValue": "false",
+ "priority": "MEDIUM",
+ "required": "false"
}
}
}
\ No newline at end of file
diff --git a/connectors/camel-aws2-iam-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/aws2iam/CamelAws2iamSinkConnectorConfig.java b/connectors/camel-aws2-iam-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/aws2iam/CamelAws2iamSinkConnectorConfig.java
index 5590da24e3..00f60fbac3 100644
--- a/connectors/camel-aws2-iam-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/aws2iam/CamelAws2iamSinkConnectorConfig.java
+++ b/connectors/camel-aws2-iam-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/aws2iam/CamelAws2iamSinkConnectorConfig.java
@@ -27,19 +27,19 @@ public class CamelAws2iamSinkConnectorConfig extends CamelSinkConnectorConfig {
public static final String CAMEL_SINK_AWS2IAM_PATH_LABEL_DOC = "Logical name";
public static final String CAMEL_SINK_AWS2IAM_PATH_LABEL_DEFAULT = null;
public static final String CAMEL_SINK_AWS2IAM_ENDPOINT_IAM_CLIENT_CONF = "camel.sink.endpoint.iamClient";
- public static final String CAMEL_SINK_AWS2IAM_ENDPOINT_IAM_CLIENT_DOC = "To use a existing configured AWS IAM as client";
+ public static final String CAMEL_SINK_AWS2IAM_ENDPOINT_IAM_CLIENT_DOC = "To use an existing configured AWS IAM client";
public static final String CAMEL_SINK_AWS2IAM_ENDPOINT_IAM_CLIENT_DEFAULT = null;
public static final String CAMEL_SINK_AWS2IAM_ENDPOINT_OPERATION_CONF = "camel.sink.endpoint.operation";
public static final String CAMEL_SINK_AWS2IAM_ENDPOINT_OPERATION_DOC = "The operation to perform. You can configure a default operation on the component level, or the operation as part of the endpoint, or via a message header with the key CamelAwsIAMOperation. One of: [listAccessKeys] [createUser] [deleteUser] [getUser] [listUsers] [createAccessKey] [deleteAccessKey] [updateAccessKey] [createGroup] [deleteGroup] [listGroups] [addUserToGroup] [removeUserFromGroup]";
public static final String CAMEL_SINK_AWS2IAM_ENDPOINT_OPERATION_DEFAULT = null;
public static final String CAMEL_SINK_AWS2IAM_ENDPOINT_OVERRIDE_ENDPOINT_CONF = "camel.sink.endpoint.overrideEndpoint";
- public static final String CAMEL_SINK_AWS2IAM_ENDPOINT_OVERRIDE_ENDPOINT_DOC = "Set the need for overidding the endpoint. This option needs to be used in combination with uriEndpointOverride option";
+ public static final String CAMEL_SINK_AWS2IAM_ENDPOINT_OVERRIDE_ENDPOINT_DOC = "Set the need for overriding the endpoint. This option needs to be used in combination with the uriEndpointOverride option";
public static final Boolean CAMEL_SINK_AWS2IAM_ENDPOINT_OVERRIDE_ENDPOINT_DEFAULT = false;
public static final String CAMEL_SINK_AWS2IAM_ENDPOINT_POJO_REQUEST_CONF = "camel.sink.endpoint.pojoRequest";
public static final String CAMEL_SINK_AWS2IAM_ENDPOINT_POJO_REQUEST_DOC = "If we want to use a POJO request as body or not";
public static final Boolean CAMEL_SINK_AWS2IAM_ENDPOINT_POJO_REQUEST_DEFAULT = false;
public static final String CAMEL_SINK_AWS2IAM_ENDPOINT_REGION_CONF = "camel.sink.endpoint.region";
- public static final String CAMEL_SINK_AWS2IAM_ENDPOINT_REGION_DOC = "The region in which IAM client needs to work. When using this parameter, the configuration will expect the lowercase name of the region (for example ap-east-1) You'll need to use the name Region.EU_WEST_1.id() One of: [ap-south-2] [ap-south-1] [eu-south-1] [eu-south-2] [us-gov-east-1] [me-central-1] [il-central-1] [ca-central-1] [eu-central-1] [us-iso-west-1] [eu-central-2] [us-west-1] [us-west-2] [af-south-1] [eu-n [...]
+ public static final String CAMEL_SINK_AWS2IAM_ENDPOINT_REGION_DOC = "The region in which IAM client needs to work. When using this parameter, the configuration will expect the lowercase name of the region (for example, ap-east-1) You'll need to use the name Region.EU_WEST_1.id() One of: [ap-south-2] [ap-south-1] [eu-south-1] [eu-south-2] [us-gov-east-1] [me-central-1] [il-central-1] [ca-central-1] [eu-central-1] [us-iso-west-1] [eu-central-2] [us-west-1] [us-west-2] [af-south-1] [eu- [...]
public static final String CAMEL_SINK_AWS2IAM_ENDPOINT_REGION_DEFAULT = "aws-global";
public static final String CAMEL_SINK_AWS2IAM_ENDPOINT_URI_ENDPOINT_OVERRIDE_CONF = "camel.sink.endpoint.uriEndpointOverride";
public static final String CAMEL_SINK_AWS2IAM_ENDPOINT_URI_ENDPOINT_OVERRIDE_DOC = "Set the overriding uri endpoint. This option needs to be used in combination with overrideEndpoint option";
@@ -60,11 +60,14 @@ public class CamelAws2iamSinkConnectorConfig extends CamelSinkConnectorConfig {
public static final String CAMEL_SINK_AWS2IAM_ENDPOINT_ACCESS_KEY_DOC = "Amazon AWS Access Key";
public static final String CAMEL_SINK_AWS2IAM_ENDPOINT_ACCESS_KEY_DEFAULT = null;
public static final String CAMEL_SINK_AWS2IAM_ENDPOINT_PROFILE_CREDENTIALS_NAME_CONF = "camel.sink.endpoint.profileCredentialsName";
- public static final String CAMEL_SINK_AWS2IAM_ENDPOINT_PROFILE_CREDENTIALS_NAME_DOC = "If using a profile credentials provider this parameter will set the profile name";
+ public static final String CAMEL_SINK_AWS2IAM_ENDPOINT_PROFILE_CREDENTIALS_NAME_DOC = "If using a profile credentials provider, this parameter will set the profile name";
public static final String CAMEL_SINK_AWS2IAM_ENDPOINT_PROFILE_CREDENTIALS_NAME_DEFAULT = null;
public static final String CAMEL_SINK_AWS2IAM_ENDPOINT_SECRET_KEY_CONF = "camel.sink.endpoint.secretKey";
public static final String CAMEL_SINK_AWS2IAM_ENDPOINT_SECRET_KEY_DOC = "Amazon AWS Secret Key";
public static final String CAMEL_SINK_AWS2IAM_ENDPOINT_SECRET_KEY_DEFAULT = null;
+ public static final String CAMEL_SINK_AWS2IAM_ENDPOINT_SESSION_TOKEN_CONF = "camel.sink.endpoint.sessionToken";
+ public static final String CAMEL_SINK_AWS2IAM_ENDPOINT_SESSION_TOKEN_DOC = "Amazon AWS Session Token used when the user needs to assume an IAM role";
+ public static final String CAMEL_SINK_AWS2IAM_ENDPOINT_SESSION_TOKEN_DEFAULT = null;
public static final String CAMEL_SINK_AWS2IAM_ENDPOINT_TRUST_ALL_CERTIFICATES_CONF = "camel.sink.endpoint.trustAllCertificates";
public static final String CAMEL_SINK_AWS2IAM_ENDPOINT_TRUST_ALL_CERTIFICATES_DOC = "If we want to trust all certificates in case of overriding the endpoint";
public static final Boolean CAMEL_SINK_AWS2IAM_ENDPOINT_TRUST_ALL_CERTIFICATES_DEFAULT = false;
@@ -74,11 +77,14 @@ public class CamelAws2iamSinkConnectorConfig extends CamelSinkConnectorConfig {
public static final String CAMEL_SINK_AWS2IAM_ENDPOINT_USE_PROFILE_CREDENTIALS_PROVIDER_CONF = "camel.sink.endpoint.useProfileCredentialsProvider";
public static final String CAMEL_SINK_AWS2IAM_ENDPOINT_USE_PROFILE_CREDENTIALS_PROVIDER_DOC = "Set whether the IAM client should expect to load credentials through a profile credentials provider.";
public static final Boolean CAMEL_SINK_AWS2IAM_ENDPOINT_USE_PROFILE_CREDENTIALS_PROVIDER_DEFAULT = false;
+ public static final String CAMEL_SINK_AWS2IAM_ENDPOINT_USE_SESSION_CREDENTIALS_CONF = "camel.sink.endpoint.useSessionCredentials";
+ public static final String CAMEL_SINK_AWS2IAM_ENDPOINT_USE_SESSION_CREDENTIALS_DOC = "Set whether the IAM client should expect to use Session Credentials. This is useful in a situation in which the user needs to assume a IAM role for doing operations in IAM.";
+ public static final Boolean CAMEL_SINK_AWS2IAM_ENDPOINT_USE_SESSION_CREDENTIALS_DEFAULT = false;
public static final String CAMEL_SINK_AWS2IAM_COMPONENT_CONFIGURATION_CONF = "camel.component.aws2-iam.configuration";
public static final String CAMEL_SINK_AWS2IAM_COMPONENT_CONFIGURATION_DOC = "Component configuration";
public static final String CAMEL_SINK_AWS2IAM_COMPONENT_CONFIGURATION_DEFAULT = null;
public static final String CAMEL_SINK_AWS2IAM_COMPONENT_IAM_CLIENT_CONF = "camel.component.aws2-iam.iamClient";
- public static final String CAMEL_SINK_AWS2IAM_COMPONENT_IAM_CLIENT_DOC = "To use a existing configured AWS IAM as client";
+ public static final String CAMEL_SINK_AWS2IAM_COMPONENT_IAM_CLIENT_DOC = "To use an existing configured AWS IAM client";
public static final String CAMEL_SINK_AWS2IAM_COMPONENT_IAM_CLIENT_DEFAULT = null;
public static final String CAMEL_SINK_AWS2IAM_COMPONENT_LAZY_START_PRODUCER_CONF = "camel.component.aws2-iam.lazyStartProducer";
public static final String CAMEL_SINK_AWS2IAM_COMPONENT_LAZY_START_PRODUCER_DOC = "Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that w [...]
@@ -87,13 +93,13 @@ public class CamelAws2iamSinkConnectorConfig extends CamelSinkConnectorConfig {
public static final String CAMEL_SINK_AWS2IAM_COMPONENT_OPERATION_DOC = "The operation to perform. You can configure a default operation on the component level, or the operation as part of the endpoint, or via a message header with the key CamelAwsIAMOperation. One of: [listAccessKeys] [createUser] [deleteUser] [getUser] [listUsers] [createAccessKey] [deleteAccessKey] [updateAccessKey] [createGroup] [deleteGroup] [listGroups] [addUserToGroup] [removeUserFromGroup]";
public static final String CAMEL_SINK_AWS2IAM_COMPONENT_OPERATION_DEFAULT = null;
public static final String CAMEL_SINK_AWS2IAM_COMPONENT_OVERRIDE_ENDPOINT_CONF = "camel.component.aws2-iam.overrideEndpoint";
- public static final String CAMEL_SINK_AWS2IAM_COMPONENT_OVERRIDE_ENDPOINT_DOC = "Set the need for overidding the endpoint. This option needs to be used in combination with uriEndpointOverride option";
+ public static final String CAMEL_SINK_AWS2IAM_COMPONENT_OVERRIDE_ENDPOINT_DOC = "Set the need for overriding the endpoint. This option needs to be used in combination with the uriEndpointOverride option";
public static final Boolean CAMEL_SINK_AWS2IAM_COMPONENT_OVERRIDE_ENDPOINT_DEFAULT = false;
public static final String CAMEL_SINK_AWS2IAM_COMPONENT_POJO_REQUEST_CONF = "camel.component.aws2-iam.pojoRequest";
public static final String CAMEL_SINK_AWS2IAM_COMPONENT_POJO_REQUEST_DOC = "If we want to use a POJO request as body or not";
public static final Boolean CAMEL_SINK_AWS2IAM_COMPONENT_POJO_REQUEST_DEFAULT = false;
public static final String CAMEL_SINK_AWS2IAM_COMPONENT_REGION_CONF = "camel.component.aws2-iam.region";
- public static final String CAMEL_SINK_AWS2IAM_COMPONENT_REGION_DOC = "The region in which IAM client needs to work. When using this parameter, the configuration will expect the lowercase name of the region (for example ap-east-1) You'll need to use the name Region.EU_WEST_1.id() One of: [ap-south-2] [ap-south-1] [eu-south-1] [eu-south-2] [us-gov-east-1] [me-central-1] [il-central-1] [ca-central-1] [eu-central-1] [us-iso-west-1] [eu-central-2] [us-west-1] [us-west-2] [af-south-1] [eu- [...]
+ public static final String CAMEL_SINK_AWS2IAM_COMPONENT_REGION_DOC = "The region in which IAM client needs to work. When using this parameter, the configuration will expect the lowercase name of the region (for example, ap-east-1) You'll need to use the name Region.EU_WEST_1.id() One of: [ap-south-2] [ap-south-1] [eu-south-1] [eu-south-2] [us-gov-east-1] [me-central-1] [il-central-1] [ca-central-1] [eu-central-1] [us-iso-west-1] [eu-central-2] [us-west-1] [us-west-2] [af-south-1] [eu [...]
public static final String CAMEL_SINK_AWS2IAM_COMPONENT_REGION_DEFAULT = "aws-global";
public static final String CAMEL_SINK_AWS2IAM_COMPONENT_URI_ENDPOINT_OVERRIDE_CONF = "camel.component.aws2-iam.uriEndpointOverride";
public static final String CAMEL_SINK_AWS2IAM_COMPONENT_URI_ENDPOINT_OVERRIDE_DOC = "Set the overriding uri endpoint. This option needs to be used in combination with overrideEndpoint option";
@@ -120,11 +126,14 @@ public class CamelAws2iamSinkConnectorConfig extends CamelSinkConnectorConfig {
public static final String CAMEL_SINK_AWS2IAM_COMPONENT_ACCESS_KEY_DOC = "Amazon AWS Access Key";
public static final String CAMEL_SINK_AWS2IAM_COMPONENT_ACCESS_KEY_DEFAULT = null;
public static final String CAMEL_SINK_AWS2IAM_COMPONENT_PROFILE_CREDENTIALS_NAME_CONF = "camel.component.aws2-iam.profileCredentialsName";
- public static final String CAMEL_SINK_AWS2IAM_COMPONENT_PROFILE_CREDENTIALS_NAME_DOC = "If using a profile credentials provider this parameter will set the profile name";
+ public static final String CAMEL_SINK_AWS2IAM_COMPONENT_PROFILE_CREDENTIALS_NAME_DOC = "If using a profile credentials provider, this parameter will set the profile name";
public static final String CAMEL_SINK_AWS2IAM_COMPONENT_PROFILE_CREDENTIALS_NAME_DEFAULT = null;
public static final String CAMEL_SINK_AWS2IAM_COMPONENT_SECRET_KEY_CONF = "camel.component.aws2-iam.secretKey";
public static final String CAMEL_SINK_AWS2IAM_COMPONENT_SECRET_KEY_DOC = "Amazon AWS Secret Key";
public static final String CAMEL_SINK_AWS2IAM_COMPONENT_SECRET_KEY_DEFAULT = null;
+ public static final String CAMEL_SINK_AWS2IAM_COMPONENT_SESSION_TOKEN_CONF = "camel.component.aws2-iam.sessionToken";
+ public static final String CAMEL_SINK_AWS2IAM_COMPONENT_SESSION_TOKEN_DOC = "Amazon AWS Session Token used when the user needs to assume an IAM role";
+ public static final String CAMEL_SINK_AWS2IAM_COMPONENT_SESSION_TOKEN_DEFAULT = null;
public static final String CAMEL_SINK_AWS2IAM_COMPONENT_TRUST_ALL_CERTIFICATES_CONF = "camel.component.aws2-iam.trustAllCertificates";
public static final String CAMEL_SINK_AWS2IAM_COMPONENT_TRUST_ALL_CERTIFICATES_DOC = "If we want to trust all certificates in case of overriding the endpoint";
public static final Boolean CAMEL_SINK_AWS2IAM_COMPONENT_TRUST_ALL_CERTIFICATES_DEFAULT = false;
@@ -134,6 +143,9 @@ public class CamelAws2iamSinkConnectorConfig extends CamelSinkConnectorConfig {
public static final String CAMEL_SINK_AWS2IAM_COMPONENT_USE_PROFILE_CREDENTIALS_PROVIDER_CONF = "camel.component.aws2-iam.useProfileCredentialsProvider";
public static final String CAMEL_SINK_AWS2IAM_COMPONENT_USE_PROFILE_CREDENTIALS_PROVIDER_DOC = "Set whether the IAM client should expect to load credentials through a profile credentials provider.";
public static final Boolean CAMEL_SINK_AWS2IAM_COMPONENT_USE_PROFILE_CREDENTIALS_PROVIDER_DEFAULT = false;
+ public static final String CAMEL_SINK_AWS2IAM_COMPONENT_USE_SESSION_CREDENTIALS_CONF = "camel.component.aws2-iam.useSessionCredentials";
+ public static final String CAMEL_SINK_AWS2IAM_COMPONENT_USE_SESSION_CREDENTIALS_DOC = "Set whether the IAM client should expect to use Session Credentials. This is useful in a situation in which the user needs to assume a IAM role for doing operations in IAM.";
+ public static final Boolean CAMEL_SINK_AWS2IAM_COMPONENT_USE_SESSION_CREDENTIALS_DEFAULT = false;
public CamelAws2iamSinkConnectorConfig(
ConfigDef config,
@@ -161,9 +173,11 @@ public class CamelAws2iamSinkConnectorConfig extends CamelSinkConnectorConfig {
conf.define(CAMEL_SINK_AWS2IAM_ENDPOINT_ACCESS_KEY_CONF, ConfigDef.Type.PASSWORD, CAMEL_SINK_AWS2IAM_ENDPOINT_ACCESS_KEY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2IAM_ENDPOINT_ACCESS_KEY_DOC);
conf.define(CAMEL_SINK_AWS2IAM_ENDPOINT_PROFILE_CREDENTIALS_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AWS2IAM_ENDPOINT_PROFILE_CREDENTIALS_NAME_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2IAM_ENDPOINT_PROFILE_CREDENTIALS_NAME_DOC);
conf.define(CAMEL_SINK_AWS2IAM_ENDPOINT_SECRET_KEY_CONF, ConfigDef.Type.PASSWORD, CAMEL_SINK_AWS2IAM_ENDPOINT_SECRET_KEY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2IAM_ENDPOINT_SECRET_KEY_DOC);
+ conf.define(CAMEL_SINK_AWS2IAM_ENDPOINT_SESSION_TOKEN_CONF, ConfigDef.Type.PASSWORD, CAMEL_SINK_AWS2IAM_ENDPOINT_SESSION_TOKEN_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2IAM_ENDPOINT_SESSION_TOKEN_DOC);
conf.define(CAMEL_SINK_AWS2IAM_ENDPOINT_TRUST_ALL_CERTIFICATES_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_AWS2IAM_ENDPOINT_TRUST_ALL_CERTIFICATES_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2IAM_ENDPOINT_TRUST_ALL_CERTIFICATES_DOC);
conf.define(CAMEL_SINK_AWS2IAM_ENDPOINT_USE_DEFAULT_CREDENTIALS_PROVIDER_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_AWS2IAM_ENDPOINT_USE_DEFAULT_CREDENTIALS_PROVIDER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2IAM_ENDPOINT_USE_DEFAULT_CREDENTIALS_PROVIDER_DOC);
conf.define(CAMEL_SINK_AWS2IAM_ENDPOINT_USE_PROFILE_CREDENTIALS_PROVIDER_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_AWS2IAM_ENDPOINT_USE_PROFILE_CREDENTIALS_PROVIDER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2IAM_ENDPOINT_USE_PROFILE_CREDENTIALS_PROVIDER_DOC);
+ conf.define(CAMEL_SINK_AWS2IAM_ENDPOINT_USE_SESSION_CREDENTIALS_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_AWS2IAM_ENDPOINT_USE_SESSION_CREDENTIALS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2IAM_ENDPOINT_USE_SESSION_CREDENTIALS_DOC);
conf.define(CAMEL_SINK_AWS2IAM_COMPONENT_CONFIGURATION_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AWS2IAM_COMPONENT_CONFIGURATION_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2IAM_COMPONENT_CONFIGURATION_DOC);
conf.define(CAMEL_SINK_AWS2IAM_COMPONENT_IAM_CLIENT_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AWS2IAM_COMPONENT_IAM_CLIENT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2IAM_COMPONENT_IAM_CLIENT_DOC);
conf.define(CAMEL_SINK_AWS2IAM_COMPONENT_LAZY_START_PRODUCER_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_AWS2IAM_COMPONENT_LAZY_START_PRODUCER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2IAM_COMPONENT_LAZY_START_PRODUCER_DOC);
@@ -181,9 +195,11 @@ public class CamelAws2iamSinkConnectorConfig extends CamelSinkConnectorConfig {
conf.define(CAMEL_SINK_AWS2IAM_COMPONENT_ACCESS_KEY_CONF, ConfigDef.Type.PASSWORD, CAMEL_SINK_AWS2IAM_COMPONENT_ACCESS_KEY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2IAM_COMPONENT_ACCESS_KEY_DOC);
conf.define(CAMEL_SINK_AWS2IAM_COMPONENT_PROFILE_CREDENTIALS_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AWS2IAM_COMPONENT_PROFILE_CREDENTIALS_NAME_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2IAM_COMPONENT_PROFILE_CREDENTIALS_NAME_DOC);
conf.define(CAMEL_SINK_AWS2IAM_COMPONENT_SECRET_KEY_CONF, ConfigDef.Type.PASSWORD, CAMEL_SINK_AWS2IAM_COMPONENT_SECRET_KEY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2IAM_COMPONENT_SECRET_KEY_DOC);
+ conf.define(CAMEL_SINK_AWS2IAM_COMPONENT_SESSION_TOKEN_CONF, ConfigDef.Type.PASSWORD, CAMEL_SINK_AWS2IAM_COMPONENT_SESSION_TOKEN_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2IAM_COMPONENT_SESSION_TOKEN_DOC);
conf.define(CAMEL_SINK_AWS2IAM_COMPONENT_TRUST_ALL_CERTIFICATES_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_AWS2IAM_COMPONENT_TRUST_ALL_CERTIFICATES_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2IAM_COMPONENT_TRUST_ALL_CERTIFICATES_DOC);
conf.define(CAMEL_SINK_AWS2IAM_COMPONENT_USE_DEFAULT_CREDENTIALS_PROVIDER_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_AWS2IAM_COMPONENT_USE_DEFAULT_CREDENTIALS_PROVIDER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2IAM_COMPONENT_USE_DEFAULT_CREDENTIALS_PROVIDER_DOC);
conf.define(CAMEL_SINK_AWS2IAM_COMPONENT_USE_PROFILE_CREDENTIALS_PROVIDER_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_AWS2IAM_COMPONENT_USE_PROFILE_CREDENTIALS_PROVIDER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2IAM_COMPONENT_USE_PROFILE_CREDENTIALS_PROVIDER_DOC);
+ conf.define(CAMEL_SINK_AWS2IAM_COMPONENT_USE_SESSION_CREDENTIALS_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_AWS2IAM_COMPONENT_USE_SESSION_CREDENTIALS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2IAM_COMPONENT_USE_SESSION_CREDENTIALS_DOC);
return conf;
}
}
\ No newline at end of file
diff --git a/connectors/camel-aws2-kms-kafka-connector/src/generated/resources/camel-aws2-kms-sink.json b/connectors/camel-aws2-kms-kafka-connector/src/generated/resources/camel-aws2-kms-sink.json
index 7661d459c2..6003a79c9d 100644
--- a/connectors/camel-aws2-kms-kafka-connector/src/generated/resources/camel-aws2-kms-sink.json
+++ b/connectors/camel-aws2-kms-kafka-connector/src/generated/resources/camel-aws2-kms-sink.json
@@ -31,7 +31,7 @@
},
"camel.sink.endpoint.overrideEndpoint": {
"name": "camel.sink.endpoint.overrideEndpoint",
- "description": "Set the need for overidding the endpoint. This option needs to be used in combination with uriEndpointOverride option",
+ "description": "Set the need for overriding the endpoint. This option needs to be used in combination with the uriEndpointOverride option",
"defaultValue": "false",
"priority": "MEDIUM",
"required": "false"
@@ -45,7 +45,7 @@
},
"camel.sink.endpoint.region": {
"name": "camel.sink.endpoint.region",
- "description": "The region in which EKS client needs to work. When using this parameter, the configuration will expect the lowercase name of the region (for example ap-east-1) You'll need to use the name Region.EU_WEST_1.id() One of: [ap-south-2] [ap-south-1] [eu-south-1] [eu-south-2] [us-gov-east-1] [me-central-1] [il-central-1] [ca-central-1] [eu-central-1] [us-iso-west-1] [eu-central-2] [us-west-1] [us-west-2] [af-south-1] [eu-north-1] [eu-west-3] [eu-west-2] [eu-west-1] [ap-northe [...]
+ "description": "The region in which EKS client needs to work. When using this parameter, the configuration will expect the lowercase name of the region (for example, ap-east-1) You'll need to use the name Region.EU_WEST_1.id() One of: [ap-south-2] [ap-south-1] [eu-south-1] [eu-south-2] [us-gov-east-1] [me-central-1] [il-central-1] [ca-central-1] [eu-central-1] [us-iso-west-1] [eu-central-2] [us-west-1] [us-west-2] [af-south-1] [eu-north-1] [eu-west-3] [eu-west-2] [eu-west-1] [ap-north [...]
"priority": "MEDIUM",
"required": "false",
"enum": [
@@ -106,7 +106,7 @@
},
"camel.sink.endpoint.kmsClient": {
"name": "camel.sink.endpoint.kmsClient",
- "description": "To use a existing configured AWS KMS as client",
+ "description": "To use an existing configured AWS KMS client",
"priority": "MEDIUM",
"required": "false"
},
@@ -141,7 +141,7 @@
},
"camel.sink.endpoint.profileCredentialsName": {
"name": "camel.sink.endpoint.profileCredentialsName",
- "description": "If using a profile credentials provider this parameter will set the profile name",
+ "description": "If using a profile credentials provider, this parameter will set the profile name",
"priority": "MEDIUM",
"required": "false"
},
@@ -151,6 +151,12 @@
"priority": "MEDIUM",
"required": "false"
},
+ "camel.sink.endpoint.sessionToken": {
+ "name": "camel.sink.endpoint.sessionToken",
+ "description": "Amazon AWS Session Token used when the user needs to assume an IAM role",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
"camel.sink.endpoint.trustAllCertificates": {
"name": "camel.sink.endpoint.trustAllCertificates",
"description": "If we want to trust all certificates in case of overriding the endpoint",
@@ -172,6 +178,13 @@
"priority": "MEDIUM",
"required": "false"
},
+ "camel.sink.endpoint.useSessionCredentials": {
+ "name": "camel.sink.endpoint.useSessionCredentials",
+ "description": "Set whether the KMS client should expect to use Session Credentials. This is useful in a situation in which the user needs to assume a IAM role for doing operations in KMS.",
+ "defaultValue": "false",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
"camel.component.aws2-kms.configuration": {
"name": "camel.component.aws2-kms.configuration",
"description": "Component configuration",
@@ -201,7 +214,7 @@
},
"camel.component.aws2-kms.overrideEndpoint": {
"name": "camel.component.aws2-kms.overrideEndpoint",
- "description": "Set the need for overidding the endpoint. This option needs to be used in combination with uriEndpointOverride option",
+ "description": "Set the need for overriding the endpoint. This option needs to be used in combination with the uriEndpointOverride option",
"defaultValue": "false",
"priority": "MEDIUM",
"required": "false"
@@ -215,7 +228,7 @@
},
"camel.component.aws2-kms.region": {
"name": "camel.component.aws2-kms.region",
- "description": "The region in which EKS client needs to work. When using this parameter, the configuration will expect the lowercase name of the region (for example ap-east-1) You'll need to use the name Region.EU_WEST_1.id() One of: [ap-south-2] [ap-south-1] [eu-south-1] [eu-south-2] [us-gov-east-1] [me-central-1] [il-central-1] [ca-central-1] [eu-central-1] [us-iso-west-1] [eu-central-2] [us-west-1] [us-west-2] [af-south-1] [eu-north-1] [eu-west-3] [eu-west-2] [eu-west-1] [ap-northe [...]
+ "description": "The region in which EKS client needs to work. When using this parameter, the configuration will expect the lowercase name of the region (for example, ap-east-1) You'll need to use the name Region.EU_WEST_1.id() One of: [ap-south-2] [ap-south-1] [eu-south-1] [eu-south-2] [us-gov-east-1] [me-central-1] [il-central-1] [ca-central-1] [eu-central-1] [us-iso-west-1] [eu-central-2] [us-west-1] [us-west-2] [af-south-1] [eu-north-1] [eu-west-3] [eu-west-2] [eu-west-1] [ap-north [...]
"priority": "MEDIUM",
"required": "false",
"enum": [
@@ -276,7 +289,7 @@
},
"camel.component.aws2-kms.kmsClient": {
"name": "camel.component.aws2-kms.kmsClient",
- "description": "To use a existing configured AWS KMS as client",
+ "description": "To use an existing configured AWS KMS client",
"priority": "MEDIUM",
"required": "false"
},
@@ -311,7 +324,7 @@
},
"camel.component.aws2-kms.profileCredentialsName": {
"name": "camel.component.aws2-kms.profileCredentialsName",
- "description": "If using a profile credentials provider this parameter will set the profile name",
+ "description": "If using a profile credentials provider, this parameter will set the profile name",
"priority": "MEDIUM",
"required": "false"
},
@@ -321,6 +334,12 @@
"priority": "MEDIUM",
"required": "false"
},
+ "camel.component.aws2-kms.sessionToken": {
+ "name": "camel.component.aws2-kms.sessionToken",
+ "description": "Amazon AWS Session Token used when the user needs to assume an IAM role",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
"camel.component.aws2-kms.trustAllCertificates": {
"name": "camel.component.aws2-kms.trustAllCertificates",
"description": "If we want to trust all certificates in case of overriding the endpoint",
@@ -341,6 +360,13 @@
"defaultValue": "false",
"priority": "MEDIUM",
"required": "false"
+ },
+ "camel.component.aws2-kms.useSessionCredentials": {
+ "name": "camel.component.aws2-kms.useSessionCredentials",
+ "description": "Set whether the KMS client should expect to use Session Credentials. This is useful in a situation in which the user needs to assume a IAM role for doing operations in KMS.",
+ "defaultValue": "false",
+ "priority": "MEDIUM",
+ "required": "false"
}
}
}
\ No newline at end of file
diff --git a/connectors/camel-aws2-kms-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/aws2kms/CamelAws2kmsSinkConnectorConfig.java b/connectors/camel-aws2-kms-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/aws2kms/CamelAws2kmsSinkConnectorConfig.java
index 59c3451d46..731f112655 100644
--- a/connectors/camel-aws2-kms-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/aws2kms/CamelAws2kmsSinkConnectorConfig.java
+++ b/connectors/camel-aws2-kms-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/aws2kms/CamelAws2kmsSinkConnectorConfig.java
@@ -30,13 +30,13 @@ public class CamelAws2kmsSinkConnectorConfig extends CamelSinkConnectorConfig {
public static final String CAMEL_SINK_AWS2KMS_ENDPOINT_OPERATION_DOC = "The operation to perform One of: [listKeys] [createKey] [disableKey] [scheduleKeyDeletion] [describeKey] [enableKey]";
public static final String CAMEL_SINK_AWS2KMS_ENDPOINT_OPERATION_DEFAULT = null;
public static final String CAMEL_SINK_AWS2KMS_ENDPOINT_OVERRIDE_ENDPOINT_CONF = "camel.sink.endpoint.overrideEndpoint";
- public static final String CAMEL_SINK_AWS2KMS_ENDPOINT_OVERRIDE_ENDPOINT_DOC = "Set the need for overidding the endpoint. This option needs to be used in combination with uriEndpointOverride option";
+ public static final String CAMEL_SINK_AWS2KMS_ENDPOINT_OVERRIDE_ENDPOINT_DOC = "Set the need for overriding the endpoint. This option needs to be used in combination with the uriEndpointOverride option";
public static final Boolean CAMEL_SINK_AWS2KMS_ENDPOINT_OVERRIDE_ENDPOINT_DEFAULT = false;
public static final String CAMEL_SINK_AWS2KMS_ENDPOINT_POJO_REQUEST_CONF = "camel.sink.endpoint.pojoRequest";
public static final String CAMEL_SINK_AWS2KMS_ENDPOINT_POJO_REQUEST_DOC = "If we want to use a POJO request as body or not";
public static final Boolean CAMEL_SINK_AWS2KMS_ENDPOINT_POJO_REQUEST_DEFAULT = false;
public static final String CAMEL_SINK_AWS2KMS_ENDPOINT_REGION_CONF = "camel.sink.endpoint.region";
- public static final String CAMEL_SINK_AWS2KMS_ENDPOINT_REGION_DOC = "The region in which EKS client needs to work. When using this parameter, the configuration will expect the lowercase name of the region (for example ap-east-1) You'll need to use the name Region.EU_WEST_1.id() One of: [ap-south-2] [ap-south-1] [eu-south-1] [eu-south-2] [us-gov-east-1] [me-central-1] [il-central-1] [ca-central-1] [eu-central-1] [us-iso-west-1] [eu-central-2] [us-west-1] [us-west-2] [af-south-1] [eu-n [...]
+ public static final String CAMEL_SINK_AWS2KMS_ENDPOINT_REGION_DOC = "The region in which EKS client needs to work. When using this parameter, the configuration will expect the lowercase name of the region (for example, ap-east-1) You'll need to use the name Region.EU_WEST_1.id() One of: [ap-south-2] [ap-south-1] [eu-south-1] [eu-south-2] [us-gov-east-1] [me-central-1] [il-central-1] [ca-central-1] [eu-central-1] [us-iso-west-1] [eu-central-2] [us-west-1] [us-west-2] [af-south-1] [eu- [...]
public static final String CAMEL_SINK_AWS2KMS_ENDPOINT_REGION_DEFAULT = null;
public static final String CAMEL_SINK_AWS2KMS_ENDPOINT_URI_ENDPOINT_OVERRIDE_CONF = "camel.sink.endpoint.uriEndpointOverride";
public static final String CAMEL_SINK_AWS2KMS_ENDPOINT_URI_ENDPOINT_OVERRIDE_DOC = "Set the overriding uri endpoint. This option needs to be used in combination with overrideEndpoint option";
@@ -45,7 +45,7 @@ public class CamelAws2kmsSinkConnectorConfig extends CamelSinkConnectorConfig {
public static final String CAMEL_SINK_AWS2KMS_ENDPOINT_LAZY_START_PRODUCER_DOC = "Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that wh [...]
public static final Boolean CAMEL_SINK_AWS2KMS_ENDPOINT_LAZY_START_PRODUCER_DEFAULT = false;
public static final String CAMEL_SINK_AWS2KMS_ENDPOINT_KMS_CLIENT_CONF = "camel.sink.endpoint.kmsClient";
- public static final String CAMEL_SINK_AWS2KMS_ENDPOINT_KMS_CLIENT_DOC = "To use a existing configured AWS KMS as client";
+ public static final String CAMEL_SINK_AWS2KMS_ENDPOINT_KMS_CLIENT_DOC = "To use an existing configured AWS KMS client";
public static final String CAMEL_SINK_AWS2KMS_ENDPOINT_KMS_CLIENT_DEFAULT = null;
public static final String CAMEL_SINK_AWS2KMS_ENDPOINT_PROXY_HOST_CONF = "camel.sink.endpoint.proxyHost";
public static final String CAMEL_SINK_AWS2KMS_ENDPOINT_PROXY_HOST_DOC = "To define a proxy host when instantiating the KMS client";
@@ -60,11 +60,14 @@ public class CamelAws2kmsSinkConnectorConfig extends CamelSinkConnectorConfig {
public static final String CAMEL_SINK_AWS2KMS_ENDPOINT_ACCESS_KEY_DOC = "Amazon AWS Access Key";
public static final String CAMEL_SINK_AWS2KMS_ENDPOINT_ACCESS_KEY_DEFAULT = null;
public static final String CAMEL_SINK_AWS2KMS_ENDPOINT_PROFILE_CREDENTIALS_NAME_CONF = "camel.sink.endpoint.profileCredentialsName";
- public static final String CAMEL_SINK_AWS2KMS_ENDPOINT_PROFILE_CREDENTIALS_NAME_DOC = "If using a profile credentials provider this parameter will set the profile name";
+ public static final String CAMEL_SINK_AWS2KMS_ENDPOINT_PROFILE_CREDENTIALS_NAME_DOC = "If using a profile credentials provider, this parameter will set the profile name";
public static final String CAMEL_SINK_AWS2KMS_ENDPOINT_PROFILE_CREDENTIALS_NAME_DEFAULT = null;
public static final String CAMEL_SINK_AWS2KMS_ENDPOINT_SECRET_KEY_CONF = "camel.sink.endpoint.secretKey";
public static final String CAMEL_SINK_AWS2KMS_ENDPOINT_SECRET_KEY_DOC = "Amazon AWS Secret Key";
public static final String CAMEL_SINK_AWS2KMS_ENDPOINT_SECRET_KEY_DEFAULT = null;
+ public static final String CAMEL_SINK_AWS2KMS_ENDPOINT_SESSION_TOKEN_CONF = "camel.sink.endpoint.sessionToken";
+ public static final String CAMEL_SINK_AWS2KMS_ENDPOINT_SESSION_TOKEN_DOC = "Amazon AWS Session Token used when the user needs to assume an IAM role";
+ public static final String CAMEL_SINK_AWS2KMS_ENDPOINT_SESSION_TOKEN_DEFAULT = null;
public static final String CAMEL_SINK_AWS2KMS_ENDPOINT_TRUST_ALL_CERTIFICATES_CONF = "camel.sink.endpoint.trustAllCertificates";
public static final String CAMEL_SINK_AWS2KMS_ENDPOINT_TRUST_ALL_CERTIFICATES_DOC = "If we want to trust all certificates in case of overriding the endpoint";
public static final Boolean CAMEL_SINK_AWS2KMS_ENDPOINT_TRUST_ALL_CERTIFICATES_DEFAULT = false;
@@ -74,6 +77,9 @@ public class CamelAws2kmsSinkConnectorConfig extends CamelSinkConnectorConfig {
public static final String CAMEL_SINK_AWS2KMS_ENDPOINT_USE_PROFILE_CREDENTIALS_PROVIDER_CONF = "camel.sink.endpoint.useProfileCredentialsProvider";
public static final String CAMEL_SINK_AWS2KMS_ENDPOINT_USE_PROFILE_CREDENTIALS_PROVIDER_DOC = "Set whether the KMS client should expect to load credentials through a profile credentials provider.";
public static final Boolean CAMEL_SINK_AWS2KMS_ENDPOINT_USE_PROFILE_CREDENTIALS_PROVIDER_DEFAULT = false;
+ public static final String CAMEL_SINK_AWS2KMS_ENDPOINT_USE_SESSION_CREDENTIALS_CONF = "camel.sink.endpoint.useSessionCredentials";
+ public static final String CAMEL_SINK_AWS2KMS_ENDPOINT_USE_SESSION_CREDENTIALS_DOC = "Set whether the KMS client should expect to use Session Credentials. This is useful in a situation in which the user needs to assume a IAM role for doing operations in KMS.";
+ public static final Boolean CAMEL_SINK_AWS2KMS_ENDPOINT_USE_SESSION_CREDENTIALS_DEFAULT = false;
public static final String CAMEL_SINK_AWS2KMS_COMPONENT_CONFIGURATION_CONF = "camel.component.aws2-kms.configuration";
public static final String CAMEL_SINK_AWS2KMS_COMPONENT_CONFIGURATION_DOC = "Component configuration";
public static final String CAMEL_SINK_AWS2KMS_COMPONENT_CONFIGURATION_DEFAULT = null;
@@ -84,13 +90,13 @@ public class CamelAws2kmsSinkConnectorConfig extends CamelSinkConnectorConfig {
public static final String CAMEL_SINK_AWS2KMS_COMPONENT_OPERATION_DOC = "The operation to perform One of: [listKeys] [createKey] [disableKey] [scheduleKeyDeletion] [describeKey] [enableKey]";
public static final String CAMEL_SINK_AWS2KMS_COMPONENT_OPERATION_DEFAULT = null;
public static final String CAMEL_SINK_AWS2KMS_COMPONENT_OVERRIDE_ENDPOINT_CONF = "camel.component.aws2-kms.overrideEndpoint";
- public static final String CAMEL_SINK_AWS2KMS_COMPONENT_OVERRIDE_ENDPOINT_DOC = "Set the need for overidding the endpoint. This option needs to be used in combination with uriEndpointOverride option";
+ public static final String CAMEL_SINK_AWS2KMS_COMPONENT_OVERRIDE_ENDPOINT_DOC = "Set the need for overriding the endpoint. This option needs to be used in combination with the uriEndpointOverride option";
public static final Boolean CAMEL_SINK_AWS2KMS_COMPONENT_OVERRIDE_ENDPOINT_DEFAULT = false;
public static final String CAMEL_SINK_AWS2KMS_COMPONENT_POJO_REQUEST_CONF = "camel.component.aws2-kms.pojoRequest";
public static final String CAMEL_SINK_AWS2KMS_COMPONENT_POJO_REQUEST_DOC = "If we want to use a POJO request as body or not";
public static final Boolean CAMEL_SINK_AWS2KMS_COMPONENT_POJO_REQUEST_DEFAULT = false;
public static final String CAMEL_SINK_AWS2KMS_COMPONENT_REGION_CONF = "camel.component.aws2-kms.region";
- public static final String CAMEL_SINK_AWS2KMS_COMPONENT_REGION_DOC = "The region in which EKS client needs to work. When using this parameter, the configuration will expect the lowercase name of the region (for example ap-east-1) You'll need to use the name Region.EU_WEST_1.id() One of: [ap-south-2] [ap-south-1] [eu-south-1] [eu-south-2] [us-gov-east-1] [me-central-1] [il-central-1] [ca-central-1] [eu-central-1] [us-iso-west-1] [eu-central-2] [us-west-1] [us-west-2] [af-south-1] [eu- [...]
+ public static final String CAMEL_SINK_AWS2KMS_COMPONENT_REGION_DOC = "The region in which EKS client needs to work. When using this parameter, the configuration will expect the lowercase name of the region (for example, ap-east-1) You'll need to use the name Region.EU_WEST_1.id() One of: [ap-south-2] [ap-south-1] [eu-south-1] [eu-south-2] [us-gov-east-1] [me-central-1] [il-central-1] [ca-central-1] [eu-central-1] [us-iso-west-1] [eu-central-2] [us-west-1] [us-west-2] [af-south-1] [eu [...]
public static final String CAMEL_SINK_AWS2KMS_COMPONENT_REGION_DEFAULT = null;
public static final String CAMEL_SINK_AWS2KMS_COMPONENT_URI_ENDPOINT_OVERRIDE_CONF = "camel.component.aws2-kms.uriEndpointOverride";
public static final String CAMEL_SINK_AWS2KMS_COMPONENT_URI_ENDPOINT_OVERRIDE_DOC = "Set the overriding uri endpoint. This option needs to be used in combination with overrideEndpoint option";
@@ -99,7 +105,7 @@ public class CamelAws2kmsSinkConnectorConfig extends CamelSinkConnectorConfig {
public static final String CAMEL_SINK_AWS2KMS_COMPONENT_AUTOWIRED_ENABLED_DOC = "Whether autowiring is enabled. This is used for automatic autowiring options (the option must be marked as autowired) by looking up in the registry to find if there is a single instance of matching type, which then gets configured on the component. This can be used for automatic configuring JDBC data sources, JMS connection factories, AWS Clients, etc.";
public static final Boolean CAMEL_SINK_AWS2KMS_COMPONENT_AUTOWIRED_ENABLED_DEFAULT = true;
public static final String CAMEL_SINK_AWS2KMS_COMPONENT_KMS_CLIENT_CONF = "camel.component.aws2-kms.kmsClient";
- public static final String CAMEL_SINK_AWS2KMS_COMPONENT_KMS_CLIENT_DOC = "To use a existing configured AWS KMS as client";
+ public static final String CAMEL_SINK_AWS2KMS_COMPONENT_KMS_CLIENT_DOC = "To use an existing configured AWS KMS client";
public static final String CAMEL_SINK_AWS2KMS_COMPONENT_KMS_CLIENT_DEFAULT = null;
public static final String CAMEL_SINK_AWS2KMS_COMPONENT_PROXY_HOST_CONF = "camel.component.aws2-kms.proxyHost";
public static final String CAMEL_SINK_AWS2KMS_COMPONENT_PROXY_HOST_DOC = "To define a proxy host when instantiating the KMS client";
@@ -114,11 +120,14 @@ public class CamelAws2kmsSinkConnectorConfig extends CamelSinkConnectorConfig {
public static final String CAMEL_SINK_AWS2KMS_COMPONENT_ACCESS_KEY_DOC = "Amazon AWS Access Key";
public static final String CAMEL_SINK_AWS2KMS_COMPONENT_ACCESS_KEY_DEFAULT = null;
public static final String CAMEL_SINK_AWS2KMS_COMPONENT_PROFILE_CREDENTIALS_NAME_CONF = "camel.component.aws2-kms.profileCredentialsName";
- public static final String CAMEL_SINK_AWS2KMS_COMPONENT_PROFILE_CREDENTIALS_NAME_DOC = "If using a profile credentials provider this parameter will set the profile name";
+ public static final String CAMEL_SINK_AWS2KMS_COMPONENT_PROFILE_CREDENTIALS_NAME_DOC = "If using a profile credentials provider, this parameter will set the profile name";
public static final String CAMEL_SINK_AWS2KMS_COMPONENT_PROFILE_CREDENTIALS_NAME_DEFAULT = null;
public static final String CAMEL_SINK_AWS2KMS_COMPONENT_SECRET_KEY_CONF = "camel.component.aws2-kms.secretKey";
public static final String CAMEL_SINK_AWS2KMS_COMPONENT_SECRET_KEY_DOC = "Amazon AWS Secret Key";
public static final String CAMEL_SINK_AWS2KMS_COMPONENT_SECRET_KEY_DEFAULT = null;
+ public static final String CAMEL_SINK_AWS2KMS_COMPONENT_SESSION_TOKEN_CONF = "camel.component.aws2-kms.sessionToken";
+ public static final String CAMEL_SINK_AWS2KMS_COMPONENT_SESSION_TOKEN_DOC = "Amazon AWS Session Token used when the user needs to assume an IAM role";
+ public static final String CAMEL_SINK_AWS2KMS_COMPONENT_SESSION_TOKEN_DEFAULT = null;
public static final String CAMEL_SINK_AWS2KMS_COMPONENT_TRUST_ALL_CERTIFICATES_CONF = "camel.component.aws2-kms.trustAllCertificates";
public static final String CAMEL_SINK_AWS2KMS_COMPONENT_TRUST_ALL_CERTIFICATES_DOC = "If we want to trust all certificates in case of overriding the endpoint";
public static final Boolean CAMEL_SINK_AWS2KMS_COMPONENT_TRUST_ALL_CERTIFICATES_DEFAULT = false;
@@ -128,6 +137,9 @@ public class CamelAws2kmsSinkConnectorConfig extends CamelSinkConnectorConfig {
public static final String CAMEL_SINK_AWS2KMS_COMPONENT_USE_PROFILE_CREDENTIALS_PROVIDER_CONF = "camel.component.aws2-kms.useProfileCredentialsProvider";
public static final String CAMEL_SINK_AWS2KMS_COMPONENT_USE_PROFILE_CREDENTIALS_PROVIDER_DOC = "Set whether the KMS client should expect to load credentials through a profile credentials provider.";
public static final Boolean CAMEL_SINK_AWS2KMS_COMPONENT_USE_PROFILE_CREDENTIALS_PROVIDER_DEFAULT = false;
+ public static final String CAMEL_SINK_AWS2KMS_COMPONENT_USE_SESSION_CREDENTIALS_CONF = "camel.component.aws2-kms.useSessionCredentials";
+ public static final String CAMEL_SINK_AWS2KMS_COMPONENT_USE_SESSION_CREDENTIALS_DOC = "Set whether the KMS client should expect to use Session Credentials. This is useful in a situation in which the user needs to assume a IAM role for doing operations in KMS.";
+ public static final Boolean CAMEL_SINK_AWS2KMS_COMPONENT_USE_SESSION_CREDENTIALS_DEFAULT = false;
public CamelAws2kmsSinkConnectorConfig(
ConfigDef config,
@@ -155,9 +167,11 @@ public class CamelAws2kmsSinkConnectorConfig extends CamelSinkConnectorConfig {
conf.define(CAMEL_SINK_AWS2KMS_ENDPOINT_ACCESS_KEY_CONF, ConfigDef.Type.PASSWORD, CAMEL_SINK_AWS2KMS_ENDPOINT_ACCESS_KEY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2KMS_ENDPOINT_ACCESS_KEY_DOC);
conf.define(CAMEL_SINK_AWS2KMS_ENDPOINT_PROFILE_CREDENTIALS_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AWS2KMS_ENDPOINT_PROFILE_CREDENTIALS_NAME_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2KMS_ENDPOINT_PROFILE_CREDENTIALS_NAME_DOC);
conf.define(CAMEL_SINK_AWS2KMS_ENDPOINT_SECRET_KEY_CONF, ConfigDef.Type.PASSWORD, CAMEL_SINK_AWS2KMS_ENDPOINT_SECRET_KEY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2KMS_ENDPOINT_SECRET_KEY_DOC);
+ conf.define(CAMEL_SINK_AWS2KMS_ENDPOINT_SESSION_TOKEN_CONF, ConfigDef.Type.PASSWORD, CAMEL_SINK_AWS2KMS_ENDPOINT_SESSION_TOKEN_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2KMS_ENDPOINT_SESSION_TOKEN_DOC);
conf.define(CAMEL_SINK_AWS2KMS_ENDPOINT_TRUST_ALL_CERTIFICATES_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_AWS2KMS_ENDPOINT_TRUST_ALL_CERTIFICATES_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2KMS_ENDPOINT_TRUST_ALL_CERTIFICATES_DOC);
conf.define(CAMEL_SINK_AWS2KMS_ENDPOINT_USE_DEFAULT_CREDENTIALS_PROVIDER_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_AWS2KMS_ENDPOINT_USE_DEFAULT_CREDENTIALS_PROVIDER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2KMS_ENDPOINT_USE_DEFAULT_CREDENTIALS_PROVIDER_DOC);
conf.define(CAMEL_SINK_AWS2KMS_ENDPOINT_USE_PROFILE_CREDENTIALS_PROVIDER_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_AWS2KMS_ENDPOINT_USE_PROFILE_CREDENTIALS_PROVIDER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2KMS_ENDPOINT_USE_PROFILE_CREDENTIALS_PROVIDER_DOC);
+ conf.define(CAMEL_SINK_AWS2KMS_ENDPOINT_USE_SESSION_CREDENTIALS_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_AWS2KMS_ENDPOINT_USE_SESSION_CREDENTIALS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2KMS_ENDPOINT_USE_SESSION_CREDENTIALS_DOC);
conf.define(CAMEL_SINK_AWS2KMS_COMPONENT_CONFIGURATION_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AWS2KMS_COMPONENT_CONFIGURATION_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2KMS_COMPONENT_CONFIGURATION_DOC);
conf.define(CAMEL_SINK_AWS2KMS_COMPONENT_LAZY_START_PRODUCER_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_AWS2KMS_COMPONENT_LAZY_START_PRODUCER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2KMS_COMPONENT_LAZY_START_PRODUCER_DOC);
conf.define(CAMEL_SINK_AWS2KMS_COMPONENT_OPERATION_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AWS2KMS_COMPONENT_OPERATION_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_AWS2KMS_COMPONENT_OPERATION_DOC);
@@ -173,9 +187,11 @@ public class CamelAws2kmsSinkConnectorConfig extends CamelSinkConnectorConfig {
conf.define(CAMEL_SINK_AWS2KMS_COMPONENT_ACCESS_KEY_CONF, ConfigDef.Type.PASSWORD, CAMEL_SINK_AWS2KMS_COMPONENT_ACCESS_KEY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2KMS_COMPONENT_ACCESS_KEY_DOC);
conf.define(CAMEL_SINK_AWS2KMS_COMPONENT_PROFILE_CREDENTIALS_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AWS2KMS_COMPONENT_PROFILE_CREDENTIALS_NAME_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2KMS_COMPONENT_PROFILE_CREDENTIALS_NAME_DOC);
conf.define(CAMEL_SINK_AWS2KMS_COMPONENT_SECRET_KEY_CONF, ConfigDef.Type.PASSWORD, CAMEL_SINK_AWS2KMS_COMPONENT_SECRET_KEY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2KMS_COMPONENT_SECRET_KEY_DOC);
+ conf.define(CAMEL_SINK_AWS2KMS_COMPONENT_SESSION_TOKEN_CONF, ConfigDef.Type.PASSWORD, CAMEL_SINK_AWS2KMS_COMPONENT_SESSION_TOKEN_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2KMS_COMPONENT_SESSION_TOKEN_DOC);
conf.define(CAMEL_SINK_AWS2KMS_COMPONENT_TRUST_ALL_CERTIFICATES_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_AWS2KMS_COMPONENT_TRUST_ALL_CERTIFICATES_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2KMS_COMPONENT_TRUST_ALL_CERTIFICATES_DOC);
conf.define(CAMEL_SINK_AWS2KMS_COMPONENT_USE_DEFAULT_CREDENTIALS_PROVIDER_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_AWS2KMS_COMPONENT_USE_DEFAULT_CREDENTIALS_PROVIDER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2KMS_COMPONENT_USE_DEFAULT_CREDENTIALS_PROVIDER_DOC);
conf.define(CAMEL_SINK_AWS2KMS_COMPONENT_USE_PROFILE_CREDENTIALS_PROVIDER_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_AWS2KMS_COMPONENT_USE_PROFILE_CREDENTIALS_PROVIDER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2KMS_COMPONENT_USE_PROFILE_CREDENTIALS_PROVIDER_DOC);
+ conf.define(CAMEL_SINK_AWS2KMS_COMPONENT_USE_SESSION_CREDENTIALS_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_AWS2KMS_COMPONENT_USE_SESSION_CREDENTIALS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2KMS_COMPONENT_USE_SESSION_CREDENTIALS_DOC);
return conf;
}
}
\ No newline at end of file
diff --git a/connectors/camel-azure-cosmosdb-sink-kafka-connector/src/generated/resources/camel-azure-cosmosdb-sink-sink.json b/connectors/camel-azure-cosmosdb-sink-kafka-connector/src/generated/resources/camel-azure-cosmosdb-sink-sink.json
index 3e7951cdda..0d6962cfc2 100644
--- a/connectors/camel-azure-cosmosdb-sink-kafka-connector/src/generated/resources/camel-azure-cosmosdb-sink-sink.json
+++ b/connectors/camel-azure-cosmosdb-sink-kafka-connector/src/generated/resources/camel-azure-cosmosdb-sink-sink.json
@@ -6,7 +6,7 @@
"id": "camel-azure-cosmosdb-sink-sink",
"type": "sink",
"version": "4.4.2-SNAPSHOT",
- "description": "Send Data to an Azure CosmosDB instance\n\nIn the headers, you can optionally set the `itemPartitionKey` \/ `ce-itemPartitionKey` property to specify the partition key for a specific item.\n\nIf you do not set the property in the header, you'll need to use the static property itemPartitonKey."
+ "description": "Send Data to an Azure CosmosDB instance\n\nIn the headers, you can optionally set the `itemPartitionKey` \/ `ce-itemPartitionKey` property to specify the partition key for a specific item.\n\nIf you do not set the property in the header, you'll need to use the static property itemPartitonKey.\n\nThere are two different mechanism of authentication `SHARED_ACCOUNT_KEY` and `AZURE_IDENTITY`, you could specify with credentialType property. If you're using `SHARED_ACCOUNT_KE [...]
},
"properties": {
"camel.kamelet.azure-cosmosdb-sink.databaseName": {
@@ -24,8 +24,8 @@
"camel.kamelet.azure-cosmosdb-sink.accountKey": {
"name": "camel.kamelet.azure-cosmosdb-sink.accountKey",
"description": "The Azure Cosmos account Key.",
- "priority": "HIGH",
- "required": "true"
+ "priority": "MEDIUM",
+ "required": "false"
},
"camel.kamelet.azure-cosmosdb-sink.databaseEndpoint": {
"name": "camel.kamelet.azure-cosmosdb-sink.databaseEndpoint",
@@ -38,6 +38,13 @@
"description": "Represents a partition key value in the Azure Cosmos DB database service. A partition key identifies the partition where the item is stored in.",
"priority": "MEDIUM",
"required": "false"
+ },
+ "camel.kamelet.azure-cosmosdb-sink.credentialType": {
+ "name": "camel.kamelet.azure-cosmosdb-sink.credentialType",
+ "description": "Determines the credential strategy to adopt.",
+ "defaultValue": "\"SHARED_ACCOUNT_KEY\"",
+ "priority": "MEDIUM",
+ "required": "false"
}
}
}
\ No newline at end of file
diff --git a/connectors/camel-azure-cosmosdb-sink-kafka-connector/src/main/docs/examples/CamelAzurecosmosdbsinkSinkConnector.properties b/connectors/camel-azure-cosmosdb-sink-kafka-connector/src/main/docs/examples/CamelAzurecosmosdbsinkSinkConnector.properties
index 3e4a2b7366..2fed84fc84 100644
--- a/connectors/camel-azure-cosmosdb-sink-kafka-connector/src/main/docs/examples/CamelAzurecosmosdbsinkSinkConnector.properties
+++ b/connectors/camel-azure-cosmosdb-sink-kafka-connector/src/main/docs/examples/CamelAzurecosmosdbsinkSinkConnector.properties
@@ -28,8 +28,6 @@ topics=
# mandatory properties (for a complete properties list see the connector documentation):
-# The Azure Cosmos account Key.
-camel.kamelet.azure-cosmosdb-sink.accountKey=
# The Azure Cosmos container name.
camel.kamelet.azure-cosmosdb-sink.containerName=
# Sets the Azure Cosmos database endpoint the component will connect to.
diff --git a/connectors/camel-azure-cosmosdb-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/azurecosmosdbsink/CamelAzurecosmosdbsinkSinkConnectorConfig.java b/connectors/camel-azure-cosmosdb-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/azurecosmosdbsink/CamelAzurecosmosdbsinkSinkConnectorConfig.java
index 4cd1fea07b..22b96a3fef 100644
--- a/connectors/camel-azure-cosmosdb-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/azurecosmosdbsink/CamelAzurecosmosdbsinkSinkConnectorConfig.java
+++ b/connectors/camel-azure-cosmosdb-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/azurecosmosdbsink/CamelAzurecosmosdbsinkSinkConnectorConfig.java
@@ -40,6 +40,9 @@ public class CamelAzurecosmosdbsinkSinkConnectorConfig
public static final String CAMEL_SINK_AZURECOSMOSDBSINK_KAMELET_ITEM_PARTITION_KEY_CONF = "camel.kamelet.azure-cosmosdb-sink.itemPartitionKey";
public static final String CAMEL_SINK_AZURECOSMOSDBSINK_KAMELET_ITEM_PARTITION_KEY_DOC = "Represents a partition key value in the Azure Cosmos DB database service. A partition key identifies the partition where the item is stored in.";
public static final String CAMEL_SINK_AZURECOSMOSDBSINK_KAMELET_ITEM_PARTITION_KEY_DEFAULT = null;
+ public static final String CAMEL_SINK_AZURECOSMOSDBSINK_KAMELET_CREDENTIAL_TYPE_CONF = "camel.kamelet.azure-cosmosdb-sink.credentialType";
+ public static final String CAMEL_SINK_AZURECOSMOSDBSINK_KAMELET_CREDENTIAL_TYPE_DOC = "Determines the credential strategy to adopt.";
+ public static final String CAMEL_SINK_AZURECOSMOSDBSINK_KAMELET_CREDENTIAL_TYPE_DEFAULT = "SHARED_ACCOUNT_KEY";
public CamelAzurecosmosdbsinkSinkConnectorConfig(
ConfigDef config,
@@ -56,9 +59,10 @@ public class CamelAzurecosmosdbsinkSinkConnectorConfig
ConfigDef conf = new ConfigDef(CamelSinkConnectorConfig.conf());
conf.define(CAMEL_SINK_AZURECOSMOSDBSINK_KAMELET_DATABASE_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AZURECOSMOSDBSINK_KAMELET_DATABASE_NAME_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_AZURECOSMOSDBSINK_KAMELET_DATABASE_NAME_DOC);
conf.define(CAMEL_SINK_AZURECOSMOSDBSINK_KAMELET_CONTAINER_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AZURECOSMOSDBSINK_KAMELET_CONTAINER_NAME_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_AZURECOSMOSDBSINK_KAMELET_CONTAINER_NAME_DOC);
- conf.define(CAMEL_SINK_AZURECOSMOSDBSINK_KAMELET_ACCOUNT_KEY_CONF, ConfigDef.Type.PASSWORD, CAMEL_SINK_AZURECOSMOSDBSINK_KAMELET_ACCOUNT_KEY_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_AZURECOSMOSDBSINK_KAMELET_ACCOUNT_KEY_DOC);
+ conf.define(CAMEL_SINK_AZURECOSMOSDBSINK_KAMELET_ACCOUNT_KEY_CONF, ConfigDef.Type.PASSWORD, CAMEL_SINK_AZURECOSMOSDBSINK_KAMELET_ACCOUNT_KEY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AZURECOSMOSDBSINK_KAMELET_ACCOUNT_KEY_DOC);
conf.define(CAMEL_SINK_AZURECOSMOSDBSINK_KAMELET_DATABASE_ENDPOINT_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AZURECOSMOSDBSINK_KAMELET_DATABASE_ENDPOINT_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_AZURECOSMOSDBSINK_KAMELET_DATABASE_ENDPOINT_DOC);
conf.define(CAMEL_SINK_AZURECOSMOSDBSINK_KAMELET_ITEM_PARTITION_KEY_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AZURECOSMOSDBSINK_KAMELET_ITEM_PARTITION_KEY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AZURECOSMOSDBSINK_KAMELET_ITEM_PARTITION_KEY_DOC);
+ conf.define(CAMEL_SINK_AZURECOSMOSDBSINK_KAMELET_CREDENTIAL_TYPE_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AZURECOSMOSDBSINK_KAMELET_CREDENTIAL_TYPE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AZURECOSMOSDBSINK_KAMELET_CREDENTIAL_TYPE_DOC);
return conf;
}
}
\ No newline at end of file
diff --git a/connectors/camel-azure-cosmosdb-sink-kafka-connector/src/main/resources/kamelets/azure-cosmosdb-sink.kamelet.yaml b/connectors/camel-azure-cosmosdb-sink-kafka-connector/src/main/resources/kamelets/azure-cosmosdb-sink.kamelet.yaml
index 23ca040a85..237cd8f5f9 100644
--- a/connectors/camel-azure-cosmosdb-sink-kafka-connector/src/main/resources/kamelets/azure-cosmosdb-sink.kamelet.yaml
+++ b/connectors/camel-azure-cosmosdb-sink-kafka-connector/src/main/resources/kamelets/azure-cosmosdb-sink.kamelet.yaml
@@ -21,7 +21,7 @@ metadata:
name: azure-cosmosdb-sink
annotations:
camel.apache.org/kamelet.support.level: "Stable"
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxOCAxOCI+PGRlZnM+PHJhZGlhbEdyYWRpZW50IGlkPSJhIiBjeD0iLTEwNS4wMDYiIGN5PSItMTAuNDA5IiByPSI1Ljk1NCIgZ3JhZGllbnRUcmFuc2Zvcm09Im1hdHJpeCgxLjAzNiAwIDAgMS4wMjcgMTE3LjczOSAxOS42NDQpIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+PHN0b3Agb2Zmc2V0PSIuMTgzIiBzdG9wLWNvbG9yPSIjNWVhMGVmIi8+PHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjMDA3OGQ0Ii8+PC9yYWRpYWxHcmFkaWVudD48Y2xpcFBhdG [...]
camel.apache.org/provider: "Apache Software Foundation"
camel.apache.org/kamelet.group: "Azure CosmosDB"
@@ -37,10 +37,13 @@ spec:
In the headers, you can optionally set the `itemPartitionKey` / `ce-itemPartitionKey` property to specify the partition key for a specific item.
If you do not set the property in the header, you'll need to use the static property itemPartitonKey.
+
+ There are two different mechanism of authentication `SHARED_ACCOUNT_KEY` and `AZURE_IDENTITY`, you could specify with credentialType property. If you're using `SHARED_ACCOUNT_KEY` accountKey property will be needed.
+
+ In case of `AZURE_IDENTITY` selection, the DefaultAzureCredential will attempt to authenticate via the following mechanisms in the following order enviroment, Workload Identity, Managed Identity, Azure Developer CLI, IntelliJ, Azure CLI and Azure Powershell.
required:
- databaseName
- containerName
- - accountKey
- databaseEndpoint
type: object
properties:
@@ -67,6 +70,12 @@ spec:
title: Item Partition Key
description: Represents a partition key value in the Azure Cosmos DB database service. A partition key identifies the partition where the item is stored in.
type: string
+ credentialType:
+ title: Credential Type
+ description: Determines the credential strategy to adopt.
+ type: string
+ enum: ["SHARED_ACCOUNT_KEY", "AZURE_IDENTITY"]
+ default: "SHARED_ACCOUNT_KEY"
types:
in:
mediaType: application/json
@@ -102,7 +111,8 @@ spec:
- to:
uri: "azure-cosmosdb:{{databaseName}}/{{containerName}}"
parameters:
- accountKey: "{{accountKey}}"
+ accountKey: "{{?accountKey}}"
databaseEndpoint: "{{databaseEndpoint}}"
itemPartitionKey: "{{?itemPartitionKey}}"
- operation: createItem
\ No newline at end of file
+ operation: createItem
+ credentialType: "{{credentialType}}"
\ No newline at end of file
diff --git a/connectors/camel-azure-cosmosdb-source-kafka-connector/src/generated/resources/camel-azure-cosmosdb-source-source.json b/connectors/camel-azure-cosmosdb-source-kafka-connector/src/generated/resources/camel-azure-cosmosdb-source-source.json
index 2155fa35dc..57d91bbbf0 100644
--- a/connectors/camel-azure-cosmosdb-source-kafka-connector/src/generated/resources/camel-azure-cosmosdb-source-source.json
+++ b/connectors/camel-azure-cosmosdb-source-kafka-connector/src/generated/resources/camel-azure-cosmosdb-source-source.json
@@ -6,7 +6,7 @@
"id": "camel-azure-cosmosdb-source-source",
"type": "source",
"version": "4.4.2-SNAPSHOT",
- "description": "Consume Changes from a CosmosDB instance"
+ "description": "Consume Changes from a CosmosDB instance.\n\nThere are two different mechanism of authentication `SHARED_ACCOUNT_KEY` and `AZURE_IDENTITY`, you could specify with credentialType property. If you're using `SHARED_ACCOUNT_KEY` accountKey property will be needed.\n\nIn case of `AZURE_IDENTITY` selection, the DefaultAzureCredential will attempt to authenticate via the following mechanisms in the following order enviroment, Workload Identity, Managed Identity, Azure Develope [...]
},
"properties": {
"camel.kamelet.azure-cosmosdb-source.databaseName": {
@@ -24,8 +24,8 @@
"camel.kamelet.azure-cosmosdb-source.accountKey": {
"name": "camel.kamelet.azure-cosmosdb-source.accountKey",
"description": "The Azure Cosmos account Key.",
- "priority": "HIGH",
- "required": "true"
+ "priority": "MEDIUM",
+ "required": "false"
},
"camel.kamelet.azure-cosmosdb-source.leaseDatabaseName": {
"name": "camel.kamelet.azure-cosmosdb-source.leaseDatabaseName",
@@ -58,6 +58,13 @@
"description": "Sets the Azure Cosmos database endpoint the component will connect to.",
"priority": "HIGH",
"required": "true"
+ },
+ "camel.kamelet.azure-cosmosdb-source.credentialType": {
+ "name": "camel.kamelet.azure-cosmosdb-source.credentialType",
+ "description": "Determines the credential strategy to adopt.",
+ "defaultValue": "\"SHARED_ACCOUNT_KEY\"",
+ "priority": "MEDIUM",
+ "required": "false"
}
}
}
\ No newline at end of file
diff --git a/connectors/camel-azure-cosmosdb-source-kafka-connector/src/main/docs/examples/CamelAzurecosmosdbsourceSourceConnector.properties b/connectors/camel-azure-cosmosdb-source-kafka-connector/src/main/docs/examples/CamelAzurecosmosdbsourceSourceConnector.properties
index ed32dd5211..7a2ded383f 100644
--- a/connectors/camel-azure-cosmosdb-source-kafka-connector/src/main/docs/examples/CamelAzurecosmosdbsourceSourceConnector.properties
+++ b/connectors/camel-azure-cosmosdb-source-kafka-connector/src/main/docs/examples/CamelAzurecosmosdbsourceSourceConnector.properties
@@ -28,8 +28,6 @@ topics=
# mandatory properties (for a complete properties list see the connector documentation):
-# The Azure Cosmos account Key.
-camel.kamelet.azure-cosmosdb-source.accountKey=
# The Azure Cosmos container name.
camel.kamelet.azure-cosmosdb-source.containerName=
# Sets the Azure Cosmos database endpoint the component will connect to.
diff --git a/connectors/camel-azure-cosmosdb-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/azurecosmosdbsource/CamelAzurecosmosdbsourceSourceConnectorConfig.java b/connectors/camel-azure-cosmosdb-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/azurecosmosdbsource/CamelAzurecosmosdbsourceSourceConnectorConfig.java
index e8c80c9d1e..2cc03bae10 100644
--- a/connectors/camel-azure-cosmosdb-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/azurecosmosdbsource/CamelAzurecosmosdbsourceSourceConnectorConfig.java
+++ b/connectors/camel-azure-cosmosdb-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/azurecosmosdbsource/CamelAzurecosmosdbsourceSourceConnectorConfig.java
@@ -49,6 +49,9 @@ public class CamelAzurecosmosdbsourceSourceConnectorConfig
public static final String CAMEL_SOURCE_AZURECOSMOSDBSOURCE_KAMELET_DATABASE_ENDPOINT_CONF = "camel.kamelet.azure-cosmosdb-source.databaseEndpoint";
public static final String CAMEL_SOURCE_AZURECOSMOSDBSOURCE_KAMELET_DATABASE_ENDPOINT_DOC = "Sets the Azure Cosmos database endpoint the component will connect to.";
public static final String CAMEL_SOURCE_AZURECOSMOSDBSOURCE_KAMELET_DATABASE_ENDPOINT_DEFAULT = null;
+ public static final String CAMEL_SOURCE_AZURECOSMOSDBSOURCE_KAMELET_CREDENTIAL_TYPE_CONF = "camel.kamelet.azure-cosmosdb-source.credentialType";
+ public static final String CAMEL_SOURCE_AZURECOSMOSDBSOURCE_KAMELET_CREDENTIAL_TYPE_DOC = "Determines the credential strategy to adopt.";
+ public static final String CAMEL_SOURCE_AZURECOSMOSDBSOURCE_KAMELET_CREDENTIAL_TYPE_DEFAULT = "SHARED_ACCOUNT_KEY";
public CamelAzurecosmosdbsourceSourceConnectorConfig(
ConfigDef config,
@@ -65,12 +68,13 @@ public class CamelAzurecosmosdbsourceSourceConnectorConfig
ConfigDef conf = new ConfigDef(CamelSourceConnectorConfig.conf());
conf.define(CAMEL_SOURCE_AZURECOSMOSDBSOURCE_KAMELET_DATABASE_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_AZURECOSMOSDBSOURCE_KAMELET_DATABASE_NAME_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_AZURECOSMOSDBSOURCE_KAMELET_DATABASE_NAME_DOC);
conf.define(CAMEL_SOURCE_AZURECOSMOSDBSOURCE_KAMELET_CONTAINER_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_AZURECOSMOSDBSOURCE_KAMELET_CONTAINER_NAME_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_AZURECOSMOSDBSOURCE_KAMELET_CONTAINER_NAME_DOC);
- conf.define(CAMEL_SOURCE_AZURECOSMOSDBSOURCE_KAMELET_ACCOUNT_KEY_CONF, ConfigDef.Type.PASSWORD, CAMEL_SOURCE_AZURECOSMOSDBSOURCE_KAMELET_ACCOUNT_KEY_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_AZURECOSMOSDBSOURCE_KAMELET_ACCOUNT_KEY_DOC);
+ conf.define(CAMEL_SOURCE_AZURECOSMOSDBSOURCE_KAMELET_ACCOUNT_KEY_CONF, ConfigDef.Type.PASSWORD, CAMEL_SOURCE_AZURECOSMOSDBSOURCE_KAMELET_ACCOUNT_KEY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AZURECOSMOSDBSOURCE_KAMELET_ACCOUNT_KEY_DOC);
conf.define(CAMEL_SOURCE_AZURECOSMOSDBSOURCE_KAMELET_LEASE_DATABASE_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_AZURECOSMOSDBSOURCE_KAMELET_LEASE_DATABASE_NAME_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AZURECOSMOSDBSOURCE_KAMELET_LEASE_DATABASE_NAME_DOC);
conf.define(CAMEL_SOURCE_AZURECOSMOSDBSOURCE_KAMELET_LEASE_CONTAINER_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_AZURECOSMOSDBSOURCE_KAMELET_LEASE_CONTAINER_NAME_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AZURECOSMOSDBSOURCE_KAMELET_LEASE_CONTAINER_NAME_DOC);
conf.define(CAMEL_SOURCE_AZURECOSMOSDBSOURCE_KAMELET_CREATE_LEASE_DATABASE_IF_NOT_EXISTS_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_AZURECOSMOSDBSOURCE_KAMELET_CREATE_LEASE_DATABASE_IF_NOT_EXISTS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AZURECOSMOSDBSOURCE_KAMELET_CREATE_LEASE_DATABASE_IF_NOT_EXISTS_DOC);
conf.define(CAMEL_SOURCE_AZURECOSMOSDBSOURCE_KAMELET_CREATE_LEASE_CONTAINER_IF_NOT_EXISTS_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_AZURECOSMOSDBSOURCE_KAMELET_CREATE_LEASE_CONTAINER_IF_NOT_EXISTS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AZURECOSMOSDBSOURCE_KAMELET_CREATE_LEASE_CONTAINER_IF_NOT_EXISTS_DOC);
conf.define(CAMEL_SOURCE_AZURECOSMOSDBSOURCE_KAMELET_DATABASE_ENDPOINT_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_AZURECOSMOSDBSOURCE_KAMELET_DATABASE_ENDPOINT_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_AZURECOSMOSDBSOURCE_KAMELET_DATABASE_ENDPOINT_DOC);
+ conf.define(CAMEL_SOURCE_AZURECOSMOSDBSOURCE_KAMELET_CREDENTIAL_TYPE_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_AZURECOSMOSDBSOURCE_KAMELET_CREDENTIAL_TYPE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AZURECOSMOSDBSOURCE_KAMELET_CREDENTIAL_TYPE_DOC);
return conf;
}
}
\ No newline at end of file
diff --git a/connectors/camel-azure-cosmosdb-source-kafka-connector/src/main/resources/kamelets/azure-cosmosdb-source.kamelet.yaml b/connectors/camel-azure-cosmosdb-source-kafka-connector/src/main/resources/kamelets/azure-cosmosdb-source.kamelet.yaml
index 0373703e62..ff2ee37ff5 100644
--- a/connectors/camel-azure-cosmosdb-source-kafka-connector/src/main/resources/kamelets/azure-cosmosdb-source.kamelet.yaml
+++ b/connectors/camel-azure-cosmosdb-source-kafka-connector/src/main/resources/kamelets/azure-cosmosdb-source.kamelet.yaml
@@ -21,7 +21,7 @@ metadata:
name: azure-cosmosdb-source
annotations:
camel.apache.org/kamelet.support.level: "Stable"
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxOCAxOCI+PGRlZnM+PHJhZGlhbEdyYWRpZW50IGlkPSJhIiBjeD0iLTEwNS4wMDYiIGN5PSItMTAuNDA5IiByPSI1Ljk1NCIgZ3JhZGllbnRUcmFuc2Zvcm09Im1hdHJpeCgxLjAzNiAwIDAgMS4wMjcgMTE3LjczOSAxOS42NDQpIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+PHN0b3Agb2Zmc2V0PSIuMTgzIiBzdG9wLWNvbG9yPSIjNWVhMGVmIi8+PHN0b3Agb2Zmc2V0PSIxIiBzdG9wLWNvbG9yPSIjMDA3OGQ0Ii8+PC9yYWRpYWxHcmFkaWVudD48Y2xpcFBhdG [...]
camel.apache.org/provider: "Apache Software Foundation"
camel.apache.org/kamelet.group: "Azure CosmosDB"
@@ -32,11 +32,14 @@ spec:
definition:
title: "Azure CosmosDB Source"
description: |-
- Consume Changes from a CosmosDB instance
+ Consume Changes from a CosmosDB instance.
+
+ There are two different mechanism of authentication `SHARED_ACCOUNT_KEY` and `AZURE_IDENTITY`, you could specify with credentialType property. If you're using `SHARED_ACCOUNT_KEY` accountKey property will be needed.
+
+ In case of `AZURE_IDENTITY` selection, the DefaultAzureCredential will attempt to authenticate via the following mechanisms in the following order enviroment, Workload Identity, Managed Identity, Azure Developer CLI, IntelliJ, Azure CLI and Azure Powershell.
required:
- databaseName
- containerName
- - accountKey
- databaseEndpoint
type: object
properties:
@@ -77,6 +80,12 @@ spec:
title: Database Endpoint
description: Sets the Azure Cosmos database endpoint the component will connect to.
type: string
+ credentialType:
+ title: Credential Type
+ description: Determines the credential strategy to adopt.
+ type: string
+ enum: ["SHARED_ACCOUNT_KEY", "AZURE_IDENTITY"]
+ default: "SHARED_ACCOUNT_KEY"
types:
out:
mediaType: application/json
@@ -90,10 +99,11 @@ spec:
parameters:
leaseDatabaseName: "{{?leaseDatabaseName}}"
leaseContainerName: "{{?leaseContainerName}}"
- accountKey: "{{accountKey}}"
+ accountKey: "{{?accountKey}}"
createLeaseDatabaseIfNotExists: "{{createLeaseDatabaseIfNotExists}}"
createLeaseContainerIfNotExists: "{{createLeaseContainerIfNotExists}}"
databaseEndpoint: "{{databaseEndpoint}}"
+ credentialType: "{{credentialType}}"
steps:
- marshal:
json: {}
diff --git a/connectors/camel-azure-eventhubs-sink-kafka-connector/src/generated/resources/camel-azure-eventhubs-sink-sink.json b/connectors/camel-azure-eventhubs-sink-kafka-connector/src/generated/resources/camel-azure-eventhubs-sink-sink.json
index 743eeb2d02..7f7455983d 100644
--- a/connectors/camel-azure-eventhubs-sink-kafka-connector/src/generated/resources/camel-azure-eventhubs-sink-sink.json
+++ b/connectors/camel-azure-eventhubs-sink-kafka-connector/src/generated/resources/camel-azure-eventhubs-sink-sink.json
@@ -6,7 +6,7 @@
"id": "camel-azure-eventhubs-sink-sink",
"type": "sink",
"version": "4.4.2-SNAPSHOT",
- "description": "Send events to Azure Event Hubs.\n\nThe Kamelet checks for the `partition-id` \/ `ce-partition-id` header which is an identifier of the Event Hub partition that the event will be sent to. If the identifier is not specified, the Event Hubs service will be responsible for routing events that are sent to an available partition.\n \nA header is optional. If the header is not set, the partition is assigned by Event Hubs."
+ "description": "Send events to Azure Event Hubs.\n\nThe Kamelet checks for the `partition-id` \/ `ce-partition-id` header which is an identifier of the Event Hub partition that the event will be sent to. If the identifier is not specified, the Event Hubs service will be responsible for routing events that are sent to an available partition.\n \nA header is optional. If the header is not set, the partition is assigned by Event Hubs.\n\nThere are two different mechanism of authenticati [...]
},
"properties": {
"camel.kamelet.azure-eventhubs-sink.namespaceName": {
@@ -24,14 +24,21 @@
"camel.kamelet.azure-eventhubs-sink.sharedAccessName": {
"name": "camel.kamelet.azure-eventhubs-sink.sharedAccessName",
"description": "The Event Hubs SAS key name.",
- "priority": "HIGH",
- "required": "true"
+ "priority": "MEDIUM",
+ "required": "false"
},
"camel.kamelet.azure-eventhubs-sink.sharedAccessKey": {
"name": "camel.kamelet.azure-eventhubs-sink.sharedAccessKey",
"description": "The key for the Event Hubs SAS key name.",
- "priority": "HIGH",
- "required": "true"
+ "priority": "MEDIUM",
+ "required": "false"
+ },
+ "camel.kamelet.azure-eventhubs-sink.credentialType": {
+ "name": "camel.kamelet.azure-eventhubs-sink.credentialType",
+ "description": "Determines the credential strategy to adopt.",
+ "defaultValue": "\"CONNECTION_STRING\"",
+ "priority": "MEDIUM",
+ "required": "false"
}
}
}
\ No newline at end of file
diff --git a/connectors/camel-azure-eventhubs-sink-kafka-connector/src/main/docs/examples/CamelAzureeventhubssinkSinkConnector.properties b/connectors/camel-azure-eventhubs-sink-kafka-connector/src/main/docs/examples/CamelAzureeventhubssinkSinkConnector.properties
index 636225b234..f144eba26d 100644
--- a/connectors/camel-azure-eventhubs-sink-kafka-connector/src/main/docs/examples/CamelAzureeventhubssinkSinkConnector.properties
+++ b/connectors/camel-azure-eventhubs-sink-kafka-connector/src/main/docs/examples/CamelAzureeventhubssinkSinkConnector.properties
@@ -32,7 +32,3 @@ topics=
camel.kamelet.azure-eventhubs-sink.eventhubName=
# The Event Hubs namespace.
camel.kamelet.azure-eventhubs-sink.namespaceName=
-# The key for the Event Hubs SAS key name.
-camel.kamelet.azure-eventhubs-sink.sharedAccessKey=
-# The Event Hubs SAS key name.
-camel.kamelet.azure-eventhubs-sink.sharedAccessName=
diff --git a/connectors/camel-azure-eventhubs-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/azureeventhubssink/CamelAzureeventhubssinkSinkConnectorConfig.java b/connectors/camel-azure-eventhubs-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/azureeventhubssink/CamelAzureeventhubssinkSinkConnectorConfig.java
index 4d1af6cbee..e83ad807b9 100644
--- a/connectors/camel-azure-eventhubs-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/azureeventhubssink/CamelAzureeventhubssinkSinkConnectorConfig.java
+++ b/connectors/camel-azure-eventhubs-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/azureeventhubssink/CamelAzureeventhubssinkSinkConnectorConfig.java
@@ -37,6 +37,9 @@ public class CamelAzureeventhubssinkSinkConnectorConfig
public static final String CAMEL_SINK_AZUREEVENTHUBSSINK_KAMELET_SHARED_ACCESS_KEY_CONF = "camel.kamelet.azure-eventhubs-sink.sharedAccessKey";
public static final String CAMEL_SINK_AZUREEVENTHUBSSINK_KAMELET_SHARED_ACCESS_KEY_DOC = "The key for the Event Hubs SAS key name.";
public static final String CAMEL_SINK_AZUREEVENTHUBSSINK_KAMELET_SHARED_ACCESS_KEY_DEFAULT = null;
+ public static final String CAMEL_SINK_AZUREEVENTHUBSSINK_KAMELET_CREDENTIAL_TYPE_CONF = "camel.kamelet.azure-eventhubs-sink.credentialType";
+ public static final String CAMEL_SINK_AZUREEVENTHUBSSINK_KAMELET_CREDENTIAL_TYPE_DOC = "Determines the credential strategy to adopt.";
+ public static final String CAMEL_SINK_AZUREEVENTHUBSSINK_KAMELET_CREDENTIAL_TYPE_DEFAULT = "CONNECTION_STRING";
public CamelAzureeventhubssinkSinkConnectorConfig(
ConfigDef config,
@@ -53,8 +56,9 @@ public class CamelAzureeventhubssinkSinkConnectorConfig
ConfigDef conf = new ConfigDef(CamelSinkConnectorConfig.conf());
conf.define(CAMEL_SINK_AZUREEVENTHUBSSINK_KAMELET_NAMESPACE_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AZUREEVENTHUBSSINK_KAMELET_NAMESPACE_NAME_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_AZUREEVENTHUBSSINK_KAMELET_NAMESPACE_NAME_DOC);
conf.define(CAMEL_SINK_AZUREEVENTHUBSSINK_KAMELET_EVENTHUB_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AZUREEVENTHUBSSINK_KAMELET_EVENTHUB_NAME_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_AZUREEVENTHUBSSINK_KAMELET_EVENTHUB_NAME_DOC);
- conf.define(CAMEL_SINK_AZUREEVENTHUBSSINK_KAMELET_SHARED_ACCESS_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AZUREEVENTHUBSSINK_KAMELET_SHARED_ACCESS_NAME_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_AZUREEVENTHUBSSINK_KAMELET_SHARED_ACCESS_NAME_DOC);
- conf.define(CAMEL_SINK_AZUREEVENTHUBSSINK_KAMELET_SHARED_ACCESS_KEY_CONF, ConfigDef.Type.PASSWORD, CAMEL_SINK_AZUREEVENTHUBSSINK_KAMELET_SHARED_ACCESS_KEY_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_AZUREEVENTHUBSSINK_KAMELET_SHARED_ACCESS_KEY_DOC);
+ conf.define(CAMEL_SINK_AZUREEVENTHUBSSINK_KAMELET_SHARED_ACCESS_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AZUREEVENTHUBSSINK_KAMELET_SHARED_ACCESS_NAME_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AZUREEVENTHUBSSINK_KAMELET_SHARED_ACCESS_NAME_DOC);
+ conf.define(CAMEL_SINK_AZUREEVENTHUBSSINK_KAMELET_SHARED_ACCESS_KEY_CONF, ConfigDef.Type.PASSWORD, CAMEL_SINK_AZUREEVENTHUBSSINK_KAMELET_SHARED_ACCESS_KEY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AZUREEVENTHUBSSINK_KAMELET_SHARED_ACCESS_KEY_DOC);
+ conf.define(CAMEL_SINK_AZUREEVENTHUBSSINK_KAMELET_CREDENTIAL_TYPE_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AZUREEVENTHUBSSINK_KAMELET_CREDENTIAL_TYPE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AZUREEVENTHUBSSINK_KAMELET_CREDENTIAL_TYPE_DOC);
return conf;
}
}
\ No newline at end of file
diff --git a/connectors/camel-azure-eventhubs-sink-kafka-connector/src/main/resources/kamelets/azure-eventhubs-sink.kamelet.yaml b/connectors/camel-azure-eventhubs-sink-kafka-connector/src/main/resources/kamelets/azure-eventhubs-sink.kamelet.yaml
index 048ff4d66e..abd41a8c7a 100644
--- a/connectors/camel-azure-eventhubs-sink-kafka-connector/src/main/resources/kamelets/azure-eventhubs-sink.kamelet.yaml
+++ b/connectors/camel-azure-eventhubs-sink-kafka-connector/src/main/resources/kamelets/azure-eventhubs-sink.kamelet.yaml
@@ -21,7 +21,7 @@ metadata:
name: azure-eventhubs-sink
annotations:
camel.apache.org/kamelet.support.level: "Stable"
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjI1MDAiIHZpZXdCb3g9Ii0uMDc1IC0uMTc0IDE1OC40IDE2My4xMDEiIHdpZHRoPSIyNDM5IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxnIGZpbGw9IiMwMDZmZDQiPjxwYXRoIGQ9Im02LjIyNS4wMjZoMTQ2LjZjMS4zIDAgMy0uMiA0LjEuNS45LjYuOCAxLjUuOCAyLjR2MzEuOGMwIC45LS4xIDEuOC0uOCAyLjQtLjguOC0xLjcuOC0yLjguOGgtMTQuMWMtMS4yIDAtMi40LS4xLTMuMi0xLS43LS44LS43LTEuOS0uNy0yLjl2LTEyLjVoLTExNHYxMi44YzAgMS0uMSAyLS44IDIuOC0uOC44LTEuOC44LTIuOC44aC0xNC44Yy [...]
camel.apache.org/provider: "Apache Software Foundation"
camel.apache.org/kamelet.group: "Azure Eventhubs"
@@ -37,11 +37,13 @@ spec:
The Kamelet checks for the `partition-id` / `ce-partition-id` header which is an identifier of the Event Hub partition that the event will be sent to. If the identifier is not specified, the Event Hubs service will be responsible for routing events that are sent to an available partition.
A header is optional. If the header is not set, the partition is assigned by Event Hubs.
+
+ There are two different mechanism of authentication `CONNECTION_STRING` and `AZURE_IDENTITY`, you could specify with credentialType property. If you're using `CONNECTION_STRING` sharedAccessName and sharedAccessKey properties will be needed.
+
+ In case of `AZURE_IDENTITY` selection, the DefaultAzureCredential will attempt to authenticate via the following mechanisms in the following order enviroment, Workload Identity, Managed Identity, Azure Developer CLI, IntelliJ, Azure CLI and Azure Powershell.
required:
- namespaceName
- eventhubName
- - sharedAccessName
- - sharedAccessKey
type: object
properties:
namespaceName:
@@ -65,6 +67,12 @@ spec:
format: password
x-descriptors:
- urn:camel:group:credentials
+ credentialType:
+ title: Credential Type
+ description: Determines the credential strategy to adopt.
+ type: string
+ enum: ["CONNECTION_STRING", "AZURE_IDENTITY"]
+ default: "CONNECTION_STRING"
dependencies:
- "camel:core"
- "camel:azure-eventhubs"
@@ -88,5 +96,6 @@ spec:
- to:
uri: "azure-eventhubs://{{namespaceName}}/{{eventhubName}}"
parameters:
- sharedAccessName: "{{sharedAccessName}}"
- sharedAccessKey: "{{sharedAccessKey}}"
\ No newline at end of file
+ sharedAccessName: "{{?sharedAccessName}}"
+ sharedAccessKey: "{{?sharedAccessKey}}"
+ credentialType: "{{credentialType}}"
\ No newline at end of file
diff --git a/connectors/camel-azure-eventhubs-source-kafka-connector/src/generated/resources/camel-azure-eventhubs-source-source.json b/connectors/camel-azure-eventhubs-source-kafka-connector/src/generated/resources/camel-azure-eventhubs-source-source.json
index c9520f62ef..c82204bba2 100644
--- a/connectors/camel-azure-eventhubs-source-kafka-connector/src/generated/resources/camel-azure-eventhubs-source-source.json
+++ b/connectors/camel-azure-eventhubs-source-kafka-connector/src/generated/resources/camel-azure-eventhubs-source-source.json
@@ -6,7 +6,7 @@
"id": "camel-azure-eventhubs-source-source",
"type": "source",
"version": "4.4.2-SNAPSHOT",
- "description": "Receive events from Azure Event Hubs."
+ "description": "Receive events from Azure Event Hubs.\n\nThere are two different mechanism of authentication `CONNECTION_STRING` and `AZURE_IDENTITY`, you could specify with credentialType property. If you're using `CONNECTION_STRING` sharedAccessName and sharedAccessKey properties will be needed.\n\nIn case of `AZURE_IDENTITY` selection, the DefaultAzureCredential will attempt to authenticate via the following mechanisms in the following order enviroment, Workload Identity, Managed Id [...]
},
"properties": {
"camel.kamelet.azure-eventhubs-source.namespaceName": {
@@ -24,14 +24,14 @@
"camel.kamelet.azure-eventhubs-source.sharedAccessName": {
"name": "camel.kamelet.azure-eventhubs-source.sharedAccessName",
"description": "The Event Hubs SAS key name.",
- "priority": "HIGH",
- "required": "true"
+ "priority": "MEDIUM",
+ "required": "false"
},
"camel.kamelet.azure-eventhubs-source.sharedAccessKey": {
"name": "camel.kamelet.azure-eventhubs-source.sharedAccessKey",
"description": "The key for the Event Hubs SAS key name.",
- "priority": "HIGH",
- "required": "true"
+ "priority": "MEDIUM",
+ "required": "false"
},
"camel.kamelet.azure-eventhubs-source.blobAccountName": {
"name": "camel.kamelet.azure-eventhubs-source.blobAccountName",
@@ -50,6 +50,13 @@
"description": "The key for the Azure Storage Blob service that is associated with the Storage Blob account name.",
"priority": "HIGH",
"required": "true"
+ },
+ "camel.kamelet.azure-eventhubs-source.credentialType": {
+ "name": "camel.kamelet.azure-eventhubs-source.credentialType",
+ "description": "Determines the credential strategy to adopt.",
+ "defaultValue": "\"CONNECTION_STRING\"",
+ "priority": "MEDIUM",
+ "required": "false"
}
}
}
\ No newline at end of file
diff --git a/connectors/camel-azure-eventhubs-source-kafka-connector/src/main/docs/examples/CamelAzureeventhubssourceSourceConnector.properties b/connectors/camel-azure-eventhubs-source-kafka-connector/src/main/docs/examples/CamelAzureeventhubssourceSourceConnector.properties
index ed71ad1df8..80aa93398a 100644
--- a/connectors/camel-azure-eventhubs-source-kafka-connector/src/main/docs/examples/CamelAzureeventhubssourceSourceConnector.properties
+++ b/connectors/camel-azure-eventhubs-source-kafka-connector/src/main/docs/examples/CamelAzureeventhubssourceSourceConnector.properties
@@ -38,7 +38,3 @@ camel.kamelet.azure-eventhubs-source.blobContainerName=
camel.kamelet.azure-eventhubs-source.eventhubName=
# The Event Hubs namespace.
camel.kamelet.azure-eventhubs-source.namespaceName=
-# The key for the Event Hubs SAS key name.
-camel.kamelet.azure-eventhubs-source.sharedAccessKey=
-# The Event Hubs SAS key name.
-camel.kamelet.azure-eventhubs-source.sharedAccessName=
diff --git a/connectors/camel-azure-eventhubs-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/azureeventhubssource/CamelAzureeventhubssourceSourceConnectorConfig.java b/connectors/camel-azure-eventhubs-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/azureeventhubssource/CamelAzureeventhubssourceSourceConnectorConfig.java
index a66e03fa55..495f82ccff 100644
--- a/connectors/camel-azure-eventhubs-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/azureeventhubssource/CamelAzureeventhubssourceSourceConnectorConfig.java
+++ b/connectors/camel-azure-eventhubs-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/azureeventhubssource/CamelAzureeventhubssourceSourceConnectorConfig.java
@@ -46,6 +46,9 @@ public class CamelAzureeventhubssourceSourceConnectorConfig
public static final String CAMEL_SOURCE_AZUREEVENTHUBSSOURCE_KAMELET_BLOB_ACCESS_KEY_CONF = "camel.kamelet.azure-eventhubs-source.blobAccessKey";
public static final String CAMEL_SOURCE_AZUREEVENTHUBSSOURCE_KAMELET_BLOB_ACCESS_KEY_DOC = "The key for the Azure Storage Blob service that is associated with the Storage Blob account name.";
public static final String CAMEL_SOURCE_AZUREEVENTHUBSSOURCE_KAMELET_BLOB_ACCESS_KEY_DEFAULT = null;
+ public static final String CAMEL_SOURCE_AZUREEVENTHUBSSOURCE_KAMELET_CREDENTIAL_TYPE_CONF = "camel.kamelet.azure-eventhubs-source.credentialType";
+ public static final String CAMEL_SOURCE_AZUREEVENTHUBSSOURCE_KAMELET_CREDENTIAL_TYPE_DOC = "Determines the credential strategy to adopt.";
+ public static final String CAMEL_SOURCE_AZUREEVENTHUBSSOURCE_KAMELET_CREDENTIAL_TYPE_DEFAULT = "CONNECTION_STRING";
public CamelAzureeventhubssourceSourceConnectorConfig(
ConfigDef config,
@@ -62,11 +65,12 @@ public class CamelAzureeventhubssourceSourceConnectorConfig
ConfigDef conf = new ConfigDef(CamelSourceConnectorConfig.conf());
conf.define(CAMEL_SOURCE_AZUREEVENTHUBSSOURCE_KAMELET_NAMESPACE_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_AZUREEVENTHUBSSOURCE_KAMELET_NAMESPACE_NAME_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_AZUREEVENTHUBSSOURCE_KAMELET_NAMESPACE_NAME_DOC);
conf.define(CAMEL_SOURCE_AZUREEVENTHUBSSOURCE_KAMELET_EVENTHUB_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_AZUREEVENTHUBSSOURCE_KAMELET_EVENTHUB_NAME_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_AZUREEVENTHUBSSOURCE_KAMELET_EVENTHUB_NAME_DOC);
- conf.define(CAMEL_SOURCE_AZUREEVENTHUBSSOURCE_KAMELET_SHARED_ACCESS_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_AZUREEVENTHUBSSOURCE_KAMELET_SHARED_ACCESS_NAME_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_AZUREEVENTHUBSSOURCE_KAMELET_SHARED_ACCESS_NAME_DOC);
- conf.define(CAMEL_SOURCE_AZUREEVENTHUBSSOURCE_KAMELET_SHARED_ACCESS_KEY_CONF, ConfigDef.Type.PASSWORD, CAMEL_SOURCE_AZUREEVENTHUBSSOURCE_KAMELET_SHARED_ACCESS_KEY_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_AZUREEVENTHUBSSOURCE_KAMELET_SHARED_ACCESS_KEY_DOC);
+ conf.define(CAMEL_SOURCE_AZUREEVENTHUBSSOURCE_KAMELET_SHARED_ACCESS_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_AZUREEVENTHUBSSOURCE_KAMELET_SHARED_ACCESS_NAME_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AZUREEVENTHUBSSOURCE_KAMELET_SHARED_ACCESS_NAME_DOC);
+ conf.define(CAMEL_SOURCE_AZUREEVENTHUBSSOURCE_KAMELET_SHARED_ACCESS_KEY_CONF, ConfigDef.Type.PASSWORD, CAMEL_SOURCE_AZUREEVENTHUBSSOURCE_KAMELET_SHARED_ACCESS_KEY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AZUREEVENTHUBSSOURCE_KAMELET_SHARED_ACCESS_KEY_DOC);
conf.define(CAMEL_SOURCE_AZUREEVENTHUBSSOURCE_KAMELET_BLOB_ACCOUNT_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_AZUREEVENTHUBSSOURCE_KAMELET_BLOB_ACCOUNT_NAME_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_AZUREEVENTHUBSSOURCE_KAMELET_BLOB_ACCOUNT_NAME_DOC);
conf.define(CAMEL_SOURCE_AZUREEVENTHUBSSOURCE_KAMELET_BLOB_CONTAINER_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_AZUREEVENTHUBSSOURCE_KAMELET_BLOB_CONTAINER_NAME_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_AZUREEVENTHUBSSOURCE_KAMELET_BLOB_CONTAINER_NAME_DOC);
conf.define(CAMEL_SOURCE_AZUREEVENTHUBSSOURCE_KAMELET_BLOB_ACCESS_KEY_CONF, ConfigDef.Type.PASSWORD, CAMEL_SOURCE_AZUREEVENTHUBSSOURCE_KAMELET_BLOB_ACCESS_KEY_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_AZUREEVENTHUBSSOURCE_KAMELET_BLOB_ACCESS_KEY_DOC);
+ conf.define(CAMEL_SOURCE_AZUREEVENTHUBSSOURCE_KAMELET_CREDENTIAL_TYPE_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_AZUREEVENTHUBSSOURCE_KAMELET_CREDENTIAL_TYPE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AZUREEVENTHUBSSOURCE_KAMELET_CREDENTIAL_TYPE_DOC);
return conf;
}
}
\ No newline at end of file
diff --git a/connectors/camel-azure-eventhubs-source-kafka-connector/src/main/resources/kamelets/azure-eventhubs-source.kamelet.yaml b/connectors/camel-azure-eventhubs-source-kafka-connector/src/main/resources/kamelets/azure-eventhubs-source.kamelet.yaml
index 1762123424..1c856ee411 100644
--- a/connectors/camel-azure-eventhubs-source-kafka-connector/src/main/resources/kamelets/azure-eventhubs-source.kamelet.yaml
+++ b/connectors/camel-azure-eventhubs-source-kafka-connector/src/main/resources/kamelets/azure-eventhubs-source.kamelet.yaml
@@ -21,7 +21,7 @@ metadata:
name: azure-eventhubs-source
annotations:
camel.apache.org/kamelet.support.level: "Stable"
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjI1MDAiIHZpZXdCb3g9Ii0uMDc1IC0uMTc0IDE1OC40IDE2My4xMDEiIHdpZHRoPSIyNDM5IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxnIGZpbGw9IiMwMDZmZDQiPjxwYXRoIGQ9Im02LjIyNS4wMjZoMTQ2LjZjMS4zIDAgMy0uMiA0LjEuNS45LjYuOCAxLjUuOCAyLjR2MzEuOGMwIC45LS4xIDEuOC0uOCAyLjQtLjguOC0xLjcuOC0yLjguOGgtMTQuMWMtMS4yIDAtMi40LS4xLTMuMi0xLS43LS44LS43LTEuOS0uNy0yLjl2LTEyLjVoLTExNHYxMi44YzAgMS0uMSAyLS44IDIuOC0uOC44LTEuOC44LTIuOC44aC0xNC44Yy [...]
camel.apache.org/provider: "Apache Software Foundation"
camel.apache.org/kamelet.group: "Azure Eventhubs"
@@ -33,11 +33,13 @@ spec:
title: "Azure Eventhubs Source"
description: |-
Receive events from Azure Event Hubs.
+
+ There are two different mechanism of authentication `CONNECTION_STRING` and `AZURE_IDENTITY`, you could specify with credentialType property. If you're using `CONNECTION_STRING` sharedAccessName and sharedAccessKey properties will be needed.
+
+ In case of `AZURE_IDENTITY` selection, the DefaultAzureCredential will attempt to authenticate via the following mechanisms in the following order enviroment, Workload Identity, Managed Identity, Azure Developer CLI, IntelliJ, Azure CLI and Azure Powershell.
required:
- namespaceName
- eventhubName
- - sharedAccessName
- - sharedAccessKey
- blobAccountName
- blobAccessKey
- blobContainerName
@@ -79,6 +81,12 @@ spec:
format: password
x-descriptors:
- urn:camel:group:credentials
+ credentialType:
+ title: Credential Type
+ description: Determines the credential strategy to adopt.
+ type: string
+ enum: ["CONNECTION_STRING", "AZURE_IDENTITY"]
+ default: "CONNECTION_STRING"
types:
out:
mediaType: application/octet-stream
@@ -90,10 +98,11 @@ spec:
from:
uri: 'azure-eventhubs://{{namespaceName}}/{{eventhubName}}'
parameters:
- sharedAccessName: "{{sharedAccessName}}"
- sharedAccessKey: "{{sharedAccessKey}}"
+ sharedAccessName: "{{?sharedAccessName}}"
+ sharedAccessKey: "{{?sharedAccessKey}}"
blobAccountName: "{{blobAccountName}}"
blobAccessKey: "{{blobAccessKey}}"
blobContainerName: "{{blobContainerName}}"
+ credentialType: "{{credentialType}}"
steps:
- to: "kamelet:sink"
\ No newline at end of file
diff --git a/connectors/camel-azure-functions-sink-kafka-connector/src/main/resources/kamelets/azure-functions-sink.kamelet.yaml b/connectors/camel-azure-functions-sink-kafka-connector/src/main/resources/kamelets/azure-functions-sink.kamelet.yaml
index 976bd5bbce..6b3e8c34b1 100644
--- a/connectors/camel-azure-functions-sink-kafka-connector/src/main/resources/kamelets/azure-functions-sink.kamelet.yaml
+++ b/connectors/camel-azure-functions-sink-kafka-connector/src/main/resources/kamelets/azure-functions-sink.kamelet.yaml
@@ -20,7 +20,7 @@ metadata:
name: azure-functions-sink
annotations:
camel.apache.org/kamelet.support.level: "Stable"
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjE4LjI0IDIxLjQ2IDY0IDY0IiB3aWR0aD0iNjQiIGhlaWdodD0iNjQiPjxwYXRoIGQ9Ik04MS44MzcgNTMuODVjLjU4NS0uNTg1LjQ4Ny0xLjcgMC0yLjMwN2wtMy4wODctMy4wODctMTMuOC0xMy4zODZjLS41ODUtLjU4NS0xLjQ5NS0uNTg1LTIuMiAwLS41ODUuNTg1LS44MTIgMS43IDAgMi4zMDdsMTQuNSAxNC4xOThjLjU4NS41ODUuNTg1IDEuNyAwIDIuMzA3TDYyLjQ0IDY4LjU2OGMtLjU4NS41ODUtLjU4NSAxLjcgMCAyLjMwNy41ODUuNTg1IDEuNy40ODcgMi4yIDBsMTMuOC [...]
camel.apache.org/provider: "Apache Software Foundation"
camel.apache.org/kamelet.group: "Azure Functions"
diff --git a/connectors/camel-azure-servicebus-sink-kafka-connector/src/generated/resources/camel-azure-servicebus-sink-sink.json b/connectors/camel-azure-servicebus-sink-kafka-connector/src/generated/resources/camel-azure-servicebus-sink-sink.json
index b3d0f47e99..69252280e2 100644
--- a/connectors/camel-azure-servicebus-sink-kafka-connector/src/generated/resources/camel-azure-servicebus-sink-sink.json
+++ b/connectors/camel-azure-servicebus-sink-kafka-connector/src/generated/resources/camel-azure-servicebus-sink-sink.json
@@ -27,6 +27,13 @@
"defaultValue": "\"queue\"",
"priority": "MEDIUM",
"required": "false"
+ },
+ "camel.kamelet.azure-servicebus-sink.credentialType": {
+ "name": "camel.kamelet.azure-servicebus-sink.credentialType",
+ "description": "Determines the credential strategy to adopt.",
+ "defaultValue": "\"CONNECTION_STRING\"",
+ "priority": "MEDIUM",
+ "required": "false"
}
}
}
\ No newline at end of file
diff --git a/connectors/camel-azure-servicebus-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/azureservicebussink/CamelAzureservicebussinkSinkConnectorConfig.java b/connectors/camel-azure-servicebus-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/azureservicebussink/CamelAzureservicebussinkSinkConnectorConfig.java
index 773055cf34..23e93e5e84 100644
--- a/connectors/camel-azure-servicebus-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/azureservicebussink/CamelAzureservicebussinkSinkConnectorConfig.java
+++ b/connectors/camel-azure-servicebus-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/azureservicebussink/CamelAzureservicebussinkSinkConnectorConfig.java
@@ -34,6 +34,9 @@ public class CamelAzureservicebussinkSinkConnectorConfig
public static final String CAMEL_SINK_AZURESERVICEBUSSINK_KAMELET_SERVICE_BUS_TYPE_CONF = "camel.kamelet.azure-servicebus-sink.serviceBusType";
public static final String CAMEL_SINK_AZURESERVICEBUSSINK_KAMELET_SERVICE_BUS_TYPE_DOC = "The service bus type of connection to execute. Queue is for typical queue option and topic for subscription based model.";
public static final String CAMEL_SINK_AZURESERVICEBUSSINK_KAMELET_SERVICE_BUS_TYPE_DEFAULT = "queue";
+ public static final String CAMEL_SINK_AZURESERVICEBUSSINK_KAMELET_CREDENTIAL_TYPE_CONF = "camel.kamelet.azure-servicebus-sink.credentialType";
+ public static final String CAMEL_SINK_AZURESERVICEBUSSINK_KAMELET_CREDENTIAL_TYPE_DOC = "Determines the credential strategy to adopt.";
+ public static final String CAMEL_SINK_AZURESERVICEBUSSINK_KAMELET_CREDENTIAL_TYPE_DEFAULT = "CONNECTION_STRING";
public CamelAzureservicebussinkSinkConnectorConfig(
ConfigDef config,
@@ -51,6 +54,7 @@ public class CamelAzureservicebussinkSinkConnectorConfig
conf.define(CAMEL_SINK_AZURESERVICEBUSSINK_KAMELET_TOPIC_OR_QUEUE_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AZURESERVICEBUSSINK_KAMELET_TOPIC_OR_QUEUE_NAME_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_AZURESERVICEBUSSINK_KAMELET_TOPIC_OR_QUEUE_NAME_DOC);
conf.define(CAMEL_SINK_AZURESERVICEBUSSINK_KAMELET_CONNECTION_STRING_CONF, ConfigDef.Type.PASSWORD, CAMEL_SINK_AZURESERVICEBUSSINK_KAMELET_CONNECTION_STRING_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_AZURESERVICEBUSSINK_KAMELET_CONNECTION_STRING_DOC);
conf.define(CAMEL_SINK_AZURESERVICEBUSSINK_KAMELET_SERVICE_BUS_TYPE_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AZURESERVICEBUSSINK_KAMELET_SERVICE_BUS_TYPE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AZURESERVICEBUSSINK_KAMELET_SERVICE_BUS_TYPE_DOC);
+ conf.define(CAMEL_SINK_AZURESERVICEBUSSINK_KAMELET_CREDENTIAL_TYPE_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AZURESERVICEBUSSINK_KAMELET_CREDENTIAL_TYPE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AZURESERVICEBUSSINK_KAMELET_CREDENTIAL_TYPE_DOC);
return conf;
}
}
\ No newline at end of file
diff --git a/connectors/camel-azure-servicebus-sink-kafka-connector/src/main/resources/kamelets/azure-servicebus-sink.kamelet.yaml b/connectors/camel-azure-servicebus-sink-kafka-connector/src/main/resources/kamelets/azure-servicebus-sink.kamelet.yaml
index d01f58efd8..e6e4de1890 100644
--- a/connectors/camel-azure-servicebus-sink-kafka-connector/src/main/resources/kamelets/azure-servicebus-sink.kamelet.yaml
+++ b/connectors/camel-azure-servicebus-sink-kafka-connector/src/main/resources/kamelets/azure-servicebus-sink.kamelet.yaml
@@ -21,7 +21,7 @@ metadata:
name: azure-servicebus-sink
annotations:
camel.apache.org/kamelet.support.level: "Stable"
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2aWV3Qm94PSIwIDAgODEgODIiIGZpbGw9IiNmZmYiIGZpbGwtcnVsZT0iZXZlbm9kZCIgc3Ryb2tlPSIjMDAwIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPjx1c2UgeGxpbms6aHJlZj0iI0EiIHg9Ii41IiB5PSIuNSIvPjxzeW1ib2wgaWQ9IkEiIG92ZXJmbG93PSJ2aXNpYmxlIj48cGF0aCBkPSJNMS4zMzMgMEMuNTMzIDAgMCAuNTMzIDAgMS4zMzN2MTZjMCAuOC41MzMgMS4zMz [...]
camel.apache.org/provider: "Apache Software Foundation"
camel.apache.org/kamelet.group: "Azure Servicebus"
@@ -55,6 +55,12 @@ spec:
type: string
default: queue
enum: ["queue", "topic"]
+ credentialType:
+ title: Credential Type
+ description: Determines the credential strategy to adopt.
+ type: string
+ enum: ["AZURE_IDENTITY", "CONNECTION_STRING", "TOKEN_CREDENTIAL"]
+ default: "CONNECTION_STRING"
types:
in:
mediaType: application/octet-stream
@@ -71,4 +77,5 @@ spec:
parameters:
connectionString: "{{connectionString}}"
serviceBusType: "{{serviceBusType}}"
- producerOperation: "sendMessages"
\ No newline at end of file
+ producerOperation: "sendMessages"
+ credentialType: "{{credentialType}}"
\ No newline at end of file
diff --git a/connectors/camel-azure-servicebus-source-kafka-connector/src/generated/resources/camel-azure-servicebus-source-source.json b/connectors/camel-azure-servicebus-source-kafka-connector/src/generated/resources/camel-azure-servicebus-source-source.json
index 4626f50f83..1da0972ed5 100644
--- a/connectors/camel-azure-servicebus-source-kafka-connector/src/generated/resources/camel-azure-servicebus-source-source.json
+++ b/connectors/camel-azure-servicebus-source-kafka-connector/src/generated/resources/camel-azure-servicebus-source-source.json
@@ -40,6 +40,13 @@
"defaultValue": "\"queue\"",
"priority": "MEDIUM",
"required": "false"
+ },
+ "camel.kamelet.azure-servicebus-source.credentialType": {
+ "name": "camel.kamelet.azure-servicebus-source.credentialType",
+ "description": "Determines the credential strategy to adopt.",
+ "defaultValue": "\"CONNECTION_STRING\"",
+ "priority": "MEDIUM",
+ "required": "false"
}
}
}
\ No newline at end of file
diff --git a/connectors/camel-azure-servicebus-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/azureservicebussource/CamelAzureservicebussourceSourceConnectorConfig.java b/connectors/camel-azure-servicebus-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/azureservicebussource/CamelAzureservicebussourceSourceConnectorConfig.java
index fbdfa125f3..50f93cc4a9 100644
--- a/connectors/camel-azure-servicebus-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/azureservicebussource/CamelAzureservicebussourceSourceConnectorConfig.java
+++ b/connectors/camel-azure-servicebus-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/azureservicebussource/CamelAzureservicebussourceSourceConnectorConfig.java
@@ -40,6 +40,9 @@ public class CamelAzureservicebussourceSourceConnectorConfig
public static final String CAMEL_SOURCE_AZURESERVICEBUSSOURCE_KAMELET_SERVICE_BUS_TYPE_CONF = "camel.kamelet.azure-servicebus-source.serviceBusType";
public static final String CAMEL_SOURCE_AZURESERVICEBUSSOURCE_KAMELET_SERVICE_BUS_TYPE_DOC = "The service bus type of connection to execute. Queue is for typical queue option and topic for subscription based model.";
public static final String CAMEL_SOURCE_AZURESERVICEBUSSOURCE_KAMELET_SERVICE_BUS_TYPE_DEFAULT = "queue";
+ public static final String CAMEL_SOURCE_AZURESERVICEBUSSOURCE_KAMELET_CREDENTIAL_TYPE_CONF = "camel.kamelet.azure-servicebus-source.credentialType";
+ public static final String CAMEL_SOURCE_AZURESERVICEBUSSOURCE_KAMELET_CREDENTIAL_TYPE_DOC = "Determines the credential strategy to adopt.";
+ public static final String CAMEL_SOURCE_AZURESERVICEBUSSOURCE_KAMELET_CREDENTIAL_TYPE_DEFAULT = "CONNECTION_STRING";
public CamelAzureservicebussourceSourceConnectorConfig(
ConfigDef config,
@@ -59,6 +62,7 @@ public class CamelAzureservicebussourceSourceConnectorConfig
conf.define(CAMEL_SOURCE_AZURESERVICEBUSSOURCE_KAMELET_SERVICE_BUS_RECEIVE_MODE_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_AZURESERVICEBUSSOURCE_KAMELET_SERVICE_BUS_RECEIVE_MODE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AZURESERVICEBUSSOURCE_KAMELET_SERVICE_BUS_RECEIVE_MODE_DOC);
conf.define(CAMEL_SOURCE_AZURESERVICEBUSSOURCE_KAMELET_SUBSCRIPTION_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_AZURESERVICEBUSSOURCE_KAMELET_SUBSCRIPTION_NAME_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AZURESERVICEBUSSOURCE_KAMELET_SUBSCRIPTION_NAME_DOC);
conf.define(CAMEL_SOURCE_AZURESERVICEBUSSOURCE_KAMELET_SERVICE_BUS_TYPE_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_AZURESERVICEBUSSOURCE_KAMELET_SERVICE_BUS_TYPE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AZURESERVICEBUSSOURCE_KAMELET_SERVICE_BUS_TYPE_DOC);
+ conf.define(CAMEL_SOURCE_AZURESERVICEBUSSOURCE_KAMELET_CREDENTIAL_TYPE_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_AZURESERVICEBUSSOURCE_KAMELET_CREDENTIAL_TYPE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AZURESERVICEBUSSOURCE_KAMELET_CREDENTIAL_TYPE_DOC);
return conf;
}
}
\ No newline at end of file
diff --git a/connectors/camel-azure-servicebus-source-kafka-connector/src/main/resources/kamelets/azure-servicebus-source.kamelet.yaml b/connectors/camel-azure-servicebus-source-kafka-connector/src/main/resources/kamelets/azure-servicebus-source.kamelet.yaml
index a97cdd4f69..f50f09686f 100644
--- a/connectors/camel-azure-servicebus-source-kafka-connector/src/main/resources/kamelets/azure-servicebus-source.kamelet.yaml
+++ b/connectors/camel-azure-servicebus-source-kafka-connector/src/main/resources/kamelets/azure-servicebus-source.kamelet.yaml
@@ -21,7 +21,7 @@ metadata:
name: azure-servicebus-source
annotations:
camel.apache.org/kamelet.support.level: "Stable"
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2aWV3Qm94PSIwIDAgODEgODIiIGZpbGw9IiNmZmYiIGZpbGwtcnVsZT0iZXZlbm9kZCIgc3Ryb2tlPSIjMDAwIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPjx1c2UgeGxpbms6aHJlZj0iI0EiIHg9Ii41IiB5PSIuNSIvPjxzeW1ib2wgaWQ9IkEiIG92ZXJmbG93PSJ2aXNpYmxlIj48cGF0aCBkPSJNMS4zMzMgMEMuNTMzIDAgMCAuNTMzIDAgMS4zMzN2MTZjMCAuOC41MzMgMS4zMz [...]
camel.apache.org/provider: "Apache Software Foundation"
camel.apache.org/kamelet.group: "Azure Servicebus"
@@ -67,6 +67,12 @@ spec:
type: string
default: queue
enum: ["queue", "topic"]
+ credentialType:
+ title: Credential Type
+ description: Determines the credential strategy to adopt.
+ type: string
+ enum: ["AZURE_IDENTITY", "CONNECTION_STRING", "TOKEN_CREDENTIAL"]
+ default: "CONNECTION_STRING"
types:
out:
mediaType: application/octet-stream
@@ -82,6 +88,7 @@ spec:
serviceBusReceiveMode: "{{serviceBusReceiveMode}}"
subscriptionName: "{{?subscriptionName}}"
serviceBusType: "{{serviceBusType}}"
+ credentialType: "{{credentialType}}"
steps:
- setBody:
simple: "${body.toBytes()}"
diff --git a/connectors/camel-azure-storage-blob-append-sink-kafka-connector/src/main/resources/kamelets/azure-storage-blob-append-sink.kamelet.yaml b/connectors/camel-azure-storage-blob-append-sink-kafka-connector/src/main/resources/kamelets/azure-storage-blob-append-sink.kamelet.yaml
index 1ecee334d4..10b85b6eb5 100644
--- a/connectors/camel-azure-storage-blob-append-sink-kafka-connector/src/main/resources/kamelets/azure-storage-blob-append-sink.kamelet.yaml
+++ b/connectors/camel-azure-storage-blob-append-sink-kafka-connector/src/main/resources/kamelets/azure-storage-blob-append-sink.kamelet.yaml
@@ -21,7 +21,7 @@ metadata:
name: azure-storage-blob-append-sink
annotations:
camel.apache.org/kamelet.support.level: "Stable"
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2aWV3Qm94PSIwIDAgOTEgODEiIGZpbGw9IiNmZmYiIGZpbGwtcnVsZT0iZXZlbm9kZCIgc3Ryb2tlPSIjMDAwIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPjx1c2UgeGxpbms6aHJlZj0iI0EiIHg9Ii41IiB5PSIuNSIvPjxzeW1ib2wgaWQ9IkEiIG92ZXJmbG93PSJ2aXNpYmxlIj48cGF0aCBkPSJNNjcuNTU4IDBIMjIuNDQxTDAgNDBsMjIuNDQxIDQwaDQ1LjExN0w5MCA0MCA2Ny [...]
camel.apache.org/provider: "Apache Software Foundation"
camel.apache.org/kamelet.group: "Azure Storage Blob"
diff --git a/connectors/camel-azure-storage-blob-cdc-source-kafka-connector/src/main/resources/kamelets/azure-storage-blob-cdc-source.kamelet.yaml b/connectors/camel-azure-storage-blob-cdc-source-kafka-connector/src/main/resources/kamelets/azure-storage-blob-cdc-source.kamelet.yaml
index 9ddce3fdea..1c312670cb 100644
--- a/connectors/camel-azure-storage-blob-cdc-source-kafka-connector/src/main/resources/kamelets/azure-storage-blob-cdc-source.kamelet.yaml
+++ b/connectors/camel-azure-storage-blob-cdc-source-kafka-connector/src/main/resources/kamelets/azure-storage-blob-cdc-source.kamelet.yaml
@@ -21,7 +21,7 @@ metadata:
name: azure-storage-blob-cdc-source
annotations:
camel.apache.org/kamelet.support.level: "Preview"
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2aWV3Qm94PSIwIDAgODEgODIiIGZpbGw9IiNmZmYiIGZpbGwtcnVsZT0iZXZlbm9kZCIgc3Ryb2tlPSIjMDAwIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPjx1c2UgeGxpbms6aHJlZj0iI0EiIHg9Ii41IiB5PSIuNSIvPjxzeW1ib2wgaWQ9IkEiIG92ZXJmbG93PSJ2aXNpYmxlIj48cGF0aCBkPSJNMS4zMzMgMEMuNTMzIDAgMCAuNTMzIDAgMS4zMzN2MTZjMCAuOC41MzMgMS4zMz [...]
camel.apache.org/provider: "Apache Software Foundation"
camel.apache.org/kamelet.group: "Azure Servicebus"
@@ -95,7 +95,6 @@ spec:
If getBlob is enabled, then the file created in the container will be
get and returned as body, if not only the event will be returned as body.
type: boolean
- x-descriptors:
default: false
types:
out:
diff --git a/connectors/camel-azure-storage-blob-changefeed-source-kafka-connector/src/main/resources/kamelets/azure-storage-blob-changefeed-source.kamelet.yaml b/connectors/camel-azure-storage-blob-changefeed-source-kafka-connector/src/main/resources/kamelets/azure-storage-blob-changefeed-source.kamelet.yaml
index a0091a2e00..ec7b7bd302 100644
--- a/connectors/camel-azure-storage-blob-changefeed-source-kafka-connector/src/main/resources/kamelets/azure-storage-blob-changefeed-source.kamelet.yaml
+++ b/connectors/camel-azure-storage-blob-changefeed-source-kafka-connector/src/main/resources/kamelets/azure-storage-blob-changefeed-source.kamelet.yaml
@@ -21,7 +21,7 @@ metadata:
name: azure-storage-blob-changefeed-source
annotations:
camel.apache.org/kamelet.support.level: "Stable"
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2aWV3Qm94PSIwIDAgOTEgODEiIGZpbGw9IiNmZmYiIGZpbGwtcnVsZT0iZXZlbm9kZCIgc3Ryb2tlPSIjMDAwIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPjx1c2UgeGxpbms6aHJlZj0iI0EiIHg9Ii41IiB5PSIuNSIvPjxzeW1ib2wgaWQ9IkEiIG92ZXJmbG93PSJ2aXNpYmxlIj48cGF0aCBkPSJNNjcuNTU4IDBIMjIuNDQxTDAgNDBsMjIuNDQxIDQwaDQ1LjExN0w5MCA0MCA2Ny [...]
camel.apache.org/provider: "Apache Software Foundation"
camel.apache.org/kamelet.group: "Azure Storage Blob Changefeed"
diff --git a/connectors/camel-azure-storage-blob-sink-kafka-connector/src/main/resources/kamelets/azure-storage-blob-sink.kamelet.yaml b/connectors/camel-azure-storage-blob-sink-kafka-connector/src/main/resources/kamelets/azure-storage-blob-sink.kamelet.yaml
index 93620b700c..63bcbb5197 100644
--- a/connectors/camel-azure-storage-blob-sink-kafka-connector/src/main/resources/kamelets/azure-storage-blob-sink.kamelet.yaml
+++ b/connectors/camel-azure-storage-blob-sink-kafka-connector/src/main/resources/kamelets/azure-storage-blob-sink.kamelet.yaml
@@ -21,7 +21,7 @@ metadata:
name: azure-storage-blob-sink
annotations:
camel.apache.org/kamelet.support.level: "Stable"
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2aWV3Qm94PSIwIDAgOTEgODEiIGZpbGw9IiNmZmYiIGZpbGwtcnVsZT0iZXZlbm9kZCIgc3Ryb2tlPSIjMDAwIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPjx1c2UgeGxpbms6aHJlZj0iI0EiIHg9Ii41IiB5PSIuNSIvPjxzeW1ib2wgaWQ9IkEiIG92ZXJmbG93PSJ2aXNpYmxlIj48cGF0aCBkPSJNNjcuNTU4IDBIMjIuNDQxTDAgNDBsMjIuNDQxIDQwaDQ1LjExN0w5MCA0MCA2Ny [...]
camel.apache.org/provider: "Apache Software Foundation"
camel.apache.org/kamelet.group: "Azure Storage Blob"
diff --git a/connectors/camel-azure-storage-blob-source-kafka-connector/pom.xml b/connectors/camel-azure-storage-blob-source-kafka-connector/pom.xml
index d3e314ee97..7baadc33ac 100644
--- a/connectors/camel-azure-storage-blob-source-kafka-connector/pom.xml
+++ b/connectors/camel-azure-storage-blob-source-kafka-connector/pom.xml
@@ -65,14 +65,14 @@
<groupId>org.apache.camel</groupId>
<artifactId>camel-yaml-dsl</artifactId>
</dependency>
- <dependency>
- <groupId>org.apache.camel</groupId>
- <artifactId>camel-kamelet</artifactId>
- </dependency>
<dependency>
<groupId>org.apache.camel.kamelets</groupId>
<artifactId>camel-kamelets-utils</artifactId>
- <version>4.3.0</version>
+ <version>4.4.2</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.camel</groupId>
+ <artifactId>camel-kamelet</artifactId>
</dependency>
<!--END OF GENERATED CODE-->
</dependencies>
diff --git a/connectors/camel-azure-storage-blob-source-kafka-connector/src/main/resources/kamelets/azure-storage-blob-source.kamelet.yaml b/connectors/camel-azure-storage-blob-source-kafka-connector/src/main/resources/kamelets/azure-storage-blob-source.kamelet.yaml
index eea9184dc8..a39f20d218 100644
--- a/connectors/camel-azure-storage-blob-source-kafka-connector/src/main/resources/kamelets/azure-storage-blob-source.kamelet.yaml
+++ b/connectors/camel-azure-storage-blob-source-kafka-connector/src/main/resources/kamelets/azure-storage-blob-source.kamelet.yaml
@@ -21,7 +21,7 @@ metadata:
name: azure-storage-blob-source
annotations:
camel.apache.org/kamelet.support.level: "Stable"
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2aWV3Qm94PSIwIDAgOTEgODEiIGZpbGw9IiNmZmYiIGZpbGwtcnVsZT0iZXZlbm9kZCIgc3Ryb2tlPSIjMDAwIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPjx1c2UgeGxpbms6aHJlZj0iI0EiIHg9Ii41IiB5PSIuNSIvPjxzeW1ib2wgaWQ9IkEiIG92ZXJmbG93PSJ2aXNpYmxlIj48cGF0aCBkPSJNNjcuNTU4IDBIMjIuNDQxTDAgNDBsMjIuNDQxIDQwaDQ1LjExN0w5MCA0MCA2Ny [...]
camel.apache.org/provider: "Apache Software Foundation"
camel.apache.org/kamelet.group: "Azure Storage Blob"
@@ -66,7 +66,6 @@ spec:
title: Auto-delete Blob
description: Specifies to delete blobs after consuming them
type: boolean
- x-descriptors:
default: false
credentialType:
title: Credential Type
@@ -150,16 +149,8 @@ spec:
- "camel:core"
- "camel:jsonpath"
- "camel:timer"
- - "mvn:org.apache.camel.kamelets:camel-kamelets-utils:4.3.0"
+ - "mvn:org.apache.camel.kamelets:camel-kamelets-utils:4.4.2"
template:
- beans:
- - name: duplicateHeaders
- type: "#class:org.apache.camel.kamelets.utils.headers.DuplicateNamingHeaders"
- properties:
- prefix: 'CamelAzureStorageBlob'
- renamingPrefix: 'azure.storage.blob.'
- mode: 'filtering'
- selectedHeaders: 'CamelAzureStorageBlobETag,CamelAzureStorageBlobBlobSize'
from:
uri: "azure-storage-blob:{{accountName}}/{{containerName}}"
parameters:
@@ -167,8 +158,6 @@ spec:
credentialType: "{{credentialType}}"
delay: "{{delay}}"
steps:
- - process:
- ref: "{{duplicateHeaders}}"
- to: "kamelet:sink"
- choice:
precondition: true
diff --git a/connectors/camel-azure-storage-datalake-sink-kafka-connector/pom.xml b/connectors/camel-azure-storage-datalake-sink-kafka-connector/pom.xml
index 17540b6b74..6ac3830f3e 100644
--- a/connectors/camel-azure-storage-datalake-sink-kafka-connector/pom.xml
+++ b/connectors/camel-azure-storage-datalake-sink-kafka-connector/pom.xml
@@ -61,14 +61,14 @@
<groupId>org.apache.camel</groupId>
<artifactId>camel-yaml-dsl</artifactId>
</dependency>
- <dependency>
- <groupId>org.apache.camel</groupId>
- <artifactId>camel-kamelet</artifactId>
- </dependency>
<dependency>
<groupId>org.apache.camel.kamelets</groupId>
<artifactId>camel-kamelets-utils</artifactId>
- <version>4.3.0</version>
+ <version>4.4.2</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.camel</groupId>
+ <artifactId>camel-kamelet</artifactId>
</dependency>
<!--END OF GENERATED CODE-->
</dependencies>
diff --git a/connectors/camel-azure-storage-datalake-sink-kafka-connector/src/generated/resources/camel-azure-storage-datalake-sink-sink.json b/connectors/camel-azure-storage-datalake-sink-kafka-connector/src/generated/resources/camel-azure-storage-datalake-sink-sink.json
index dd5d229c63..02ef6b7f37 100644
--- a/connectors/camel-azure-storage-datalake-sink-kafka-connector/src/generated/resources/camel-azure-storage-datalake-sink-sink.json
+++ b/connectors/camel-azure-storage-datalake-sink-kafka-connector/src/generated/resources/camel-azure-storage-datalake-sink-sink.json
@@ -38,6 +38,13 @@
"description": "The Azure Storage Blob Data lake File system name.",
"priority": "HIGH",
"required": "true"
+ },
+ "camel.kamelet.azure-storage-datalake-sink.credentialType": {
+ "name": "camel.kamelet.azure-storage-datalake-sink.credentialType",
+ "description": "Determines the credential strategy to adopt.",
+ "defaultValue": "\"CLIENT_SECRET\"",
+ "priority": "MEDIUM",
+ "required": "false"
}
}
}
\ No newline at end of file
diff --git a/connectors/camel-azure-storage-datalake-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/azurestoragedatalakesink/CamelAzurestoragedatalakesinkSinkConnectorConfig.java b/connectors/camel-azure-storage-datalake-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/azurestoragedatalakesink/CamelAzurestoragedatalakesinkSinkConnectorConfig.java
index fb86d83863..dc48af138a 100644
--- a/connectors/camel-azure-storage-datalake-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/azurestoragedatalakesink/CamelAzurestoragedatalakesinkSinkConnectorConfig.java
+++ b/connectors/camel-azure-storage-datalake-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/azurestoragedatalakesink/CamelAzurestoragedatalakesinkSinkConnectorConfig.java
@@ -40,6 +40,9 @@ public class CamelAzurestoragedatalakesinkSinkConnectorConfig
public static final String CAMEL_SINK_AZURESTORAGEDATALAKESINK_KAMELET_FILE_SYSTEM_NAME_CONF = "camel.kamelet.azure-storage-datalake-sink.fileSystemName";
public static final String CAMEL_SINK_AZURESTORAGEDATALAKESINK_KAMELET_FILE_SYSTEM_NAME_DOC = "The Azure Storage Blob Data lake File system name.";
public static final String CAMEL_SINK_AZURESTORAGEDATALAKESINK_KAMELET_FILE_SYSTEM_NAME_DEFAULT = null;
+ public static final String CAMEL_SINK_AZURESTORAGEDATALAKESINK_KAMELET_CREDENTIAL_TYPE_CONF = "camel.kamelet.azure-storage-datalake-sink.credentialType";
+ public static final String CAMEL_SINK_AZURESTORAGEDATALAKESINK_KAMELET_CREDENTIAL_TYPE_DOC = "Determines the credential strategy to adopt.";
+ public static final String CAMEL_SINK_AZURESTORAGEDATALAKESINK_KAMELET_CREDENTIAL_TYPE_DEFAULT = "CLIENT_SECRET";
public CamelAzurestoragedatalakesinkSinkConnectorConfig(
ConfigDef config,
@@ -59,6 +62,7 @@ public class CamelAzurestoragedatalakesinkSinkConnectorConfig
conf.define(CAMEL_SINK_AZURESTORAGEDATALAKESINK_KAMELET_CLIENT_SECRET_CONF, ConfigDef.Type.PASSWORD, CAMEL_SINK_AZURESTORAGEDATALAKESINK_KAMELET_CLIENT_SECRET_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_AZURESTORAGEDATALAKESINK_KAMELET_CLIENT_SECRET_DOC);
conf.define(CAMEL_SINK_AZURESTORAGEDATALAKESINK_KAMELET_TENANT_ID_CONF, ConfigDef.Type.PASSWORD, CAMEL_SINK_AZURESTORAGEDATALAKESINK_KAMELET_TENANT_ID_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_AZURESTORAGEDATALAKESINK_KAMELET_TENANT_ID_DOC);
conf.define(CAMEL_SINK_AZURESTORAGEDATALAKESINK_KAMELET_FILE_SYSTEM_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AZURESTORAGEDATALAKESINK_KAMELET_FILE_SYSTEM_NAME_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_AZURESTORAGEDATALAKESINK_KAMELET_FILE_SYSTEM_NAME_DOC);
+ conf.define(CAMEL_SINK_AZURESTORAGEDATALAKESINK_KAMELET_CREDENTIAL_TYPE_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AZURESTORAGEDATALAKESINK_KAMELET_CREDENTIAL_TYPE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AZURESTORAGEDATALAKESINK_KAMELET_CREDENTIAL_TYPE_DOC);
return conf;
}
}
\ No newline at end of file
diff --git a/connectors/camel-azure-storage-datalake-sink-kafka-connector/src/main/resources/kamelets/azure-storage-datalake-sink.kamelet.yaml b/connectors/camel-azure-storage-datalake-sink-kafka-connector/src/main/resources/kamelets/azure-storage-datalake-sink.kamelet.yaml
index 3b71cbacb0..a7fb8030ac 100644
--- a/connectors/camel-azure-storage-datalake-sink-kafka-connector/src/main/resources/kamelets/azure-storage-datalake-sink.kamelet.yaml
+++ b/connectors/camel-azure-storage-datalake-sink-kafka-connector/src/main/resources/kamelets/azure-storage-datalake-sink.kamelet.yaml
@@ -21,7 +21,7 @@ metadata:
name: azure-storage-datalake-sink
annotations:
camel.apache.org/kamelet.support.level: "Stable"
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAyNi4wLjMsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjxzdmcgdmVyc2lvbj0iMS4wIiBpZD0iTGF5ZXJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiDQoJIHZpZXdCb3g9IjAgMCAxMTU4LjIgODYwLjQiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMC [...]
camel.apache.org/provider: "Apache Software Foundation"
camel.apache.org/kamelet.group: "Azure Storage Blob Data Lake"
@@ -74,12 +74,18 @@ spec:
type: string
x-descriptors:
- urn:camel:group:credentials
+ credentialType:
+ title: Credential Type
+ description: Determines the credential strategy to adopt.
+ type: string
+ enum: ["CLIENT_SECRET", "SHARED_KEY_CREDENTIAL", "AZURE_IDENTITY", "AZURE_SAS", "SERVICE_CLIENT_INSTANCE"]
+ default: "CLIENT_SECRET"
dependencies:
- "camel:azure-storage-datalake"
- "camel:kamelet"
- "camel:core"
- "camel:timer"
- - "mvn:org.apache.camel.kamelets:camel-kamelets-utils:4.3.0"
+ - "mvn:org.apache.camel.kamelets:camel-kamelets-utils:4.4.2"
template:
from:
uri: "kamelet:source"
@@ -107,4 +113,5 @@ spec:
clientId: "{{clientId}}"
clientSecret: "{{clientSecret}}"
tenantId: "{{tenantId}}"
- operation: "upload"
\ No newline at end of file
+ operation: "upload"
+ credentialType: "{{credentialType}}"
\ No newline at end of file
diff --git a/connectors/camel-azure-storage-datalake-source-kafka-connector/pom.xml b/connectors/camel-azure-storage-datalake-source-kafka-connector/pom.xml
index fbef1672ea..9fc8cafae8 100644
--- a/connectors/camel-azure-storage-datalake-source-kafka-connector/pom.xml
+++ b/connectors/camel-azure-storage-datalake-source-kafka-connector/pom.xml
@@ -61,14 +61,14 @@
<groupId>org.apache.camel</groupId>
<artifactId>camel-yaml-dsl</artifactId>
</dependency>
- <dependency>
- <groupId>org.apache.camel</groupId>
- <artifactId>camel-kamelet</artifactId>
- </dependency>
<dependency>
<groupId>org.apache.camel.kamelets</groupId>
<artifactId>camel-kamelets-utils</artifactId>
- <version>4.3.0</version>
+ <version>4.4.2</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.camel</groupId>
+ <artifactId>camel-kamelet</artifactId>
</dependency>
<!--END OF GENERATED CODE-->
</dependencies>
diff --git a/connectors/camel-azure-storage-datalake-source-kafka-connector/src/generated/resources/camel-azure-storage-datalake-source-source.json b/connectors/camel-azure-storage-datalake-source-kafka-connector/src/generated/resources/camel-azure-storage-datalake-source-source.json
index 4fd6f52936..89854fe4c0 100644
--- a/connectors/camel-azure-storage-datalake-source-kafka-connector/src/generated/resources/camel-azure-storage-datalake-source-source.json
+++ b/connectors/camel-azure-storage-datalake-source-kafka-connector/src/generated/resources/camel-azure-storage-datalake-source-source.json
@@ -45,6 +45,13 @@
"defaultValue": "500",
"priority": "MEDIUM",
"required": "false"
+ },
+ "camel.kamelet.azure-storage-datalake-source.credentialType": {
+ "name": "camel.kamelet.azure-storage-datalake-source.credentialType",
+ "description": "Determines the credential strategy to adopt.",
+ "defaultValue": "\"CLIENT_SECRET\"",
+ "priority": "MEDIUM",
+ "required": "false"
}
}
}
\ No newline at end of file
diff --git a/connectors/camel-azure-storage-datalake-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/azurestoragedatalakesource/CamelAzurestoragedatalakesourceSourceConnectorConfig.java b/connectors/camel-azure-storage-datalake-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/azurestoragedatalakesource/CamelAzurestoragedatalakesourceSourceConnectorConfig.java
index 0a7c8ab0d5..93a39ee039 100644
--- a/connectors/camel-azure-storage-datalake-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/azurestoragedatalakesource/CamelAzurestoragedatalakesourceSourceConnectorConfig.java
+++ b/connectors/camel-azure-storage-datalake-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/azurestoragedatalakesource/CamelAzurestoragedatalakesourceSourceConnectorConfig.java
@@ -43,6 +43,9 @@ public class CamelAzurestoragedatalakesourceSourceConnectorConfig
public static final String CAMEL_SOURCE_AZURESTORAGEDATALAKESOURCE_KAMELET_DELAY_CONF = "camel.kamelet.azure-storage-datalake-source.delay";
public static final String CAMEL_SOURCE_AZURESTORAGEDATALAKESOURCE_KAMELET_DELAY_DOC = "The number of milliseconds before the next poll of the selected blob.";
public static final Integer CAMEL_SOURCE_AZURESTORAGEDATALAKESOURCE_KAMELET_DELAY_DEFAULT = 500;
+ public static final String CAMEL_SOURCE_AZURESTORAGEDATALAKESOURCE_KAMELET_CREDENTIAL_TYPE_CONF = "camel.kamelet.azure-storage-datalake-source.credentialType";
+ public static final String CAMEL_SOURCE_AZURESTORAGEDATALAKESOURCE_KAMELET_CREDENTIAL_TYPE_DOC = "Determines the credential strategy to adopt.";
+ public static final String CAMEL_SOURCE_AZURESTORAGEDATALAKESOURCE_KAMELET_CREDENTIAL_TYPE_DEFAULT = "CLIENT_SECRET";
public CamelAzurestoragedatalakesourceSourceConnectorConfig(
ConfigDef config,
@@ -63,6 +66,7 @@ public class CamelAzurestoragedatalakesourceSourceConnectorConfig
conf.define(CAMEL_SOURCE_AZURESTORAGEDATALAKESOURCE_KAMELET_TENANT_ID_CONF, ConfigDef.Type.PASSWORD, CAMEL_SOURCE_AZURESTORAGEDATALAKESOURCE_KAMELET_TENANT_ID_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_AZURESTORAGEDATALAKESOURCE_KAMELET_TENANT_ID_DOC);
conf.define(CAMEL_SOURCE_AZURESTORAGEDATALAKESOURCE_KAMELET_FILE_SYSTEM_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_AZURESTORAGEDATALAKESOURCE_KAMELET_FILE_SYSTEM_NAME_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_AZURESTORAGEDATALAKESOURCE_KAMELET_FILE_SYSTEM_NAME_DOC);
conf.define(CAMEL_SOURCE_AZURESTORAGEDATALAKESOURCE_KAMELET_DELAY_CONF, ConfigDef.Type.INT, CAMEL_SOURCE_AZURESTORAGEDATALAKESOURCE_KAMELET_DELAY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AZURESTORAGEDATALAKESOURCE_KAMELET_DELAY_DOC);
+ conf.define(CAMEL_SOURCE_AZURESTORAGEDATALAKESOURCE_KAMELET_CREDENTIAL_TYPE_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_AZURESTORAGEDATALAKESOURCE_KAMELET_CREDENTIAL_TYPE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AZURESTORAGEDATALAKESOURCE_KAMELET_CREDENTIAL_TYPE_DOC);
return conf;
}
}
\ No newline at end of file
diff --git a/connectors/camel-azure-storage-datalake-source-kafka-connector/src/main/resources/kamelets/azure-storage-datalake-source.kamelet.yaml b/connectors/camel-azure-storage-datalake-source-kafka-connector/src/main/resources/kamelets/azure-storage-datalake-source.kamelet.yaml
index 7227592137..e06ad71fa0 100644
--- a/connectors/camel-azure-storage-datalake-source-kafka-connector/src/main/resources/kamelets/azure-storage-datalake-source.kamelet.yaml
+++ b/connectors/camel-azure-storage-datalake-source-kafka-connector/src/main/resources/kamelets/azure-storage-datalake-source.kamelet.yaml
@@ -21,7 +21,7 @@ metadata:
name: azure-storage-datalake-source
annotations:
camel.apache.org/kamelet.support.level: "Stable"
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAyNi4wLjMsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjxzdmcgdmVyc2lvbj0iMS4wIiBpZD0iTGF5ZXJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiDQoJIHZpZXdCb3g9IjAgMCAxMTU4LjIgODYwLjQiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMC [...]
camel.apache.org/provider: "Apache Software Foundation"
camel.apache.org/kamelet.group: "Azure Storage Blob Data Lake"
@@ -79,12 +79,18 @@ spec:
description: The number of milliseconds before the next poll of the selected blob.
type: integer
default: 500
+ credentialType:
+ title: Credential Type
+ description: Determines the credential strategy to adopt.
+ type: string
+ enum: ["CLIENT_SECRET", "SHARED_KEY_CREDENTIAL", "AZURE_IDENTITY", "AZURE_SAS", "SERVICE_CLIENT_INSTANCE"]
+ default: "CLIENT_SECRET"
dependencies:
- "camel:azure-storage-datalake"
- "camel:kamelet"
- "camel:core"
- "camel:timer"
- - "mvn:org.apache.camel.kamelets:camel-kamelets-utils:4.3.0"
+ - "mvn:org.apache.camel.kamelets:camel-kamelets-utils:4.4.2"
template:
from:
uri: "azure-storage-datalake:{{accountName}}/{{fileSystemName}}"
@@ -93,5 +99,6 @@ spec:
clientSecret: "{{clientSecret}}"
tenantId: "{{tenantId}}"
delay: "{{delay}}"
+ credentialType: "{{credentialType}}"
steps:
- to: "kamelet:sink"
\ No newline at end of file
diff --git a/connectors/camel-aws-ddb-streams-source-kafka-connector/pom.xml b/connectors/camel-azure-storage-files-sink-kafka-connector/pom.xml
similarity index 93%
copy from connectors/camel-aws-ddb-streams-source-kafka-connector/pom.xml
copy to connectors/camel-azure-storage-files-sink-kafka-connector/pom.xml
index c9fe23825a..be26c320bd 100644
--- a/connectors/camel-aws-ddb-streams-source-kafka-connector/pom.xml
+++ b/connectors/camel-azure-storage-files-sink-kafka-connector/pom.xml
@@ -24,9 +24,9 @@
<artifactId>connectors</artifactId>
<version>4.4.2-SNAPSHOT</version>
</parent>
- <artifactId>camel-aws-ddb-streams-source-kafka-connector</artifactId>
- <name>Camel-Kafka-Connector :: aws-ddb-streams-source</name>
- <description>Camel Kafka Connector for aws-ddb-streams-source</description>
+ <artifactId>camel-azure-storage-files-sink-kafka-connector</artifactId>
+ <name>Camel-Kafka-Connector :: azure-storage-files-sink</name>
+ <description>Camel Kafka Connector for azure-storage-files-sink</description>
<dependencies>
<!-- Kafka -->
<dependency>
@@ -43,7 +43,7 @@
<!--START OF GENERATED CODE-->
<dependency>
<groupId>org.apache.camel</groupId>
- <artifactId>camel-aws2-ddb</artifactId>
+ <artifactId>camel-core</artifactId>
</dependency>
<dependency>
<groupId>org.apache.camel.kafkaconnector</groupId>
@@ -51,7 +51,7 @@
</dependency>
<dependency>
<groupId>org.apache.camel</groupId>
- <artifactId>camel-gson</artifactId>
+ <artifactId>camel-azure-storage-blob</artifactId>
</dependency>
<dependency>
<groupId>org.apache.camel</groupId>
diff --git a/connectors/camel-azure-storage-files-sink-kafka-connector/src/generated/descriptors/connector-sink.properties b/connectors/camel-azure-storage-files-sink-kafka-connector/src/generated/descriptors/connector-sink.properties
new file mode 100644
index 0000000000..0ae01587c3
--- /dev/null
+++ b/connectors/camel-azure-storage-files-sink-kafka-connector/src/generated/descriptors/connector-sink.properties
@@ -0,0 +1 @@
+camel-azure-storage-files-sink-sink
\ No newline at end of file
diff --git a/connectors/camel-azure-storage-files-sink-kafka-connector/src/generated/resources/camel-azure-storage-files-sink-sink.json b/connectors/camel-azure-storage-files-sink-kafka-connector/src/generated/resources/camel-azure-storage-files-sink-sink.json
new file mode 100644
index 0000000000..2d80946176
--- /dev/null
+++ b/connectors/camel-azure-storage-files-sink-kafka-connector/src/generated/resources/camel-azure-storage-files-sink-sink.json
@@ -0,0 +1,45 @@
+{
+ "connector": {
+ "class": "org.apache.camel.kafkaconnector.azurestoragefilessink.CamelAzurestoragefilessinkSinkConnector",
+ "artifactId": "camel-azure-storage-files-sink-kafka-connector",
+ "groupId": "org.apache.camel.kafkaconnector",
+ "id": "camel-azure-storage-files-sink-sink",
+ "type": "sink",
+ "version": "4.4.2-SNAPSHOT",
+ "description": "Upload data to Azure Storage Files Share.\n\nIn the header, you can set the `file` \/ `ce-file` property to specify the filename to upload. If you do set property in the header, the Kamelet uses the exchange ID as filename."
+ },
+ "properties": {
+ "camel.kamelet.azure-storage-files-sink.accountName": {
+ "name": "camel.kamelet.azure-storage-files-sink.accountName",
+ "description": "The Azure Storage Blob account name.",
+ "priority": "HIGH",
+ "required": "true"
+ },
+ "camel.kamelet.azure-storage-files-sink.shareName": {
+ "name": "camel.kamelet.azure-storage-files-sink.shareName",
+ "description": "The Azure Storage File Share share name.",
+ "priority": "HIGH",
+ "required": "true"
+ },
+ "camel.kamelet.azure-storage-files-sink.sharedKey": {
+ "name": "camel.kamelet.azure-storage-files-sink.sharedKey",
+ "description": "The Azure Storage Blob access key.",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
+ "camel.kamelet.azure-storage-files-sink.credentialType": {
+ "name": "camel.kamelet.azure-storage-files-sink.credentialType",
+ "description": "Determines the credential strategy to adopt.",
+ "defaultValue": "\"SHARED_ACCOUNT_KEY\"",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
+ "camel.kamelet.azure-storage-files-sink.directoryName": {
+ "name": "camel.kamelet.azure-storage-files-sink.directoryName",
+ "description": "The directory from where the producer will upload the file.",
+ "defaultValue": "\".\"",
+ "priority": "MEDIUM",
+ "required": "false"
+ }
+ }
+}
diff --git a/connectors/camel-hdfs-kafka-connector/src/main/assembly/package.xml b/connectors/camel-azure-storage-files-sink-kafka-connector/src/main/assembly/package.xml
similarity index 100%
copy from connectors/camel-hdfs-kafka-connector/src/main/assembly/package.xml
copy to connectors/camel-azure-storage-files-sink-kafka-connector/src/main/assembly/package.xml
diff --git a/connectors/camel-hdfs-kafka-connector/src/main/docs/examples/CamelHdfsSinkConnector.properties b/connectors/camel-azure-storage-files-sink-kafka-connector/src/main/docs/examples/CamelAzurestoragefilessinkSinkConnector.properties
similarity index 79%
copy from connectors/camel-hdfs-kafka-connector/src/main/docs/examples/CamelHdfsSinkConnector.properties
copy to connectors/camel-azure-storage-files-sink-kafka-connector/src/main/docs/examples/CamelAzurestoragefilessinkSinkConnector.properties
index f937a5691e..6b60c68014 100644
--- a/connectors/camel-hdfs-kafka-connector/src/main/docs/examples/CamelHdfsSinkConnector.properties
+++ b/connectors/camel-azure-storage-files-sink-kafka-connector/src/main/docs/examples/CamelAzurestoragefilessinkSinkConnector.properties
@@ -15,8 +15,8 @@
## limitations under the License.
## ---------------------------------------------------------------------------
-name=CamelHdfsSinkConnector
-connector.class=org.apache.camel.kafkaconnector.hdfs.CamelHdfsSinkConnector
+name=CamelAzure-storage-files-sinkSinkConnector
+connector.class=org.apache.camel.kafkaconnector.azurestoragefilessink.CamelAzurestoragefilessinkSinkConnector
tasks.max=1
# use the kafka converters that better suit your needs, these are just defaults:
@@ -28,7 +28,7 @@ topics=
# mandatory properties (for a complete properties list see the connector documentation):
-# HDFS host to use
-camel.sink.path.hostName=
-# The directory path to use
-camel.sink.path.path=
+# The Azure Storage Blob account name.
+camel.kamelet.azure-storage-files-sink.accountName=
+# The Azure Storage File Share share name.
+camel.kamelet.azure-storage-files-sink.shareName=
diff --git a/connectors/camel-hdfs-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/hdfs/CamelHdfsSinkConnector.java b/connectors/camel-azure-storage-files-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/azurestoragefilessink/CamelAzurestoragefilessinkSinkConnector.java
similarity index 81%
copy from connectors/camel-hdfs-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/hdfs/CamelHdfsSinkConnector.java
copy to connectors/camel-azure-storage-files-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/azurestoragefilessink/CamelAzurestoragefilessinkSinkConnector.java
index af5072856a..a35876b3a0 100644
--- a/connectors/camel-hdfs-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/hdfs/CamelHdfsSinkConnector.java
+++ b/connectors/camel-azure-storage-files-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/azurestoragefilessink/CamelAzurestoragefilessinkSinkConnector.java
@@ -13,7 +13,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- */package org.apache.camel.kafkaconnector.hdfs;
+ */package org.apache.camel.kafkaconnector.azurestoragefilessink;
import javax.annotation.Generated;
import org.apache.camel.kafkaconnector.CamelSinkConnector;
@@ -21,14 +21,16 @@ import org.apache.kafka.common.config.ConfigDef;
import org.apache.kafka.connect.connector.Task;
@Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.")
-public class CamelHdfsSinkConnector extends CamelSinkConnector {
+public class CamelAzurestoragefilessinkSinkConnector
+ extends
+ CamelSinkConnector {
@Override
public ConfigDef config() {
- return CamelHdfsSinkConnectorConfig.conf();
+ return CamelAzurestoragefilessinkSinkConnectorConfig.conf();
}
@Override
public Class<? extends Task> taskClass() {
- return CamelHdfsSinkTask.class;
+ return CamelAzurestoragefilessinkSinkTask.class;
}
}
\ No newline at end of file
diff --git a/connectors/camel-azure-storage-files-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/azurestoragefilessink/CamelAzurestoragefilessinkSinkConnectorConfig.java b/connectors/camel-azure-storage-files-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/azurestoragefilessink/CamelAzurestoragefilessinkSinkConnectorConfig.java
new file mode 100644
index 0000000000..ef1edba29d
--- /dev/null
+++ b/connectors/camel-azure-storage-files-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/azurestoragefilessink/CamelAzurestoragefilessinkSinkConnectorConfig.java
@@ -0,0 +1,64 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */package org.apache.camel.kafkaconnector.azurestoragefilessink;
+
+import java.util.Map;
+import javax.annotation.Generated;
+import org.apache.camel.kafkaconnector.CamelSinkConnectorConfig;
+import org.apache.kafka.common.config.ConfigDef;
+
+@Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.")
+public class CamelAzurestoragefilessinkSinkConnectorConfig
+ extends
+ CamelSinkConnectorConfig {
+
+ public static final String CAMEL_SINK_AZURESTORAGEFILESSINK_KAMELET_ACCOUNT_NAME_CONF = "camel.kamelet.azure-storage-files-sink.accountName";
+ public static final String CAMEL_SINK_AZURESTORAGEFILESSINK_KAMELET_ACCOUNT_NAME_DOC = "The Azure Storage Blob account name.";
+ public static final String CAMEL_SINK_AZURESTORAGEFILESSINK_KAMELET_ACCOUNT_NAME_DEFAULT = null;
+ public static final String CAMEL_SINK_AZURESTORAGEFILESSINK_KAMELET_SHARE_NAME_CONF = "camel.kamelet.azure-storage-files-sink.shareName";
+ public static final String CAMEL_SINK_AZURESTORAGEFILESSINK_KAMELET_SHARE_NAME_DOC = "The Azure Storage File Share share name.";
+ public static final String CAMEL_SINK_AZURESTORAGEFILESSINK_KAMELET_SHARE_NAME_DEFAULT = null;
+ public static final String CAMEL_SINK_AZURESTORAGEFILESSINK_KAMELET_SHARED_KEY_CONF = "camel.kamelet.azure-storage-files-sink.sharedKey";
+ public static final String CAMEL_SINK_AZURESTORAGEFILESSINK_KAMELET_SHARED_KEY_DOC = "The Azure Storage Blob access key.";
+ public static final String CAMEL_SINK_AZURESTORAGEFILESSINK_KAMELET_SHARED_KEY_DEFAULT = null;
+ public static final String CAMEL_SINK_AZURESTORAGEFILESSINK_KAMELET_CREDENTIAL_TYPE_CONF = "camel.kamelet.azure-storage-files-sink.credentialType";
+ public static final String CAMEL_SINK_AZURESTORAGEFILESSINK_KAMELET_CREDENTIAL_TYPE_DOC = "Determines the credential strategy to adopt.";
+ public static final String CAMEL_SINK_AZURESTORAGEFILESSINK_KAMELET_CREDENTIAL_TYPE_DEFAULT = "SHARED_ACCOUNT_KEY";
+ public static final String CAMEL_SINK_AZURESTORAGEFILESSINK_KAMELET_DIRECTORY_NAME_CONF = "camel.kamelet.azure-storage-files-sink.directoryName";
+ public static final String CAMEL_SINK_AZURESTORAGEFILESSINK_KAMELET_DIRECTORY_NAME_DOC = "The directory from where the producer will upload the file.";
+ public static final String CAMEL_SINK_AZURESTORAGEFILESSINK_KAMELET_DIRECTORY_NAME_DEFAULT = ".";
+
+ public CamelAzurestoragefilessinkSinkConnectorConfig(
+ ConfigDef config,
+ Map<String, String> parsedConfig) {
+ super(config, parsedConfig);
+ }
+
+ public CamelAzurestoragefilessinkSinkConnectorConfig(
+ Map<String, String> parsedConfig) {
+ this(conf(), parsedConfig);
+ }
+
+ public static ConfigDef conf() {
+ ConfigDef conf = new ConfigDef(CamelSinkConnectorConfig.conf());
+ conf.define(CAMEL_SINK_AZURESTORAGEFILESSINK_KAMELET_ACCOUNT_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AZURESTORAGEFILESSINK_KAMELET_ACCOUNT_NAME_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_AZURESTORAGEFILESSINK_KAMELET_ACCOUNT_NAME_DOC);
+ conf.define(CAMEL_SINK_AZURESTORAGEFILESSINK_KAMELET_SHARE_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AZURESTORAGEFILESSINK_KAMELET_SHARE_NAME_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_AZURESTORAGEFILESSINK_KAMELET_SHARE_NAME_DOC);
+ conf.define(CAMEL_SINK_AZURESTORAGEFILESSINK_KAMELET_SHARED_KEY_CONF, ConfigDef.Type.PASSWORD, CAMEL_SINK_AZURESTORAGEFILESSINK_KAMELET_SHARED_KEY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AZURESTORAGEFILESSINK_KAMELET_SHARED_KEY_DOC);
+ conf.define(CAMEL_SINK_AZURESTORAGEFILESSINK_KAMELET_CREDENTIAL_TYPE_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AZURESTORAGEFILESSINK_KAMELET_CREDENTIAL_TYPE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AZURESTORAGEFILESSINK_KAMELET_CREDENTIAL_TYPE_DOC);
+ conf.define(CAMEL_SINK_AZURESTORAGEFILESSINK_KAMELET_DIRECTORY_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AZURESTORAGEFILESSINK_KAMELET_DIRECTORY_NAME_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AZURESTORAGEFILESSINK_KAMELET_DIRECTORY_NAME_DOC);
+ return conf;
+ }
+}
\ No newline at end of file
diff --git a/connectors/camel-hdfs-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/hdfs/CamelHdfsSinkTask.java b/connectors/camel-azure-storage-files-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/azurestoragefilessink/CamelAzurestoragefilessinkSinkTask.java
similarity index 78%
copy from connectors/camel-hdfs-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/hdfs/CamelHdfsSinkTask.java
copy to connectors/camel-azure-storage-files-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/azurestoragefilessink/CamelAzurestoragefilessinkSinkTask.java
index 66892919f6..927ee632c8 100644
--- a/connectors/camel-hdfs-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/hdfs/CamelHdfsSinkTask.java
+++ b/connectors/camel-azure-storage-files-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/azurestoragefilessink/CamelAzurestoragefilessinkSinkTask.java
@@ -13,7 +13,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- */package org.apache.camel.kafkaconnector.hdfs;
+ */package org.apache.camel.kafkaconnector.azurestoragefilessink;
import java.util.HashMap;
import java.util.Map;
@@ -22,17 +22,15 @@ import org.apache.camel.kafkaconnector.CamelSinkConnectorConfig;
import org.apache.camel.kafkaconnector.CamelSinkTask;
@Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.")
-public class CamelHdfsSinkTask extends CamelSinkTask {
+public class CamelAzurestoragefilessinkSinkTask extends CamelSinkTask {
@Override
protected CamelSinkConnectorConfig getCamelSinkConnectorConfig(
Map<String, String> props) {
- return new CamelHdfsSinkConnectorConfig(props);
+ return new CamelAzurestoragefilessinkSinkConnectorConfig(props);
}
@Override
- protected Map<String, String> getDefaultConfig() {
- return new HashMap<String, String>() {{
- put(CamelSinkConnectorConfig.CAMEL_SINK_COMPONENT_CONF, "hdfs");
- }};
+ protected String getSinkKamelet() {
+ return "kamelet:azure-storage-files-sink";
}
}
\ No newline at end of file
diff --git a/connectors/camel-hdfs-kafka-connector/src/main/resources/META-INF/LICENSE.txt b/connectors/camel-azure-storage-files-sink-kafka-connector/src/main/resources/META-INF/LICENSE.txt
similarity index 100%
copy from connectors/camel-hdfs-kafka-connector/src/main/resources/META-INF/LICENSE.txt
copy to connectors/camel-azure-storage-files-sink-kafka-connector/src/main/resources/META-INF/LICENSE.txt
diff --git a/connectors/camel-hdfs-kafka-connector/src/main/resources/META-INF/NOTICE.txt b/connectors/camel-azure-storage-files-sink-kafka-connector/src/main/resources/META-INF/NOTICE.txt
similarity index 100%
copy from connectors/camel-hdfs-kafka-connector/src/main/resources/META-INF/NOTICE.txt
copy to connectors/camel-azure-storage-files-sink-kafka-connector/src/main/resources/META-INF/NOTICE.txt
diff --git a/connectors/camel-azure-storage-blob-append-sink-kafka-connector/src/main/resources/kamelets/azure-storage-blob-append-sink.kamelet.yaml b/connectors/camel-azure-storage-files-sink-kafka-connector/src/main/resources/kamelets/azure-storage-files-sink.kamelet.yaml
similarity index 88%
copy from connectors/camel-azure-storage-blob-append-sink-kafka-connector/src/main/resources/kamelets/azure-storage-blob-append-sink.kamelet.yaml
copy to connectors/camel-azure-storage-files-sink-kafka-connector/src/main/resources/kamelets/azure-storage-files-sink.kamelet.yaml
index 1ecee334d4..786e1d781e 100644
--- a/connectors/camel-azure-storage-blob-append-sink-kafka-connector/src/main/resources/kamelets/azure-storage-blob-append-sink.kamelet.yaml
+++ b/connectors/camel-azure-storage-files-sink-kafka-connector/src/main/resources/kamelets/azure-storage-files-sink.kamelet.yaml
@@ -18,10 +18,10 @@
apiVersion: camel.apache.org/v1
kind: Kamelet
metadata:
- name: azure-storage-blob-append-sink
+ name: azure-storage-files-sink
annotations:
camel.apache.org/kamelet.support.level: "Stable"
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2aWV3Qm94PSIwIDAgOTEgODEiIGZpbGw9IiNmZmYiIGZpbGwtcnVsZT0iZXZlbm9kZCIgc3Ryb2tlPSIjMDAwIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPjx1c2UgeGxpbms6aHJlZj0iI0EiIHg9Ii41IiB5PSIuNSIvPjxzeW1ib2wgaWQ9IkEiIG92ZXJmbG93PSJ2aXNpYmxlIj48cGF0aCBkPSJNNjcuNTU4IDBIMjIuNDQxTDAgNDBsMjIuNDQxIDQwaDQ1LjExN0w5MCA0MCA2Ny [...]
camel.apache.org/provider: "Apache Software Foundation"
camel.apache.org/kamelet.group: "Azure Storage Blob"
@@ -30,14 +30,14 @@ metadata:
camel.apache.org/kamelet.type: "sink"
spec:
definition:
- title: "Azure Storage Blob Append Sink"
+ title: "Azure Storage Files Sink"
description: |-
- Upload data in append mode to Azure Storage Blob.
+ Upload data to Azure Storage Files Share.
In the header, you can set the `file` / `ce-file` property to specify the filename to upload. If you do set property in the header, the Kamelet uses the exchange ID as filename.
required:
- accountName
- - containerName
+ - shareName
type: object
properties:
accountName:
@@ -46,12 +46,12 @@ spec:
type: string
x-descriptors:
- urn:camel:group:credentials
- containerName:
- title: Container Name
- description: The Azure Storage Blob container name.
+ shareName:
+ title: Share Name
+ description: The Azure Storage File Share share name.
type: string
- accessKey:
- title: Access Key
+ sharedKey:
+ title: Shared Access Key
description: The Azure Storage Blob access key.
type: string
format: password
@@ -61,8 +61,13 @@ spec:
title: Credential Type
description: Determines the credential strategy to adopt.
type: string
- enum: ["SHARED_ACCOUNT_KEY", "AZURE_IDENTITY"]
+ enum: ["SHARED_ACCOUNT_KEY", "AZURE_IDENTITY", "SHARED_KEY_CREDENTIAL", "AZURE_SAS"]
default: "SHARED_ACCOUNT_KEY"
+ directoryName:
+ title: Directory Name
+ description: The directory from where the producer will upload the file.
+ type: string
+ default: "."
dependencies:
- "camel:core"
- "camel:azure-storage-blob"
@@ -76,22 +81,20 @@ spec:
- simple: "${header[file]}"
steps:
- setHeader:
- name: CamelAzureStorageBlobBlobName
+ name: CamelFileName
simple: "${header[file]}"
- simple: "${header[ce-file]}"
steps:
- setHeader:
- name: CamelAzureStorageBlobBlobName
+ name: CamelFileName
simple: "${header[ce-file]}"
otherwise:
steps:
- setHeader:
- name: CamelAzureStorageBlobBlobName
+ name: CamelFileName
simple: "${exchangeId}"
- to:
- uri: "azure-storage-blob://{{accountName}}/{{containerName}}"
+ uri: "azure-files://{{accountName}}/{{shareName}}/{{directoryName}}"
parameters:
- accessKey: "{{?accessKey}}"
- operation: "commitAppendBlob"
- blobType: "appendBlob"
+ sharedKey: "{{?sharedKey}}"
credentialType: "{{credentialType}}"
\ No newline at end of file
diff --git a/connectors/camel-kafka-source-kafka-connector/pom.xml b/connectors/camel-azure-storage-files-source-kafka-connector/pom.xml
similarity index 93%
copy from connectors/camel-kafka-source-kafka-connector/pom.xml
copy to connectors/camel-azure-storage-files-source-kafka-connector/pom.xml
index 0519c0a3e2..1324eeb235 100644
--- a/connectors/camel-kafka-source-kafka-connector/pom.xml
+++ b/connectors/camel-azure-storage-files-source-kafka-connector/pom.xml
@@ -24,9 +24,9 @@
<artifactId>connectors</artifactId>
<version>4.4.2-SNAPSHOT</version>
</parent>
- <artifactId>camel-kafka-source-kafka-connector</artifactId>
- <name>Camel-Kafka-Connector :: kafka-source</name>
- <description>Camel Kafka Connector for kafka-source</description>
+ <artifactId>camel-azure-storage-files-source-kafka-connector</artifactId>
+ <name>Camel-Kafka-Connector :: azure-storage-files-source</name>
+ <description>Camel Kafka Connector for azure-storage-files-source</description>
<dependencies>
<!-- Kafka -->
<dependency>
@@ -46,12 +46,16 @@
<artifactId>camel-core</artifactId>
</dependency>
<dependency>
- <groupId>org.apache.camel.kafkaconnector</groupId>
- <artifactId>camel-kafka-connector</artifactId>
+ <groupId>org.apache.camel</groupId>
+ <artifactId>camel-azure-files</artifactId>
</dependency>
<dependency>
<groupId>org.apache.camel</groupId>
- <artifactId>camel-kafka</artifactId>
+ <artifactId>camel-timer</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.camel.kafkaconnector</groupId>
+ <artifactId>camel-kafka-connector</artifactId>
</dependency>
<dependency>
<groupId>org.apache.camel</groupId>
@@ -61,11 +65,6 @@
<groupId>org.apache.camel</groupId>
<artifactId>camel-kamelet</artifactId>
</dependency>
- <dependency>
- <groupId>org.apache.camel.kamelets</groupId>
- <artifactId>camel-kamelets-utils</artifactId>
- <version>4.3.0</version>
- </dependency>
<!--END OF GENERATED CODE-->
</dependencies>
<build>
diff --git a/connectors/camel-azure-storage-files-source-kafka-connector/src/generated/descriptors/connector-source.properties b/connectors/camel-azure-storage-files-source-kafka-connector/src/generated/descriptors/connector-source.properties
new file mode 100644
index 0000000000..b554e2663d
--- /dev/null
+++ b/connectors/camel-azure-storage-files-source-kafka-connector/src/generated/descriptors/connector-source.properties
@@ -0,0 +1 @@
+camel-azure-storage-files-source-source
\ No newline at end of file
diff --git a/connectors/camel-azure-storage-files-source-kafka-connector/src/generated/resources/camel-azure-storage-files-source-source.json b/connectors/camel-azure-storage-files-source-kafka-connector/src/generated/resources/camel-azure-storage-files-source-source.json
new file mode 100644
index 0000000000..1c682ca28a
--- /dev/null
+++ b/connectors/camel-azure-storage-files-source-kafka-connector/src/generated/resources/camel-azure-storage-files-source-source.json
@@ -0,0 +1,66 @@
+{
+ "connector": {
+ "class": "org.apache.camel.kafkaconnector.azurestoragefilessource.CamelAzurestoragefilessourceSourceConnector",
+ "artifactId": "camel-azure-storage-files-source-kafka-connector",
+ "groupId": "org.apache.camel.kafkaconnector",
+ "id": "camel-azure-storage-files-source-source",
+ "type": "source",
+ "version": "4.4.2-SNAPSHOT",
+ "description": "Consume files from Azure Storage File Shares."
+ },
+ "properties": {
+ "camel.kamelet.azure-storage-files-source.accountName": {
+ "name": "camel.kamelet.azure-storage-files-source.accountName",
+ "description": "The Azure Storage File Share account name.",
+ "priority": "HIGH",
+ "required": "true"
+ },
+ "camel.kamelet.azure-storage-files-source.shareName": {
+ "name": "camel.kamelet.azure-storage-files-source.shareName",
+ "description": "The Azure Storage File Share share name.",
+ "priority": "HIGH",
+ "required": "true"
+ },
+ "camel.kamelet.azure-storage-files-source.sharedKey": {
+ "name": "camel.kamelet.azure-storage-files-source.sharedKey",
+ "description": "The Azure Storage Blob access key.",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
+ "camel.kamelet.azure-storage-files-source.delay": {
+ "name": "camel.kamelet.azure-storage-files-source.delay",
+ "description": "The number of milliseconds before the next poll of the selected blob.",
+ "defaultValue": "500",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
+ "camel.kamelet.azure-storage-files-source.deleteAfterRead": {
+ "name": "camel.kamelet.azure-storage-files-source.deleteAfterRead",
+ "description": "Specifies to delete blobs after consuming them",
+ "defaultValue": "false",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
+ "camel.kamelet.azure-storage-files-source.credentialType": {
+ "name": "camel.kamelet.azure-storage-files-source.credentialType",
+ "description": "Determines the credential strategy to adopt.",
+ "defaultValue": "\"SHARED_ACCOUNT_KEY\"",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
+ "camel.kamelet.azure-storage-files-source.directoryName": {
+ "name": "camel.kamelet.azure-storage-files-source.directoryName",
+ "description": "The directory from where the consumer will start reading files.",
+ "defaultValue": "\".\"",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
+ "camel.kamelet.azure-storage-files-source.recursive": {
+ "name": "camel.kamelet.azure-storage-files-source.recursive",
+ "description": "If a directory, the consumer will look for files in all the sub-directories as well.",
+ "defaultValue": "false",
+ "priority": "MEDIUM",
+ "required": "false"
+ }
+ }
+}
diff --git a/connectors/camel-hdfs-kafka-connector/src/main/assembly/package.xml b/connectors/camel-azure-storage-files-source-kafka-connector/src/main/assembly/package.xml
similarity index 100%
copy from connectors/camel-hdfs-kafka-connector/src/main/assembly/package.xml
copy to connectors/camel-azure-storage-files-source-kafka-connector/src/main/assembly/package.xml
diff --git a/connectors/camel-hdfs-kafka-connector/src/main/docs/examples/CamelHdfsSourceConnector.properties b/connectors/camel-azure-storage-files-source-kafka-connector/src/main/docs/examples/CamelAzurestoragefilessourceSourceConnector.properties
similarity index 78%
copy from connectors/camel-hdfs-kafka-connector/src/main/docs/examples/CamelHdfsSourceConnector.properties
copy to connectors/camel-azure-storage-files-source-kafka-connector/src/main/docs/examples/CamelAzurestoragefilessourceSourceConnector.properties
index 396d21efb2..f7acde16fd 100644
--- a/connectors/camel-hdfs-kafka-connector/src/main/docs/examples/CamelHdfsSourceConnector.properties
+++ b/connectors/camel-azure-storage-files-source-kafka-connector/src/main/docs/examples/CamelAzurestoragefilessourceSourceConnector.properties
@@ -15,8 +15,8 @@
## limitations under the License.
## ---------------------------------------------------------------------------
-name=CamelHdfsSourceConnector
-connector.class=org.apache.camel.kafkaconnector.hdfs.CamelHdfsSourceConnector
+name=CamelAzure-storage-files-sourceSourceConnector
+connector.class=org.apache.camel.kafkaconnector.azurestoragefilessource.CamelAzurestoragefilessourceSourceConnector
tasks.max=1
# use the kafka converters that better suit your needs, these are just defaults:
@@ -28,7 +28,7 @@ topics=
# mandatory properties (for a complete properties list see the connector documentation):
-# HDFS host to use
-camel.source.path.hostName=
-# The directory path to use
-camel.source.path.path=
+# The Azure Storage File Share account name.
+camel.kamelet.azure-storage-files-source.accountName=
+# The Azure Storage File Share share name.
+camel.kamelet.azure-storage-files-source.shareName=
diff --git a/connectors/camel-hdfs-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/hdfs/CamelHdfsSourceConnector.java b/connectors/camel-azure-storage-files-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/azurestoragefilessource/CamelAzurestoragefilessourceSourceConnector.java
similarity index 80%
copy from connectors/camel-hdfs-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/hdfs/CamelHdfsSourceConnector.java
copy to connectors/camel-azure-storage-files-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/azurestoragefilessource/CamelAzurestoragefilessourceSourceConnector.java
index 984240cb29..428ca9e5fa 100644
--- a/connectors/camel-hdfs-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/hdfs/CamelHdfsSourceConnector.java
+++ b/connectors/camel-azure-storage-files-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/azurestoragefilessource/CamelAzurestoragefilessourceSourceConnector.java
@@ -13,7 +13,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- */package org.apache.camel.kafkaconnector.hdfs;
+ */package org.apache.camel.kafkaconnector.azurestoragefilessource;
import javax.annotation.Generated;
import org.apache.camel.kafkaconnector.CamelSourceConnector;
@@ -21,14 +21,16 @@ import org.apache.kafka.common.config.ConfigDef;
import org.apache.kafka.connect.connector.Task;
@Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.")
-public class CamelHdfsSourceConnector extends CamelSourceConnector {
+public class CamelAzurestoragefilessourceSourceConnector
+ extends
+ CamelSourceConnector {
@Override
public ConfigDef config() {
- return CamelHdfsSourceConnectorConfig.conf();
+ return CamelAzurestoragefilessourceSourceConnectorConfig.conf();
}
@Override
public Class<? extends Task> taskClass() {
- return CamelHdfsSourceTask.class;
+ return CamelAzurestoragefilessourceSourceTask.class;
}
}
\ No newline at end of file
diff --git a/connectors/camel-azure-storage-files-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/azurestoragefilessource/CamelAzurestoragefilessourceSourceConnectorConfig.java b/connectors/camel-azure-storage-files-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/azurestoragefilessource/CamelAzurestoragefilessourceSourceConnectorConfig.java
new file mode 100644
index 0000000000..b95cc79c3a
--- /dev/null
+++ b/connectors/camel-azure-storage-files-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/azurestoragefilessource/CamelAzurestoragefilessourceSourceConnectorConfig.java
@@ -0,0 +1,76 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */package org.apache.camel.kafkaconnector.azurestoragefilessource;
+
+import java.util.Map;
+import javax.annotation.Generated;
+import org.apache.camel.kafkaconnector.CamelSourceConnectorConfig;
+import org.apache.kafka.common.config.ConfigDef;
+
+@Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.")
+public class CamelAzurestoragefilessourceSourceConnectorConfig
+ extends
+ CamelSourceConnectorConfig {
+
+ public static final String CAMEL_SOURCE_AZURESTORAGEFILESSOURCE_KAMELET_ACCOUNT_NAME_CONF = "camel.kamelet.azure-storage-files-source.accountName";
+ public static final String CAMEL_SOURCE_AZURESTORAGEFILESSOURCE_KAMELET_ACCOUNT_NAME_DOC = "The Azure Storage File Share account name.";
+ public static final String CAMEL_SOURCE_AZURESTORAGEFILESSOURCE_KAMELET_ACCOUNT_NAME_DEFAULT = null;
+ public static final String CAMEL_SOURCE_AZURESTORAGEFILESSOURCE_KAMELET_SHARE_NAME_CONF = "camel.kamelet.azure-storage-files-source.shareName";
+ public static final String CAMEL_SOURCE_AZURESTORAGEFILESSOURCE_KAMELET_SHARE_NAME_DOC = "The Azure Storage File Share share name.";
+ public static final String CAMEL_SOURCE_AZURESTORAGEFILESSOURCE_KAMELET_SHARE_NAME_DEFAULT = null;
+ public static final String CAMEL_SOURCE_AZURESTORAGEFILESSOURCE_KAMELET_SHARED_KEY_CONF = "camel.kamelet.azure-storage-files-source.sharedKey";
+ public static final String CAMEL_SOURCE_AZURESTORAGEFILESSOURCE_KAMELET_SHARED_KEY_DOC = "The Azure Storage Blob access key.";
+ public static final String CAMEL_SOURCE_AZURESTORAGEFILESSOURCE_KAMELET_SHARED_KEY_DEFAULT = null;
+ public static final String CAMEL_SOURCE_AZURESTORAGEFILESSOURCE_KAMELET_DELAY_CONF = "camel.kamelet.azure-storage-files-source.delay";
+ public static final String CAMEL_SOURCE_AZURESTORAGEFILESSOURCE_KAMELET_DELAY_DOC = "The number of milliseconds before the next poll of the selected blob.";
+ public static final Integer CAMEL_SOURCE_AZURESTORAGEFILESSOURCE_KAMELET_DELAY_DEFAULT = 500;
+ public static final String CAMEL_SOURCE_AZURESTORAGEFILESSOURCE_KAMELET_DELETE_AFTER_READ_CONF = "camel.kamelet.azure-storage-files-source.deleteAfterRead";
+ public static final String CAMEL_SOURCE_AZURESTORAGEFILESSOURCE_KAMELET_DELETE_AFTER_READ_DOC = "Specifies to delete blobs after consuming them";
+ public static final Boolean CAMEL_SOURCE_AZURESTORAGEFILESSOURCE_KAMELET_DELETE_AFTER_READ_DEFAULT = false;
+ public static final String CAMEL_SOURCE_AZURESTORAGEFILESSOURCE_KAMELET_CREDENTIAL_TYPE_CONF = "camel.kamelet.azure-storage-files-source.credentialType";
+ public static final String CAMEL_SOURCE_AZURESTORAGEFILESSOURCE_KAMELET_CREDENTIAL_TYPE_DOC = "Determines the credential strategy to adopt.";
+ public static final String CAMEL_SOURCE_AZURESTORAGEFILESSOURCE_KAMELET_CREDENTIAL_TYPE_DEFAULT = "SHARED_ACCOUNT_KEY";
+ public static final String CAMEL_SOURCE_AZURESTORAGEFILESSOURCE_KAMELET_DIRECTORY_NAME_CONF = "camel.kamelet.azure-storage-files-source.directoryName";
+ public static final String CAMEL_SOURCE_AZURESTORAGEFILESSOURCE_KAMELET_DIRECTORY_NAME_DOC = "The directory from where the consumer will start reading files.";
+ public static final String CAMEL_SOURCE_AZURESTORAGEFILESSOURCE_KAMELET_DIRECTORY_NAME_DEFAULT = ".";
+ public static final String CAMEL_SOURCE_AZURESTORAGEFILESSOURCE_KAMELET_RECURSIVE_CONF = "camel.kamelet.azure-storage-files-source.recursive";
+ public static final String CAMEL_SOURCE_AZURESTORAGEFILESSOURCE_KAMELET_RECURSIVE_DOC = "If a directory, the consumer will look for files in all the sub-directories as well.";
+ public static final Boolean CAMEL_SOURCE_AZURESTORAGEFILESSOURCE_KAMELET_RECURSIVE_DEFAULT = false;
+
+ public CamelAzurestoragefilessourceSourceConnectorConfig(
+ ConfigDef config,
+ Map<String, String> parsedConfig) {
+ super(config, parsedConfig);
+ }
+
+ public CamelAzurestoragefilessourceSourceConnectorConfig(
+ Map<String, String> parsedConfig) {
+ this(conf(), parsedConfig);
+ }
+
+ public static ConfigDef conf() {
+ ConfigDef conf = new ConfigDef(CamelSourceConnectorConfig.conf());
+ conf.define(CAMEL_SOURCE_AZURESTORAGEFILESSOURCE_KAMELET_ACCOUNT_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_AZURESTORAGEFILESSOURCE_KAMELET_ACCOUNT_NAME_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_AZURESTORAGEFILESSOURCE_KAMELET_ACCOUNT_NAME_DOC);
+ conf.define(CAMEL_SOURCE_AZURESTORAGEFILESSOURCE_KAMELET_SHARE_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_AZURESTORAGEFILESSOURCE_KAMELET_SHARE_NAME_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_AZURESTORAGEFILESSOURCE_KAMELET_SHARE_NAME_DOC);
+ conf.define(CAMEL_SOURCE_AZURESTORAGEFILESSOURCE_KAMELET_SHARED_KEY_CONF, ConfigDef.Type.PASSWORD, CAMEL_SOURCE_AZURESTORAGEFILESSOURCE_KAMELET_SHARED_KEY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AZURESTORAGEFILESSOURCE_KAMELET_SHARED_KEY_DOC);
+ conf.define(CAMEL_SOURCE_AZURESTORAGEFILESSOURCE_KAMELET_DELAY_CONF, ConfigDef.Type.INT, CAMEL_SOURCE_AZURESTORAGEFILESSOURCE_KAMELET_DELAY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AZURESTORAGEFILESSOURCE_KAMELET_DELAY_DOC);
+ conf.define(CAMEL_SOURCE_AZURESTORAGEFILESSOURCE_KAMELET_DELETE_AFTER_READ_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_AZURESTORAGEFILESSOURCE_KAMELET_DELETE_AFTER_READ_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AZURESTORAGEFILESSOURCE_KAMELET_DELETE_AFTER_READ_DOC);
+ conf.define(CAMEL_SOURCE_AZURESTORAGEFILESSOURCE_KAMELET_CREDENTIAL_TYPE_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_AZURESTORAGEFILESSOURCE_KAMELET_CREDENTIAL_TYPE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AZURESTORAGEFILESSOURCE_KAMELET_CREDENTIAL_TYPE_DOC);
+ conf.define(CAMEL_SOURCE_AZURESTORAGEFILESSOURCE_KAMELET_DIRECTORY_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_AZURESTORAGEFILESSOURCE_KAMELET_DIRECTORY_NAME_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AZURESTORAGEFILESSOURCE_KAMELET_DIRECTORY_NAME_DOC);
+ conf.define(CAMEL_SOURCE_AZURESTORAGEFILESSOURCE_KAMELET_RECURSIVE_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_AZURESTORAGEFILESSOURCE_KAMELET_RECURSIVE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AZURESTORAGEFILESSOURCE_KAMELET_RECURSIVE_DOC);
+ return conf;
+ }
+}
\ No newline at end of file
diff --git a/connectors/camel-hdfs-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/hdfs/CamelHdfsSourceTask.java b/connectors/camel-azure-storage-files-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/azurestoragefilessource/CamelAzurestoragefilessourceSourceTask.java
similarity index 78%
copy from connectors/camel-hdfs-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/hdfs/CamelHdfsSourceTask.java
copy to connectors/camel-azure-storage-files-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/azurestoragefilessource/CamelAzurestoragefilessourceSourceTask.java
index 187e333f08..55b1935d62 100644
--- a/connectors/camel-hdfs-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/hdfs/CamelHdfsSourceTask.java
+++ b/connectors/camel-azure-storage-files-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/azurestoragefilessource/CamelAzurestoragefilessourceSourceTask.java
@@ -13,7 +13,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- */package org.apache.camel.kafkaconnector.hdfs;
+ */package org.apache.camel.kafkaconnector.azurestoragefilessource;
import java.util.HashMap;
import java.util.Map;
@@ -22,17 +22,15 @@ import org.apache.camel.kafkaconnector.CamelSourceConnectorConfig;
import org.apache.camel.kafkaconnector.CamelSourceTask;
@Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.")
-public class CamelHdfsSourceTask extends CamelSourceTask {
+public class CamelAzurestoragefilessourceSourceTask extends CamelSourceTask {
@Override
protected CamelSourceConnectorConfig getCamelSourceConnectorConfig(
Map<String, String> props) {
- return new CamelHdfsSourceConnectorConfig(props);
+ return new CamelAzurestoragefilessourceSourceConnectorConfig(props);
}
@Override
- protected Map<String, String> getDefaultConfig() {
- return new HashMap<String, String>() {{
- put(CamelSourceConnectorConfig.CAMEL_SOURCE_COMPONENT_CONF, "hdfs");
- }};
+ protected String getSourceKamelet() {
+ return "kamelet:azure-storage-files-source";
}
}
\ No newline at end of file
diff --git a/connectors/camel-hdfs-kafka-connector/src/main/resources/META-INF/LICENSE.txt b/connectors/camel-azure-storage-files-source-kafka-connector/src/main/resources/META-INF/LICENSE.txt
similarity index 100%
copy from connectors/camel-hdfs-kafka-connector/src/main/resources/META-INF/LICENSE.txt
copy to connectors/camel-azure-storage-files-source-kafka-connector/src/main/resources/META-INF/LICENSE.txt
diff --git a/connectors/camel-hdfs-kafka-connector/src/main/resources/META-INF/NOTICE.txt b/connectors/camel-azure-storage-files-source-kafka-connector/src/main/resources/META-INF/NOTICE.txt
similarity index 100%
copy from connectors/camel-hdfs-kafka-connector/src/main/resources/META-INF/NOTICE.txt
copy to connectors/camel-azure-storage-files-source-kafka-connector/src/main/resources/META-INF/NOTICE.txt
diff --git a/connectors/camel-azure-storage-blob-sink-kafka-connector/src/main/resources/kamelets/azure-storage-blob-sink.kamelet.yaml b/connectors/camel-azure-storage-files-source-kafka-connector/src/main/resources/kamelets/azure-storage-files-source.kamelet.yaml
similarity index 78%
copy from connectors/camel-azure-storage-blob-sink-kafka-connector/src/main/resources/kamelets/azure-storage-blob-sink.kamelet.yaml
copy to connectors/camel-azure-storage-files-source-kafka-connector/src/main/resources/kamelets/azure-storage-files-source.kamelet.yaml
index 93620b700c..13461527e2 100644
--- a/connectors/camel-azure-storage-blob-sink-kafka-connector/src/main/resources/kamelets/azure-storage-blob-sink.kamelet.yaml
+++ b/connectors/camel-azure-storage-files-source-kafka-connector/src/main/resources/kamelets/azure-storage-files-source.kamelet.yaml
@@ -18,79 +18,82 @@
apiVersion: camel.apache.org/v1
kind: Kamelet
metadata:
- name: azure-storage-blob-sink
+ name: azure-storage-files-source
annotations:
camel.apache.org/kamelet.support.level: "Stable"
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2aWV3Qm94PSIwIDAgOTEgODEiIGZpbGw9IiNmZmYiIGZpbGwtcnVsZT0iZXZlbm9kZCIgc3Ryb2tlPSIjMDAwIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPjx1c2UgeGxpbms6aHJlZj0iI0EiIHg9Ii41IiB5PSIuNSIvPjxzeW1ib2wgaWQ9IkEiIG92ZXJmbG93PSJ2aXNpYmxlIj48cGF0aCBkPSJNNjcuNTU4IDBIMjIuNDQxTDAgNDBsMjIuNDQxIDQwaDQ1LjExN0w5MCA0MCA2Ny [...]
camel.apache.org/provider: "Apache Software Foundation"
camel.apache.org/kamelet.group: "Azure Storage Blob"
camel.apache.org/kamelet.namespace: "Azure"
labels:
- camel.apache.org/kamelet.type: "sink"
+ camel.apache.org/kamelet.type: "source"
spec:
definition:
- title: "Azure Storage Blob Sink"
+ title: "Azure Storage File Source"
description: |-
- Upload data to Azure Storage Blob.
-
- In the header, you can set the `file` / `ce-file` property to specify the filename to upload. If you do set property in the header, the Kamelet uses the exchange ID as filename.
+ Consume files from Azure Storage File Shares.
required:
- accountName
- - containerName
+ - shareName
type: object
properties:
accountName:
title: Account Name
- description: The Azure Storage Blob account name.
+ description: The Azure Storage File Share account name.
type: string
x-descriptors:
- urn:camel:group:credentials
- containerName:
- title: Container Name
- description: The Azure Storage Blob container name.
+ shareName:
+ title: Share Name
+ description: The Azure Storage File Share share name.
type: string
- accessKey:
- title: Access Key
+ sharedKey:
+ title: Shared Access Key
description: The Azure Storage Blob access key.
type: string
format: password
x-descriptors:
- urn:camel:group:credentials
+ delay:
+ title: Delay
+ description: The number of milliseconds before the next poll of the selected blob.
+ type: integer
+ default: 500
+ deleteAfterRead:
+ title: Auto-delete Blob
+ description: Specifies to delete blobs after consuming them
+ type: boolean
+ default: false
credentialType:
title: Credential Type
description: Determines the credential strategy to adopt.
type: string
- enum: ["SHARED_ACCOUNT_KEY", "AZURE_IDENTITY"]
+ enum: ["SHARED_ACCOUNT_KEY", "AZURE_IDENTITY", "SHARED_KEY_CREDENTIAL", "AZURE_SAS"]
default: "SHARED_ACCOUNT_KEY"
+ directoryName:
+ title: Directory Name
+ description: The directory from where the consumer will start reading files.
+ type: string
+ default: "."
+ recursive:
+ title: Recursive Mode
+ description: If a directory, the consumer will look for files in all the sub-directories as well.
+ type: boolean
+ default: false
dependencies:
- - "camel:core"
- - "camel:azure-storage-blob"
+ - "camel:azure-files"
- "camel:kamelet"
+ - "camel:core"
+ - "camel:timer"
template:
from:
- uri: "kamelet:source"
+ uri: "azure-files:{{accountName}}/{{shareName}}/{{directoryName}}"
+ parameters:
+ sharedKey: "{{?sharedKey}}"
+ credentialType: "{{credentialType}}"
+ delay: "{{delay}}"
+ delete: "{{deleteAfterRead}}"
+ recursive: "{{recursive}}"
steps:
- - choice:
- when:
- - simple: "${header[file]}"
- steps:
- - setHeader:
- name: CamelAzureStorageBlobBlobName
- simple: "${header[file]}"
- - simple: "${header[ce-file]}"
- steps:
- - setHeader:
- name: CamelAzureStorageBlobBlobName
- simple: "${header[ce-file]}"
- otherwise:
- steps:
- - setHeader:
- name: CamelAzureStorageBlobBlobName
- simple: "${exchangeId}"
- - to:
- uri: "azure-storage-blob://{{accountName}}/{{containerName}}"
- parameters:
- accessKey: "{{?accessKey}}"
- operation: "uploadBlockBlob"
- credentialType: "{{credentialType}}"
\ No newline at end of file
+ - to: "kamelet:sink"
diff --git a/connectors/camel-azure-storage-queue-sink-kafka-connector/src/generated/resources/camel-azure-storage-queue-sink-sink.json b/connectors/camel-azure-storage-queue-sink-kafka-connector/src/generated/resources/camel-azure-storage-queue-sink-sink.json
index eb1312b1f3..33bb96508c 100644
--- a/connectors/camel-azure-storage-queue-sink-kafka-connector/src/generated/resources/camel-azure-storage-queue-sink-sink.json
+++ b/connectors/camel-azure-storage-queue-sink-kafka-connector/src/generated/resources/camel-azure-storage-queue-sink-sink.json
@@ -26,6 +26,13 @@
"description": "The Azure Storage Queue access key.",
"priority": "HIGH",
"required": "true"
+ },
+ "camel.kamelet.azure-storage-queue-sink.credentialType": {
+ "name": "camel.kamelet.azure-storage-queue-sink.credentialType",
+ "description": "Determines the credential strategy to adopt.",
+ "defaultValue": "\"SHARED_ACCOUNT_KEY\"",
+ "priority": "MEDIUM",
+ "required": "false"
}
}
}
\ No newline at end of file
diff --git a/connectors/camel-azure-storage-queue-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/azurestoragequeuesink/CamelAzurestoragequeuesinkSinkConnectorConfig.java b/connectors/camel-azure-storage-queue-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/azurestoragequeuesink/CamelAzurestoragequeuesinkSinkConnectorConfig.java
index bca08c2afb..c7af6d0bb5 100644
--- a/connectors/camel-azure-storage-queue-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/azurestoragequeuesink/CamelAzurestoragequeuesinkSinkConnectorConfig.java
+++ b/connectors/camel-azure-storage-queue-sink-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/azurestoragequeuesink/CamelAzurestoragequeuesinkSinkConnectorConfig.java
@@ -34,6 +34,9 @@ public class CamelAzurestoragequeuesinkSinkConnectorConfig
public static final String CAMEL_SINK_AZURESTORAGEQUEUESINK_KAMELET_ACCESS_KEY_CONF = "camel.kamelet.azure-storage-queue-sink.accessKey";
public static final String CAMEL_SINK_AZURESTORAGEQUEUESINK_KAMELET_ACCESS_KEY_DOC = "The Azure Storage Queue access key.";
public static final String CAMEL_SINK_AZURESTORAGEQUEUESINK_KAMELET_ACCESS_KEY_DEFAULT = null;
+ public static final String CAMEL_SINK_AZURESTORAGEQUEUESINK_KAMELET_CREDENTIAL_TYPE_CONF = "camel.kamelet.azure-storage-queue-sink.credentialType";
+ public static final String CAMEL_SINK_AZURESTORAGEQUEUESINK_KAMELET_CREDENTIAL_TYPE_DOC = "Determines the credential strategy to adopt.";
+ public static final String CAMEL_SINK_AZURESTORAGEQUEUESINK_KAMELET_CREDENTIAL_TYPE_DEFAULT = "SHARED_ACCOUNT_KEY";
public CamelAzurestoragequeuesinkSinkConnectorConfig(
ConfigDef config,
@@ -51,6 +54,7 @@ public class CamelAzurestoragequeuesinkSinkConnectorConfig
conf.define(CAMEL_SINK_AZURESTORAGEQUEUESINK_KAMELET_ACCOUNT_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AZURESTORAGEQUEUESINK_KAMELET_ACCOUNT_NAME_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_AZURESTORAGEQUEUESINK_KAMELET_ACCOUNT_NAME_DOC);
conf.define(CAMEL_SINK_AZURESTORAGEQUEUESINK_KAMELET_QUEUE_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AZURESTORAGEQUEUESINK_KAMELET_QUEUE_NAME_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_AZURESTORAGEQUEUESINK_KAMELET_QUEUE_NAME_DOC);
conf.define(CAMEL_SINK_AZURESTORAGEQUEUESINK_KAMELET_ACCESS_KEY_CONF, ConfigDef.Type.PASSWORD, CAMEL_SINK_AZURESTORAGEQUEUESINK_KAMELET_ACCESS_KEY_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_AZURESTORAGEQUEUESINK_KAMELET_ACCESS_KEY_DOC);
+ conf.define(CAMEL_SINK_AZURESTORAGEQUEUESINK_KAMELET_CREDENTIAL_TYPE_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AZURESTORAGEQUEUESINK_KAMELET_CREDENTIAL_TYPE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AZURESTORAGEQUEUESINK_KAMELET_CREDENTIAL_TYPE_DOC);
return conf;
}
}
\ No newline at end of file
diff --git a/connectors/camel-azure-storage-queue-sink-kafka-connector/src/main/resources/kamelets/azure-storage-queue-sink.kamelet.yaml b/connectors/camel-azure-storage-queue-sink-kafka-connector/src/main/resources/kamelets/azure-storage-queue-sink.kamelet.yaml
index d387a0ae42..7d9e67c26f 100644
--- a/connectors/camel-azure-storage-queue-sink-kafka-connector/src/main/resources/kamelets/azure-storage-queue-sink.kamelet.yaml
+++ b/connectors/camel-azure-storage-queue-sink-kafka-connector/src/main/resources/kamelets/azure-storage-queue-sink.kamelet.yaml
@@ -21,7 +21,7 @@ metadata:
name: azure-storage-queue-sink
annotations:
camel.apache.org/kamelet.support.level: "Stable"
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2aWV3Qm94PSIwIDAgOTEgODEiIGZpbGw9IiNmZmYiIGZpbGwtcnVsZT0iZXZlbm9kZCIgc3Ryb2tlPSIjMDAwIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPjx1c2UgeGxpbms6aHJlZj0iI0EiIHg9Ii41IiB5PSIuNSIvPjxzeW1ib2wgaWQ9IkEiIG92ZXJmbG93PSJ2aXNpYmxlIj48cGF0aCBkPSJNNzAuMDUzIDM0LjYzNEg1MC41OGw5LjczNiA3LjgwNXptLTM5LjQyIDEwLjQ4OG [...]
camel.apache.org/provider: "Apache Software Foundation"
camel.apache.org/kamelet.group: "Azure Storage Queue"
@@ -58,6 +58,12 @@ spec:
format: password
x-descriptors:
- urn:camel:group:credentials
+ credentialType:
+ title: Credential Type
+ description: Determines the credential strategy to adopt.
+ type: string
+ enum: ["SHARED_ACCOUNT_KEY", "SHARED_KEY_CREDENTIAL", "AZURE_IDENTITY"]
+ default: "SHARED_ACCOUNT_KEY"
dependencies:
- "camel:core"
- "camel:azure-storage-queue"
@@ -81,4 +87,5 @@ spec:
- to:
uri: "azure-storage-queue://{{accountName}}/{{queueName}}"
parameters:
- accessKey: "{{accessKey}}"
\ No newline at end of file
+ accessKey: "{{accessKey}}"
+ credentialType: "{{credentialType}}"
\ No newline at end of file
diff --git a/connectors/camel-azure-storage-queue-source-kafka-connector/pom.xml b/connectors/camel-azure-storage-queue-source-kafka-connector/pom.xml
index 439c206339..b5af9652d0 100644
--- a/connectors/camel-azure-storage-queue-source-kafka-connector/pom.xml
+++ b/connectors/camel-azure-storage-queue-source-kafka-connector/pom.xml
@@ -57,14 +57,14 @@
<groupId>org.apache.camel</groupId>
<artifactId>camel-yaml-dsl</artifactId>
</dependency>
- <dependency>
- <groupId>org.apache.camel</groupId>
- <artifactId>camel-kamelet</artifactId>
- </dependency>
<dependency>
<groupId>org.apache.camel.kamelets</groupId>
<artifactId>camel-kamelets-utils</artifactId>
- <version>4.3.0</version>
+ <version>4.4.2</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.camel</groupId>
+ <artifactId>camel-kamelet</artifactId>
</dependency>
<!--END OF GENERATED CODE-->
</dependencies>
diff --git a/connectors/camel-azure-storage-queue-source-kafka-connector/src/generated/resources/camel-azure-storage-queue-source-source.json b/connectors/camel-azure-storage-queue-source-kafka-connector/src/generated/resources/camel-azure-storage-queue-source-source.json
index 4ab52228ff..37454b736c 100644
--- a/connectors/camel-azure-storage-queue-source-kafka-connector/src/generated/resources/camel-azure-storage-queue-source-source.json
+++ b/connectors/camel-azure-storage-queue-source-kafka-connector/src/generated/resources/camel-azure-storage-queue-source-source.json
@@ -33,6 +33,13 @@
"defaultValue": "1",
"priority": "MEDIUM",
"required": "false"
+ },
+ "camel.kamelet.azure-storage-queue-source.credentialType": {
+ "name": "camel.kamelet.azure-storage-queue-source.credentialType",
+ "description": "Determines the credential strategy to adopt.",
+ "defaultValue": "\"SHARED_ACCOUNT_KEY\"",
+ "priority": "MEDIUM",
+ "required": "false"
}
}
}
\ No newline at end of file
diff --git a/connectors/camel-azure-storage-queue-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/azurestoragequeuesource/CamelAzurestoragequeuesourceSourceConnectorConfig.java b/connectors/camel-azure-storage-queue-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/azurestoragequeuesource/CamelAzurestoragequeuesourceSourceConnectorConfig.java
index dd0299f20f..d65d3c8abb 100644
--- a/connectors/camel-azure-storage-queue-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/azurestoragequeuesource/CamelAzurestoragequeuesourceSourceConnectorConfig.java
+++ b/connectors/camel-azure-storage-queue-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/azurestoragequeuesource/CamelAzurestoragequeuesourceSourceConnectorConfig.java
@@ -37,6 +37,9 @@ public class CamelAzurestoragequeuesourceSourceConnectorConfig
public static final String CAMEL_SOURCE_AZURESTORAGEQUEUESOURCE_KAMELET_MAX_MESSAGES_CONF = "camel.kamelet.azure-storage-queue-source.maxMessages";
public static final String CAMEL_SOURCE_AZURESTORAGEQUEUESOURCE_KAMELET_MAX_MESSAGES_DOC = "The maximum number of messages to get. You can specify a value between 1 and 32. The default is 1 (one message). If there are fewer than the maximum number of messages in the queue, then all the messages are returned.";
public static final Integer CAMEL_SOURCE_AZURESTORAGEQUEUESOURCE_KAMELET_MAX_MESSAGES_DEFAULT = 1;
+ public static final String CAMEL_SOURCE_AZURESTORAGEQUEUESOURCE_KAMELET_CREDENTIAL_TYPE_CONF = "camel.kamelet.azure-storage-queue-source.credentialType";
+ public static final String CAMEL_SOURCE_AZURESTORAGEQUEUESOURCE_KAMELET_CREDENTIAL_TYPE_DOC = "Determines the credential strategy to adopt.";
+ public static final String CAMEL_SOURCE_AZURESTORAGEQUEUESOURCE_KAMELET_CREDENTIAL_TYPE_DEFAULT = "SHARED_ACCOUNT_KEY";
public CamelAzurestoragequeuesourceSourceConnectorConfig(
ConfigDef config,
@@ -55,6 +58,7 @@ public class CamelAzurestoragequeuesourceSourceConnectorConfig
conf.define(CAMEL_SOURCE_AZURESTORAGEQUEUESOURCE_KAMELET_QUEUE_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_AZURESTORAGEQUEUESOURCE_KAMELET_QUEUE_NAME_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_AZURESTORAGEQUEUESOURCE_KAMELET_QUEUE_NAME_DOC);
conf.define(CAMEL_SOURCE_AZURESTORAGEQUEUESOURCE_KAMELET_ACCESS_KEY_CONF, ConfigDef.Type.PASSWORD, CAMEL_SOURCE_AZURESTORAGEQUEUESOURCE_KAMELET_ACCESS_KEY_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_AZURESTORAGEQUEUESOURCE_KAMELET_ACCESS_KEY_DOC);
conf.define(CAMEL_SOURCE_AZURESTORAGEQUEUESOURCE_KAMELET_MAX_MESSAGES_CONF, ConfigDef.Type.INT, CAMEL_SOURCE_AZURESTORAGEQUEUESOURCE_KAMELET_MAX_MESSAGES_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AZURESTORAGEQUEUESOURCE_KAMELET_MAX_MESSAGES_DOC);
+ conf.define(CAMEL_SOURCE_AZURESTORAGEQUEUESOURCE_KAMELET_CREDENTIAL_TYPE_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_AZURESTORAGEQUEUESOURCE_KAMELET_CREDENTIAL_TYPE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AZURESTORAGEQUEUESOURCE_KAMELET_CREDENTIAL_TYPE_DOC);
return conf;
}
}
\ No newline at end of file
diff --git a/connectors/camel-azure-storage-queue-source-kafka-connector/src/main/resources/kamelets/azure-storage-queue-source.kamelet.yaml b/connectors/camel-azure-storage-queue-source-kafka-connector/src/main/resources/kamelets/azure-storage-queue-source.kamelet.yaml
index 90cfba70fb..6b8f8c6f7f 100644
--- a/connectors/camel-azure-storage-queue-source-kafka-connector/src/main/resources/kamelets/azure-storage-queue-source.kamelet.yaml
+++ b/connectors/camel-azure-storage-queue-source-kafka-connector/src/main/resources/kamelets/azure-storage-queue-source.kamelet.yaml
@@ -21,7 +21,7 @@ metadata:
name: azure-storage-queue-source
annotations:
camel.apache.org/kamelet.support.level: "Stable"
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2aWV3Qm94PSIwIDAgOTEgODEiIGZpbGw9IiNmZmYiIGZpbGwtcnVsZT0iZXZlbm9kZCIgc3Ryb2tlPSIjMDAwIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPjx1c2UgeGxpbms6aHJlZj0iI0EiIHg9Ii41IiB5PSIuNSIvPjxzeW1ib2wgaWQ9IkEiIG92ZXJmbG93PSJ2aXNpYmxlIj48cGF0aCBkPSJNNzAuMDUzIDM0LjYzNEg1MC41OGw5LjczNiA3LjgwNXptLTM5LjQyIDEwLjQ4OG [...]
camel.apache.org/provider: "Apache Software Foundation"
camel.apache.org/kamelet.group: "Azure Storage Queue"
@@ -63,26 +63,84 @@ spec:
description: The maximum number of messages to get. You can specify a value between 1 and 32. The default is 1 (one message). If there are fewer than the maximum number of messages in the queue, then all the messages are returned.
type: integer
default: 1
+ credentialType:
+ title: Credential Type
+ description: Determines the credential strategy to adopt.
+ type: string
+ enum: ["SHARED_ACCOUNT_KEY", "SHARED_KEY_CREDENTIAL", "AZURE_IDENTITY"]
+ default: "SHARED_ACCOUNT_KEY"
+ dataTypes:
+ out:
+ default: text
+ headers:
+ CamelAzureStorageQueueMessageId:
+ title: Azure Storage Queue Message Id
+ description: The id of the message
+ type: string
+ CamelAzureStorageQueueInsertionTime:
+ title: Azure Storage Queue Message Insertion Time
+ description: The time the Message was inserted into the Queue.
+ type: OffsetDateTime
+ CamelAzureStorageQueueExpirationTime:
+ title: Azure Storage Queue Message Expiration Time
+ description: The time that the Message will expire and be automatically deleted.
+ type: OffsetDateTime
+ CamelAzureStorageQueuePopReceipt:
+ title: Pop Receipt
+ description: |-
+ Unique identifier that must match for the message to be deleted or updated. If deletion fails using this pop receipt then the message has been dequeued by another client.
+ type: string
+ CamelAzureStorageQueueTimeNextVisible:
+ title: Azure Storage Queue Message Time Next Visible
+ description: The time that the message will again become visible in the Queue.
+ type: OffsetDateTime
+ CamelAzureStorageQueueDequeueCount:
+ title: Dequeue Count
+ description: The number of times the message has been dequeued
+ type: long
+ types:
+ binary:
+ format: "text-plain"
+ description: Default text representation of the Message dequeued from the queue.
+ mediaType: text/plain
+ cloudevents:
+ format: "azure-storage-queue:application-cloudevents"
+ description: |-
+ Output data type represents Azure Storage Queue receive messages operation as CloudEvent V1. The data type sets Camel
+ specific CloudEvent headers on the exchange.
+ headers:
+ CamelCloudEventID:
+ title: CloudEvent ID
+ description: The Camel exchange id set as event id
+ type: string
+ CamelCloudEventType:
+ title: CloudEvent Type
+ description: The event type
+ default: "org.apache.camel.event.azure.storage.queue.receiveMessages"
+ type: string
+ CamelCloudEventSource:
+ title: CloudEvent Source
+ description: The event source. By default, the Message Id of the message received with prefix "azure.storage.queue.".
+ type: string
+ CamelCloudEventSubject:
+ title: CloudEvent Subject
+ description: The event subject. Usually the Pop receipt of the message dequeued.
+ type: string
+ CamelCloudEventTime:
+ title: CloudEvent Time
+ description: The exchange creation timestamp as event time.
+ type: string
dependencies:
- "camel:azure-storage-queue"
- "camel:kamelet"
- - "mvn:org.apache.camel.kamelets:camel-kamelets-utils:4.3.0"
+ - "mvn:org.apache.camel.kamelets:camel-kamelets-utils:4.4.2"
- "camel:core"
template:
- beans:
- - name: renameHeaders
- type: "#class:org.apache.camel.kamelets.utils.headers.DuplicateNamingHeaders"
- properties:
- prefix: 'CamelAzureStorageQueue'
- renamingPrefix: 'azure.storage.queue.'
- mode: 'filtering'
- selectedHeaders: 'CamelAzureStorageQueueMessageId'
from:
uri: "azure-storage-queue://{{accountName}}/{{queueName}}"
parameters:
accessKey: "{{accessKey}}"
maxMessages: "{{maxMessages}}"
+ credentialType: "{{credentialType}}"
steps:
- - process:
- ref: "{{renameHeaders}}"
- to: "kamelet:sink"
\ No newline at end of file
diff --git a/connectors/camel-beer-source-kafka-connector/src/main/resources/kamelets/beer-source.kamelet.yaml b/connectors/camel-beer-source-kafka-connector/src/main/resources/kamelets/beer-source.kamelet.yaml
index 32385c2334..f4a830c364 100644
--- a/connectors/camel-beer-source-kafka-connector/src/main/resources/kamelets/beer-source.kamelet.yaml
+++ b/connectors/camel-beer-source-kafka-connector/src/main/resources/kamelets/beer-source.kamelet.yaml
@@ -4,7 +4,7 @@ metadata:
name: beer-source
annotations:
camel.apache.org/kamelet.support.level: "Stable"
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iOTJwdCIgd2lkdGg9IjkycHQiIHZlcnNpb249IjEuMCIgeG1sbnM6Y2M9Imh0dHA6Ly9jcmVhdGl2ZWNvbW1vbnMub3JnL25zIyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyI+Cg [...]
camel.apache.org/provider: "Apache Software Foundation"
camel.apache.org/kamelet.group: "Beers"
diff --git a/connectors/camel-bitcoin-source-kafka-connector/src/main/resources/kamelets/bitcoin-source.kamelet.yaml b/connectors/camel-bitcoin-source-kafka-connector/src/main/resources/kamelets/bitcoin-source.kamelet.yaml
index b0bf743863..97d5ee0704 100644
--- a/connectors/camel-bitcoin-source-kafka-connector/src/main/resources/kamelets/bitcoin-source.kamelet.yaml
+++ b/connectors/camel-bitcoin-source-kafka-connector/src/main/resources/kamelets/bitcoin-source.kamelet.yaml
@@ -20,7 +20,7 @@ metadata:
name: bitcoin-source
annotations:
camel.apache.org/kamelet.support.level: "Stable"
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PCEtLSBDcmVhdGVkIHdpdGggSW5rc2NhcGUgKGh0dHA6Ly93d3cuaW5rc2NhcGUub3JnLykgLS0+CjxzdmcgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iNjQiIHdpZHRoPSI2NCIgdmVyc2lvbj0iMS4xIiB4bWxuczpjYz0iaHR0cDovL2NyZWF0aXZlY29tbW9ucy5vcmcvbnMjIiB4bWxuczpkYz0iaHR0cDovL3B1cmwub3JnL2RjL2VsZW1lbnRzLzEuMS8iPgo8ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwLjAwNjMwODc2LC0wLjAwMzAxOT [...]
camel.apache.org/provider: "Apache Software Foundation"
camel.apache.org/kamelet.group: "Bitcoin"
diff --git a/connectors/camel-cassandra-sink-kafka-connector/src/main/resources/kamelets/cassandra-sink.kamelet.yaml b/connectors/camel-cassandra-sink-kafka-connector/src/main/resources/kamelets/cassandra-sink.kamelet.yaml
index 6d7949a31d..da1dfdbfba 100644
--- a/connectors/camel-cassandra-sink-kafka-connector/src/main/resources/kamelets/cassandra-sink.kamelet.yaml
+++ b/connectors/camel-cassandra-sink-kafka-connector/src/main/resources/kamelets/cassandra-sink.kamelet.yaml
@@ -20,7 +20,7 @@ metadata:
name: cassandra-sink
annotations:
camel.apache.org/kamelet.support.level: "Stable"
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDIyLjEuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IgoJIHZpZXdCb3g9IjAgMCAzMiAzMiIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgMzIgMzI7Ii [...]
camel.apache.org/provider: "Apache Software Foundation"
camel.apache.org/kamelet.group: "Cassandra"
@@ -80,7 +80,6 @@ spec:
description: If true, specifies to use PreparedStatements as the query. If false, specifies to use regular Statements as the query.
type: boolean
default: true
- x-descriptors:
query:
title: Query
description: The query to execute against the Cassandra cluster table.
diff --git a/connectors/camel-cassandra-source-kafka-connector/src/main/resources/kamelets/cassandra-source.kamelet.yaml b/connectors/camel-cassandra-source-kafka-connector/src/main/resources/kamelets/cassandra-source.kamelet.yaml
index eb9c1c5ca0..3f38bd5a35 100644
--- a/connectors/camel-cassandra-source-kafka-connector/src/main/resources/kamelets/cassandra-source.kamelet.yaml
+++ b/connectors/camel-cassandra-source-kafka-connector/src/main/resources/kamelets/cassandra-source.kamelet.yaml
@@ -20,7 +20,7 @@ metadata:
name: cassandra-source
annotations:
camel.apache.org/kamelet.support.level: "Stable"
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDIyLjEuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IgoJIHZpZXdCb3g9IjAgMCAzMiAzMiIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgMzIgMzI7Ii [...]
camel.apache.org/provider: "Apache Software Foundation"
camel.apache.org/kamelet.group: "Cassandra"
diff --git a/connectors/camel-ceph-sink-kafka-connector/src/main/resources/kamelets/ceph-sink.kamelet.yaml b/connectors/camel-ceph-sink-kafka-connector/src/main/resources/kamelets/ceph-sink.kamelet.yaml
index e5c1517ceb..8d3aff7515 100644
--- a/connectors/camel-ceph-sink-kafka-connector/src/main/resources/kamelets/ceph-sink.kamelet.yaml
+++ b/connectors/camel-ceph-sink-kafka-connector/src/main/resources/kamelets/ceph-sink.kamelet.yaml
@@ -21,7 +21,7 @@ metadata:
name: ceph-sink
annotations:
camel.apache.org/kamelet.support.level: "Stable"
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4gPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNjAiIGhlaWdodD0iMTU3IiB2aWV3Qm94PSIwIDAgMTYwIDE1NyIgZmlsbD0ibm9uZSI+PGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwKSI+PHBhdGggZD0iTTc5LjgxNTIgOTYuMDczOUM4OC42ODM2IDk2LjA3MzkgOTUuNzA0NCA4OS4wNTMxIDk1LjcwNDQgODAuMTg0OEM5NS43MDQ0IDcxLjMxNjQgODguNjgzNiA2NC4yOTU2IDc5LjgxNTIgNjQuMjk1NkM3MC45NDY5IDY0LjI5NTYgNjMuOTI2MSA3MS4zMTY0IDYzLj [...]
camel.apache.org/provider: "Apache Software Foundation"
camel.apache.org/kamelet.group: "Ceph"
@@ -71,7 +71,6 @@ spec:
title: Autocreate Bucket
description: Specifies to automatically create the bucket.
type: boolean
- x-descriptors:
default: false
cephUrl:
title: Ceph Url Address
diff --git a/connectors/camel-ceph-source-kafka-connector/src/main/resources/kamelets/ceph-source.kamelet.yaml b/connectors/camel-ceph-source-kafka-connector/src/main/resources/kamelets/ceph-source.kamelet.yaml
index 9e24c3d24b..1805fd66d0 100644
--- a/connectors/camel-ceph-source-kafka-connector/src/main/resources/kamelets/ceph-source.kamelet.yaml
+++ b/connectors/camel-ceph-source-kafka-connector/src/main/resources/kamelets/ceph-source.kamelet.yaml
@@ -21,7 +21,7 @@ metadata:
name: ceph-source
annotations:
camel.apache.org/kamelet.support.level: "Stable"
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4gPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNjAiIGhlaWdodD0iMTU3IiB2aWV3Qm94PSIwIDAgMTYwIDE1NyIgZmlsbD0ibm9uZSI+PGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwKSI+PHBhdGggZD0iTTc5LjgxNTIgOTYuMDczOUM4OC42ODM2IDk2LjA3MzkgOTUuNzA0NCA4OS4wNTMxIDk1LjcwNDQgODAuMTg0OEM5NS43MDQ0IDcxLjMxNjQgODguNjgzNiA2NC4yOTU2IDc5LjgxNTIgNjQuMjk1NkM3MC45NDY5IDY0LjI5NTYgNjMuOTI2MSA3MS4zMTY0IDYzLj [...]
camel.apache.org/provider: "Apache Software Foundation"
camel.apache.org/kamelet.group: "Ceph"
@@ -50,7 +50,6 @@ spec:
title: Auto-delete Objects
description: Specifies to delete objects after consuming them.
type: boolean
- x-descriptors:
default: true
accessKey:
title: Access Key
@@ -74,13 +73,11 @@ spec:
title: Autocreate Bucket
description: Specifies to automatically create the bucket.
type: boolean
- x-descriptors:
default: false
includeBody:
title: Include Body
description: If true, the exchange is consumed and put into the body and closed. If false, the Object stream is put raw into the body and the headers are set with the object metadata.
type: boolean
- x-descriptors:
default: true
prefix:
title: Prefix
@@ -91,7 +88,6 @@ spec:
title: Ignore Body
description: If true, the Object body is ignored. Setting this to true overrides any behavior defined by the `includeBody` option. If false, the object is put in the body.
type: boolean
- x-descriptors:
default: false
cephUrl:
title: Ceph Url Address
diff --git a/connectors/camel-chuck-norris-source-kafka-connector/src/main/resources/kamelets/chuck-norris-source.kamelet.yaml b/connectors/camel-chuck-norris-source-kafka-connector/src/main/resources/kamelets/chuck-norris-source.kamelet.yaml
index 9c59f70a89..642512616b 100644
--- a/connectors/camel-chuck-norris-source-kafka-connector/src/main/resources/kamelets/chuck-norris-source.kamelet.yaml
+++ b/connectors/camel-chuck-norris-source-kafka-connector/src/main/resources/kamelets/chuck-norris-source.kamelet.yaml
@@ -20,7 +20,7 @@ metadata:
name: chuck-norris-source
annotations:
camel.apache.org/kamelet.support.level: "Stable"
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/kamelet.icon: data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pg0KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDE5LjAuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPg0KPHN2ZyB2ZXJzaW9uPSIxLjEiIGlkPSJDYXBhXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4Ig0KCSB2aWV3Qm94PSIwIDAgNTEyIDUxMiIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDA [...]
camel.apache.org/provider: "Apache Software Foundation"
camel.apache.org/kamelet.group: "Chuck Norris"
diff --git a/connectors/camel-coffee-source-kafka-connector/src/main/resources/kamelets/coffee-source.kamelet.yaml b/connectors/camel-coffee-source-kafka-connector/src/main/resources/kamelets/coffee-source.kamelet.yaml
index dffa6df4d4..47fd5878cf 100644
--- a/connectors/camel-coffee-source-kafka-connector/src/main/resources/kamelets/coffee-source.kamelet.yaml
+++ b/connectors/camel-coffee-source-kafka-connector/src/main/resources/kamelets/coffee-source.kamelet.yaml
@@ -4,7 +4,7 @@ metadata:
name: coffee-source
annotations:
camel.apache.org/kamelet.support.level: "Stable"
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iOTJwdCIgd2lkdGg9IjkycHQiIHZlcnNpb249IjEuMCIgeG1sbnM6Y2M9Imh0dHA6Ly9jcmVhdGl2ZWNvbW1vbnMub3JnL25zIyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyI+Cg [...]
camel.apache.org/provider: "Apache Software Foundation"
camel.apache.org/kamelet.group: "Coffees"
diff --git a/connectors/camel-couchbase-sink-kafka-connector/src/main/resources/kamelets/couchbase-sink.kamelet.yaml b/connectors/camel-couchbase-sink-kafka-connector/src/main/resources/kamelets/couchbase-sink.kamelet.yaml
index eac74698c7..7906395e98 100644
--- a/connectors/camel-couchbase-sink-kafka-connector/src/main/resources/kamelets/couchbase-sink.kamelet.yaml
+++ b/connectors/camel-couchbase-sink-kafka-connector/src/main/resources/kamelets/couchbase-sink.kamelet.yaml
@@ -20,7 +20,7 @@ metadata:
name: couchbase-sink
annotations:
camel.apache.org/kamelet.support.level: "Stable"
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2aWV3Qm94PSIwIDAgNjguMzQzIDY4LjM0MyIgZmlsbD0iI2ZmZiIgZmlsbC1ydWxlPSJldmVub2RkIiBzdHJva2U9IiMwMDAiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCI+PHVzZSB4bGluazpocmVmPSIjQSIgeD0iMi4xNzEiIHk9IjIuMTcxIi8+PHN5bWJvbCBpZD0iQSIgb3ZlcmZsb3c9InZpc2libGUiPjxwYXRoIGQ9Ik0zMi4wMDIgMEMxNC4zMzEuMDAyLjAwNSAxNC4zMjYgMC [...]
camel.apache.org/provider: "Apache Software Foundation"
camel.apache.org/kamelet.group: "Couchbase"
@@ -78,7 +78,6 @@ spec:
description: Auto Start Id or not
type: boolean
default: true
- x-descriptors:
dependencies:
- "camel:couchbase"
- "camel:kamelet"
diff --git a/connectors/camel-cron-source-kafka-connector/src/main/resources/kamelets/cron-source.kamelet.yaml b/connectors/camel-cron-source-kafka-connector/src/main/resources/kamelets/cron-source.kamelet.yaml
index 66b8fc1844..e80a8d2ba7 100644
--- a/connectors/camel-cron-source-kafka-connector/src/main/resources/kamelets/cron-source.kamelet.yaml
+++ b/connectors/camel-cron-source-kafka-connector/src/main/resources/kamelets/cron-source.kamelet.yaml
@@ -20,7 +20,7 @@ metadata:
name: cron-source
annotations:
camel.apache.org/kamelet.support.level: "Stable"
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNTAwIiBoZWlnaHQ9IjI1MDAiIHZpZXdCb3g9IjAgMCAxOTIuNzU2IDE5Mi43NTYiPjxnIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIj48cGF0aCBmaWxsPSIjZmZmIiBkPSJNMCAwaDE5Mi43NTZ2MTkyLjc1NkgwVjB6Ii8+PHBhdGggZD0iTTQyLjE2IDEwMy4wNzJsNS45MDEgMS40OTZjLTEuMjQyIDQuODY1LTMuNDc2IDguNTc0LTYuNzAxIDExLjEyOXMtNy4xNjcgMy44MzItMTEuODI2IDMuODMyYy00LjgyMyAwLTguNzQ2LS45ODItMTEuNzY3LTIuOTQ3LT [...]
camel.apache.org/provider: "Apache Software Foundation"
camel.apache.org/kamelet.group: "Cron"
diff --git a/connectors/camel-dropbox-sink-kafka-connector/src/main/resources/kamelets/dropbox-sink.kamelet.yaml b/connectors/camel-dropbox-sink-kafka-connector/src/main/resources/kamelets/dropbox-sink.kamelet.yaml
index af62ca1bfa..e5895c6ae7 100644
--- a/connectors/camel-dropbox-sink-kafka-connector/src/main/resources/kamelets/dropbox-sink.kamelet.yaml
+++ b/connectors/camel-dropbox-sink-kafka-connector/src/main/resources/kamelets/dropbox-sink.kamelet.yaml
@@ -20,7 +20,7 @@ metadata:
name: dropbox-sink
annotations:
camel.apache.org/kamelet.support.level: "Stable"
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjQzcHgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgdmlld0JveD0iMCAwIDQzIDQwIiB2ZXJzaW9uPSIxLjEiIGhlaWdodD0iNDBweCI+CiA8cGF0aCBkPSJtMTIuNSAwbC0xMi41IDguMSA4LjcgNyAxMi41LTcuOC04LjctNy4zem0tMTIuNSAyMS45bDEyLjUgOC4yIDguNy03LjMtMTIuNS03LjctOC43IDYuOHptMjEuMiAwLjlsOC44IDcuMyAxMi40LTguMS04LjYtNi45LTEyLjYgNy43em0yMS4yLTE0LjdsLTEyLjQtOC4xLTguOC [...]
camel.apache.org/provider: "Apache Software Foundation"
camel.apache.org/kamelet.group: "Dropbox"
diff --git a/connectors/camel-dropbox-source-kafka-connector/src/main/resources/kamelets/dropbox-source.kamelet.yaml b/connectors/camel-dropbox-source-kafka-connector/src/main/resources/kamelets/dropbox-source.kamelet.yaml
index 8fe188ba39..a780d83181 100644
--- a/connectors/camel-dropbox-source-kafka-connector/src/main/resources/kamelets/dropbox-source.kamelet.yaml
+++ b/connectors/camel-dropbox-source-kafka-connector/src/main/resources/kamelets/dropbox-source.kamelet.yaml
@@ -20,7 +20,7 @@ metadata:
name: dropbox-source
annotations:
camel.apache.org/kamelet.support.level: "Stable"
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxzdmcgd2lkdGg9IjQzcHgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgdmlld0JveD0iMCAwIDQzIDQwIiB2ZXJzaW9uPSIxLjEiIGhlaWdodD0iNDBweCI+CiA8cGF0aCBkPSJtMTIuNSAwbC0xMi41IDguMSA4LjcgNyAxMi41LTcuOC04LjctNy4zem0tMTIuNSAyMS45bDEyLjUgOC4yIDguNy03LjMtMTIuNS03LjctOC43IDYuOHptMjEuMiAwLjlsOC44IDcuMyAxMi40LTguMS04LjYtNi45LTEyLjYgNy43em0yMS4yLTE0LjdsLTEyLjQtOC4xLTguOC [...]
camel.apache.org/provider: "Apache Software Foundation"
camel.apache.org/kamelet.group: "Dropbox"
diff --git a/connectors/camel-earthquake-source-kafka-connector/src/main/resources/kamelets/earthquake-source.kamelet.yaml b/connectors/camel-earthquake-source-kafka-connector/src/main/resources/kamelets/earthquake-source.kamelet.yaml
index 549ed28fa2..b8f8233e8a 100644
--- a/connectors/camel-earthquake-source-kafka-connector/src/main/resources/kamelets/earthquake-source.kamelet.yaml
+++ b/connectors/camel-earthquake-source-kafka-connector/src/main/resources/kamelets/earthquake-source.kamelet.yaml
@@ -20,7 +20,7 @@ metadata:
name: earthquake-source
annotations:
camel.apache.org/kamelet.support.level: "Stable"
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9JzEwMHB4JyB3aWR0aD0nMTAwcHgnICBmaWxsPSIjMDAwMDAwIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjEiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMTAwLjAwMyA3OS45OTciIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDEwMC4wMDMgNzkuOTk3IiB4bWw6c3BhY2U9InByZXNlcnZlIj48cGF0aCBkPSJNODEuNjUzLDQyLjk0Yy0xLjM4NywwLTIuNjY2LDAuNzY3LTMuMzE1LDEuOTkyTDcyLjk0Miw1NS4xbC02Lj [...]
camel.apache.org/provider: "Apache Software Foundation"
camel.apache.org/kamelet.group: "Earthquake"
diff --git a/connectors/camel-elasticsearch-index-sink-kafka-connector/src/main/resources/kamelets/elasticsearch-index-sink.kamelet.yaml b/connectors/camel-elasticsearch-index-sink-kafka-connector/src/main/resources/kamelets/elasticsearch-index-sink.kamelet.yaml
index 2d357d7f85..2baaf7a0ad 100644
--- a/connectors/camel-elasticsearch-index-sink-kafka-connector/src/main/resources/kamelets/elasticsearch-index-sink.kamelet.yaml
+++ b/connectors/camel-elasticsearch-index-sink-kafka-connector/src/main/resources/kamelets/elasticsearch-index-sink.kamelet.yaml
@@ -22,7 +22,7 @@ metadata:
camel.apache.org/kamelet.type: "sink"
annotations:
camel.apache.org/kamelet.support.level: "Stable"
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/kamelet.group: "ElasticSearch"
camel.apache.org/kamelet.namespace: "Search"
camel.apache.org/provider: "Apache Software Foundation"
@@ -67,7 +67,6 @@ spec:
description: Specifies to connect by using SSL.
type: boolean
default: true
- x-descriptors:
hostAddresses:
title: Host Addresses
description: A comma-separated list of remote transport addresses in `ip:port format`.
diff --git a/connectors/camel-elasticsearch-search-source-kafka-connector/src/main/resources/kamelets/elasticsearch-search-source.kamelet.yaml b/connectors/camel-elasticsearch-search-source-kafka-connector/src/main/resources/kamelets/elasticsearch-search-source.kamelet.yaml
index 9a017f73d7..c832592f50 100644
--- a/connectors/camel-elasticsearch-search-source-kafka-connector/src/main/resources/kamelets/elasticsearch-search-source.kamelet.yaml
+++ b/connectors/camel-elasticsearch-search-source-kafka-connector/src/main/resources/kamelets/elasticsearch-search-source.kamelet.yaml
@@ -22,7 +22,7 @@ metadata:
camel.apache.org/kamelet.type: "source"
annotations:
camel.apache.org/kamelet.support.level: "Stable"
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/kamelet.group: "ElasticSearch"
camel.apache.org/kamelet.namespace: "Search"
camel.apache.org/provider: "Apache Software Foundation"
@@ -70,7 +70,6 @@ spec:
description: Do we want to connect using SSL?
type: boolean
default: true
- x-descriptors:
hostAddresses:
title: Host Addresses
description: Comma separated list with ip:port formatted remote transport addresses to use.
diff --git a/connectors/camel-exec-sink-kafka-connector/src/main/resources/kamelets/exec-sink.kamelet.yaml b/connectors/camel-exec-sink-kafka-connector/src/main/resources/kamelets/exec-sink.kamelet.yaml
index 7c778b81ab..741a715685 100644
--- a/connectors/camel-exec-sink-kafka-connector/src/main/resources/kamelets/exec-sink.kamelet.yaml
+++ b/connectors/camel-exec-sink-kafka-connector/src/main/resources/kamelets/exec-sink.kamelet.yaml
@@ -20,7 +20,7 @@ metadata:
name: exec-sink
annotations:
camel.apache.org/kamelet.support.level: "Stable"
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/Pgo8IURPQ1RZUEUgc3ZnIFBVQkxJQyAiLS8vVzNDLy9EVEQgU1ZHIDIwMDEwOTA0Ly9FTiIKICJodHRwOi8vd3d3LnczLm9yZy9UUi8yMDAxL1JFQy1TVkctMjAwMTA5MDQvRFREL3N2ZzEwLmR0ZCI+CjxzdmcgdmVyc2lvbj0iMS4wIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiB3aWR0aD0iMTI4MC4wMDAwMDBwdCIgaGVpZ2h0PSIxMDEyLjAwMDAwMHB0IiB2aWV3Qm94PSIwIDAgMTI4MC4wMDAwMDAgMTAxMi4wMDAwMDAiCiBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJ4TWlkWU1pZCBtZW [...]
camel.apache.org/provider: "Apache Software Foundation"
camel.apache.org/kamelet.group: "Exec"
diff --git a/connectors/camel-fhir-sink-kafka-connector/src/main/resources/kamelets/fhir-sink.kamelet.yaml b/connectors/camel-fhir-sink-kafka-connector/src/main/resources/kamelets/fhir-sink.kamelet.yaml
index 0606cbfaa4..aedc021769 100644
--- a/connectors/camel-fhir-sink-kafka-connector/src/main/resources/kamelets/fhir-sink.kamelet.yaml
+++ b/connectors/camel-fhir-sink-kafka-connector/src/main/resources/kamelets/fhir-sink.kamelet.yaml
@@ -4,7 +4,7 @@ metadata:
name: fhir-sink
annotations:
camel.apache.org/kamelet.support.level: "Stable"
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxOTUuMiAzMDAiPjxzdHlsZT48L3N0eWxlPjxnIGlkPSJMYXllcl8yIj48bGluZWFyR3JhZGllbnQgaWQ9IlNWR0lEXzFfIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjYyLjY0NCIgeTE9IjI2OC4yMDEiIHgyPSIzMC43MjEiIHkyPSI4Ny4xNTUiPjxzdG9wIG9mZnNldD0iLjE1NCIgc3RvcC1jb2xvcj0iI2ZmZTQwZSIvPjxzdG9wIG9mZnNldD0iLjkxIiBzdG9wLWNvbG9yPSIjZTEwZTE5Ii8+PC9saW5lYXJHcmFkaWVudD48cGF0aCBkPSJNNzkuNiA3OC [...]
camel.apache.org/provider: "Apache Software Foundation"
camel.apache.org/kamelet.group: "FHIR"
@@ -45,13 +45,11 @@ spec:
title: Log
description: "Will log every requests and responses."
type: boolean
- x-descriptors:
default: false
prettyPrint:
title: Pretty Print
description: "Pretty print all request."
type: boolean
- x-descriptors:
default: false
serverUrl:
title: Server URL
@@ -61,7 +59,6 @@ spec:
title: Lazy Start Producer
description: "Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel’s routing error handlers. Beware that when the first message is processed then creating and starting the [...]
type: boolean
- x-descriptors:
default: false
proxyHost:
title: Proxy Host
diff --git a/connectors/camel-fhir-source-kafka-connector/src/main/resources/kamelets/fhir-source.kamelet.yaml b/connectors/camel-fhir-source-kafka-connector/src/main/resources/kamelets/fhir-source.kamelet.yaml
index cca6118c9b..5567552e27 100644
--- a/connectors/camel-fhir-source-kafka-connector/src/main/resources/kamelets/fhir-source.kamelet.yaml
+++ b/connectors/camel-fhir-source-kafka-connector/src/main/resources/kamelets/fhir-source.kamelet.yaml
@@ -20,7 +20,7 @@ metadata:
name: fhir-source
annotations:
camel.apache.org/kamelet.support.level: "Stable"
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxOTUuMiAzMDAiPjxzdHlsZT48L3N0eWxlPjxnIGlkPSJMYXllcl8yIj48bGluZWFyR3JhZGllbnQgaWQ9IlNWR0lEXzFfIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjYyLjY0NCIgeTE9IjI2OC4yMDEiIHgyPSIzMC43MjEiIHkyPSI4Ny4xNTUiPjxzdG9wIG9mZnNldD0iLjE1NCIgc3RvcC1jb2xvcj0iI2ZmZTQwZSIvPjxzdG9wIG9mZnNldD0iLjkxIiBzdG9wLWNvbG9yPSIjZTEwZTE5Ii8+PC9saW5lYXJHcmFkaWVudD48cGF0aCBkPSJNNzkuNiA3OC [...]
camel.apache.org/provider: "Apache Software Foundation"
camel.apache.org/kamelet.group: "FHIR"
@@ -76,7 +76,6 @@ spec:
title: Json Pretty Print
description: Define if the Json must be pretty print or not
type: boolean
- x-descriptors:
default: true
types:
out:
diff --git a/connectors/camel-file-kafka-connector/src/generated/resources/camel-file-source.json b/connectors/camel-file-kafka-connector/src/generated/resources/camel-file-source.json
index 71d5e3cdcb..6ff9dcda4e 100644
--- a/connectors/camel-file-kafka-connector/src/generated/resources/camel-file-source.json
+++ b/connectors/camel-file-kafka-connector/src/generated/resources/camel-file-source.json
@@ -353,7 +353,7 @@
},
"camel.source.endpoint.readLockCheckInterval": {
"name": "camel.source.endpoint.readLockCheckInterval",
- "description": "Interval in millis for the read-lock, if supported by the read lock. This interval is used for sleeping between attempts to acquire the read lock. For example when using the changed read lock, you can set a higher interval period to cater for slow writes. The default of 1 sec. may be too fast if the producer is very slow writing the file. Notice: For FTP the default readLockCheckInterval is 5000. The readLockTimeout value must be higher than readLockCheckInterval, but [...]
+ "description": "Interval in millis for the read-lock, if supported by the read lock. This interval is used for sleeping between attempts to acquire the read lock. For example when using the changed read lock, you can set a higher interval period to cater for slow writes. The default of 1 sec. may be too fast if the producer is very slow writing the file. Notice: For FTP the default readLockCheckInterval is 5000. The readLockTimeout value must be higher than readLockCheckInterval, but [...]
"defaultValue": "1000L",
"priority": "MEDIUM",
"required": "false"
@@ -442,7 +442,7 @@
},
"camel.source.endpoint.readLockTimeout": {
"name": "camel.source.endpoint.readLockTimeout",
- "description": "Optional timeout in millis for the read-lock, if supported by the read-lock. If the read-lock could not be granted and the timeout triggered, then Camel will skip the file. At next poll Camel, will try the file again, and this time maybe the read-lock could be granted. Use a value of 0 or lower to indicate forever. Currently fileLock, changed and rename support the timeout. Notice: For FTP the default readLockTimeout value is 20000 instead of 10000. The readLockTimeout [...]
+ "description": "Optional timeout in millis for the read-lock, if supported by the read-lock. If the read-lock could not be granted and the timeout triggered, then Camel will skip the file. At next poll Camel, will try the file again, and this time maybe the read-lock could be granted. Use a value of 0 or lower to indicate forever. Currently fileLock, changed and rename support the timeout. Notice: For FTP the default readLockTimeout value is 20000 instead of 10000. The readLockTimeout [...]
"defaultValue": "10000L",
"priority": "MEDIUM",
"required": "false"
diff --git a/connectors/camel-file-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/file/CamelFileSourceConnectorConfig.java b/connectors/camel-file-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/file/CamelFileSourceConnectorConfig.java
index 4e9ef9b7fc..fe33b3ccdf 100644
--- a/connectors/camel-file-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/file/CamelFileSourceConnectorConfig.java
+++ b/connectors/camel-file-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/file/CamelFileSourceConnectorConfig.java
@@ -179,7 +179,7 @@ public class CamelFileSourceConnectorConfig
public static final String CAMEL_SOURCE_FILE_ENDPOINT_READ_LOCK_DOC = "Used by consumer, to only poll the files if it has exclusive read-lock on the file (i.e. the file is not in-progress or being written). Camel will wait until the file lock is granted. This option provides the build in strategies: - none - No read lock is in use - markerFile - Camel creates a marker file (fileName.camelLock) and then holds a lock on it. This option is not available for the FTP component - changed - [...]
public static final String CAMEL_SOURCE_FILE_ENDPOINT_READ_LOCK_DEFAULT = "none";
public static final String CAMEL_SOURCE_FILE_ENDPOINT_READ_LOCK_CHECK_INTERVAL_CONF = "camel.source.endpoint.readLockCheckInterval";
- public static final String CAMEL_SOURCE_FILE_ENDPOINT_READ_LOCK_CHECK_INTERVAL_DOC = "Interval in millis for the read-lock, if supported by the read lock. This interval is used for sleeping between attempts to acquire the read lock. For example when using the changed read lock, you can set a higher interval period to cater for slow writes. The default of 1 sec. may be too fast if the producer is very slow writing the file. Notice: For FTP the default readLockCheckInterval is 5000. Th [...]
+ public static final String CAMEL_SOURCE_FILE_ENDPOINT_READ_LOCK_CHECK_INTERVAL_DOC = "Interval in millis for the read-lock, if supported by the read lock. This interval is used for sleeping between attempts to acquire the read lock. For example when using the changed read lock, you can set a higher interval period to cater for slow writes. The default of 1 sec. may be too fast if the producer is very slow writing the file. Notice: For FTP the default readLockCheckInterval is 5000. Th [...]
public static final Long CAMEL_SOURCE_FILE_ENDPOINT_READ_LOCK_CHECK_INTERVAL_DEFAULT = 1000L;
public static final String CAMEL_SOURCE_FILE_ENDPOINT_READ_LOCK_DELETE_ORPHAN_LOCK_FILES_CONF = "camel.source.endpoint.readLockDeleteOrphanLockFiles";
public static final String CAMEL_SOURCE_FILE_ENDPOINT_READ_LOCK_DELETE_ORPHAN_LOCK_FILES_DOC = "Whether or not read lock with marker files should upon startup delete any orphan read lock files, which may have been left on the file system, if Camel was not properly shutdown (such as a JVM crash). If turning this option to false then any orphaned lock file will cause Camel to not attempt to pickup that file, this could also be due another node is concurrently reading files from the sam [...]
@@ -215,7 +215,7 @@ public class CamelFileSourceConnectorConfig
public static final String CAMEL_SOURCE_FILE_ENDPOINT_READ_LOCK_REMOVE_ON_ROLLBACK_DOC = "This option is applied only for readLock=idempotent. It allows to specify whether to remove the file name entry from the idempotent repository when processing the file failed and a rollback happens. If this option is false, then the file name entry is confirmed (as if the file did a commit).";
public static final Boolean CAMEL_SOURCE_FILE_ENDPOINT_READ_LOCK_REMOVE_ON_ROLLBACK_DEFAULT = true;
public static final String CAMEL_SOURCE_FILE_ENDPOINT_READ_LOCK_TIMEOUT_CONF = "camel.source.endpoint.readLockTimeout";
- public static final String CAMEL_SOURCE_FILE_ENDPOINT_READ_LOCK_TIMEOUT_DOC = "Optional timeout in millis for the read-lock, if supported by the read-lock. If the read-lock could not be granted and the timeout triggered, then Camel will skip the file. At next poll Camel, will try the file again, and this time maybe the read-lock could be granted. Use a value of 0 or lower to indicate forever. Currently fileLock, changed and rename support the timeout. Notice: For FTP the default read [...]
+ public static final String CAMEL_SOURCE_FILE_ENDPOINT_READ_LOCK_TIMEOUT_DOC = "Optional timeout in millis for the read-lock, if supported by the read-lock. If the read-lock could not be granted and the timeout triggered, then Camel will skip the file. At next poll Camel, will try the file again, and this time maybe the read-lock could be granted. Use a value of 0 or lower to indicate forever. Currently fileLock, changed and rename support the timeout. Notice: For FTP the default read [...]
public static final Long CAMEL_SOURCE_FILE_ENDPOINT_READ_LOCK_TIMEOUT_DEFAULT = 10000L;
public static final String CAMEL_SOURCE_FILE_ENDPOINT_BACKOFF_ERROR_THRESHOLD_CONF = "camel.source.endpoint.backoffErrorThreshold";
public static final String CAMEL_SOURCE_FILE_ENDPOINT_BACKOFF_ERROR_THRESHOLD_DOC = "The number of subsequent error polls (failed due some error) that should happen before the backoffMultipler should kick-in.";
diff --git a/connectors/camel-file-watch-source-kafka-connector/src/main/resources/kamelets/file-watch-source.kamelet.yaml b/connectors/camel-file-watch-source-kafka-connector/src/main/resources/kamelets/file-watch-source.kamelet.yaml
index eea1fbc7e9..07197cef37 100644
--- a/connectors/camel-file-watch-source-kafka-connector/src/main/resources/kamelets/file-watch-source.kamelet.yaml
+++ b/connectors/camel-file-watch-source-kafka-connector/src/main/resources/kamelets/file-watch-source.kamelet.yaml
@@ -20,7 +20,7 @@ metadata:
name: file-watch-source
annotations:
camel.apache.org/kamelet.support.level: "Stable"
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pg0KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDE5LjEuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPg0KPHN2ZyB2ZXJzaW9uPSIxLjEiIGlkPSJDYXBhXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4Ig0KCSB2aWV3Qm94PSIwIDAgMzY4LjU1MyAzNjguNTUzIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bm [...]
camel.apache.org/provider: "Apache Software Foundation"
camel.apache.org/kamelet.group: "File Watch"
diff --git a/connectors/camel-ftp-sink-kafka-connector/src/main/resources/kamelets/ftp-sink.kamelet.yaml b/connectors/camel-ftp-sink-kafka-connector/src/main/resources/kamelets/ftp-sink.kamelet.yaml
index b3f650889a..fd45fe10d2 100644
--- a/connectors/camel-ftp-sink-kafka-connector/src/main/resources/kamelets/ftp-sink.kamelet.yaml
+++ b/connectors/camel-ftp-sink-kafka-connector/src/main/resources/kamelets/ftp-sink.kamelet.yaml
@@ -20,7 +20,7 @@ metadata:
name: ftp-sink
annotations:
camel.apache.org/kamelet.support.level: "Stable"
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxOS4xLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iTGF5ZXJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiDQoJIHZpZXdCb3g9IjAgMCAyMjEuMSAzMDAiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwID [...]
camel.apache.org/provider: "Apache Software Foundation"
camel.apache.org/kamelet.group: "FTP"
@@ -75,7 +75,6 @@ spec:
description: Specifies to use passive mode connection.
type: boolean
default: false
- x-descriptors:
fileExist:
title: File Existence
description: How to behave in case of file already existent.
@@ -87,13 +86,11 @@ spec:
description: Specifies the file transfer mode, BINARY or ASCII. Default is ASCII (false).
type: boolean
default: false
- x-descriptors:
autoCreate:
title: Autocreate Missing Directories
description: Automatically create the directory the files should be written to.
type: boolean
default: true
- x-descriptors:
dependencies:
- "camel:ftp"
- "camel:core"
diff --git a/connectors/camel-ftp-source-kafka-connector/src/main/resources/kamelets/ftp-source.kamelet.yaml b/connectors/camel-ftp-source-kafka-connector/src/main/resources/kamelets/ftp-source.kamelet.yaml
index 7daa39ff4b..5bdd9cfc5f 100644
--- a/connectors/camel-ftp-source-kafka-connector/src/main/resources/kamelets/ftp-source.kamelet.yaml
+++ b/connectors/camel-ftp-source-kafka-connector/src/main/resources/kamelets/ftp-source.kamelet.yaml
@@ -20,7 +20,7 @@ metadata:
name: ftp-source
annotations:
camel.apache.org/kamelet.support.level: "Stable"
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxOS4xLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iTGF5ZXJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiDQoJIHZpZXdCb3g9IjAgMCAyMjEuMSAzMDAiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwID [...]
camel.apache.org/provider: "Apache Software Foundation"
camel.apache.org/kamelet.group: "FTP"
@@ -71,37 +71,31 @@ spec:
description: Specifes to use passive mode connection.
type: boolean
default: false
- x-descriptors:
recursive:
title: Recursive
description: If a directory, look for files in all the sub-directories as well.
type: boolean
default: false
- x-descriptors:
idempotent:
title: Idempotency
description: Skip already-processed files.
type: boolean
default: true
- x-descriptors:
binary:
title: Binary
description: Specifies the file transfer mode, BINARY or ASCII. Default is ASCII (false).
type: boolean
default: false
- x-descriptors:
autoCreate:
title: Autocreate Missing Directories
description: Automatically create starting directory.
type: boolean
default: true
- x-descriptors:
delete:
title: Delete
description: If true, the file will be deleted after it is processed successfully.
type: boolean
default: false
- x-descriptors:
dependencies:
- "camel:ftp"
- "camel:core"
diff --git a/connectors/camel-ftps-sink-kafka-connector/src/main/resources/kamelets/ftps-sink.kamelet.yaml b/connectors/camel-ftps-sink-kafka-connector/src/main/resources/kamelets/ftps-sink.kamelet.yaml
index 06e8f13e59..6783606374 100644
--- a/connectors/camel-ftps-sink-kafka-connector/src/main/resources/kamelets/ftps-sink.kamelet.yaml
+++ b/connectors/camel-ftps-sink-kafka-connector/src/main/resources/kamelets/ftps-sink.kamelet.yaml
@@ -20,7 +20,7 @@ metadata:
name: ftps-sink
annotations:
camel.apache.org/kamelet.support.level: "Stable"
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxOS4xLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iTGF5ZXJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiDQoJIHZpZXdCb3g9IjAgMCAyMjEuMSAzMDAiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwID [...]
camel.apache.org/provider: "Apache Software Foundation"
camel.apache.org/kamelet.group: "FTP"
@@ -75,7 +75,6 @@ spec:
description: Set the passive mode connection.
type: boolean
default: false
- x-descriptors:
fileExist:
title: File Existence
description: "Specifies how the Kamelet behaves if the file already exists."
@@ -87,13 +86,11 @@ spec:
description: Specifies the file transfer mode, BINARY or ASCII. Default is ASCII (false).
type: boolean
default: false
- x-descriptors:
autoCreate:
title: Autocreate Missing Directories
description: Automatically create the directory the files should be written to.
type: boolean
default: true
- x-descriptors:
dependencies:
- "camel:ftp"
- "camel:core"
diff --git a/connectors/camel-ftps-source-kafka-connector/src/main/resources/kamelets/ftps-source.kamelet.yaml b/connectors/camel-ftps-source-kafka-connector/src/main/resources/kamelets/ftps-source.kamelet.yaml
index 4632aba39c..28967c735b 100644
--- a/connectors/camel-ftps-source-kafka-connector/src/main/resources/kamelets/ftps-source.kamelet.yaml
+++ b/connectors/camel-ftps-source-kafka-connector/src/main/resources/kamelets/ftps-source.kamelet.yaml
@@ -20,7 +20,7 @@ metadata:
name: ftps-source
annotations:
camel.apache.org/kamelet.support.level: "Stable"
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxOS4xLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iTGF5ZXJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiDQoJIHZpZXdCb3g9IjAgMCAyMjEuMSAzMDAiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwID [...]
camel.apache.org/provider: "Apache Software Foundation"
camel.apache.org/kamelet.group: "FTP"
@@ -71,37 +71,31 @@ spec:
description: Specifies to use passive mode connection.
type: boolean
default: false
- x-descriptors:
recursive:
title: Recursive
description: If a directory, look for files in all sub-directories as well.
type: boolean
default: false
- x-descriptors:
idempotent:
title: Idempotency
description: Skip already-processed files.
type: boolean
default: true
- x-descriptors:
binary:
title: Binary
description: Specifies the file transfer mode, BINARY or ASCII. Default is ASCII (false).
type: boolean
default: false
- x-descriptors:
autoCreate:
title: Autocreate Missing Directories
description: Automatically create starting directory.
type: boolean
default: true
- x-descriptors:
delete:
title: Delete
description: If true, the file will be deleted after it is processed successfully.
type: boolean
default: false
- x-descriptors:
dependencies:
- "camel:ftp"
- "camel:core"
diff --git a/connectors/camel-github-commit-source-kafka-connector/src/main/resources/kamelets/github-commit-source.kamelet.yaml b/connectors/camel-github-commit-source-kafka-connector/src/main/resources/kamelets/github-commit-source.kamelet.yaml
index 0da61cab10..dd05837696 100644
--- a/connectors/camel-github-commit-source-kafka-connector/src/main/resources/kamelets/github-commit-source.kamelet.yaml
+++ b/connectors/camel-github-commit-source-kafka-connector/src/main/resources/kamelets/github-commit-source.kamelet.yaml
@@ -20,7 +20,7 @@ metadata:
name: github-commit-source
annotations:
camel.apache.org/kamelet.support.level: "Stable"
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAyNCIgaGVpZ2h0PSIxMDI0IiB2aWV3Qm94PSIwIDAgMTAyNCAxMDI0IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTggMEMzLjU4IDAgMCAzLjU4IDAgOEMwIDExLjU0IDIuMjkgMTQuNTMgNS40NyAxNS41OUM1Ljg3IDE1LjY2IDYuMDIgMTUuNDIgNi4wMiAxNS4yMUM2LjAyIDE1LjAyIDYuMDEgMTQuMzkgNi4wMSAxMy43MkM0IDE0LjA5IDMuNDggMTMuMjMgMy4zMiAxMi43OEMzLjIzIDEyLjU1IDIuODQgMTEuOD [...]
camel.apache.org/provider: "Apache Software Foundation"
camel.apache.org/kamelet.group: "GitHub"
diff --git a/connectors/camel-github-event-source-kafka-connector/src/main/resources/kamelets/github-event-source.kamelet.yaml b/connectors/camel-github-event-source-kafka-connector/src/main/resources/kamelets/github-event-source.kamelet.yaml
index 4b51c61882..a64b624e58 100644
--- a/connectors/camel-github-event-source-kafka-connector/src/main/resources/kamelets/github-event-source.kamelet.yaml
+++ b/connectors/camel-github-event-source-kafka-connector/src/main/resources/kamelets/github-event-source.kamelet.yaml
@@ -20,7 +20,7 @@ metadata:
name: github-event-source
annotations:
camel.apache.org/kamelet.support.level: "Stable"
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAyNCIgaGVpZ2h0PSIxMDI0IiB2aWV3Qm94PSIwIDAgMTAyNCAxMDI0IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTggMEMzLjU4IDAgMCAzLjU4IDAgOEMwIDExLjU0IDIuMjkgMTQuNTMgNS40NyAxNS41OUM1Ljg3IDE1LjY2IDYuMDIgMTUuNDIgNi4wMiAxNS4yMUM2LjAyIDE1LjAyIDYuMDEgMTQuMzkgNi4wMSAxMy43MkM0IDE0LjA5IDMuNDggMTMuMjMgMy4zMiAxMi43OEMzLjIzIDEyLjU1IDIuODQgMTEuOD [...]
camel.apache.org/provider: "Apache Software Foundation"
camel.apache.org/kamelet.group: "GitHub"
diff --git a/connectors/camel-github-pullrequest-comment-source-kafka-connector/src/main/resources/kamelets/github-pullrequest-comment-source.kamelet.yaml b/connectors/camel-github-pullrequest-comment-source-kafka-connector/src/main/resources/kamelets/github-pullrequest-comment-source.kamelet.yaml
index 8205a6dac9..00aa689bf8 100644
--- a/connectors/camel-github-pullrequest-comment-source-kafka-connector/src/main/resources/kamelets/github-pullrequest-comment-source.kamelet.yaml
+++ b/connectors/camel-github-pullrequest-comment-source-kafka-connector/src/main/resources/kamelets/github-pullrequest-comment-source.kamelet.yaml
@@ -20,7 +20,7 @@ metadata:
name: github-pullrequest-comment-source
annotations:
camel.apache.org/kamelet.support.level: "Stable"
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAyNCIgaGVpZ2h0PSIxMDI0IiB2aWV3Qm94PSIwIDAgMTAyNCAxMDI0IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTggMEMzLjU4IDAgMCAzLjU4IDAgOEMwIDExLjU0IDIuMjkgMTQuNTMgNS40NyAxNS41OUM1Ljg3IDE1LjY2IDYuMDIgMTUuNDIgNi4wMiAxNS4yMUM2LjAyIDE1LjAyIDYuMDEgMTQuMzkgNi4wMSAxMy43MkM0IDE0LjA5IDMuNDggMTMuMjMgMy4zMiAxMi43OEMzLjIzIDEyLjU1IDIuODQgMTEuOD [...]
camel.apache.org/provider: "Apache Software Foundation"
camel.apache.org/kamelet.group: "GitHub"
diff --git a/connectors/camel-github-pullrequest-source-kafka-connector/src/main/resources/kamelets/github-pullrequest-source.kamelet.yaml b/connectors/camel-github-pullrequest-source-kafka-connector/src/main/resources/kamelets/github-pullrequest-source.kamelet.yaml
index 5e1cf23490..2acd73d092 100644
--- a/connectors/camel-github-pullrequest-source-kafka-connector/src/main/resources/kamelets/github-pullrequest-source.kamelet.yaml
+++ b/connectors/camel-github-pullrequest-source-kafka-connector/src/main/resources/kamelets/github-pullrequest-source.kamelet.yaml
@@ -20,7 +20,7 @@ metadata:
name: github-pullrequest-source
annotations:
camel.apache.org/kamelet.support.level: "Stable"
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAyNCIgaGVpZ2h0PSIxMDI0IiB2aWV3Qm94PSIwIDAgMTAyNCAxMDI0IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTggMEMzLjU4IDAgMCAzLjU4IDAgOEMwIDExLjU0IDIuMjkgMTQuNTMgNS40NyAxNS41OUM1Ljg3IDE1LjY2IDYuMDIgMTUuNDIgNi4wMiAxNS4yMUM2LjAyIDE1LjAyIDYuMDEgMTQuMzkgNi4wMSAxMy43MkM0IDE0LjA5IDMuNDggMTMuMjMgMy4zMiAxMi43OEMzLjIzIDEyLjU1IDIuODQgMTEuOD [...]
camel.apache.org/provider: "Apache Software Foundation"
camel.apache.org/kamelet.group: "GitHub"
diff --git a/connectors/camel-github-tag-source-kafka-connector/src/main/resources/kamelets/github-tag-source.kamelet.yaml b/connectors/camel-github-tag-source-kafka-connector/src/main/resources/kamelets/github-tag-source.kamelet.yaml
index 63b342204e..b98fd7dec9 100644
--- a/connectors/camel-github-tag-source-kafka-connector/src/main/resources/kamelets/github-tag-source.kamelet.yaml
+++ b/connectors/camel-github-tag-source-kafka-connector/src/main/resources/kamelets/github-tag-source.kamelet.yaml
@@ -20,7 +20,7 @@ metadata:
name: github-tag-source
annotations:
camel.apache.org/kamelet.support.level: "Stable"
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAyNCIgaGVpZ2h0PSIxMDI0IiB2aWV3Qm94PSIwIDAgMTAyNCAxMDI0IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTggMEMzLjU4IDAgMCAzLjU4IDAgOEMwIDExLjU0IDIuMjkgMTQuNTMgNS40NyAxNS41OUM1Ljg3IDE1LjY2IDYuMDIgMTUuNDIgNi4wMiAxNS4yMUM2LjAyIDE1LjAyIDYuMDEgMTQuMzkgNi4wMSAxMy43MkM0IDE0LjA5IDMuNDggMTMuMjMgMy4zMiAxMi43OEMzLjIzIDEyLjU1IDIuODQgMTEuOD [...]
camel.apache.org/provider: "Apache Software Foundation"
camel.apache.org/kamelet.group: "GitHub"
diff --git a/connectors/camel-google-bigquery-sink-kafka-connector/src/main/resources/kamelets/google-bigquery-sink.kamelet.yaml b/connectors/camel-google-bigquery-sink-kafka-connector/src/main/resources/kamelets/google-bigquery-sink.kamelet.yaml
index 8abeea9dff..256738ba76 100644
--- a/connectors/camel-google-bigquery-sink-kafka-connector/src/main/resources/kamelets/google-bigquery-sink.kamelet.yaml
+++ b/connectors/camel-google-bigquery-sink-kafka-connector/src/main/resources/kamelets/google-bigquery-sink.kamelet.yaml
@@ -20,7 +20,7 @@ metadata:
name: google-bigquery-sink
annotations:
camel.apache.org/kamelet.support.level: "Stable"
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjI1MDAiIHdpZHRoPSIyNTAwIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiAgICAgdmlld0JveD0iLTEuNjMzMjM1NDMzMzI4MjU2IDcuMDMyNjA5MzMwMzE1NjU2NSAxMzEuMjY1NzQ2ODI0MTY4NzYgMTE0LjYzNDM5MDY2OTY4NDM1IiB2ZXJzaW9uPSIxLjAiPgogICAgPGxpbmVhckdyYWRpZW50IGlkPSJhIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjY0IiB4Mj0iNjQiIHkxPSI3LjAzNCIgeTI9IjEyMC43ODkiPgogICAgICAgIDxzdG9wIG9mZnNldD0iMCIgc3RvcC1jb2xvcj0iIzQzODdmZCIvPgogIC [...]
camel.apache.org/provider: "Apache Software Foundation"
camel.apache.org/kamelet.group: "Google Big Query"
diff --git a/connectors/camel-google-calendar-source-kafka-connector/src/main/resources/kamelets/google-calendar-source.kamelet.yaml b/connectors/camel-google-calendar-source-kafka-connector/src/main/resources/kamelets/google-calendar-source.kamelet.yaml
index b72de14447..96221dcd2a 100644
--- a/connectors/camel-google-calendar-source-kafka-connector/src/main/resources/kamelets/google-calendar-source.kamelet.yaml
+++ b/connectors/camel-google-calendar-source-kafka-connector/src/main/resources/kamelets/google-calendar-source.kamelet.yaml
@@ -20,7 +20,7 @@ metadata:
name: google-calendar-source
annotations:
camel.apache.org/kamelet.support.level: "Stable"
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjE4NiAzOCA3NiA3NiI+PHBhdGggZmlsbD0iI2ZmZiIgZD0iTTI0NCA1NmgtNDB2NDBoNDBWNTZ6Ii8+PHBhdGggZmlsbD0iI0VBNDMzNSIgZD0iTTI0NCAxMTRsMTgtMThoLTE4djE4eiIvPjxwYXRoIGZpbGw9IiNGQkJDMDQiIGQ9Ik0yNjIgNTZoLTE4djQwaDE4VjU2eiIvPjxwYXRoIGZpbGw9IiMzNEE4NTMiIGQ9Ik0yNDQgOTZoLTQwdjE4aDQwVjk2eiIvPjxwYXRoIGZpbGw9IiMxODgwMzgiIGQ9Ik0xODYgOTZ2MTJjMCAzLjMxNSAyLjY4NSA2IDYgNmgxMlY5NmgtMTh6Ii8+PH [...]
camel.apache.org/provider: "Apache Software Foundation"
camel.apache.org/kamelet.group: "Google Calendar"
@@ -91,13 +91,11 @@ spec:
title: Sync Flow
description: Specifies to sync events for incremental synchronization.
type: boolean
- x-descriptors:
default: false
consumeFromNow:
title: Consume from now
description: Specfies to consume events in the calendar from now on.
type: boolean
- x-descriptors:
default: true
types:
out:
diff --git a/connectors/camel-google-functions-sink-kafka-connector/src/main/resources/kamelets/google-functions-sink.kamelet.yaml b/connectors/camel-google-functions-sink-kafka-connector/src/main/resources/kamelets/google-functions-sink.kamelet.yaml
index b8d1287444..c03dd1077e 100644
--- a/connectors/camel-google-functions-sink-kafka-connector/src/main/resources/kamelets/google-functions-sink.kamelet.yaml
+++ b/connectors/camel-google-functions-sink-kafka-connector/src/main/resources/kamelets/google-functions-sink.kamelet.yaml
@@ -20,7 +20,7 @@ metadata:
name: google-functions-sink
annotations:
camel.apache.org/kamelet.support.level: "Stable"
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMjU2cHgiIGhlaWdodD0iMjMxcHgiIHZpZXdCb3g9IjAgMCAyNTYgMjMxIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHByZXNlcnZlQXNwZWN0UmF0aW89InhNaWRZTWlkIj4KICAgIDxkZWZzPgogICAgICAgIDxwYXRoIGQ9Ik0yNTIuOTI1ODU0LDEwMy4yMzcwNzcgTDIwMC4zMjczNDQsMTEuNzU5NjY3IEMxOTYuMzAyNTc5LDQuNjIyMjU3MDMgMTg4LjgwMD [...]
camel.apache.org/provider: "Apache Software Foundation"
camel.apache.org/kamelet.group: "Google Functions"
diff --git a/connectors/camel-google-mail-source-kafka-connector/src/main/resources/kamelets/google-mail-source.kamelet.yaml b/connectors/camel-google-mail-source-kafka-connector/src/main/resources/kamelets/google-mail-source.kamelet.yaml
index 3d6ea39242..da751ad487 100644
--- a/connectors/camel-google-mail-source-kafka-connector/src/main/resources/kamelets/google-mail-source.kamelet.yaml
+++ b/connectors/camel-google-mail-source-kafka-connector/src/main/resources/kamelets/google-mail-source.kamelet.yaml
@@ -20,7 +20,7 @@ metadata:
name: google-mail-source
annotations:
camel.apache.org/kamelet.support.level: "Stable"
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjUyIDQyIDg4IDY2Ij4KPHBhdGggZmlsbD0iIzQyODVmNCIgZD0iTTU4IDEwOGgxNFY3NEw1MiA1OXY0M2MwIDMuMzIgMi42OSA2IDYgNiIvPgo8cGF0aCBmaWxsPSIjMzRhODUzIiBkPSJNMTIwIDEwOGgxNGMzLjMyIDAgNi0yLjY5IDYtNlY1OWwtMjAgMTUiLz4KPHBhdGggZmlsbD0iI2ZiYmMwNCIgZD0iTTEyMCA0OHYyNmwyMC0xNXYtOGMwLTcuNDItOC40Ny0xMS42NS0xNC40LTcuMiIvPgo8cGF0aCBmaWxsPSIjZWE0MzM1IiBkPSJNNzIgNzRWNDhsMjQgMTggMjQtMTh2MjZMOT [...]
camel.apache.org/provider: "Apache Software Foundation"
camel.apache.org/kamelet.group: "Google Mail"
@@ -86,7 +86,6 @@ spec:
title: Mark as Read
description: Mark the message as read once it has been consumed
type: boolean
- x-descriptors:
default: true
labels:
title: Gmail Labels
diff --git a/connectors/camel-google-pubsub-sink-kafka-connector/src/main/resources/kamelets/google-pubsub-sink.kamelet.yaml b/connectors/camel-google-pubsub-sink-kafka-connector/src/main/resources/kamelets/google-pubsub-sink.kamelet.yaml
index ed910d72ac..426eb06c14 100644
--- a/connectors/camel-google-pubsub-sink-kafka-connector/src/main/resources/kamelets/google-pubsub-sink.kamelet.yaml
+++ b/connectors/camel-google-pubsub-sink-kafka-connector/src/main/resources/kamelets/google-pubsub-sink.kamelet.yaml
@@ -20,7 +20,7 @@ metadata:
name: google-pubsub-sink
annotations:
camel.apache.org/kamelet.support.level: "Stable"
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjI1MDAiIHZpZXdCb3g9Ii0xLjYzMzIzNTQzIDcuMDMyNjA5MzMgMTMxLjI2NTc0NjgyIDExNC40MzkzOTA2NyIgd2lkdGg9IjI1MDAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxsaW5lYXJHcmFkaWVudCBpZD0iYSIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiIHgxPSI2NCIgeDI9IjY0IiB5MT0iNy4wMzQiIHkyPSIxMjAuNzg5Ij48c3RvcCBvZmZzZXQ9IjAiIHN0b3AtY29sb3I9IiM0Mzg3ZmQiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3 [...]
camel.apache.org/provider: "Apache Software Foundation"
camel.apache.org/kamelet.group: "Google Pubsub"
diff --git a/connectors/camel-google-pubsub-source-kafka-connector/src/main/resources/kamelets/google-pubsub-source.kamelet.yaml b/connectors/camel-google-pubsub-source-kafka-connector/src/main/resources/kamelets/google-pubsub-source.kamelet.yaml
index 9ce35453a6..8747493602 100644
--- a/connectors/camel-google-pubsub-source-kafka-connector/src/main/resources/kamelets/google-pubsub-source.kamelet.yaml
+++ b/connectors/camel-google-pubsub-source-kafka-connector/src/main/resources/kamelets/google-pubsub-source.kamelet.yaml
@@ -20,7 +20,7 @@ metadata:
name: google-pubsub-source
annotations:
camel.apache.org/kamelet.support.level: "Stable"
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjI1MDAiIHZpZXdCb3g9Ii0xLjYzMzIzNTQzIDcuMDMyNjA5MzMgMTMxLjI2NTc0NjgyIDExNC40MzkzOTA2NyIgd2lkdGg9IjI1MDAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxsaW5lYXJHcmFkaWVudCBpZD0iYSIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiIHgxPSI2NCIgeDI9IjY0IiB5MT0iNy4wMzQiIHkyPSIxMjAuNzg5Ij48c3RvcCBvZmZzZXQ9IjAiIHN0b3AtY29sb3I9IiM0Mzg3ZmQiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3 [...]
camel.apache.org/provider: "Apache Software Foundation"
camel.apache.org/kamelet.group: "Google Pubsub"
@@ -32,7 +32,7 @@ spec:
title: "Google Pubsub Source"
description: |-
Consume messages from Google Cloud Pub/Sub.
-
+
If you specify the `serviceAccountKey` property, you must base64 encode it before you pass it as a parameter.
required:
- projectId
@@ -57,7 +57,6 @@ spec:
title: Synchronous Pull
description: Specifies to synchronously pull batches of messages.
type: boolean
- x-descriptors:
default: false
maxMessagesPerPoll:
title: Max Messages Per Poll
@@ -68,7 +67,7 @@ spec:
title: Concurrent Consumers
description: The number of parallel streams to consume from the subscription.
type: integer
- default: 1
+ default: 1
dependencies:
- "camel:kamelet"
- "camel:google-pubsub"
diff --git a/connectors/camel-google-sheets-sink-kafka-connector/pom.xml b/connectors/camel-google-sheets-sink-kafka-connector/pom.xml
index 18d4136c57..a2adbb40dd 100644
--- a/connectors/camel-google-sheets-sink-kafka-connector/pom.xml
+++ b/connectors/camel-google-sheets-sink-kafka-connector/pom.xml
@@ -57,14 +57,14 @@
<groupId>org.apache.camel</groupId>
<artifactId>camel-yaml-dsl</artifactId>
</dependency>
- <dependency>
- <groupId>org.apache.camel</groupId>
- <artifactId>camel-kamelet</artifactId>
- </dependency>
<dependency>
<groupId>org.apache.camel.kamelets</groupId>
<artifactId>camel-kamelets-utils</artifactId>
- <version>4.3.0</version>
+ <version>4.4.2</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.camel</groupId>
+ <artifactId>camel-kamelet</artifactId>
</dependency>
<dependency>
<groupId>org.apache.camel</groupId>
diff --git a/connectors/camel-google-sheets-sink-kafka-connector/src/main/resources/kamelets/google-sheets-sink.kamelet.yaml b/connectors/camel-google-sheets-sink-kafka-connector/src/main/resources/kamelets/google-sheets-sink.kamelet.yaml
index e82ab93e22..5a533038ac 100644
--- a/connectors/camel-google-sheets-sink-kafka-connector/src/main/resources/kamelets/google-sheets-sink.kamelet.yaml
+++ b/connectors/camel-google-sheets-sink-kafka-connector/src/main/resources/kamelets/google-sheets-sink.kamelet.yaml
@@ -20,7 +20,7 @@ metadata:
name: google-sheets-sink
annotations:
camel.apache.org/kamelet.support.level: "Stable"
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI1LjAuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IgoJIHZpZXdCb3g9IjAgMCA2NCA4OCIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgNjQgODg7Ii [...]
camel.apache.org/provider: "Apache Software Foundation"
camel.apache.org/kamelet.group: "Google Sheets"
@@ -146,7 +146,7 @@ spec:
type: string
mediaType: application/json
dependencies:
- - "mvn:org.apache.camel.kamelets:camel-kamelets-utils:4.3.0"
+ - "mvn:org.apache.camel.kamelets:camel-kamelets-utils:4.4.2"
- "camel:core"
- "camel:jackson"
- "camel:kamelet"
diff --git a/connectors/camel-google-sheets-source-kafka-connector/src/main/resources/kamelets/google-sheets-source.kamelet.yaml b/connectors/camel-google-sheets-source-kafka-connector/src/main/resources/kamelets/google-sheets-source.kamelet.yaml
index 28fb44f82d..d8329279ad 100644
--- a/connectors/camel-google-sheets-source-kafka-connector/src/main/resources/kamelets/google-sheets-source.kamelet.yaml
+++ b/connectors/camel-google-sheets-source-kafka-connector/src/main/resources/kamelets/google-sheets-source.kamelet.yaml
@@ -20,7 +20,7 @@ metadata:
name: google-sheets-source
annotations:
camel.apache.org/kamelet.support.level: "Stable"
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDI1LjAuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IgoJIHZpZXdCb3g9IjAgMCA2NCA4OCIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgNjQgODg7Ii [...]
camel.apache.org/provider: "Apache Software Foundation"
camel.apache.org/kamelet.group: "Google Sheets"
@@ -89,7 +89,6 @@ spec:
title: Split Results
description: True if value range result should be split into rows or columns to process each of them individually.
type: boolean
- x-descriptors:
default: true
range:
title: Cells Range
@@ -109,7 +108,6 @@ spec:
type: string
default: "A"
dataTypes:
- default:
out:
default: json
headers:
@@ -141,7 +139,7 @@ spec:
json:
format: "application-json"
description: |-
- Json representation of a GoogleSheets ValueRange object that holds all values for the given cell range.
+ Json representation of a GoogleSheets ValueRange object that holds all values for the given cell range.
Or Json array of values for a single row/column in the range when 'splitResults' mode is enabled.
mediaType: application/json
json-struct:
diff --git a/connectors/camel-google-storage-cdc-source-kafka-connector/src/main/resources/kamelets/google-storage-cdc-source.kamelet.yaml b/connectors/camel-google-storage-cdc-source-kafka-connector/src/main/resources/kamelets/google-storage-cdc-source.kamelet.yaml
index 23f31ab534..81895a2359 100644
--- a/connectors/camel-google-storage-cdc-source-kafka-connector/src/main/resources/kamelets/google-storage-cdc-source.kamelet.yaml
+++ b/connectors/camel-google-storage-cdc-source-kafka-connector/src/main/resources/kamelets/google-storage-cdc-source.kamelet.yaml
@@ -20,7 +20,7 @@ metadata:
name: google-storage-cdc-source
annotations:
camel.apache.org/kamelet.support.level: "Preview"
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjI1MDAiIHZpZXdCb3g9Ii0xLjYzMzIzNTQzIDcuMDMyNjA5MzMgMTMxLjI2NTc0NjgyIDExNC40MzkzOTA2NyIgd2lkdGg9IjI1MDAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxsaW5lYXJHcmFkaWVudCBpZD0iYSIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiIHgxPSI2NCIgeDI9IjY0IiB5MT0iNy4wMzQiIHkyPSIxMjAuNzg5Ij48c3RvcCBvZmZzZXQ9IjAiIHN0b3AtY29sb3I9IiM0Mzg3ZmQiLz48c3RvcCBvZmZzZXQ9IjEiIHN0b3 [...]
camel.apache.org/provider: "Apache Software Foundation"
camel.apache.org/kamelet.group: "Google Storage"
@@ -36,7 +36,7 @@ spec:
Service account key is the basic method for authenticating to the Google Pubsub and Google Storage.
To use this Kamelet you'll need to set up Events notification for your Google Storage Bucket.
-
+
You must encode the `serviceAccountKey` property before you pass it as a parameter.
required:
- projectId
@@ -63,7 +63,6 @@ spec:
title: Synchronous Pull
description: Specifies to synchronously pull batches of messages.
type: boolean
- x-descriptors:
default: false
maxMessagesPerPoll:
title: Max Messages Per Poll
@@ -85,8 +84,7 @@ spec:
If getObject is enabled, then the file created in the Bucket will be
get and returned as body, if not only the event will be returned as body.
type: boolean
- x-descriptors:
- default: false
+ default: false
dependencies:
- "camel:kamelet"
- "camel:google-pubsub"
diff --git a/connectors/camel-google-storage-sink-kafka-connector/src/generated/resources/camel-google-storage-sink-sink.json b/connectors/camel-google-storage-sink-kafka-connector/src/generated/resources/camel-google-storage-sink-sink.json
index b19519c6b9..f027defd97 100644
--- a/connectors/camel-google-storage-sink-kafka-connector/src/generated/resources/camel-google-storage-sink-sink.json
+++ b/connectors/camel-google-storage-sink-kafka-connector/src/generated/resources/camel-google-storage-sink-sink.json
@@ -6,7 +6,7 @@
"id": "camel-google-storage-sink-sink",
"type": "sink",
"version": "4.4.2-SNAPSHOT",
- "description": "Upload objects to Google Cloud Storage.\n\nIf you specify the `serviceAccountKey` property, you must base64 encode it before you pass it as a parameter.\n \nIn the header, you can set the `file` \/ `ce-file` property to specify the filename to upload. If you do set property in the header, the Kamelet uses the exchange ID as filename."
+ "description": "Upload objects to Google Cloud Storage.\n\nIf you specify the `serviceAccountKey` property, you must base64 encode it before you pass it as a parameter.\n\nIn the header, you can set the `file` \/ `ce-file` property to specify the filename to upload. If you do set property in the header, the Kamelet uses the exchange ID as filename."
},
"properties": {
"camel.kamelet.google-storage-sink.bucketNameOrArn": {
diff --git a/connectors/camel-google-storage-sink-kafka-connector/src/main/resources/kamelets/google-storage-sink.kamelet.yaml b/connectors/camel-google-storage-sink-kafka-connector/src/main/resources/kamelets/google-storage-sink.kamelet.yaml
index fa88e84fb7..c7c4fed22e 100644
--- a/connectors/camel-google-storage-sink-kafka-connector/src/main/resources/kamelets/google-storage-sink.kamelet.yaml
+++ b/connectors/camel-google-storage-sink-kafka-connector/src/main/resources/kamelets/google-storage-sink.kamelet.yaml
@@ -20,7 +20,7 @@ metadata:
name: google-storage-sink
annotations:
camel.apache.org/kamelet.support.level: "Stable"
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiBoZWlnaHQ9IjgwMCIgd2lkdGg9IjEyMDAiIHZpZXdCb3g9Ii0xOS4yMDAxNSAtMjguNDgzIDE2Ni40MDEzIDE3MC44OTgiPjxnIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAgLTcuMDM0KSI+PGxpbmVhckdyYWRpZW50IHkyPSIxMjAuNzg5IiB4Mj0iNjQiIHkxPSI3LjAzNCIgeDE9IjY0IiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgaWQ9ImEiPjxzdG9wIG9mZnNldD0iMCIgc3RvcC1jb2xvcj0iIzQzODdmZCIvPj [...]
camel.apache.org/provider: "Apache Software Foundation"
camel.apache.org/kamelet.group: "Google Storage"
@@ -32,9 +32,9 @@ spec:
title: "Google Storage Sink"
description: |-
Upload objects to Google Cloud Storage.
-
+
If you specify the `serviceAccountKey` property, you must base64 encode it before you pass it as a parameter.
-
+
In the header, you can set the `file` / `ce-file` property to specify the filename to upload. If you do set property in the header, the Kamelet uses the exchange ID as filename.
required:
- bucketNameOrArn
@@ -54,7 +54,6 @@ spec:
title: Autocreate Bucket
description: Specifies to automatically create the Google Cloud Storage bucket.
type: boolean
- x-descriptors:
default: false
dependencies:
- "camel:core"
diff --git a/connectors/camel-google-storage-source-kafka-connector/src/main/resources/kamelets/google-storage-source.kamelet.yaml b/connectors/camel-google-storage-source-kafka-connector/src/main/resources/kamelets/google-storage-source.kamelet.yaml
index 881445c228..82920d3cec 100644
--- a/connectors/camel-google-storage-source-kafka-connector/src/main/resources/kamelets/google-storage-source.kamelet.yaml
+++ b/connectors/camel-google-storage-source-kafka-connector/src/main/resources/kamelets/google-storage-source.kamelet.yaml
@@ -20,7 +20,7 @@ metadata:
name: google-storage-source
annotations:
camel.apache.org/kamelet.support.level: "Stable"
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiBoZWlnaHQ9IjgwMCIgd2lkdGg9IjEyMDAiIHZpZXdCb3g9Ii0xOS4yMDAxNSAtMjguNDgzIDE2Ni40MDEzIDE3MC44OTgiPjxnIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAgLTcuMDM0KSI+PGxpbmVhckdyYWRpZW50IHkyPSIxMjAuNzg5IiB4Mj0iNjQiIHkxPSI3LjAzNCIgeDE9IjY0IiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgaWQ9ImEiPjxzdG9wIG9mZnNldD0iMCIgc3RvcC1jb2xvcj0iIzQzODdmZCIvPj [...]
camel.apache.org/provider: "Apache Software Foundation"
camel.apache.org/kamelet.group: "Google Storage"
@@ -52,13 +52,11 @@ spec:
title: Auto-delete Objects
description: Specifies to delete objects after consuming them.
type: boolean
- x-descriptors:
default: true
autoCreateBucket:
title: Autocreate Bucket
description: Specifies to automatically create the Google Cloud Storage bucket.
type: boolean
- x-descriptors:
default: false
dataTypes:
out:
@@ -80,7 +78,7 @@ spec:
CamelGoogleCloudStorageETag:
title: ETag Value
description: |-
- The hex encoded 128-bit MD5 digest of the associated object according to RFC 1864.
+ The hex encoded 128-bit MD5 digest of the associated object according to RFC 1864.
Is the generation number of the object for which you are retrieving information.
type: string
types:
diff --git a/connectors/camel-graphql-sink-kafka-connector/src/main/resources/kamelets/graphql-sink.kamelet.yaml b/connectors/camel-graphql-sink-kafka-connector/src/main/resources/kamelets/graphql-sink.kamelet.yaml
index 4765cacfa5..2ba439301c 100644
--- a/connectors/camel-graphql-sink-kafka-connector/src/main/resources/kamelets/graphql-sink.kamelet.yaml
+++ b/connectors/camel-graphql-sink-kafka-connector/src/main/resources/kamelets/graphql-sink.kamelet.yaml
@@ -20,7 +20,7 @@ metadata:
name: graphql-sink
annotations:
camel.apache.org/kamelet.support.level: "Stable"
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0MjAiCmhlaWdodD0iNDIwIiBzdHJva2U9IiMwMDAiIGZpbGw9Im5vbmUiPgo8cGF0aCBzdHJva2Utd2lkdGg9IjI2IgpkPSJNMjA5LDE1YTE5NSwxOTUgMCAxLDAgMiwweiIvPgo8cGF0aCBzdHJva2Utd2lkdGg9IjE4IgpkPSJtMjEwLDE1djM5MG0xOTUtMTk1SDE1TTU5LDkwYTI2MCwyNjAgMCAwLDAgMzAyLDAgbTAsMjQwIGEyNjAsMjYwIDAgMCwwLTMwMiwwTTE5NSwyMGEyNTAsMjUwIDAgMCwwIDAsMzgyIG0zMC [...]
camel.apache.org/provider: "Apache Software Foundation"
camel.apache.org/kamelet.group: "Graphql"
diff --git a/connectors/camel-hdfs-kafka-connector/src/generated/descriptors/connector-sink.properties b/connectors/camel-hdfs-kafka-connector/src/generated/descriptors/connector-sink.properties
deleted file mode 100644
index 656702f219..0000000000
--- a/connectors/camel-hdfs-kafka-connector/src/generated/descriptors/connector-sink.properties
+++ /dev/null
@@ -1 +0,0 @@
-camel-hdfs-sink
\ No newline at end of file
diff --git a/connectors/camel-hdfs-kafka-connector/src/generated/descriptors/connector-source.properties b/connectors/camel-hdfs-kafka-connector/src/generated/descriptors/connector-source.properties
deleted file mode 100644
index 3e8cac47a4..0000000000
--- a/connectors/camel-hdfs-kafka-connector/src/generated/descriptors/connector-source.properties
+++ /dev/null
@@ -1 +0,0 @@
-camel-hdfs-source
\ No newline at end of file
diff --git a/connectors/camel-hdfs-kafka-connector/src/generated/resources/camel-hdfs-sink.json b/connectors/camel-hdfs-kafka-connector/src/generated/resources/camel-hdfs-sink.json
deleted file mode 100644
index fdc1755841..0000000000
--- a/connectors/camel-hdfs-kafka-connector/src/generated/resources/camel-hdfs-sink.json
+++ /dev/null
@@ -1,275 +0,0 @@
-{
- "connector": {
- "class": "org.apache.camel.kafkaconnector.hdfs.CamelHdfsSinkConnector",
- "artifactId": "camel-hdfs-kafka-connector",
- "groupId": "org.apache.camel.kafkaconnector",
- "id": "camel-hdfs-sink",
- "type": "sink",
- "version": "4.4.2-SNAPSHOT",
- "description": "Read and write from\/to an HDFS filesystem using Hadoop 2.x."
- },
- "properties": {
- "camel.sink.path.hostName": {
- "name": "camel.sink.path.hostName",
- "description": "HDFS host to use",
- "priority": "HIGH",
- "required": "true"
- },
- "camel.sink.path.port": {
- "name": "camel.sink.path.port",
- "description": "HDFS port to use",
- "defaultValue": "8020",
- "priority": "MEDIUM",
- "required": "false"
- },
- "camel.sink.path.path": {
- "name": "camel.sink.path.path",
- "description": "The directory path to use",
- "priority": "HIGH",
- "required": "true"
- },
- "camel.sink.endpoint.connectOnStartup": {
- "name": "camel.sink.endpoint.connectOnStartup",
- "description": "Whether to connect to the HDFS file system on starting the producer\/consumer. If false then the connection is created on-demand. Notice that HDFS may take up till 15 minutes to establish a connection, as it has hardcoded 45 x 20 sec redelivery. By setting this option to false allows your application to startup, and not block for up till 15 minutes.",
- "defaultValue": "true",
- "priority": "MEDIUM",
- "required": "false"
- },
- "camel.sink.endpoint.fileSystemType": {
- "name": "camel.sink.endpoint.fileSystemType",
- "description": "Set to LOCAL to not use HDFS but local java.io.File instead. One of: [LOCAL] [HDFS]",
- "defaultValue": "\"HDFS\"",
- "priority": "MEDIUM",
- "required": "false",
- "enum": [
- "LOCAL",
- "HDFS"
- ]
- },
- "camel.sink.endpoint.fileType": {
- "name": "camel.sink.endpoint.fileType",
- "description": "The file type to use. For more details see Hadoop HDFS documentation about the various files types. One of: [NORMAL_FILE] [SEQUENCE_FILE] [MAP_FILE] [BLOOMMAP_FILE] [ARRAY_FILE]",
- "defaultValue": "\"NORMAL_FILE\"",
- "priority": "MEDIUM",
- "required": "false",
- "enum": [
- "NORMAL_FILE",
- "SEQUENCE_FILE",
- "MAP_FILE",
- "BLOOMMAP_FILE",
- "ARRAY_FILE"
- ]
- },
- "camel.sink.endpoint.keyType": {
- "name": "camel.sink.endpoint.keyType",
- "description": "The type for the key in case of sequence or map files. One of: [NULL] [BOOLEAN] [BYTE] [SHORT] [INT] [FLOAT] [LONG] [DOUBLE] [TEXT] [BYTES]",
- "defaultValue": "\"NULL\"",
- "priority": "MEDIUM",
- "required": "false",
- "enum": [
- "NULL",
- "BOOLEAN",
- "BYTE",
- "SHORT",
- "INT",
- "FLOAT",
- "LONG",
- "DOUBLE",
- "TEXT",
- "BYTES"
- ]
- },
- "camel.sink.endpoint.namedNodes": {
- "name": "camel.sink.endpoint.namedNodes",
- "description": "A comma separated list of named nodes (e.g. srv11.example.com:8020,srv12.example.com:8020)",
- "priority": "MEDIUM",
- "required": "false"
- },
- "camel.sink.endpoint.owner": {
- "name": "camel.sink.endpoint.owner",
- "description": "The file owner must match this owner for the consumer to pickup the file. Otherwise the file is skipped.",
- "priority": "MEDIUM",
- "required": "false"
- },
- "camel.sink.endpoint.valueType": {
- "name": "camel.sink.endpoint.valueType",
- "description": "The type for the key in case of sequence or map files One of: [NULL] [BOOLEAN] [BYTE] [SHORT] [INT] [FLOAT] [LONG] [DOUBLE] [TEXT] [BYTES]",
- "defaultValue": "\"BYTES\"",
- "priority": "MEDIUM",
- "required": "false",
- "enum": [
- "NULL",
- "BOOLEAN",
- "BYTE",
- "SHORT",
- "INT",
- "FLOAT",
- "LONG",
- "DOUBLE",
- "TEXT",
- "BYTES"
- ]
- },
- "camel.sink.endpoint.append": {
- "name": "camel.sink.endpoint.append",
- "description": "Append to existing file. Notice that not all HDFS file systems support the append option.",
- "defaultValue": "false",
- "priority": "MEDIUM",
- "required": "false"
- },
- "camel.sink.endpoint.overwrite": {
- "name": "camel.sink.endpoint.overwrite",
- "description": "Whether to overwrite existing files with the same name",
- "defaultValue": "true",
- "priority": "MEDIUM",
- "required": "false"
- },
- "camel.sink.endpoint.lazyStartProducer": {
- "name": "camel.sink.endpoint.lazyStartProducer",
- "description": "Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the pr [...]
- "defaultValue": "false",
- "priority": "MEDIUM",
- "required": "false"
- },
- "camel.sink.endpoint.blockSize": {
- "name": "camel.sink.endpoint.blockSize",
- "description": "The size of the HDFS blocks",
- "defaultValue": "67108864L",
- "priority": "MEDIUM",
- "required": "false"
- },
- "camel.sink.endpoint.bufferSize": {
- "name": "camel.sink.endpoint.bufferSize",
- "description": "The buffer size used by HDFS",
- "defaultValue": "4096",
- "priority": "MEDIUM",
- "required": "false"
- },
- "camel.sink.endpoint.checkIdleInterval": {
- "name": "camel.sink.endpoint.checkIdleInterval",
- "description": "How often (time in millis) in to run the idle checker background task. This option is only in use if the splitter strategy is IDLE.",
- "defaultValue": "500",
- "priority": "MEDIUM",
- "required": "false"
- },
- "camel.sink.endpoint.chunkSize": {
- "name": "camel.sink.endpoint.chunkSize",
- "description": "When reading a normal file, this is split into chunks producing a message per chunk.",
- "defaultValue": "4096",
- "priority": "MEDIUM",
- "required": "false"
- },
- "camel.sink.endpoint.compressionCodec": {
- "name": "camel.sink.endpoint.compressionCodec",
- "description": "The compression codec to use One of: [DEFAULT] [GZIP] [BZIP2] [SNAPPY] [LZ4] [ZSTANDARD]",
- "defaultValue": "\"DEFAULT\"",
- "priority": "MEDIUM",
- "required": "false",
- "enum": [
- "DEFAULT",
- "GZIP",
- "BZIP2",
- "SNAPPY",
- "LZ4",
- "ZSTANDARD"
- ]
- },
- "camel.sink.endpoint.compressionType": {
- "name": "camel.sink.endpoint.compressionType",
- "description": "The compression type to use (is default not in use) One of: [NONE] [RECORD] [BLOCK]",
- "defaultValue": "\"NONE\"",
- "priority": "MEDIUM",
- "required": "false",
- "enum": [
- "NONE",
- "RECORD",
- "BLOCK"
- ]
- },
- "camel.sink.endpoint.openedSuffix": {
- "name": "camel.sink.endpoint.openedSuffix",
- "description": "When a file is opened for reading\/writing the file is renamed with this suffix to avoid to read it during the writing phase.",
- "defaultValue": "\"opened\"",
- "priority": "MEDIUM",
- "required": "false"
- },
- "camel.sink.endpoint.readSuffix": {
- "name": "camel.sink.endpoint.readSuffix",
- "description": "Once the file has been read is renamed with this suffix to avoid to read it again.",
- "defaultValue": "\"read\"",
- "priority": "MEDIUM",
- "required": "false"
- },
- "camel.sink.endpoint.replication": {
- "name": "camel.sink.endpoint.replication",
- "description": "The HDFS replication factor",
- "defaultValue": "3",
- "priority": "MEDIUM",
- "required": "false"
- },
- "camel.sink.endpoint.splitStrategy": {
- "name": "camel.sink.endpoint.splitStrategy",
- "description": "In the current version of Hadoop opening a file in append mode is disabled since it's not very reliable. So, for the moment, it's only possible to create new files. The Camel HDFS endpoint tries to solve this problem in this way: If the split strategy option has been defined, the hdfs path will be used as a directory and files will be created using the configured UuidGenerator. Every time a splitting condition is met, a new file is created. The splitStrategy option is [...]
- "priority": "MEDIUM",
- "required": "false"
- },
- "camel.sink.endpoint.kerberosConfigFileLocation": {
- "name": "camel.sink.endpoint.kerberosConfigFileLocation",
- "description": "The location of the kerb5.conf file (https:\/\/web.mit.edu\/kerberos\/krb5-1.12\/doc\/admin\/conf_files\/krb5_conf.html)",
- "priority": "MEDIUM",
- "required": "false"
- },
- "camel.sink.endpoint.kerberosKeytabLocation": {
- "name": "camel.sink.endpoint.kerberosKeytabLocation",
- "description": "The location of the keytab file used to authenticate with the kerberos nodes (contains pairs of kerberos principals and encrypted keys (which are derived from the Kerberos password))",
- "priority": "MEDIUM",
- "required": "false"
- },
- "camel.sink.endpoint.kerberosUsername": {
- "name": "camel.sink.endpoint.kerberosUsername",
- "description": "The username used to authenticate with the kerberos nodes",
- "priority": "MEDIUM",
- "required": "false"
- },
- "camel.component.hdfs.lazyStartProducer": {
- "name": "camel.component.hdfs.lazyStartProducer",
- "description": "Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the pr [...]
- "defaultValue": "false",
- "priority": "MEDIUM",
- "required": "false"
- },
- "camel.component.hdfs.autowiredEnabled": {
- "name": "camel.component.hdfs.autowiredEnabled",
- "description": "Whether autowiring is enabled. This is used for automatic autowiring options (the option must be marked as autowired) by looking up in the registry to find if there is a single instance of matching type, which then gets configured on the component. This can be used for automatic configuring JDBC data sources, JMS connection factories, AWS Clients, etc.",
- "defaultValue": "true",
- "priority": "MEDIUM",
- "required": "false"
- },
- "camel.component.hdfs.healthCheckConsumerEnabled": {
- "name": "camel.component.hdfs.healthCheckConsumerEnabled",
- "description": "Used for enabling or disabling all consumer based health checks from this component",
- "defaultValue": "true",
- "priority": "MEDIUM",
- "required": "false"
- },
- "camel.component.hdfs.healthCheckProducerEnabled": {
- "name": "camel.component.hdfs.healthCheckProducerEnabled",
- "description": "Used for enabling or disabling all producer based health checks from this component. Notice: Camel has by default disabled all producer based health-checks. You can turn on producer checks globally by setting camel.health.producersEnabled=true.",
- "defaultValue": "true",
- "priority": "MEDIUM",
- "required": "false"
- },
- "camel.component.hdfs.jAASConfiguration": {
- "name": "camel.component.hdfs.jAASConfiguration",
- "description": "To use the given configuration for security with JAAS.",
- "priority": "MEDIUM",
- "required": "false"
- },
- "camel.component.hdfs.kerberosConfigFile": {
- "name": "camel.component.hdfs.kerberosConfigFile",
- "description": "To use kerberos authentication, set the value of the 'java.security.krb5.conf' environment variable to an existing file. If the environment variable is already set, warn if different than the specified parameter",
- "priority": "MEDIUM",
- "required": "false"
- }
- }
-}
\ No newline at end of file
diff --git a/connectors/camel-hdfs-kafka-connector/src/generated/resources/camel-hdfs-source.json b/connectors/camel-hdfs-kafka-connector/src/generated/resources/camel-hdfs-source.json
deleted file mode 100644
index 12564cf900..0000000000
--- a/connectors/camel-hdfs-kafka-connector/src/generated/resources/camel-hdfs-source.json
+++ /dev/null
@@ -1,421 +0,0 @@
-{
- "connector": {
- "class": "org.apache.camel.kafkaconnector.hdfs.CamelHdfsSourceConnector",
- "artifactId": "camel-hdfs-kafka-connector",
- "groupId": "org.apache.camel.kafkaconnector",
- "id": "camel-hdfs-source",
- "type": "source",
- "version": "4.4.2-SNAPSHOT",
- "description": "Read and write from\/to an HDFS filesystem using Hadoop 2.x."
- },
- "properties": {
- "camel.source.path.hostName": {
- "name": "camel.source.path.hostName",
- "description": "HDFS host to use",
- "priority": "HIGH",
- "required": "true"
- },
- "camel.source.path.port": {
- "name": "camel.source.path.port",
- "description": "HDFS port to use",
- "defaultValue": "8020",
- "priority": "MEDIUM",
- "required": "false"
- },
- "camel.source.path.path": {
- "name": "camel.source.path.path",
- "description": "The directory path to use",
- "priority": "HIGH",
- "required": "true"
- },
- "camel.source.endpoint.connectOnStartup": {
- "name": "camel.source.endpoint.connectOnStartup",
- "description": "Whether to connect to the HDFS file system on starting the producer\/consumer. If false then the connection is created on-demand. Notice that HDFS may take up till 15 minutes to establish a connection, as it has hardcoded 45 x 20 sec redelivery. By setting this option to false allows your application to startup, and not block for up till 15 minutes.",
- "defaultValue": "true",
- "priority": "MEDIUM",
- "required": "false"
- },
- "camel.source.endpoint.fileSystemType": {
- "name": "camel.source.endpoint.fileSystemType",
- "description": "Set to LOCAL to not use HDFS but local java.io.File instead. One of: [LOCAL] [HDFS]",
- "defaultValue": "\"HDFS\"",
- "priority": "MEDIUM",
- "required": "false",
- "enum": [
- "LOCAL",
- "HDFS"
- ]
- },
- "camel.source.endpoint.fileType": {
- "name": "camel.source.endpoint.fileType",
- "description": "The file type to use. For more details see Hadoop HDFS documentation about the various files types. One of: [NORMAL_FILE] [SEQUENCE_FILE] [MAP_FILE] [BLOOMMAP_FILE] [ARRAY_FILE]",
- "defaultValue": "\"NORMAL_FILE\"",
- "priority": "MEDIUM",
- "required": "false",
- "enum": [
- "NORMAL_FILE",
- "SEQUENCE_FILE",
- "MAP_FILE",
- "BLOOMMAP_FILE",
- "ARRAY_FILE"
- ]
- },
- "camel.source.endpoint.keyType": {
- "name": "camel.source.endpoint.keyType",
- "description": "The type for the key in case of sequence or map files. One of: [NULL] [BOOLEAN] [BYTE] [SHORT] [INT] [FLOAT] [LONG] [DOUBLE] [TEXT] [BYTES]",
- "defaultValue": "\"NULL\"",
- "priority": "MEDIUM",
- "required": "false",
- "enum": [
- "NULL",
- "BOOLEAN",
- "BYTE",
- "SHORT",
- "INT",
- "FLOAT",
- "LONG",
- "DOUBLE",
- "TEXT",
- "BYTES"
- ]
- },
- "camel.source.endpoint.namedNodes": {
- "name": "camel.source.endpoint.namedNodes",
- "description": "A comma separated list of named nodes (e.g. srv11.example.com:8020,srv12.example.com:8020)",
- "priority": "MEDIUM",
- "required": "false"
- },
- "camel.source.endpoint.owner": {
- "name": "camel.source.endpoint.owner",
- "description": "The file owner must match this owner for the consumer to pickup the file. Otherwise the file is skipped.",
- "priority": "MEDIUM",
- "required": "false"
- },
- "camel.source.endpoint.valueType": {
- "name": "camel.source.endpoint.valueType",
- "description": "The type for the key in case of sequence or map files One of: [NULL] [BOOLEAN] [BYTE] [SHORT] [INT] [FLOAT] [LONG] [DOUBLE] [TEXT] [BYTES]",
- "defaultValue": "\"BYTES\"",
- "priority": "MEDIUM",
- "required": "false",
- "enum": [
- "NULL",
- "BOOLEAN",
- "BYTE",
- "SHORT",
- "INT",
- "FLOAT",
- "LONG",
- "DOUBLE",
- "TEXT",
- "BYTES"
- ]
- },
- "camel.source.endpoint.pattern": {
- "name": "camel.source.endpoint.pattern",
- "description": "The pattern used for scanning the directory",
- "defaultValue": "\"*\"",
- "priority": "MEDIUM",
- "required": "false"
- },
- "camel.source.endpoint.sendEmptyMessageWhenIdle": {
- "name": "camel.source.endpoint.sendEmptyMessageWhenIdle",
- "description": "If the polling consumer did not poll any files, you can enable this option to send an empty message (no body) instead.",
- "defaultValue": "false",
- "priority": "MEDIUM",
- "required": "false"
- },
- "camel.source.endpoint.streamDownload": {
- "name": "camel.source.endpoint.streamDownload",
- "description": "Sets the download method to use when not using a local working directory. If set to true, the remote files are streamed to the route as they are read. When set to false, the remote files are loaded into memory before being sent into the route.",
- "defaultValue": "false",
- "priority": "MEDIUM",
- "required": "false"
- },
- "camel.source.endpoint.bridgeErrorHandler": {
- "name": "camel.source.endpoint.bridgeErrorHandler",
- "description": "Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions (if possible) occurred while the Camel consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. Important: This is only possible if the 3rd party component allows Camel to be alerted if an exception was thrown. Some components handle this internally only, and therefore bridgeErrorHandler is not [...]
- "defaultValue": "false",
- "priority": "MEDIUM",
- "required": "false"
- },
- "camel.source.endpoint.exceptionHandler": {
- "name": "camel.source.endpoint.exceptionHandler",
- "description": "To let the consumer use a custom ExceptionHandler. Notice if the option bridgeErrorHandler is enabled then this option is not in use. By default the consumer will deal with exceptions, that will be logged at WARN or ERROR level and ignored.",
- "priority": "MEDIUM",
- "required": "false"
- },
- "camel.source.endpoint.exchangePattern": {
- "name": "camel.source.endpoint.exchangePattern",
- "description": "Sets the exchange pattern when the consumer creates an exchange. One of: [InOnly] [InOut]",
- "priority": "MEDIUM",
- "required": "false",
- "enum": [
- "InOnly",
- "InOut"
- ]
- },
- "camel.source.endpoint.pollStrategy": {
- "name": "camel.source.endpoint.pollStrategy",
- "description": "A pluggable org.apache.camel.PollingConsumerPollingStrategy allowing you to provide your custom implementation to control error handling usually occurred during the poll operation before an Exchange have been created and being routed in Camel.",
- "priority": "MEDIUM",
- "required": "false"
- },
- "camel.source.endpoint.blockSize": {
- "name": "camel.source.endpoint.blockSize",
- "description": "The size of the HDFS blocks",
- "defaultValue": "67108864L",
- "priority": "MEDIUM",
- "required": "false"
- },
- "camel.source.endpoint.bufferSize": {
- "name": "camel.source.endpoint.bufferSize",
- "description": "The buffer size used by HDFS",
- "defaultValue": "4096",
- "priority": "MEDIUM",
- "required": "false"
- },
- "camel.source.endpoint.checkIdleInterval": {
- "name": "camel.source.endpoint.checkIdleInterval",
- "description": "How often (time in millis) in to run the idle checker background task. This option is only in use if the splitter strategy is IDLE.",
- "defaultValue": "500",
- "priority": "MEDIUM",
- "required": "false"
- },
- "camel.source.endpoint.chunkSize": {
- "name": "camel.source.endpoint.chunkSize",
- "description": "When reading a normal file, this is split into chunks producing a message per chunk.",
- "defaultValue": "4096",
- "priority": "MEDIUM",
- "required": "false"
- },
- "camel.source.endpoint.compressionCodec": {
- "name": "camel.source.endpoint.compressionCodec",
- "description": "The compression codec to use One of: [DEFAULT] [GZIP] [BZIP2] [SNAPPY] [LZ4] [ZSTANDARD]",
- "defaultValue": "\"DEFAULT\"",
- "priority": "MEDIUM",
- "required": "false",
- "enum": [
- "DEFAULT",
- "GZIP",
- "BZIP2",
- "SNAPPY",
- "LZ4",
- "ZSTANDARD"
- ]
- },
- "camel.source.endpoint.compressionType": {
- "name": "camel.source.endpoint.compressionType",
- "description": "The compression type to use (is default not in use) One of: [NONE] [RECORD] [BLOCK]",
- "defaultValue": "\"NONE\"",
- "priority": "MEDIUM",
- "required": "false",
- "enum": [
- "NONE",
- "RECORD",
- "BLOCK"
- ]
- },
- "camel.source.endpoint.openedSuffix": {
- "name": "camel.source.endpoint.openedSuffix",
- "description": "When a file is opened for reading\/writing the file is renamed with this suffix to avoid to read it during the writing phase.",
- "defaultValue": "\"opened\"",
- "priority": "MEDIUM",
- "required": "false"
- },
- "camel.source.endpoint.readSuffix": {
- "name": "camel.source.endpoint.readSuffix",
- "description": "Once the file has been read is renamed with this suffix to avoid to read it again.",
- "defaultValue": "\"read\"",
- "priority": "MEDIUM",
- "required": "false"
- },
- "camel.source.endpoint.replication": {
- "name": "camel.source.endpoint.replication",
- "description": "The HDFS replication factor",
- "defaultValue": "3",
- "priority": "MEDIUM",
- "required": "false"
- },
- "camel.source.endpoint.splitStrategy": {
- "name": "camel.source.endpoint.splitStrategy",
- "description": "In the current version of Hadoop opening a file in append mode is disabled since it's not very reliable. So, for the moment, it's only possible to create new files. The Camel HDFS endpoint tries to solve this problem in this way: If the split strategy option has been defined, the hdfs path will be used as a directory and files will be created using the configured UuidGenerator. Every time a splitting condition is met, a new file is created. The splitStrategy option is [...]
- "priority": "MEDIUM",
- "required": "false"
- },
- "camel.source.endpoint.maxMessagesPerPoll": {
- "name": "camel.source.endpoint.maxMessagesPerPoll",
- "description": "To define a maximum messages to gather per poll. By default a limit of 100 is set. Can be used to set a limit of e.g. 1000 to avoid when starting up the server that there are thousands of files. Values can only be greater than 0. Notice: If this option is in use then the limit will be applied on the valid files. For example if you have 100000 files and use maxMessagesPerPoll=500, then only the first 500 files will be picked up.",
- "defaultValue": "100",
- "priority": "MEDIUM",
- "required": "false"
- },
- "camel.source.endpoint.backoffErrorThreshold": {
- "name": "camel.source.endpoint.backoffErrorThreshold",
- "description": "The number of subsequent error polls (failed due some error) that should happen before the backoffMultipler should kick-in.",
- "priority": "MEDIUM",
- "required": "false"
- },
- "camel.source.endpoint.backoffIdleThreshold": {
- "name": "camel.source.endpoint.backoffIdleThreshold",
- "description": "The number of subsequent idle polls that should happen before the backoffMultipler should kick-in.",
- "priority": "MEDIUM",
- "required": "false"
- },
- "camel.source.endpoint.backoffMultiplier": {
- "name": "camel.source.endpoint.backoffMultiplier",
- "description": "To let the scheduled polling consumer backoff if there has been a number of subsequent idles\/errors in a row. The multiplier is then the number of polls that will be skipped before the next actual attempt is happening again. When this option is in use then backoffIdleThreshold and\/or backoffErrorThreshold must also be configured.",
- "priority": "MEDIUM",
- "required": "false"
- },
- "camel.source.endpoint.delay": {
- "name": "camel.source.endpoint.delay",
- "description": "Milliseconds before the next poll.",
- "defaultValue": "500L",
- "priority": "MEDIUM",
- "required": "false"
- },
- "camel.source.endpoint.greedy": {
- "name": "camel.source.endpoint.greedy",
- "description": "If greedy is enabled, then the ScheduledPollConsumer will run immediately again, if the previous run polled 1 or more messages.",
- "defaultValue": "false",
- "priority": "MEDIUM",
- "required": "false"
- },
- "camel.source.endpoint.initialDelay": {
- "name": "camel.source.endpoint.initialDelay",
- "description": "Milliseconds before the first poll starts.",
- "defaultValue": "1000L",
- "priority": "MEDIUM",
- "required": "false"
- },
- "camel.source.endpoint.repeatCount": {
- "name": "camel.source.endpoint.repeatCount",
- "description": "Specifies a maximum limit of number of fires. So if you set it to 1, the scheduler will only fire once. If you set it to 5, it will only fire five times. A value of zero or negative means fire forever.",
- "defaultValue": "0L",
- "priority": "MEDIUM",
- "required": "false"
- },
- "camel.source.endpoint.runLoggingLevel": {
- "name": "camel.source.endpoint.runLoggingLevel",
- "description": "The consumer logs a start\/complete log line when it polls. This option allows you to configure the logging level for that. One of: [TRACE] [DEBUG] [INFO] [WARN] [ERROR] [OFF]",
- "defaultValue": "\"TRACE\"",
- "priority": "MEDIUM",
- "required": "false",
- "enum": [
- "TRACE",
- "DEBUG",
- "INFO",
- "WARN",
- "ERROR",
- "OFF"
- ]
- },
- "camel.source.endpoint.scheduledExecutorService": {
- "name": "camel.source.endpoint.scheduledExecutorService",
- "description": "Allows for configuring a custom\/shared thread pool to use for the consumer. By default each consumer has its own single threaded thread pool.",
- "priority": "MEDIUM",
- "required": "false"
- },
- "camel.source.endpoint.scheduler": {
- "name": "camel.source.endpoint.scheduler",
- "description": "To use a cron scheduler from either camel-spring or camel-quartz component. Use value spring or quartz for built in scheduler",
- "defaultValue": "\"none\"",
- "priority": "MEDIUM",
- "required": "false"
- },
- "camel.source.endpoint.schedulerProperties": {
- "name": "camel.source.endpoint.schedulerProperties",
- "description": "To configure additional properties when using a custom scheduler or any of the Quartz, Spring based scheduler.",
- "priority": "MEDIUM",
- "required": "false"
- },
- "camel.source.endpoint.startScheduler": {
- "name": "camel.source.endpoint.startScheduler",
- "description": "Whether the scheduler should be auto started.",
- "defaultValue": "true",
- "priority": "MEDIUM",
- "required": "false"
- },
- "camel.source.endpoint.timeUnit": {
- "name": "camel.source.endpoint.timeUnit",
- "description": "Time unit for initialDelay and delay options. One of: [NANOSECONDS] [MICROSECONDS] [MILLISECONDS] [SECONDS] [MINUTES] [HOURS] [DAYS]",
- "defaultValue": "\"MILLISECONDS\"",
- "priority": "MEDIUM",
- "required": "false",
- "enum": [
- "NANOSECONDS",
- "MICROSECONDS",
- "MILLISECONDS",
- "SECONDS",
- "MINUTES",
- "HOURS",
- "DAYS"
- ]
- },
- "camel.source.endpoint.useFixedDelay": {
- "name": "camel.source.endpoint.useFixedDelay",
- "description": "Controls if fixed delay or fixed rate is used. See ScheduledExecutorService in JDK for details.",
- "defaultValue": "true",
- "priority": "MEDIUM",
- "required": "false"
- },
- "camel.source.endpoint.kerberosConfigFileLocation": {
- "name": "camel.source.endpoint.kerberosConfigFileLocation",
- "description": "The location of the kerb5.conf file (https:\/\/web.mit.edu\/kerberos\/krb5-1.12\/doc\/admin\/conf_files\/krb5_conf.html)",
- "priority": "MEDIUM",
- "required": "false"
- },
- "camel.source.endpoint.kerberosKeytabLocation": {
- "name": "camel.source.endpoint.kerberosKeytabLocation",
- "description": "The location of the keytab file used to authenticate with the kerberos nodes (contains pairs of kerberos principals and encrypted keys (which are derived from the Kerberos password))",
- "priority": "MEDIUM",
- "required": "false"
- },
- "camel.source.endpoint.kerberosUsername": {
- "name": "camel.source.endpoint.kerberosUsername",
- "description": "The username used to authenticate with the kerberos nodes",
- "priority": "MEDIUM",
- "required": "false"
- },
- "camel.component.hdfs.bridgeErrorHandler": {
- "name": "camel.component.hdfs.bridgeErrorHandler",
- "description": "Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions (if possible) occurred while the Camel consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. Important: This is only possible if the 3rd party component allows Camel to be alerted if an exception was thrown. Some components handle this internally only, and therefore bridgeErrorHandler is not [...]
- "defaultValue": "false",
- "priority": "MEDIUM",
- "required": "false"
- },
- "camel.component.hdfs.autowiredEnabled": {
- "name": "camel.component.hdfs.autowiredEnabled",
- "description": "Whether autowiring is enabled. This is used for automatic autowiring options (the option must be marked as autowired) by looking up in the registry to find if there is a single instance of matching type, which then gets configured on the component. This can be used for automatic configuring JDBC data sources, JMS connection factories, AWS Clients, etc.",
- "defaultValue": "true",
- "priority": "MEDIUM",
- "required": "false"
- },
- "camel.component.hdfs.healthCheckConsumerEnabled": {
- "name": "camel.component.hdfs.healthCheckConsumerEnabled",
- "description": "Used for enabling or disabling all consumer based health checks from this component",
- "defaultValue": "true",
- "priority": "MEDIUM",
- "required": "false"
- },
- "camel.component.hdfs.healthCheckProducerEnabled": {
- "name": "camel.component.hdfs.healthCheckProducerEnabled",
- "description": "Used for enabling or disabling all producer based health checks from this component. Notice: Camel has by default disabled all producer based health-checks. You can turn on producer checks globally by setting camel.health.producersEnabled=true.",
- "defaultValue": "true",
- "priority": "MEDIUM",
- "required": "false"
- },
- "camel.component.hdfs.jAASConfiguration": {
- "name": "camel.component.hdfs.jAASConfiguration",
- "description": "To use the given configuration for security with JAAS.",
- "priority": "MEDIUM",
- "required": "false"
- },
- "camel.component.hdfs.kerberosConfigFile": {
- "name": "camel.component.hdfs.kerberosConfigFile",
- "description": "To use kerberos authentication, set the value of the 'java.security.krb5.conf' environment variable to an existing file. If the environment variable is already set, warn if different than the specified parameter",
- "priority": "MEDIUM",
- "required": "false"
- }
- }
-}
\ No newline at end of file
diff --git a/connectors/camel-hdfs-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/hdfs/CamelHdfsSinkConnectorConfig.java b/connectors/camel-hdfs-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/hdfs/CamelHdfsSinkConnectorConfig.java
deleted file mode 100644
index 89a87716fd..0000000000
--- a/connectors/camel-hdfs-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/hdfs/CamelHdfsSinkConnectorConfig.java
+++ /dev/null
@@ -1,169 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */package org.apache.camel.kafkaconnector.hdfs;
-
-import java.util.Map;
-import javax.annotation.Generated;
-import org.apache.camel.kafkaconnector.CamelSinkConnectorConfig;
-import org.apache.kafka.common.config.ConfigDef;
-
-@Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.")
-public class CamelHdfsSinkConnectorConfig extends CamelSinkConnectorConfig {
-
- public static final String CAMEL_SINK_HDFS_PATH_HOST_NAME_CONF = "camel.sink.path.hostName";
- public static final String CAMEL_SINK_HDFS_PATH_HOST_NAME_DOC = "HDFS host to use";
- public static final String CAMEL_SINK_HDFS_PATH_HOST_NAME_DEFAULT = null;
- public static final String CAMEL_SINK_HDFS_PATH_PORT_CONF = "camel.sink.path.port";
- public static final String CAMEL_SINK_HDFS_PATH_PORT_DOC = "HDFS port to use";
- public static final Integer CAMEL_SINK_HDFS_PATH_PORT_DEFAULT = 8020;
- public static final String CAMEL_SINK_HDFS_PATH_PATH_CONF = "camel.sink.path.path";
- public static final String CAMEL_SINK_HDFS_PATH_PATH_DOC = "The directory path to use";
- public static final String CAMEL_SINK_HDFS_PATH_PATH_DEFAULT = null;
- public static final String CAMEL_SINK_HDFS_ENDPOINT_CONNECT_ON_STARTUP_CONF = "camel.sink.endpoint.connectOnStartup";
- public static final String CAMEL_SINK_HDFS_ENDPOINT_CONNECT_ON_STARTUP_DOC = "Whether to connect to the HDFS file system on starting the producer/consumer. If false then the connection is created on-demand. Notice that HDFS may take up till 15 minutes to establish a connection, as it has hardcoded 45 x 20 sec redelivery. By setting this option to false allows your application to startup, and not block for up till 15 minutes.";
- public static final Boolean CAMEL_SINK_HDFS_ENDPOINT_CONNECT_ON_STARTUP_DEFAULT = true;
- public static final String CAMEL_SINK_HDFS_ENDPOINT_FILE_SYSTEM_TYPE_CONF = "camel.sink.endpoint.fileSystemType";
- public static final String CAMEL_SINK_HDFS_ENDPOINT_FILE_SYSTEM_TYPE_DOC = "Set to LOCAL to not use HDFS but local java.io.File instead. One of: [LOCAL] [HDFS]";
- public static final String CAMEL_SINK_HDFS_ENDPOINT_FILE_SYSTEM_TYPE_DEFAULT = "HDFS";
- public static final String CAMEL_SINK_HDFS_ENDPOINT_FILE_TYPE_CONF = "camel.sink.endpoint.fileType";
- public static final String CAMEL_SINK_HDFS_ENDPOINT_FILE_TYPE_DOC = "The file type to use. For more details see Hadoop HDFS documentation about the various files types. One of: [NORMAL_FILE] [SEQUENCE_FILE] [MAP_FILE] [BLOOMMAP_FILE] [ARRAY_FILE]";
- public static final String CAMEL_SINK_HDFS_ENDPOINT_FILE_TYPE_DEFAULT = "NORMAL_FILE";
- public static final String CAMEL_SINK_HDFS_ENDPOINT_KEY_TYPE_CONF = "camel.sink.endpoint.keyType";
- public static final String CAMEL_SINK_HDFS_ENDPOINT_KEY_TYPE_DOC = "The type for the key in case of sequence or map files. One of: [NULL] [BOOLEAN] [BYTE] [SHORT] [INT] [FLOAT] [LONG] [DOUBLE] [TEXT] [BYTES]";
- public static final String CAMEL_SINK_HDFS_ENDPOINT_KEY_TYPE_DEFAULT = "NULL";
- public static final String CAMEL_SINK_HDFS_ENDPOINT_NAMED_NODES_CONF = "camel.sink.endpoint.namedNodes";
- public static final String CAMEL_SINK_HDFS_ENDPOINT_NAMED_NODES_DOC = "A comma separated list of named nodes (e.g. srv11.example.com:8020,srv12.example.com:8020)";
- public static final String CAMEL_SINK_HDFS_ENDPOINT_NAMED_NODES_DEFAULT = null;
- public static final String CAMEL_SINK_HDFS_ENDPOINT_OWNER_CONF = "camel.sink.endpoint.owner";
- public static final String CAMEL_SINK_HDFS_ENDPOINT_OWNER_DOC = "The file owner must match this owner for the consumer to pickup the file. Otherwise the file is skipped.";
- public static final String CAMEL_SINK_HDFS_ENDPOINT_OWNER_DEFAULT = null;
- public static final String CAMEL_SINK_HDFS_ENDPOINT_VALUE_TYPE_CONF = "camel.sink.endpoint.valueType";
- public static final String CAMEL_SINK_HDFS_ENDPOINT_VALUE_TYPE_DOC = "The type for the key in case of sequence or map files One of: [NULL] [BOOLEAN] [BYTE] [SHORT] [INT] [FLOAT] [LONG] [DOUBLE] [TEXT] [BYTES]";
- public static final String CAMEL_SINK_HDFS_ENDPOINT_VALUE_TYPE_DEFAULT = "BYTES";
- public static final String CAMEL_SINK_HDFS_ENDPOINT_APPEND_CONF = "camel.sink.endpoint.append";
- public static final String CAMEL_SINK_HDFS_ENDPOINT_APPEND_DOC = "Append to existing file. Notice that not all HDFS file systems support the append option.";
- public static final Boolean CAMEL_SINK_HDFS_ENDPOINT_APPEND_DEFAULT = false;
- public static final String CAMEL_SINK_HDFS_ENDPOINT_OVERWRITE_CONF = "camel.sink.endpoint.overwrite";
- public static final String CAMEL_SINK_HDFS_ENDPOINT_OVERWRITE_DOC = "Whether to overwrite existing files with the same name";
- public static final Boolean CAMEL_SINK_HDFS_ENDPOINT_OVERWRITE_DEFAULT = true;
- public static final String CAMEL_SINK_HDFS_ENDPOINT_LAZY_START_PRODUCER_CONF = "camel.sink.endpoint.lazyStartProducer";
- public static final String CAMEL_SINK_HDFS_ENDPOINT_LAZY_START_PRODUCER_DOC = "Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when [...]
- public static final Boolean CAMEL_SINK_HDFS_ENDPOINT_LAZY_START_PRODUCER_DEFAULT = false;
- public static final String CAMEL_SINK_HDFS_ENDPOINT_BLOCK_SIZE_CONF = "camel.sink.endpoint.blockSize";
- public static final String CAMEL_SINK_HDFS_ENDPOINT_BLOCK_SIZE_DOC = "The size of the HDFS blocks";
- public static final Long CAMEL_SINK_HDFS_ENDPOINT_BLOCK_SIZE_DEFAULT = 67108864L;
- public static final String CAMEL_SINK_HDFS_ENDPOINT_BUFFER_SIZE_CONF = "camel.sink.endpoint.bufferSize";
- public static final String CAMEL_SINK_HDFS_ENDPOINT_BUFFER_SIZE_DOC = "The buffer size used by HDFS";
- public static final Integer CAMEL_SINK_HDFS_ENDPOINT_BUFFER_SIZE_DEFAULT = 4096;
- public static final String CAMEL_SINK_HDFS_ENDPOINT_CHECK_IDLE_INTERVAL_CONF = "camel.sink.endpoint.checkIdleInterval";
- public static final String CAMEL_SINK_HDFS_ENDPOINT_CHECK_IDLE_INTERVAL_DOC = "How often (time in millis) in to run the idle checker background task. This option is only in use if the splitter strategy is IDLE.";
- public static final Integer CAMEL_SINK_HDFS_ENDPOINT_CHECK_IDLE_INTERVAL_DEFAULT = 500;
- public static final String CAMEL_SINK_HDFS_ENDPOINT_CHUNK_SIZE_CONF = "camel.sink.endpoint.chunkSize";
- public static final String CAMEL_SINK_HDFS_ENDPOINT_CHUNK_SIZE_DOC = "When reading a normal file, this is split into chunks producing a message per chunk.";
- public static final Integer CAMEL_SINK_HDFS_ENDPOINT_CHUNK_SIZE_DEFAULT = 4096;
- public static final String CAMEL_SINK_HDFS_ENDPOINT_COMPRESSION_CODEC_CONF = "camel.sink.endpoint.compressionCodec";
- public static final String CAMEL_SINK_HDFS_ENDPOINT_COMPRESSION_CODEC_DOC = "The compression codec to use One of: [DEFAULT] [GZIP] [BZIP2] [SNAPPY] [LZ4] [ZSTANDARD]";
- public static final String CAMEL_SINK_HDFS_ENDPOINT_COMPRESSION_CODEC_DEFAULT = "DEFAULT";
- public static final String CAMEL_SINK_HDFS_ENDPOINT_COMPRESSION_TYPE_CONF = "camel.sink.endpoint.compressionType";
- public static final String CAMEL_SINK_HDFS_ENDPOINT_COMPRESSION_TYPE_DOC = "The compression type to use (is default not in use) One of: [NONE] [RECORD] [BLOCK]";
- public static final String CAMEL_SINK_HDFS_ENDPOINT_COMPRESSION_TYPE_DEFAULT = "NONE";
- public static final String CAMEL_SINK_HDFS_ENDPOINT_OPENED_SUFFIX_CONF = "camel.sink.endpoint.openedSuffix";
- public static final String CAMEL_SINK_HDFS_ENDPOINT_OPENED_SUFFIX_DOC = "When a file is opened for reading/writing the file is renamed with this suffix to avoid to read it during the writing phase.";
- public static final String CAMEL_SINK_HDFS_ENDPOINT_OPENED_SUFFIX_DEFAULT = "opened";
- public static final String CAMEL_SINK_HDFS_ENDPOINT_READ_SUFFIX_CONF = "camel.sink.endpoint.readSuffix";
- public static final String CAMEL_SINK_HDFS_ENDPOINT_READ_SUFFIX_DOC = "Once the file has been read is renamed with this suffix to avoid to read it again.";
- public static final String CAMEL_SINK_HDFS_ENDPOINT_READ_SUFFIX_DEFAULT = "read";
- public static final String CAMEL_SINK_HDFS_ENDPOINT_REPLICATION_CONF = "camel.sink.endpoint.replication";
- public static final String CAMEL_SINK_HDFS_ENDPOINT_REPLICATION_DOC = "The HDFS replication factor";
- public static final Short CAMEL_SINK_HDFS_ENDPOINT_REPLICATION_DEFAULT = 3;
- public static final String CAMEL_SINK_HDFS_ENDPOINT_SPLIT_STRATEGY_CONF = "camel.sink.endpoint.splitStrategy";
- public static final String CAMEL_SINK_HDFS_ENDPOINT_SPLIT_STRATEGY_DOC = "In the current version of Hadoop opening a file in append mode is disabled since it's not very reliable. So, for the moment, it's only possible to create new files. The Camel HDFS endpoint tries to solve this problem in this way: If the split strategy option has been defined, the hdfs path will be used as a directory and files will be created using the configured UuidGenerator. Every time a splitting condition [...]
- public static final String CAMEL_SINK_HDFS_ENDPOINT_SPLIT_STRATEGY_DEFAULT = null;
- public static final String CAMEL_SINK_HDFS_ENDPOINT_KERBEROS_CONFIG_FILE_LOCATION_CONF = "camel.sink.endpoint.kerberosConfigFileLocation";
- public static final String CAMEL_SINK_HDFS_ENDPOINT_KERBEROS_CONFIG_FILE_LOCATION_DOC = "The location of the kerb5.conf file (https://web.mit.edu/kerberos/krb5-1.12/doc/admin/conf_files/krb5_conf.html)";
- public static final String CAMEL_SINK_HDFS_ENDPOINT_KERBEROS_CONFIG_FILE_LOCATION_DEFAULT = null;
- public static final String CAMEL_SINK_HDFS_ENDPOINT_KERBEROS_KEYTAB_LOCATION_CONF = "camel.sink.endpoint.kerberosKeytabLocation";
- public static final String CAMEL_SINK_HDFS_ENDPOINT_KERBEROS_KEYTAB_LOCATION_DOC = "The location of the keytab file used to authenticate with the kerberos nodes (contains pairs of kerberos principals and encrypted keys (which are derived from the Kerberos password))";
- public static final String CAMEL_SINK_HDFS_ENDPOINT_KERBEROS_KEYTAB_LOCATION_DEFAULT = null;
- public static final String CAMEL_SINK_HDFS_ENDPOINT_KERBEROS_USERNAME_CONF = "camel.sink.endpoint.kerberosUsername";
- public static final String CAMEL_SINK_HDFS_ENDPOINT_KERBEROS_USERNAME_DOC = "The username used to authenticate with the kerberos nodes";
- public static final String CAMEL_SINK_HDFS_ENDPOINT_KERBEROS_USERNAME_DEFAULT = null;
- public static final String CAMEL_SINK_HDFS_COMPONENT_LAZY_START_PRODUCER_CONF = "camel.component.hdfs.lazyStartProducer";
- public static final String CAMEL_SINK_HDFS_COMPONENT_LAZY_START_PRODUCER_DOC = "Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when [...]
- public static final Boolean CAMEL_SINK_HDFS_COMPONENT_LAZY_START_PRODUCER_DEFAULT = false;
- public static final String CAMEL_SINK_HDFS_COMPONENT_AUTOWIRED_ENABLED_CONF = "camel.component.hdfs.autowiredEnabled";
- public static final String CAMEL_SINK_HDFS_COMPONENT_AUTOWIRED_ENABLED_DOC = "Whether autowiring is enabled. This is used for automatic autowiring options (the option must be marked as autowired) by looking up in the registry to find if there is a single instance of matching type, which then gets configured on the component. This can be used for automatic configuring JDBC data sources, JMS connection factories, AWS Clients, etc.";
- public static final Boolean CAMEL_SINK_HDFS_COMPONENT_AUTOWIRED_ENABLED_DEFAULT = true;
- public static final String CAMEL_SINK_HDFS_COMPONENT_HEALTH_CHECK_CONSUMER_ENABLED_CONF = "camel.component.hdfs.healthCheckConsumerEnabled";
- public static final String CAMEL_SINK_HDFS_COMPONENT_HEALTH_CHECK_CONSUMER_ENABLED_DOC = "Used for enabling or disabling all consumer based health checks from this component";
- public static final Boolean CAMEL_SINK_HDFS_COMPONENT_HEALTH_CHECK_CONSUMER_ENABLED_DEFAULT = true;
- public static final String CAMEL_SINK_HDFS_COMPONENT_HEALTH_CHECK_PRODUCER_ENABLED_CONF = "camel.component.hdfs.healthCheckProducerEnabled";
- public static final String CAMEL_SINK_HDFS_COMPONENT_HEALTH_CHECK_PRODUCER_ENABLED_DOC = "Used for enabling or disabling all producer based health checks from this component. Notice: Camel has by default disabled all producer based health-checks. You can turn on producer checks globally by setting camel.health.producersEnabled=true.";
- public static final Boolean CAMEL_SINK_HDFS_COMPONENT_HEALTH_CHECK_PRODUCER_ENABLED_DEFAULT = true;
- public static final String CAMEL_SINK_HDFS_COMPONENT_JAASCONFIGURATION_CONF = "camel.component.hdfs.jAASConfiguration";
- public static final String CAMEL_SINK_HDFS_COMPONENT_JAASCONFIGURATION_DOC = "To use the given configuration for security with JAAS.";
- public static final String CAMEL_SINK_HDFS_COMPONENT_JAASCONFIGURATION_DEFAULT = null;
- public static final String CAMEL_SINK_HDFS_COMPONENT_KERBEROS_CONFIG_FILE_CONF = "camel.component.hdfs.kerberosConfigFile";
- public static final String CAMEL_SINK_HDFS_COMPONENT_KERBEROS_CONFIG_FILE_DOC = "To use kerberos authentication, set the value of the 'java.security.krb5.conf' environment variable to an existing file. If the environment variable is already set, warn if different than the specified parameter";
- public static final String CAMEL_SINK_HDFS_COMPONENT_KERBEROS_CONFIG_FILE_DEFAULT = null;
-
- public CamelHdfsSinkConnectorConfig(
- ConfigDef config,
- Map<String, String> parsedConfig) {
- super(config, parsedConfig);
- }
-
- public CamelHdfsSinkConnectorConfig(Map<String, String> parsedConfig) {
- this(conf(), parsedConfig);
- }
-
- public static ConfigDef conf() {
- ConfigDef conf = new ConfigDef(CamelSinkConnectorConfig.conf());
- conf.define(CAMEL_SINK_HDFS_PATH_HOST_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SINK_HDFS_PATH_HOST_NAME_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_HDFS_PATH_HOST_NAME_DOC);
- conf.define(CAMEL_SINK_HDFS_PATH_PORT_CONF, ConfigDef.Type.INT, CAMEL_SINK_HDFS_PATH_PORT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HDFS_PATH_PORT_DOC);
- conf.define(CAMEL_SINK_HDFS_PATH_PATH_CONF, ConfigDef.Type.STRING, CAMEL_SINK_HDFS_PATH_PATH_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_HDFS_PATH_PATH_DOC);
- conf.define(CAMEL_SINK_HDFS_ENDPOINT_CONNECT_ON_STARTUP_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_HDFS_ENDPOINT_CONNECT_ON_STARTUP_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HDFS_ENDPOINT_CONNECT_ON_STARTUP_DOC);
- conf.define(CAMEL_SINK_HDFS_ENDPOINT_FILE_SYSTEM_TYPE_CONF, ConfigDef.Type.STRING, CAMEL_SINK_HDFS_ENDPOINT_FILE_SYSTEM_TYPE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HDFS_ENDPOINT_FILE_SYSTEM_TYPE_DOC);
- conf.define(CAMEL_SINK_HDFS_ENDPOINT_FILE_TYPE_CONF, ConfigDef.Type.STRING, CAMEL_SINK_HDFS_ENDPOINT_FILE_TYPE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HDFS_ENDPOINT_FILE_TYPE_DOC);
- conf.define(CAMEL_SINK_HDFS_ENDPOINT_KEY_TYPE_CONF, ConfigDef.Type.STRING, CAMEL_SINK_HDFS_ENDPOINT_KEY_TYPE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HDFS_ENDPOINT_KEY_TYPE_DOC);
- conf.define(CAMEL_SINK_HDFS_ENDPOINT_NAMED_NODES_CONF, ConfigDef.Type.STRING, CAMEL_SINK_HDFS_ENDPOINT_NAMED_NODES_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HDFS_ENDPOINT_NAMED_NODES_DOC);
- conf.define(CAMEL_SINK_HDFS_ENDPOINT_OWNER_CONF, ConfigDef.Type.STRING, CAMEL_SINK_HDFS_ENDPOINT_OWNER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HDFS_ENDPOINT_OWNER_DOC);
- conf.define(CAMEL_SINK_HDFS_ENDPOINT_VALUE_TYPE_CONF, ConfigDef.Type.STRING, CAMEL_SINK_HDFS_ENDPOINT_VALUE_TYPE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HDFS_ENDPOINT_VALUE_TYPE_DOC);
- conf.define(CAMEL_SINK_HDFS_ENDPOINT_APPEND_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_HDFS_ENDPOINT_APPEND_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HDFS_ENDPOINT_APPEND_DOC);
- conf.define(CAMEL_SINK_HDFS_ENDPOINT_OVERWRITE_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_HDFS_ENDPOINT_OVERWRITE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HDFS_ENDPOINT_OVERWRITE_DOC);
- conf.define(CAMEL_SINK_HDFS_ENDPOINT_LAZY_START_PRODUCER_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_HDFS_ENDPOINT_LAZY_START_PRODUCER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HDFS_ENDPOINT_LAZY_START_PRODUCER_DOC);
- conf.define(CAMEL_SINK_HDFS_ENDPOINT_BLOCK_SIZE_CONF, ConfigDef.Type.LONG, CAMEL_SINK_HDFS_ENDPOINT_BLOCK_SIZE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HDFS_ENDPOINT_BLOCK_SIZE_DOC);
- conf.define(CAMEL_SINK_HDFS_ENDPOINT_BUFFER_SIZE_CONF, ConfigDef.Type.INT, CAMEL_SINK_HDFS_ENDPOINT_BUFFER_SIZE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HDFS_ENDPOINT_BUFFER_SIZE_DOC);
- conf.define(CAMEL_SINK_HDFS_ENDPOINT_CHECK_IDLE_INTERVAL_CONF, ConfigDef.Type.INT, CAMEL_SINK_HDFS_ENDPOINT_CHECK_IDLE_INTERVAL_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HDFS_ENDPOINT_CHECK_IDLE_INTERVAL_DOC);
- conf.define(CAMEL_SINK_HDFS_ENDPOINT_CHUNK_SIZE_CONF, ConfigDef.Type.INT, CAMEL_SINK_HDFS_ENDPOINT_CHUNK_SIZE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HDFS_ENDPOINT_CHUNK_SIZE_DOC);
- conf.define(CAMEL_SINK_HDFS_ENDPOINT_COMPRESSION_CODEC_CONF, ConfigDef.Type.STRING, CAMEL_SINK_HDFS_ENDPOINT_COMPRESSION_CODEC_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HDFS_ENDPOINT_COMPRESSION_CODEC_DOC);
- conf.define(CAMEL_SINK_HDFS_ENDPOINT_COMPRESSION_TYPE_CONF, ConfigDef.Type.STRING, CAMEL_SINK_HDFS_ENDPOINT_COMPRESSION_TYPE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HDFS_ENDPOINT_COMPRESSION_TYPE_DOC);
- conf.define(CAMEL_SINK_HDFS_ENDPOINT_OPENED_SUFFIX_CONF, ConfigDef.Type.STRING, CAMEL_SINK_HDFS_ENDPOINT_OPENED_SUFFIX_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HDFS_ENDPOINT_OPENED_SUFFIX_DOC);
- conf.define(CAMEL_SINK_HDFS_ENDPOINT_READ_SUFFIX_CONF, ConfigDef.Type.STRING, CAMEL_SINK_HDFS_ENDPOINT_READ_SUFFIX_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HDFS_ENDPOINT_READ_SUFFIX_DOC);
- conf.define(CAMEL_SINK_HDFS_ENDPOINT_REPLICATION_CONF, ConfigDef.Type.SHORT, CAMEL_SINK_HDFS_ENDPOINT_REPLICATION_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HDFS_ENDPOINT_REPLICATION_DOC);
- conf.define(CAMEL_SINK_HDFS_ENDPOINT_SPLIT_STRATEGY_CONF, ConfigDef.Type.STRING, CAMEL_SINK_HDFS_ENDPOINT_SPLIT_STRATEGY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HDFS_ENDPOINT_SPLIT_STRATEGY_DOC);
- conf.define(CAMEL_SINK_HDFS_ENDPOINT_KERBEROS_CONFIG_FILE_LOCATION_CONF, ConfigDef.Type.STRING, CAMEL_SINK_HDFS_ENDPOINT_KERBEROS_CONFIG_FILE_LOCATION_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HDFS_ENDPOINT_KERBEROS_CONFIG_FILE_LOCATION_DOC);
- conf.define(CAMEL_SINK_HDFS_ENDPOINT_KERBEROS_KEYTAB_LOCATION_CONF, ConfigDef.Type.STRING, CAMEL_SINK_HDFS_ENDPOINT_KERBEROS_KEYTAB_LOCATION_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HDFS_ENDPOINT_KERBEROS_KEYTAB_LOCATION_DOC);
- conf.define(CAMEL_SINK_HDFS_ENDPOINT_KERBEROS_USERNAME_CONF, ConfigDef.Type.STRING, CAMEL_SINK_HDFS_ENDPOINT_KERBEROS_USERNAME_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HDFS_ENDPOINT_KERBEROS_USERNAME_DOC);
- conf.define(CAMEL_SINK_HDFS_COMPONENT_LAZY_START_PRODUCER_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_HDFS_COMPONENT_LAZY_START_PRODUCER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HDFS_COMPONENT_LAZY_START_PRODUCER_DOC);
- conf.define(CAMEL_SINK_HDFS_COMPONENT_AUTOWIRED_ENABLED_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_HDFS_COMPONENT_AUTOWIRED_ENABLED_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HDFS_COMPONENT_AUTOWIRED_ENABLED_DOC);
- conf.define(CAMEL_SINK_HDFS_COMPONENT_HEALTH_CHECK_CONSUMER_ENABLED_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_HDFS_COMPONENT_HEALTH_CHECK_CONSUMER_ENABLED_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HDFS_COMPONENT_HEALTH_CHECK_CONSUMER_ENABLED_DOC);
- conf.define(CAMEL_SINK_HDFS_COMPONENT_HEALTH_CHECK_PRODUCER_ENABLED_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_HDFS_COMPONENT_HEALTH_CHECK_PRODUCER_ENABLED_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HDFS_COMPONENT_HEALTH_CHECK_PRODUCER_ENABLED_DOC);
- conf.define(CAMEL_SINK_HDFS_COMPONENT_JAASCONFIGURATION_CONF, ConfigDef.Type.STRING, CAMEL_SINK_HDFS_COMPONENT_JAASCONFIGURATION_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HDFS_COMPONENT_JAASCONFIGURATION_DOC);
- conf.define(CAMEL_SINK_HDFS_COMPONENT_KERBEROS_CONFIG_FILE_CONF, ConfigDef.Type.STRING, CAMEL_SINK_HDFS_COMPONENT_KERBEROS_CONFIG_FILE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HDFS_COMPONENT_KERBEROS_CONFIG_FILE_DOC);
- return conf;
- }
-}
\ No newline at end of file
diff --git a/connectors/camel-hdfs-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/hdfs/CamelHdfsSourceConnectorConfig.java b/connectors/camel-hdfs-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/hdfs/CamelHdfsSourceConnectorConfig.java
deleted file mode 100644
index 0d630b1a86..0000000000
--- a/connectors/camel-hdfs-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/hdfs/CamelHdfsSourceConnectorConfig.java
+++ /dev/null
@@ -1,247 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */package org.apache.camel.kafkaconnector.hdfs;
-
-import java.util.Map;
-import javax.annotation.Generated;
-import org.apache.camel.kafkaconnector.CamelSourceConnectorConfig;
-import org.apache.kafka.common.config.ConfigDef;
-
-@Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.")
-public class CamelHdfsSourceConnectorConfig
- extends
- CamelSourceConnectorConfig {
-
- public static final String CAMEL_SOURCE_HDFS_PATH_HOST_NAME_CONF = "camel.source.path.hostName";
- public static final String CAMEL_SOURCE_HDFS_PATH_HOST_NAME_DOC = "HDFS host to use";
- public static final String CAMEL_SOURCE_HDFS_PATH_HOST_NAME_DEFAULT = null;
- public static final String CAMEL_SOURCE_HDFS_PATH_PORT_CONF = "camel.source.path.port";
- public static final String CAMEL_SOURCE_HDFS_PATH_PORT_DOC = "HDFS port to use";
- public static final Integer CAMEL_SOURCE_HDFS_PATH_PORT_DEFAULT = 8020;
- public static final String CAMEL_SOURCE_HDFS_PATH_PATH_CONF = "camel.source.path.path";
- public static final String CAMEL_SOURCE_HDFS_PATH_PATH_DOC = "The directory path to use";
- public static final String CAMEL_SOURCE_HDFS_PATH_PATH_DEFAULT = null;
- public static final String CAMEL_SOURCE_HDFS_ENDPOINT_CONNECT_ON_STARTUP_CONF = "camel.source.endpoint.connectOnStartup";
- public static final String CAMEL_SOURCE_HDFS_ENDPOINT_CONNECT_ON_STARTUP_DOC = "Whether to connect to the HDFS file system on starting the producer/consumer. If false then the connection is created on-demand. Notice that HDFS may take up till 15 minutes to establish a connection, as it has hardcoded 45 x 20 sec redelivery. By setting this option to false allows your application to startup, and not block for up till 15 minutes.";
- public static final Boolean CAMEL_SOURCE_HDFS_ENDPOINT_CONNECT_ON_STARTUP_DEFAULT = true;
- public static final String CAMEL_SOURCE_HDFS_ENDPOINT_FILE_SYSTEM_TYPE_CONF = "camel.source.endpoint.fileSystemType";
- public static final String CAMEL_SOURCE_HDFS_ENDPOINT_FILE_SYSTEM_TYPE_DOC = "Set to LOCAL to not use HDFS but local java.io.File instead. One of: [LOCAL] [HDFS]";
- public static final String CAMEL_SOURCE_HDFS_ENDPOINT_FILE_SYSTEM_TYPE_DEFAULT = "HDFS";
- public static final String CAMEL_SOURCE_HDFS_ENDPOINT_FILE_TYPE_CONF = "camel.source.endpoint.fileType";
- public static final String CAMEL_SOURCE_HDFS_ENDPOINT_FILE_TYPE_DOC = "The file type to use. For more details see Hadoop HDFS documentation about the various files types. One of: [NORMAL_FILE] [SEQUENCE_FILE] [MAP_FILE] [BLOOMMAP_FILE] [ARRAY_FILE]";
- public static final String CAMEL_SOURCE_HDFS_ENDPOINT_FILE_TYPE_DEFAULT = "NORMAL_FILE";
- public static final String CAMEL_SOURCE_HDFS_ENDPOINT_KEY_TYPE_CONF = "camel.source.endpoint.keyType";
- public static final String CAMEL_SOURCE_HDFS_ENDPOINT_KEY_TYPE_DOC = "The type for the key in case of sequence or map files. One of: [NULL] [BOOLEAN] [BYTE] [SHORT] [INT] [FLOAT] [LONG] [DOUBLE] [TEXT] [BYTES]";
- public static final String CAMEL_SOURCE_HDFS_ENDPOINT_KEY_TYPE_DEFAULT = "NULL";
- public static final String CAMEL_SOURCE_HDFS_ENDPOINT_NAMED_NODES_CONF = "camel.source.endpoint.namedNodes";
- public static final String CAMEL_SOURCE_HDFS_ENDPOINT_NAMED_NODES_DOC = "A comma separated list of named nodes (e.g. srv11.example.com:8020,srv12.example.com:8020)";
- public static final String CAMEL_SOURCE_HDFS_ENDPOINT_NAMED_NODES_DEFAULT = null;
- public static final String CAMEL_SOURCE_HDFS_ENDPOINT_OWNER_CONF = "camel.source.endpoint.owner";
- public static final String CAMEL_SOURCE_HDFS_ENDPOINT_OWNER_DOC = "The file owner must match this owner for the consumer to pickup the file. Otherwise the file is skipped.";
- public static final String CAMEL_SOURCE_HDFS_ENDPOINT_OWNER_DEFAULT = null;
- public static final String CAMEL_SOURCE_HDFS_ENDPOINT_VALUE_TYPE_CONF = "camel.source.endpoint.valueType";
- public static final String CAMEL_SOURCE_HDFS_ENDPOINT_VALUE_TYPE_DOC = "The type for the key in case of sequence or map files One of: [NULL] [BOOLEAN] [BYTE] [SHORT] [INT] [FLOAT] [LONG] [DOUBLE] [TEXT] [BYTES]";
- public static final String CAMEL_SOURCE_HDFS_ENDPOINT_VALUE_TYPE_DEFAULT = "BYTES";
- public static final String CAMEL_SOURCE_HDFS_ENDPOINT_PATTERN_CONF = "camel.source.endpoint.pattern";
- public static final String CAMEL_SOURCE_HDFS_ENDPOINT_PATTERN_DOC = "The pattern used for scanning the directory";
- public static final String CAMEL_SOURCE_HDFS_ENDPOINT_PATTERN_DEFAULT = "*";
- public static final String CAMEL_SOURCE_HDFS_ENDPOINT_SEND_EMPTY_MESSAGE_WHEN_IDLE_CONF = "camel.source.endpoint.sendEmptyMessageWhenIdle";
- public static final String CAMEL_SOURCE_HDFS_ENDPOINT_SEND_EMPTY_MESSAGE_WHEN_IDLE_DOC = "If the polling consumer did not poll any files, you can enable this option to send an empty message (no body) instead.";
- public static final Boolean CAMEL_SOURCE_HDFS_ENDPOINT_SEND_EMPTY_MESSAGE_WHEN_IDLE_DEFAULT = false;
- public static final String CAMEL_SOURCE_HDFS_ENDPOINT_STREAM_DOWNLOAD_CONF = "camel.source.endpoint.streamDownload";
- public static final String CAMEL_SOURCE_HDFS_ENDPOINT_STREAM_DOWNLOAD_DOC = "Sets the download method to use when not using a local working directory. If set to true, the remote files are streamed to the route as they are read. When set to false, the remote files are loaded into memory before being sent into the route.";
- public static final Boolean CAMEL_SOURCE_HDFS_ENDPOINT_STREAM_DOWNLOAD_DEFAULT = false;
- public static final String CAMEL_SOURCE_HDFS_ENDPOINT_BRIDGE_ERROR_HANDLER_CONF = "camel.source.endpoint.bridgeErrorHandler";
- public static final String CAMEL_SOURCE_HDFS_ENDPOINT_BRIDGE_ERROR_HANDLER_DOC = "Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions (if possible) occurred while the Camel consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. Important: This is only possible if the 3rd party component allows Camel to be alerted if an exception was thrown. Some components ha [...]
- public static final Boolean CAMEL_SOURCE_HDFS_ENDPOINT_BRIDGE_ERROR_HANDLER_DEFAULT = false;
- public static final String CAMEL_SOURCE_HDFS_ENDPOINT_EXCEPTION_HANDLER_CONF = "camel.source.endpoint.exceptionHandler";
- public static final String CAMEL_SOURCE_HDFS_ENDPOINT_EXCEPTION_HANDLER_DOC = "To let the consumer use a custom ExceptionHandler. Notice if the option bridgeErrorHandler is enabled then this option is not in use. By default the consumer will deal with exceptions, that will be logged at WARN or ERROR level and ignored.";
- public static final String CAMEL_SOURCE_HDFS_ENDPOINT_EXCEPTION_HANDLER_DEFAULT = null;
- public static final String CAMEL_SOURCE_HDFS_ENDPOINT_EXCHANGE_PATTERN_CONF = "camel.source.endpoint.exchangePattern";
- public static final String CAMEL_SOURCE_HDFS_ENDPOINT_EXCHANGE_PATTERN_DOC = "Sets the exchange pattern when the consumer creates an exchange. One of: [InOnly] [InOut]";
- public static final String CAMEL_SOURCE_HDFS_ENDPOINT_EXCHANGE_PATTERN_DEFAULT = null;
- public static final String CAMEL_SOURCE_HDFS_ENDPOINT_POLL_STRATEGY_CONF = "camel.source.endpoint.pollStrategy";
- public static final String CAMEL_SOURCE_HDFS_ENDPOINT_POLL_STRATEGY_DOC = "A pluggable org.apache.camel.PollingConsumerPollingStrategy allowing you to provide your custom implementation to control error handling usually occurred during the poll operation before an Exchange have been created and being routed in Camel.";
- public static final String CAMEL_SOURCE_HDFS_ENDPOINT_POLL_STRATEGY_DEFAULT = null;
- public static final String CAMEL_SOURCE_HDFS_ENDPOINT_BLOCK_SIZE_CONF = "camel.source.endpoint.blockSize";
- public static final String CAMEL_SOURCE_HDFS_ENDPOINT_BLOCK_SIZE_DOC = "The size of the HDFS blocks";
- public static final Long CAMEL_SOURCE_HDFS_ENDPOINT_BLOCK_SIZE_DEFAULT = 67108864L;
- public static final String CAMEL_SOURCE_HDFS_ENDPOINT_BUFFER_SIZE_CONF = "camel.source.endpoint.bufferSize";
- public static final String CAMEL_SOURCE_HDFS_ENDPOINT_BUFFER_SIZE_DOC = "The buffer size used by HDFS";
- public static final Integer CAMEL_SOURCE_HDFS_ENDPOINT_BUFFER_SIZE_DEFAULT = 4096;
- public static final String CAMEL_SOURCE_HDFS_ENDPOINT_CHECK_IDLE_INTERVAL_CONF = "camel.source.endpoint.checkIdleInterval";
- public static final String CAMEL_SOURCE_HDFS_ENDPOINT_CHECK_IDLE_INTERVAL_DOC = "How often (time in millis) in to run the idle checker background task. This option is only in use if the splitter strategy is IDLE.";
- public static final Integer CAMEL_SOURCE_HDFS_ENDPOINT_CHECK_IDLE_INTERVAL_DEFAULT = 500;
- public static final String CAMEL_SOURCE_HDFS_ENDPOINT_CHUNK_SIZE_CONF = "camel.source.endpoint.chunkSize";
- public static final String CAMEL_SOURCE_HDFS_ENDPOINT_CHUNK_SIZE_DOC = "When reading a normal file, this is split into chunks producing a message per chunk.";
- public static final Integer CAMEL_SOURCE_HDFS_ENDPOINT_CHUNK_SIZE_DEFAULT = 4096;
- public static final String CAMEL_SOURCE_HDFS_ENDPOINT_COMPRESSION_CODEC_CONF = "camel.source.endpoint.compressionCodec";
- public static final String CAMEL_SOURCE_HDFS_ENDPOINT_COMPRESSION_CODEC_DOC = "The compression codec to use One of: [DEFAULT] [GZIP] [BZIP2] [SNAPPY] [LZ4] [ZSTANDARD]";
- public static final String CAMEL_SOURCE_HDFS_ENDPOINT_COMPRESSION_CODEC_DEFAULT = "DEFAULT";
- public static final String CAMEL_SOURCE_HDFS_ENDPOINT_COMPRESSION_TYPE_CONF = "camel.source.endpoint.compressionType";
- public static final String CAMEL_SOURCE_HDFS_ENDPOINT_COMPRESSION_TYPE_DOC = "The compression type to use (is default not in use) One of: [NONE] [RECORD] [BLOCK]";
- public static final String CAMEL_SOURCE_HDFS_ENDPOINT_COMPRESSION_TYPE_DEFAULT = "NONE";
- public static final String CAMEL_SOURCE_HDFS_ENDPOINT_OPENED_SUFFIX_CONF = "camel.source.endpoint.openedSuffix";
- public static final String CAMEL_SOURCE_HDFS_ENDPOINT_OPENED_SUFFIX_DOC = "When a file is opened for reading/writing the file is renamed with this suffix to avoid to read it during the writing phase.";
- public static final String CAMEL_SOURCE_HDFS_ENDPOINT_OPENED_SUFFIX_DEFAULT = "opened";
- public static final String CAMEL_SOURCE_HDFS_ENDPOINT_READ_SUFFIX_CONF = "camel.source.endpoint.readSuffix";
- public static final String CAMEL_SOURCE_HDFS_ENDPOINT_READ_SUFFIX_DOC = "Once the file has been read is renamed with this suffix to avoid to read it again.";
- public static final String CAMEL_SOURCE_HDFS_ENDPOINT_READ_SUFFIX_DEFAULT = "read";
- public static final String CAMEL_SOURCE_HDFS_ENDPOINT_REPLICATION_CONF = "camel.source.endpoint.replication";
- public static final String CAMEL_SOURCE_HDFS_ENDPOINT_REPLICATION_DOC = "The HDFS replication factor";
- public static final Short CAMEL_SOURCE_HDFS_ENDPOINT_REPLICATION_DEFAULT = 3;
- public static final String CAMEL_SOURCE_HDFS_ENDPOINT_SPLIT_STRATEGY_CONF = "camel.source.endpoint.splitStrategy";
- public static final String CAMEL_SOURCE_HDFS_ENDPOINT_SPLIT_STRATEGY_DOC = "In the current version of Hadoop opening a file in append mode is disabled since it's not very reliable. So, for the moment, it's only possible to create new files. The Camel HDFS endpoint tries to solve this problem in this way: If the split strategy option has been defined, the hdfs path will be used as a directory and files will be created using the configured UuidGenerator. Every time a splitting conditio [...]
- public static final String CAMEL_SOURCE_HDFS_ENDPOINT_SPLIT_STRATEGY_DEFAULT = null;
- public static final String CAMEL_SOURCE_HDFS_ENDPOINT_MAX_MESSAGES_PER_POLL_CONF = "camel.source.endpoint.maxMessagesPerPoll";
- public static final String CAMEL_SOURCE_HDFS_ENDPOINT_MAX_MESSAGES_PER_POLL_DOC = "To define a maximum messages to gather per poll. By default a limit of 100 is set. Can be used to set a limit of e.g. 1000 to avoid when starting up the server that there are thousands of files. Values can only be greater than 0. Notice: If this option is in use then the limit will be applied on the valid files. For example if you have 100000 files and use maxMessagesPerPoll=500, then only the first 50 [...]
- public static final Integer CAMEL_SOURCE_HDFS_ENDPOINT_MAX_MESSAGES_PER_POLL_DEFAULT = 100;
- public static final String CAMEL_SOURCE_HDFS_ENDPOINT_BACKOFF_ERROR_THRESHOLD_CONF = "camel.source.endpoint.backoffErrorThreshold";
- public static final String CAMEL_SOURCE_HDFS_ENDPOINT_BACKOFF_ERROR_THRESHOLD_DOC = "The number of subsequent error polls (failed due some error) that should happen before the backoffMultipler should kick-in.";
- public static final Integer CAMEL_SOURCE_HDFS_ENDPOINT_BACKOFF_ERROR_THRESHOLD_DEFAULT = null;
- public static final String CAMEL_SOURCE_HDFS_ENDPOINT_BACKOFF_IDLE_THRESHOLD_CONF = "camel.source.endpoint.backoffIdleThreshold";
- public static final String CAMEL_SOURCE_HDFS_ENDPOINT_BACKOFF_IDLE_THRESHOLD_DOC = "The number of subsequent idle polls that should happen before the backoffMultipler should kick-in.";
- public static final Integer CAMEL_SOURCE_HDFS_ENDPOINT_BACKOFF_IDLE_THRESHOLD_DEFAULT = null;
- public static final String CAMEL_SOURCE_HDFS_ENDPOINT_BACKOFF_MULTIPLIER_CONF = "camel.source.endpoint.backoffMultiplier";
- public static final String CAMEL_SOURCE_HDFS_ENDPOINT_BACKOFF_MULTIPLIER_DOC = "To let the scheduled polling consumer backoff if there has been a number of subsequent idles/errors in a row. The multiplier is then the number of polls that will be skipped before the next actual attempt is happening again. When this option is in use then backoffIdleThreshold and/or backoffErrorThreshold must also be configured.";
- public static final Integer CAMEL_SOURCE_HDFS_ENDPOINT_BACKOFF_MULTIPLIER_DEFAULT = null;
- public static final String CAMEL_SOURCE_HDFS_ENDPOINT_DELAY_CONF = "camel.source.endpoint.delay";
- public static final String CAMEL_SOURCE_HDFS_ENDPOINT_DELAY_DOC = "Milliseconds before the next poll.";
- public static final Long CAMEL_SOURCE_HDFS_ENDPOINT_DELAY_DEFAULT = 500L;
- public static final String CAMEL_SOURCE_HDFS_ENDPOINT_GREEDY_CONF = "camel.source.endpoint.greedy";
- public static final String CAMEL_SOURCE_HDFS_ENDPOINT_GREEDY_DOC = "If greedy is enabled, then the ScheduledPollConsumer will run immediately again, if the previous run polled 1 or more messages.";
- public static final Boolean CAMEL_SOURCE_HDFS_ENDPOINT_GREEDY_DEFAULT = false;
- public static final String CAMEL_SOURCE_HDFS_ENDPOINT_INITIAL_DELAY_CONF = "camel.source.endpoint.initialDelay";
- public static final String CAMEL_SOURCE_HDFS_ENDPOINT_INITIAL_DELAY_DOC = "Milliseconds before the first poll starts.";
- public static final Long CAMEL_SOURCE_HDFS_ENDPOINT_INITIAL_DELAY_DEFAULT = 1000L;
- public static final String CAMEL_SOURCE_HDFS_ENDPOINT_REPEAT_COUNT_CONF = "camel.source.endpoint.repeatCount";
- public static final String CAMEL_SOURCE_HDFS_ENDPOINT_REPEAT_COUNT_DOC = "Specifies a maximum limit of number of fires. So if you set it to 1, the scheduler will only fire once. If you set it to 5, it will only fire five times. A value of zero or negative means fire forever.";
- public static final Long CAMEL_SOURCE_HDFS_ENDPOINT_REPEAT_COUNT_DEFAULT = 0L;
- public static final String CAMEL_SOURCE_HDFS_ENDPOINT_RUN_LOGGING_LEVEL_CONF = "camel.source.endpoint.runLoggingLevel";
- public static final String CAMEL_SOURCE_HDFS_ENDPOINT_RUN_LOGGING_LEVEL_DOC = "The consumer logs a start/complete log line when it polls. This option allows you to configure the logging level for that. One of: [TRACE] [DEBUG] [INFO] [WARN] [ERROR] [OFF]";
- public static final String CAMEL_SOURCE_HDFS_ENDPOINT_RUN_LOGGING_LEVEL_DEFAULT = "TRACE";
- public static final String CAMEL_SOURCE_HDFS_ENDPOINT_SCHEDULED_EXECUTOR_SERVICE_CONF = "camel.source.endpoint.scheduledExecutorService";
- public static final String CAMEL_SOURCE_HDFS_ENDPOINT_SCHEDULED_EXECUTOR_SERVICE_DOC = "Allows for configuring a custom/shared thread pool to use for the consumer. By default each consumer has its own single threaded thread pool.";
- public static final String CAMEL_SOURCE_HDFS_ENDPOINT_SCHEDULED_EXECUTOR_SERVICE_DEFAULT = null;
- public static final String CAMEL_SOURCE_HDFS_ENDPOINT_SCHEDULER_CONF = "camel.source.endpoint.scheduler";
- public static final String CAMEL_SOURCE_HDFS_ENDPOINT_SCHEDULER_DOC = "To use a cron scheduler from either camel-spring or camel-quartz component. Use value spring or quartz for built in scheduler";
- public static final String CAMEL_SOURCE_HDFS_ENDPOINT_SCHEDULER_DEFAULT = "none";
- public static final String CAMEL_SOURCE_HDFS_ENDPOINT_SCHEDULER_PROPERTIES_CONF = "camel.source.endpoint.schedulerProperties";
- public static final String CAMEL_SOURCE_HDFS_ENDPOINT_SCHEDULER_PROPERTIES_DOC = "To configure additional properties when using a custom scheduler or any of the Quartz, Spring based scheduler.";
- public static final String CAMEL_SOURCE_HDFS_ENDPOINT_SCHEDULER_PROPERTIES_DEFAULT = null;
- public static final String CAMEL_SOURCE_HDFS_ENDPOINT_START_SCHEDULER_CONF = "camel.source.endpoint.startScheduler";
- public static final String CAMEL_SOURCE_HDFS_ENDPOINT_START_SCHEDULER_DOC = "Whether the scheduler should be auto started.";
- public static final Boolean CAMEL_SOURCE_HDFS_ENDPOINT_START_SCHEDULER_DEFAULT = true;
- public static final String CAMEL_SOURCE_HDFS_ENDPOINT_TIME_UNIT_CONF = "camel.source.endpoint.timeUnit";
- public static final String CAMEL_SOURCE_HDFS_ENDPOINT_TIME_UNIT_DOC = "Time unit for initialDelay and delay options. One of: [NANOSECONDS] [MICROSECONDS] [MILLISECONDS] [SECONDS] [MINUTES] [HOURS] [DAYS]";
- public static final String CAMEL_SOURCE_HDFS_ENDPOINT_TIME_UNIT_DEFAULT = "MILLISECONDS";
- public static final String CAMEL_SOURCE_HDFS_ENDPOINT_USE_FIXED_DELAY_CONF = "camel.source.endpoint.useFixedDelay";
- public static final String CAMEL_SOURCE_HDFS_ENDPOINT_USE_FIXED_DELAY_DOC = "Controls if fixed delay or fixed rate is used. See ScheduledExecutorService in JDK for details.";
- public static final Boolean CAMEL_SOURCE_HDFS_ENDPOINT_USE_FIXED_DELAY_DEFAULT = true;
- public static final String CAMEL_SOURCE_HDFS_ENDPOINT_KERBEROS_CONFIG_FILE_LOCATION_CONF = "camel.source.endpoint.kerberosConfigFileLocation";
- public static final String CAMEL_SOURCE_HDFS_ENDPOINT_KERBEROS_CONFIG_FILE_LOCATION_DOC = "The location of the kerb5.conf file (https://web.mit.edu/kerberos/krb5-1.12/doc/admin/conf_files/krb5_conf.html)";
- public static final String CAMEL_SOURCE_HDFS_ENDPOINT_KERBEROS_CONFIG_FILE_LOCATION_DEFAULT = null;
- public static final String CAMEL_SOURCE_HDFS_ENDPOINT_KERBEROS_KEYTAB_LOCATION_CONF = "camel.source.endpoint.kerberosKeytabLocation";
- public static final String CAMEL_SOURCE_HDFS_ENDPOINT_KERBEROS_KEYTAB_LOCATION_DOC = "The location of the keytab file used to authenticate with the kerberos nodes (contains pairs of kerberos principals and encrypted keys (which are derived from the Kerberos password))";
- public static final String CAMEL_SOURCE_HDFS_ENDPOINT_KERBEROS_KEYTAB_LOCATION_DEFAULT = null;
- public static final String CAMEL_SOURCE_HDFS_ENDPOINT_KERBEROS_USERNAME_CONF = "camel.source.endpoint.kerberosUsername";
- public static final String CAMEL_SOURCE_HDFS_ENDPOINT_KERBEROS_USERNAME_DOC = "The username used to authenticate with the kerberos nodes";
- public static final String CAMEL_SOURCE_HDFS_ENDPOINT_KERBEROS_USERNAME_DEFAULT = null;
- public static final String CAMEL_SOURCE_HDFS_COMPONENT_BRIDGE_ERROR_HANDLER_CONF = "camel.component.hdfs.bridgeErrorHandler";
- public static final String CAMEL_SOURCE_HDFS_COMPONENT_BRIDGE_ERROR_HANDLER_DOC = "Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions (if possible) occurred while the Camel consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. Important: This is only possible if the 3rd party component allows Camel to be alerted if an exception was thrown. Some components h [...]
- public static final Boolean CAMEL_SOURCE_HDFS_COMPONENT_BRIDGE_ERROR_HANDLER_DEFAULT = false;
- public static final String CAMEL_SOURCE_HDFS_COMPONENT_AUTOWIRED_ENABLED_CONF = "camel.component.hdfs.autowiredEnabled";
- public static final String CAMEL_SOURCE_HDFS_COMPONENT_AUTOWIRED_ENABLED_DOC = "Whether autowiring is enabled. This is used for automatic autowiring options (the option must be marked as autowired) by looking up in the registry to find if there is a single instance of matching type, which then gets configured on the component. This can be used for automatic configuring JDBC data sources, JMS connection factories, AWS Clients, etc.";
- public static final Boolean CAMEL_SOURCE_HDFS_COMPONENT_AUTOWIRED_ENABLED_DEFAULT = true;
- public static final String CAMEL_SOURCE_HDFS_COMPONENT_HEALTH_CHECK_CONSUMER_ENABLED_CONF = "camel.component.hdfs.healthCheckConsumerEnabled";
- public static final String CAMEL_SOURCE_HDFS_COMPONENT_HEALTH_CHECK_CONSUMER_ENABLED_DOC = "Used for enabling or disabling all consumer based health checks from this component";
- public static final Boolean CAMEL_SOURCE_HDFS_COMPONENT_HEALTH_CHECK_CONSUMER_ENABLED_DEFAULT = true;
- public static final String CAMEL_SOURCE_HDFS_COMPONENT_HEALTH_CHECK_PRODUCER_ENABLED_CONF = "camel.component.hdfs.healthCheckProducerEnabled";
- public static final String CAMEL_SOURCE_HDFS_COMPONENT_HEALTH_CHECK_PRODUCER_ENABLED_DOC = "Used for enabling or disabling all producer based health checks from this component. Notice: Camel has by default disabled all producer based health-checks. You can turn on producer checks globally by setting camel.health.producersEnabled=true.";
- public static final Boolean CAMEL_SOURCE_HDFS_COMPONENT_HEALTH_CHECK_PRODUCER_ENABLED_DEFAULT = true;
- public static final String CAMEL_SOURCE_HDFS_COMPONENT_JAASCONFIGURATION_CONF = "camel.component.hdfs.jAASConfiguration";
- public static final String CAMEL_SOURCE_HDFS_COMPONENT_JAASCONFIGURATION_DOC = "To use the given configuration for security with JAAS.";
- public static final String CAMEL_SOURCE_HDFS_COMPONENT_JAASCONFIGURATION_DEFAULT = null;
- public static final String CAMEL_SOURCE_HDFS_COMPONENT_KERBEROS_CONFIG_FILE_CONF = "camel.component.hdfs.kerberosConfigFile";
- public static final String CAMEL_SOURCE_HDFS_COMPONENT_KERBEROS_CONFIG_FILE_DOC = "To use kerberos authentication, set the value of the 'java.security.krb5.conf' environment variable to an existing file. If the environment variable is already set, warn if different than the specified parameter";
- public static final String CAMEL_SOURCE_HDFS_COMPONENT_KERBEROS_CONFIG_FILE_DEFAULT = null;
-
- public CamelHdfsSourceConnectorConfig(
- ConfigDef config,
- Map<String, String> parsedConfig) {
- super(config, parsedConfig);
- }
-
- public CamelHdfsSourceConnectorConfig(Map<String, String> parsedConfig) {
- this(conf(), parsedConfig);
- }
-
- public static ConfigDef conf() {
- ConfigDef conf = new ConfigDef(CamelSourceConnectorConfig.conf());
- conf.define(CAMEL_SOURCE_HDFS_PATH_HOST_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_HDFS_PATH_HOST_NAME_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_HDFS_PATH_HOST_NAME_DOC);
- conf.define(CAMEL_SOURCE_HDFS_PATH_PORT_CONF, ConfigDef.Type.INT, CAMEL_SOURCE_HDFS_PATH_PORT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HDFS_PATH_PORT_DOC);
- conf.define(CAMEL_SOURCE_HDFS_PATH_PATH_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_HDFS_PATH_PATH_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_HDFS_PATH_PATH_DOC);
- conf.define(CAMEL_SOURCE_HDFS_ENDPOINT_CONNECT_ON_STARTUP_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_HDFS_ENDPOINT_CONNECT_ON_STARTUP_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HDFS_ENDPOINT_CONNECT_ON_STARTUP_DOC);
- conf.define(CAMEL_SOURCE_HDFS_ENDPOINT_FILE_SYSTEM_TYPE_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_HDFS_ENDPOINT_FILE_SYSTEM_TYPE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HDFS_ENDPOINT_FILE_SYSTEM_TYPE_DOC);
- conf.define(CAMEL_SOURCE_HDFS_ENDPOINT_FILE_TYPE_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_HDFS_ENDPOINT_FILE_TYPE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HDFS_ENDPOINT_FILE_TYPE_DOC);
- conf.define(CAMEL_SOURCE_HDFS_ENDPOINT_KEY_TYPE_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_HDFS_ENDPOINT_KEY_TYPE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HDFS_ENDPOINT_KEY_TYPE_DOC);
- conf.define(CAMEL_SOURCE_HDFS_ENDPOINT_NAMED_NODES_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_HDFS_ENDPOINT_NAMED_NODES_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HDFS_ENDPOINT_NAMED_NODES_DOC);
- conf.define(CAMEL_SOURCE_HDFS_ENDPOINT_OWNER_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_HDFS_ENDPOINT_OWNER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HDFS_ENDPOINT_OWNER_DOC);
- conf.define(CAMEL_SOURCE_HDFS_ENDPOINT_VALUE_TYPE_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_HDFS_ENDPOINT_VALUE_TYPE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HDFS_ENDPOINT_VALUE_TYPE_DOC);
- conf.define(CAMEL_SOURCE_HDFS_ENDPOINT_PATTERN_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_HDFS_ENDPOINT_PATTERN_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HDFS_ENDPOINT_PATTERN_DOC);
- conf.define(CAMEL_SOURCE_HDFS_ENDPOINT_SEND_EMPTY_MESSAGE_WHEN_IDLE_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_HDFS_ENDPOINT_SEND_EMPTY_MESSAGE_WHEN_IDLE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HDFS_ENDPOINT_SEND_EMPTY_MESSAGE_WHEN_IDLE_DOC);
- conf.define(CAMEL_SOURCE_HDFS_ENDPOINT_STREAM_DOWNLOAD_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_HDFS_ENDPOINT_STREAM_DOWNLOAD_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HDFS_ENDPOINT_STREAM_DOWNLOAD_DOC);
- conf.define(CAMEL_SOURCE_HDFS_ENDPOINT_BRIDGE_ERROR_HANDLER_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_HDFS_ENDPOINT_BRIDGE_ERROR_HANDLER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HDFS_ENDPOINT_BRIDGE_ERROR_HANDLER_DOC);
- conf.define(CAMEL_SOURCE_HDFS_ENDPOINT_EXCEPTION_HANDLER_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_HDFS_ENDPOINT_EXCEPTION_HANDLER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HDFS_ENDPOINT_EXCEPTION_HANDLER_DOC);
- conf.define(CAMEL_SOURCE_HDFS_ENDPOINT_EXCHANGE_PATTERN_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_HDFS_ENDPOINT_EXCHANGE_PATTERN_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HDFS_ENDPOINT_EXCHANGE_PATTERN_DOC);
- conf.define(CAMEL_SOURCE_HDFS_ENDPOINT_POLL_STRATEGY_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_HDFS_ENDPOINT_POLL_STRATEGY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HDFS_ENDPOINT_POLL_STRATEGY_DOC);
- conf.define(CAMEL_SOURCE_HDFS_ENDPOINT_BLOCK_SIZE_CONF, ConfigDef.Type.LONG, CAMEL_SOURCE_HDFS_ENDPOINT_BLOCK_SIZE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HDFS_ENDPOINT_BLOCK_SIZE_DOC);
- conf.define(CAMEL_SOURCE_HDFS_ENDPOINT_BUFFER_SIZE_CONF, ConfigDef.Type.INT, CAMEL_SOURCE_HDFS_ENDPOINT_BUFFER_SIZE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HDFS_ENDPOINT_BUFFER_SIZE_DOC);
- conf.define(CAMEL_SOURCE_HDFS_ENDPOINT_CHECK_IDLE_INTERVAL_CONF, ConfigDef.Type.INT, CAMEL_SOURCE_HDFS_ENDPOINT_CHECK_IDLE_INTERVAL_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HDFS_ENDPOINT_CHECK_IDLE_INTERVAL_DOC);
- conf.define(CAMEL_SOURCE_HDFS_ENDPOINT_CHUNK_SIZE_CONF, ConfigDef.Type.INT, CAMEL_SOURCE_HDFS_ENDPOINT_CHUNK_SIZE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HDFS_ENDPOINT_CHUNK_SIZE_DOC);
- conf.define(CAMEL_SOURCE_HDFS_ENDPOINT_COMPRESSION_CODEC_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_HDFS_ENDPOINT_COMPRESSION_CODEC_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HDFS_ENDPOINT_COMPRESSION_CODEC_DOC);
- conf.define(CAMEL_SOURCE_HDFS_ENDPOINT_COMPRESSION_TYPE_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_HDFS_ENDPOINT_COMPRESSION_TYPE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HDFS_ENDPOINT_COMPRESSION_TYPE_DOC);
- conf.define(CAMEL_SOURCE_HDFS_ENDPOINT_OPENED_SUFFIX_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_HDFS_ENDPOINT_OPENED_SUFFIX_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HDFS_ENDPOINT_OPENED_SUFFIX_DOC);
- conf.define(CAMEL_SOURCE_HDFS_ENDPOINT_READ_SUFFIX_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_HDFS_ENDPOINT_READ_SUFFIX_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HDFS_ENDPOINT_READ_SUFFIX_DOC);
- conf.define(CAMEL_SOURCE_HDFS_ENDPOINT_REPLICATION_CONF, ConfigDef.Type.SHORT, CAMEL_SOURCE_HDFS_ENDPOINT_REPLICATION_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HDFS_ENDPOINT_REPLICATION_DOC);
- conf.define(CAMEL_SOURCE_HDFS_ENDPOINT_SPLIT_STRATEGY_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_HDFS_ENDPOINT_SPLIT_STRATEGY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HDFS_ENDPOINT_SPLIT_STRATEGY_DOC);
- conf.define(CAMEL_SOURCE_HDFS_ENDPOINT_MAX_MESSAGES_PER_POLL_CONF, ConfigDef.Type.INT, CAMEL_SOURCE_HDFS_ENDPOINT_MAX_MESSAGES_PER_POLL_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HDFS_ENDPOINT_MAX_MESSAGES_PER_POLL_DOC);
- conf.define(CAMEL_SOURCE_HDFS_ENDPOINT_BACKOFF_ERROR_THRESHOLD_CONF, ConfigDef.Type.INT, CAMEL_SOURCE_HDFS_ENDPOINT_BACKOFF_ERROR_THRESHOLD_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HDFS_ENDPOINT_BACKOFF_ERROR_THRESHOLD_DOC);
- conf.define(CAMEL_SOURCE_HDFS_ENDPOINT_BACKOFF_IDLE_THRESHOLD_CONF, ConfigDef.Type.INT, CAMEL_SOURCE_HDFS_ENDPOINT_BACKOFF_IDLE_THRESHOLD_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HDFS_ENDPOINT_BACKOFF_IDLE_THRESHOLD_DOC);
- conf.define(CAMEL_SOURCE_HDFS_ENDPOINT_BACKOFF_MULTIPLIER_CONF, ConfigDef.Type.INT, CAMEL_SOURCE_HDFS_ENDPOINT_BACKOFF_MULTIPLIER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HDFS_ENDPOINT_BACKOFF_MULTIPLIER_DOC);
- conf.define(CAMEL_SOURCE_HDFS_ENDPOINT_DELAY_CONF, ConfigDef.Type.LONG, CAMEL_SOURCE_HDFS_ENDPOINT_DELAY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HDFS_ENDPOINT_DELAY_DOC);
- conf.define(CAMEL_SOURCE_HDFS_ENDPOINT_GREEDY_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_HDFS_ENDPOINT_GREEDY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HDFS_ENDPOINT_GREEDY_DOC);
- conf.define(CAMEL_SOURCE_HDFS_ENDPOINT_INITIAL_DELAY_CONF, ConfigDef.Type.LONG, CAMEL_SOURCE_HDFS_ENDPOINT_INITIAL_DELAY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HDFS_ENDPOINT_INITIAL_DELAY_DOC);
- conf.define(CAMEL_SOURCE_HDFS_ENDPOINT_REPEAT_COUNT_CONF, ConfigDef.Type.LONG, CAMEL_SOURCE_HDFS_ENDPOINT_REPEAT_COUNT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HDFS_ENDPOINT_REPEAT_COUNT_DOC);
- conf.define(CAMEL_SOURCE_HDFS_ENDPOINT_RUN_LOGGING_LEVEL_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_HDFS_ENDPOINT_RUN_LOGGING_LEVEL_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HDFS_ENDPOINT_RUN_LOGGING_LEVEL_DOC);
- conf.define(CAMEL_SOURCE_HDFS_ENDPOINT_SCHEDULED_EXECUTOR_SERVICE_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_HDFS_ENDPOINT_SCHEDULED_EXECUTOR_SERVICE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HDFS_ENDPOINT_SCHEDULED_EXECUTOR_SERVICE_DOC);
- conf.define(CAMEL_SOURCE_HDFS_ENDPOINT_SCHEDULER_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_HDFS_ENDPOINT_SCHEDULER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HDFS_ENDPOINT_SCHEDULER_DOC);
- conf.define(CAMEL_SOURCE_HDFS_ENDPOINT_SCHEDULER_PROPERTIES_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_HDFS_ENDPOINT_SCHEDULER_PROPERTIES_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HDFS_ENDPOINT_SCHEDULER_PROPERTIES_DOC);
- conf.define(CAMEL_SOURCE_HDFS_ENDPOINT_START_SCHEDULER_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_HDFS_ENDPOINT_START_SCHEDULER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HDFS_ENDPOINT_START_SCHEDULER_DOC);
- conf.define(CAMEL_SOURCE_HDFS_ENDPOINT_TIME_UNIT_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_HDFS_ENDPOINT_TIME_UNIT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HDFS_ENDPOINT_TIME_UNIT_DOC);
- conf.define(CAMEL_SOURCE_HDFS_ENDPOINT_USE_FIXED_DELAY_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_HDFS_ENDPOINT_USE_FIXED_DELAY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HDFS_ENDPOINT_USE_FIXED_DELAY_DOC);
- conf.define(CAMEL_SOURCE_HDFS_ENDPOINT_KERBEROS_CONFIG_FILE_LOCATION_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_HDFS_ENDPOINT_KERBEROS_CONFIG_FILE_LOCATION_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HDFS_ENDPOINT_KERBEROS_CONFIG_FILE_LOCATION_DOC);
- conf.define(CAMEL_SOURCE_HDFS_ENDPOINT_KERBEROS_KEYTAB_LOCATION_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_HDFS_ENDPOINT_KERBEROS_KEYTAB_LOCATION_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HDFS_ENDPOINT_KERBEROS_KEYTAB_LOCATION_DOC);
- conf.define(CAMEL_SOURCE_HDFS_ENDPOINT_KERBEROS_USERNAME_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_HDFS_ENDPOINT_KERBEROS_USERNAME_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HDFS_ENDPOINT_KERBEROS_USERNAME_DOC);
- conf.define(CAMEL_SOURCE_HDFS_COMPONENT_BRIDGE_ERROR_HANDLER_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_HDFS_COMPONENT_BRIDGE_ERROR_HANDLER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HDFS_COMPONENT_BRIDGE_ERROR_HANDLER_DOC);
- conf.define(CAMEL_SOURCE_HDFS_COMPONENT_AUTOWIRED_ENABLED_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_HDFS_COMPONENT_AUTOWIRED_ENABLED_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HDFS_COMPONENT_AUTOWIRED_ENABLED_DOC);
- conf.define(CAMEL_SOURCE_HDFS_COMPONENT_HEALTH_CHECK_CONSUMER_ENABLED_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_HDFS_COMPONENT_HEALTH_CHECK_CONSUMER_ENABLED_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HDFS_COMPONENT_HEALTH_CHECK_CONSUMER_ENABLED_DOC);
- conf.define(CAMEL_SOURCE_HDFS_COMPONENT_HEALTH_CHECK_PRODUCER_ENABLED_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_HDFS_COMPONENT_HEALTH_CHECK_PRODUCER_ENABLED_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HDFS_COMPONENT_HEALTH_CHECK_PRODUCER_ENABLED_DOC);
- conf.define(CAMEL_SOURCE_HDFS_COMPONENT_JAASCONFIGURATION_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_HDFS_COMPONENT_JAASCONFIGURATION_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HDFS_COMPONENT_JAASCONFIGURATION_DOC);
- conf.define(CAMEL_SOURCE_HDFS_COMPONENT_KERBEROS_CONFIG_FILE_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_HDFS_COMPONENT_KERBEROS_CONFIG_FILE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HDFS_COMPONENT_KERBEROS_CONFIG_FILE_DOC);
- return conf;
- }
-}
\ No newline at end of file
diff --git a/connectors/camel-http-secured-sink-kafka-connector/src/main/resources/kamelets/http-secured-sink.kamelet.yaml b/connectors/camel-http-secured-sink-kafka-connector/src/main/resources/kamelets/http-secured-sink.kamelet.yaml
index d8235e6862..2e5473fa5b 100644
--- a/connectors/camel-http-secured-sink-kafka-connector/src/main/resources/kamelets/http-secured-sink.kamelet.yaml
+++ b/connectors/camel-http-secured-sink-kafka-connector/src/main/resources/kamelets/http-secured-sink.kamelet.yaml
@@ -20,7 +20,7 @@ metadata:
name: http-secured-sink
annotations:
camel.apache.org/kamelet.support.level: "Stable"
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0MjAiCmhlaWdodD0iNDIwIiBzdHJva2U9IiMwMDAiIGZpbGw9Im5vbmUiPgo8cGF0aCBzdHJva2Utd2lkdGg9IjI2IgpkPSJNMjA5LDE1YTE5NSwxOTUgMCAxLDAgMiwweiIvPgo8cGF0aCBzdHJva2Utd2lkdGg9IjE4IgpkPSJtMjEwLDE1djM5MG0xOTUtMTk1SDE1TTU5LDkwYTI2MCwyNjAgMCAwLDAgMzAyLDAgbTAsMjQwIGEyNjAsMjYwIDAgMCwwLTMwMiwwTTE5NSwyMGEyNTAsMjUwIDAgMCwwIDAsMzgyIG0zMC [...]
camel.apache.org/provider: "Apache Software Foundation"
camel.apache.org/kamelet.group: "HTTP"
@@ -56,7 +56,6 @@ spec:
title: Authentication Preemptive
description: If this option is true, camel-http sends preemptive basic authentication to the server.
type: boolean
- x-descriptors:
default: false
authUsername:
title: Authentication Username
@@ -86,7 +85,7 @@ spec:
constant: "{{method}}"
- to:
uri: "{{url}}"
- parameters:
+ parameters:
authMethod: "{{authMethod}}"
authUsername: "{{authUsername}}"
authPassword: "{{authPassword}}"
diff --git a/connectors/camel-http-secured-source-kafka-connector/src/main/resources/kamelets/http-secured-source.kamelet.yaml b/connectors/camel-http-secured-source-kafka-connector/src/main/resources/kamelets/http-secured-source.kamelet.yaml
index 1a8ac26f67..d53f2ce451 100644
--- a/connectors/camel-http-secured-source-kafka-connector/src/main/resources/kamelets/http-secured-source.kamelet.yaml
+++ b/connectors/camel-http-secured-source-kafka-connector/src/main/resources/kamelets/http-secured-source.kamelet.yaml
@@ -20,7 +20,7 @@ metadata:
name: http-secured-source
annotations:
camel.apache.org/kamelet.support.level: "Stable"
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0MjAiCmhlaWdodD0iNDIwIiBzdHJva2U9IiMwMDAiIGZpbGw9Im5vbmUiPgo8cGF0aCBzdHJva2Utd2lkdGg9IjI2IgpkPSJNMjA5LDE1YTE5NSwxOTUgMCAxLDAgMiwweiIvPgo8cGF0aCBzdHJva2Utd2lkdGg9IjE4IgpkPSJtMjEwLDE1djM5MG0xOTUtMTk1SDE1TTU5LDkwYTI2MCwyNjAgMCAwLDAgMzAyLDAgbTAsMjQwIGEyNjAsMjYwIDAgMCwwLTMwMiwwTTE5NSwyMGEyNTAsMjUwIDAgMCwwIDAsMzgyIG0zMC [...]
camel.apache.org/provider: "Apache Software Foundation"
camel.apache.org/kamelet.group: "HTTP"
diff --git a/connectors/camel-http-sink-kafka-connector/src/main/resources/kamelets/http-sink.kamelet.yaml b/connectors/camel-http-sink-kafka-connector/src/main/resources/kamelets/http-sink.kamelet.yaml
index 93f5833ec3..5f21940dc0 100644
--- a/connectors/camel-http-sink-kafka-connector/src/main/resources/kamelets/http-sink.kamelet.yaml
+++ b/connectors/camel-http-sink-kafka-connector/src/main/resources/kamelets/http-sink.kamelet.yaml
@@ -20,7 +20,7 @@ metadata:
name: http-sink
annotations:
camel.apache.org/kamelet.support.level: "Stable"
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0MjAiCmhlaWdodD0iNDIwIiBzdHJva2U9IiMwMDAiIGZpbGw9Im5vbmUiPgo8cGF0aCBzdHJva2Utd2lkdGg9IjI2IgpkPSJNMjA5LDE1YTE5NSwxOTUgMCAxLDAgMiwweiIvPgo8cGF0aCBzdHJva2Utd2lkdGg9IjE4IgpkPSJtMjEwLDE1djM5MG0xOTUtMTk1SDE1TTU5LDkwYTI2MCwyNjAgMCAwLDAgMzAyLDAgbTAsMjQwIGEyNjAsMjYwIDAgMCwwLTMwMiwwTTE5NSwyMGEyNTAsMjUwIDAgMCwwIDAsMzgyIG0zMC [...]
camel.apache.org/provider: "Apache Software Foundation"
camel.apache.org/kamelet.group: "HTTP"
diff --git a/connectors/camel-http-source-kafka-connector/src/main/resources/kamelets/http-source.kamelet.yaml b/connectors/camel-http-source-kafka-connector/src/main/resources/kamelets/http-source.kamelet.yaml
index a1cc88fcf7..98b4edd0bc 100644
--- a/connectors/camel-http-source-kafka-connector/src/main/resources/kamelets/http-source.kamelet.yaml
+++ b/connectors/camel-http-source-kafka-connector/src/main/resources/kamelets/http-source.kamelet.yaml
@@ -20,7 +20,7 @@ metadata:
name: http-source
annotations:
camel.apache.org/kamelet.support.level: "Stable"
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0MjAiCmhlaWdodD0iNDIwIiBzdHJva2U9IiMwMDAiIGZpbGw9Im5vbmUiPgo8cGF0aCBzdHJva2Utd2lkdGg9IjI2IgpkPSJNMjA5LDE1YTE5NSwxOTUgMCAxLDAgMiwweiIvPgo8cGF0aCBzdHJva2Utd2lkdGg9IjE4IgpkPSJtMjEwLDE1djM5MG0xOTUtMTk1SDE1TTU5LDkwYTI2MCwyNjAgMCAwLDAgMzAyLDAgbTAsMjQwIGEyNjAsMjYwIDAgMCwwLTMwMiwwTTE5NSwyMGEyNTAsMjUwIDAgMCwwIDAsMzgyIG0zMC [...]
camel.apache.org/provider: "Apache Software Foundation"
camel.apache.org/kamelet.group: "HTTP"
diff --git a/connectors/camel-infinispan-sink-kafka-connector/src/main/resources/kamelets/infinispan-sink.kamelet.yaml b/connectors/camel-infinispan-sink-kafka-connector/src/main/resources/kamelets/infinispan-sink.kamelet.yaml
index 71bb36289b..05c9e61a8c 100644
--- a/connectors/camel-infinispan-sink-kafka-connector/src/main/resources/kamelets/infinispan-sink.kamelet.yaml
+++ b/connectors/camel-infinispan-sink-kafka-connector/src/main/resources/kamelets/infinispan-sink.kamelet.yaml
@@ -22,7 +22,7 @@ metadata:
camel.apache.org/kamelet.type: "sink"
annotations:
camel.apache.org/kamelet.support.level: "Stable"
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/provider: "Apache Software Foundation"
camel.apache.org/kamelet.group: "Infinispan"
camel.apache.org/kamelet.namespace: "Cache"
@@ -58,7 +58,6 @@ spec:
description: If the Infinispan instance is secured or not
type: boolean
default: true
- x-descriptors:
username:
title: Username
description: Username to connect to Infinispan.
diff --git a/connectors/camel-infinispan-source-kafka-connector/src/main/resources/kamelets/infinispan-source.kamelet.yaml b/connectors/camel-infinispan-source-kafka-connector/src/main/resources/kamelets/infinispan-source.kamelet.yaml
index 7032bd636b..0a7c8ab640 100644
--- a/connectors/camel-infinispan-source-kafka-connector/src/main/resources/kamelets/infinispan-source.kamelet.yaml
+++ b/connectors/camel-infinispan-source-kafka-connector/src/main/resources/kamelets/infinispan-source.kamelet.yaml
@@ -22,7 +22,7 @@ metadata:
camel.apache.org/kamelet.type: "source"
annotations:
camel.apache.org/kamelet.support.level: "Stable"
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/provider: "Apache Software Foundation"
camel.apache.org/kamelet.group: "Infinispan"
camel.apache.org/kamelet.namespace: "Cache"
@@ -52,7 +52,6 @@ spec:
description: If the Infinispan instance is secured or not
type: boolean
default: true
- x-descriptors:
username:
title: Username
description: Username to connect to Infinispan.
diff --git a/connectors/camel-jira-add-comment-sink-kafka-connector/src/main/resources/kamelets/jira-add-comment-sink.kamelet.yaml b/connectors/camel-jira-add-comment-sink-kafka-connector/src/main/resources/kamelets/jira-add-comment-sink.kamelet.yaml
index d5613881aa..bcb87654c2 100644
--- a/connectors/camel-jira-add-comment-sink-kafka-connector/src/main/resources/kamelets/jira-add-comment-sink.kamelet.yaml
+++ b/connectors/camel-jira-add-comment-sink-kafka-connector/src/main/resources/kamelets/jira-add-comment-sink.kamelet.yaml
@@ -20,7 +20,7 @@ metadata:
name: jira-add-comment-sink
annotations:
camel.apache.org/kamelet.support.level: "Stable"
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMjU2cHgiIGhlaWdodD0iMjU2cHgiIHZpZXdCb3g9IjAgMCAyNTYgMjU2IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHByZXNlcnZlQXNwZWN0UmF0aW89InhNaWRZTWlkIj4KICAgIDxkZWZzPgogICAgICAgIDxsaW5lYXJHcmFkaWVudCB4MT0iOTguMDMwODY3NSUiIHkxPSIwLjE2MDU5OTU3MiUiIHgyPSI1OC44ODc3MDYyJSIgeTI9IjQwLjc2NTUyNDYlIi [...]
camel.apache.org/provider: "Apache Software Foundation"
camel.apache.org/kamelet.group: "JIRA"
diff --git a/connectors/camel-jira-add-issue-sink-kafka-connector/src/main/resources/kamelets/jira-add-issue-sink.kamelet.yaml b/connectors/camel-jira-add-issue-sink-kafka-connector/src/main/resources/kamelets/jira-add-issue-sink.kamelet.yaml
index 061af1fffe..28b4255495 100644
--- a/connectors/camel-jira-add-issue-sink-kafka-connector/src/main/resources/kamelets/jira-add-issue-sink.kamelet.yaml
+++ b/connectors/camel-jira-add-issue-sink-kafka-connector/src/main/resources/kamelets/jira-add-issue-sink.kamelet.yaml
@@ -20,7 +20,7 @@ metadata:
name: jira-add-issue-sink
annotations:
camel.apache.org/kamelet.support.level: "Stable"
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMjU2cHgiIGhlaWdodD0iMjU2cHgiIHZpZXdCb3g9IjAgMCAyNTYgMjU2IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHByZXNlcnZlQXNwZWN0UmF0aW89InhNaWRZTWlkIj4KICAgIDxkZWZzPgogICAgICAgIDxsaW5lYXJHcmFkaWVudCB4MT0iOTguMDMwODY3NSUiIHkxPSIwLjE2MDU5OTU3MiUiIHgyPSI1OC44ODc3MDYyJSIgeTI9IjQwLjc2NTUyNDYlIi [...]
camel.apache.org/provider: "Apache Software Foundation"
camel.apache.org/kamelet.group: "JIRA"
diff --git a/connectors/camel-jira-oauth-source-kafka-connector/src/main/resources/kamelets/jira-oauth-source.kamelet.yaml b/connectors/camel-jira-oauth-source-kafka-connector/src/main/resources/kamelets/jira-oauth-source.kamelet.yaml
index 2431c94d3b..22c4101458 100644
--- a/connectors/camel-jira-oauth-source-kafka-connector/src/main/resources/kamelets/jira-oauth-source.kamelet.yaml
+++ b/connectors/camel-jira-oauth-source-kafka-connector/src/main/resources/kamelets/jira-oauth-source.kamelet.yaml
@@ -20,7 +20,7 @@ metadata:
name: jira-oauth-source
annotations:
camel.apache.org/kamelet.support.level: "Stable"
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMjU2cHgiIGhlaWdodD0iMjU2cHgiIHZpZXdCb3g9IjAgMCAyNTYgMjU2IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHByZXNlcnZlQXNwZWN0UmF0aW89InhNaWRZTWlkIj4KICAgIDxkZWZzPgogICAgICAgIDxsaW5lYXJHcmFkaWVudCB4MT0iOTguMDMwODY3NSUiIHkxPSIwLjE2MDU5OTU3MiUiIHgyPSI1OC44ODc3MDYyJSIgeTI9IjQwLjc2NTUyNDYlIi [...]
camel.apache.org/provider: "Apache Software Foundation"
camel.apache.org/kamelet.group: "JIRA"
diff --git a/connectors/camel-jira-source-kafka-connector/src/main/resources/kamelets/jira-source.kamelet.yaml b/connectors/camel-jira-source-kafka-connector/src/main/resources/kamelets/jira-source.kamelet.yaml
index 9859ad8f82..7c4b9085bd 100644
--- a/connectors/camel-jira-source-kafka-connector/src/main/resources/kamelets/jira-source.kamelet.yaml
+++ b/connectors/camel-jira-source-kafka-connector/src/main/resources/kamelets/jira-source.kamelet.yaml
@@ -20,7 +20,7 @@ metadata:
name: jira-source
annotations:
camel.apache.org/kamelet.support.level: "Stable"
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMjU2cHgiIGhlaWdodD0iMjU2cHgiIHZpZXdCb3g9IjAgMCAyNTYgMjU2IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHByZXNlcnZlQXNwZWN0UmF0aW89InhNaWRZTWlkIj4KICAgIDxkZWZzPgogICAgICAgIDxsaW5lYXJHcmFkaWVudCB4MT0iOTguMDMwODY3NSUiIHkxPSIwLjE2MDU5OTU3MiUiIHgyPSI1OC44ODc3MDYyJSIgeTI9IjQwLjc2NTUyNDYlIi [...]
camel.apache.org/provider: "Apache Software Foundation"
camel.apache.org/kamelet.group: "JIRA"
diff --git a/connectors/camel-jira-transition-issue-sink-kafka-connector/src/main/resources/kamelets/jira-transition-issue-sink.kamelet.yaml b/connectors/camel-jira-transition-issue-sink-kafka-connector/src/main/resources/kamelets/jira-transition-issue-sink.kamelet.yaml
index e3ca7bdaf0..4ab537360c 100644
--- a/connectors/camel-jira-transition-issue-sink-kafka-connector/src/main/resources/kamelets/jira-transition-issue-sink.kamelet.yaml
+++ b/connectors/camel-jira-transition-issue-sink-kafka-connector/src/main/resources/kamelets/jira-transition-issue-sink.kamelet.yaml
@@ -20,7 +20,7 @@ metadata:
name: jira-transition-issue-sink
annotations:
camel.apache.org/kamelet.support.level: "Stable"
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMjU2cHgiIGhlaWdodD0iMjU2cHgiIHZpZXdCb3g9IjAgMCAyNTYgMjU2IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHByZXNlcnZlQXNwZWN0UmF0aW89InhNaWRZTWlkIj4KICAgIDxkZWZzPgogICAgICAgIDxsaW5lYXJHcmFkaWVudCB4MT0iOTguMDMwODY3NSUiIHkxPSIwLjE2MDU5OTU3MiUiIHgyPSI1OC44ODc3MDYyJSIgeTI9IjQwLjc2NTUyNDYlIi [...]
camel.apache.org/provider: "Apache Software Foundation"
camel.apache.org/kamelet.group: "JIRA"
diff --git a/connectors/camel-jira-update-issue-sink-kafka-connector/src/main/resources/kamelets/jira-update-issue-sink.kamelet.yaml b/connectors/camel-jira-update-issue-sink-kafka-connector/src/main/resources/kamelets/jira-update-issue-sink.kamelet.yaml
index 5df4620966..600091c05c 100644
--- a/connectors/camel-jira-update-issue-sink-kafka-connector/src/main/resources/kamelets/jira-update-issue-sink.kamelet.yaml
+++ b/connectors/camel-jira-update-issue-sink-kafka-connector/src/main/resources/kamelets/jira-update-issue-sink.kamelet.yaml
@@ -20,7 +20,7 @@ metadata:
name: jira-update-issue-sink
annotations:
camel.apache.org/kamelet.support.level: "Stable"
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMjU2cHgiIGhlaWdodD0iMjU2cHgiIHZpZXdCb3g9IjAgMCAyNTYgMjU2IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHByZXNlcnZlQXNwZWN0UmF0aW89InhNaWRZTWlkIj4KICAgIDxkZWZzPgogICAgICAgIDxsaW5lYXJHcmFkaWVudCB4MT0iOTguMDMwODY3NSUiIHkxPSIwLjE2MDU5OTU3MiUiIHgyPSI1OC44ODc3MDYyJSIgeTI9IjQwLjc2NTUyNDYlIi [...]
camel.apache.org/provider: "Apache Software Foundation"
camel.apache.org/kamelet.group: "JIRA"
diff --git a/connectors/camel-jms-amqp-10-sink-kafka-connector/src/main/resources/kamelets/jms-amqp-10-sink.kamelet.yaml b/connectors/camel-jms-amqp-10-sink-kafka-connector/src/main/resources/kamelets/jms-amqp-10-sink.kamelet.yaml
index 5f2d6d1585..7c3b24c8ce 100644
--- a/connectors/camel-jms-amqp-10-sink-kafka-connector/src/main/resources/kamelets/jms-amqp-10-sink.kamelet.yaml
+++ b/connectors/camel-jms-amqp-10-sink-kafka-connector/src/main/resources/kamelets/jms-amqp-10-sink.kamelet.yaml
@@ -22,7 +22,7 @@ metadata:
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjwhLS0gQ3JlYXRlZCB3aXRoIElua3NjYXBlIChodHRwOi8vd3d3Lmlua3NjYXBlLm9yZy8pIC0tPgoKPHN2ZwogICB4bWxuczpkYz0iaHR0cDovL3B1cmwub3JnL2RjL2VsZW1lbnRzLzEuMS8iCiAgIHhtbG5zOmNjPSJodHRwOi8vY3JlYXRpdmVjb21tb25zLm9yZy9ucyMiCiAgIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyIKICAgeG1sbnM6c3ZnPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIKICAgeG1sbnM9Im [...]
camel.apache.org/kamelet.support.level: "Stable"
camel.apache.org/provider: "Apache Software Foundation"
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/kamelet.group: "JMS"
camel.apache.org/kamelet.namespace: "Messaging"
labels:
diff --git a/connectors/camel-jms-amqp-10-source-kafka-connector/src/main/resources/kamelets/jms-amqp-10-source.kamelet.yaml b/connectors/camel-jms-amqp-10-source-kafka-connector/src/main/resources/kamelets/jms-amqp-10-source.kamelet.yaml
index f3d4aae995..b7b1f368a8 100644
--- a/connectors/camel-jms-amqp-10-source-kafka-connector/src/main/resources/kamelets/jms-amqp-10-source.kamelet.yaml
+++ b/connectors/camel-jms-amqp-10-source-kafka-connector/src/main/resources/kamelets/jms-amqp-10-source.kamelet.yaml
@@ -22,7 +22,7 @@ metadata:
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjwhLS0gQ3JlYXRlZCB3aXRoIElua3NjYXBlIChodHRwOi8vd3d3Lmlua3NjYXBlLm9yZy8pIC0tPgoKPHN2ZwogICB4bWxuczpkYz0iaHR0cDovL3B1cmwub3JnL2RjL2VsZW1lbnRzLzEuMS8iCiAgIHhtbG5zOmNjPSJodHRwOi8vY3JlYXRpdmVjb21tb25zLm9yZy9ucyMiCiAgIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyIKICAgeG1sbnM6c3ZnPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIKICAgeG1sbnM9Im [...]
camel.apache.org/kamelet.support.level: "Stable"
camel.apache.org/provider: "Apache Software Foundation"
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/kamelet.group: "JMS"
camel.apache.org/kamelet.namespace: "Messaging"
labels:
diff --git a/connectors/camel-jms-apache-artemis-sink-kafka-connector/pom.xml b/connectors/camel-jms-apache-artemis-sink-kafka-connector/pom.xml
index 059f752041..73e1837965 100644
--- a/connectors/camel-jms-apache-artemis-sink-kafka-connector/pom.xml
+++ b/connectors/camel-jms-apache-artemis-sink-kafka-connector/pom.xml
@@ -41,11 +41,6 @@
</dependency>
<!-- Camel -->
<!--START OF GENERATED CODE-->
- <dependency>
- <groupId>org.apache.activemq</groupId>
- <artifactId>artemis-jms-client-all</artifactId>
- <version>2.31.2</version>
- </dependency>
<dependency>
<groupId>org.apache.camel.kafkaconnector</groupId>
<artifactId>camel-kafka-connector</artifactId>
@@ -62,6 +57,11 @@
<groupId>org.apache.camel</groupId>
<artifactId>camel-kamelet</artifactId>
</dependency>
+ <dependency>
+ <groupId>org.apache.activemq</groupId>
+ <artifactId>artemis-jakarta-client-all</artifactId>
+ <version>2.32.0</version>
+ </dependency>
<!--END OF GENERATED CODE-->
</dependencies>
<build>
diff --git a/connectors/camel-jms-apache-artemis-sink-kafka-connector/src/main/resources/kamelets/jms-apache-artemis-sink.kamelet.yaml b/connectors/camel-jms-apache-artemis-sink-kafka-connector/src/main/resources/kamelets/jms-apache-artemis-sink.kamelet.yaml
index 5c45a8f6dd..819a92a819 100644
--- a/connectors/camel-jms-apache-artemis-sink-kafka-connector/src/main/resources/kamelets/jms-apache-artemis-sink.kamelet.yaml
+++ b/connectors/camel-jms-apache-artemis-sink-kafka-connector/src/main/resources/kamelets/jms-apache-artemis-sink.kamelet.yaml
@@ -22,7 +22,7 @@ metadata:
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjwhLS0gQ3JlYXRlZCB3aXRoIElua3NjYXBlIChodHRwOi8vd3d3Lmlua3NjYXBlLm9yZy8pIC0tPgoKPHN2ZwogICB4bWxuczpkYz0iaHR0cDovL3B1cmwub3JnL2RjL2VsZW1lbnRzLzEuMS8iCiAgIHhtbG5zOmNjPSJodHRwOi8vY3JlYXRpdmVjb21tb25zLm9yZy9ucyMiCiAgIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyIKICAgeG1sbnM6c3ZnPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIKICAgeG1sbnM9Im [...]
camel.apache.org/kamelet.support.level: "Stable"
camel.apache.org/provider: "Apache Software Foundation"
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/kamelet.group: "JMS"
camel.apache.org/kamelet.namespace: "Messaging"
labels:
@@ -55,7 +55,7 @@ spec:
dependencies:
- "camel:jms"
- "camel:kamelet"
- - "mvn:org.apache.activemq:artemis-jms-client-all:2.31.2"
+ - "mvn:org.apache.activemq:artemis-jakarta-client-all:2.32.0"
template:
beans:
- name: connectionFactoryBean
diff --git a/connectors/camel-jms-apache-artemis-source-kafka-connector/pom.xml b/connectors/camel-jms-apache-artemis-source-kafka-connector/pom.xml
index 6ee9a4b671..df35e72f12 100644
--- a/connectors/camel-jms-apache-artemis-source-kafka-connector/pom.xml
+++ b/connectors/camel-jms-apache-artemis-source-kafka-connector/pom.xml
@@ -41,11 +41,6 @@
</dependency>
<!-- Camel -->
<!--START OF GENERATED CODE-->
- <dependency>
- <groupId>org.apache.activemq</groupId>
- <artifactId>artemis-jms-client-all</artifactId>
- <version>2.31.2</version>
- </dependency>
<dependency>
<groupId>org.apache.camel.kafkaconnector</groupId>
<artifactId>camel-kafka-connector</artifactId>
@@ -62,6 +57,11 @@
<groupId>org.apache.camel</groupId>
<artifactId>camel-kamelet</artifactId>
</dependency>
+ <dependency>
+ <groupId>org.apache.activemq</groupId>
+ <artifactId>artemis-jakarta-client-all</artifactId>
+ <version>2.32.0</version>
+ </dependency>
<!--END OF GENERATED CODE-->
</dependencies>
<build>
diff --git a/connectors/camel-jms-apache-artemis-source-kafka-connector/src/main/resources/kamelets/jms-apache-artemis-source.kamelet.yaml b/connectors/camel-jms-apache-artemis-source-kafka-connector/src/main/resources/kamelets/jms-apache-artemis-source.kamelet.yaml
index 34a3355ad4..efcd4396ec 100644
--- a/connectors/camel-jms-apache-artemis-source-kafka-connector/src/main/resources/kamelets/jms-apache-artemis-source.kamelet.yaml
+++ b/connectors/camel-jms-apache-artemis-source-kafka-connector/src/main/resources/kamelets/jms-apache-artemis-source.kamelet.yaml
@@ -22,7 +22,7 @@ metadata:
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjwhLS0gQ3JlYXRlZCB3aXRoIElua3NjYXBlIChodHRwOi8vd3d3Lmlua3NjYXBlLm9yZy8pIC0tPgoKPHN2ZwogICB4bWxuczpkYz0iaHR0cDovL3B1cmwub3JnL2RjL2VsZW1lbnRzLzEuMS8iCiAgIHhtbG5zOmNjPSJodHRwOi8vY3JlYXRpdmVjb21tb25zLm9yZy9ucyMiCiAgIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyIKICAgeG1sbnM6c3ZnPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIKICAgeG1sbnM9Im [...]
camel.apache.org/kamelet.support.level: "Stable"
camel.apache.org/provider: "Apache Software Foundation"
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/kamelet.group: "JMS"
camel.apache.org/kamelet.namespace: "Messaging"
labels:
@@ -54,7 +54,7 @@ spec:
dependencies:
- "camel:jms"
- "camel:kamelet"
- - "mvn:org.apache.activemq:artemis-jms-client-all:2.31.2"
+ - "mvn:org.apache.activemq:artemis-jakarta-client-all:2.32.0"
template:
beans:
- name: connectionFactoryBean
diff --git a/connectors/camel-jms-ibm-mq-sink-kafka-connector/src/generated/resources/camel-jms-ibm-mq-sink-sink.json b/connectors/camel-jms-ibm-mq-sink-kafka-connector/src/generated/resources/camel-jms-ibm-mq-sink-sink.json
index f9dd511b0e..91299bbbc7 100644
--- a/connectors/camel-jms-ibm-mq-sink-kafka-connector/src/generated/resources/camel-jms-ibm-mq-sink-sink.json
+++ b/connectors/camel-jms-ibm-mq-sink-kafka-connector/src/generated/resources/camel-jms-ibm-mq-sink-sink.json
@@ -6,7 +6,7 @@
"id": "camel-jms-ibm-mq-sink-sink",
"type": "sink",
"version": "4.4.2-SNAPSHOT",
- "description": "A Kamelet that can produce events to an IBM MQ message queue using JMS.\n\nIn your Pipe file, you must explicitly declare the IBM MQ Server driver dependency in spec->integration->dependencies\n\n- \"mvn:com.ibm.mq:com.ibm.mq.allclient:<version>\""
+ "description": "A Kamelet that can produce events to an IBM MQ message queue using JMS.\n\nIn your Pipe file, you must explicitly declare the IBM MQ Server driver dependency in spec->integration->dependencies\n\n- \"mvn:com.ibm.mq:com.ibm.mq.jakarta.client:<version>\""
},
"properties": {
"camel.kamelet.jms-ibm-mq-sink.serverName": {
diff --git a/connectors/camel-jms-ibm-mq-sink-kafka-connector/src/main/resources/kamelets/jms-ibm-mq-sink.kamelet.yaml b/connectors/camel-jms-ibm-mq-sink-kafka-connector/src/main/resources/kamelets/jms-ibm-mq-sink.kamelet.yaml
index af00159d0b..95ccea1087 100644
--- a/connectors/camel-jms-ibm-mq-sink-kafka-connector/src/main/resources/kamelets/jms-ibm-mq-sink.kamelet.yaml
+++ b/connectors/camel-jms-ibm-mq-sink-kafka-connector/src/main/resources/kamelets/jms-ibm-mq-sink.kamelet.yaml
@@ -22,7 +22,7 @@ metadata:
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIgogICAgIHZpZXdCb3g9IjAgMCA1NzMuMDggNTc2Ljk3Ij4KICAgIDxkZWZzPgogICAgICAgIDxzdHlsZT4KICAgICAgICAgICAgLmNscy0xe2ZpbGw6I2ZmZjt9LmNscy0ye2ZpbGw6IzVhNzdiNTt9LmNscy0ze2ZpbGw6I2FmYmVlMDt9LmNscy00e2NsaXAtcGF0aDp1cmwoI2NsaXAtcGF0aCk7fS5jbHMtNXtjbGlwLXBhdGg6dXJsKCNjbGlwLXBhdGgtMik7fQogIC [...]
camel.apache.org/kamelet.support.level: "Stable"
camel.apache.org/provider: "Apache Software Foundation"
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/kamelet.group: "JMS"
camel.apache.org/kamelet.namespace: "Messaging"
labels:
@@ -36,7 +36,7 @@ spec:
In your Pipe file, you must explicitly declare the IBM MQ Server driver dependency in spec->integration->dependencies
- - "mvn:com.ibm.mq:com.ibm.mq.allclient:<version>"
+ - "mvn:com.ibm.mq:com.ibm.mq.jakarta.client:<version>"
required:
- serverName
@@ -99,7 +99,7 @@ spec:
template:
beans:
- name: wmqConnectionFactory
- type: "#class:com.ibm.mq.jms.MQConnectionFactory"
+ type: "#class:com.ibm.mq.jakarta.jms.MQConnectionFactory"
properties:
XMSC_WMQ_HOST_NAME: '{{serverName}}'
XMSC_WMQ_PORT: '{{serverPort}}'
diff --git a/connectors/camel-jms-ibm-mq-source-kafka-connector/src/generated/resources/camel-jms-ibm-mq-source-source.json b/connectors/camel-jms-ibm-mq-source-kafka-connector/src/generated/resources/camel-jms-ibm-mq-source-source.json
index c1db0f3924..f499bf92b0 100644
--- a/connectors/camel-jms-ibm-mq-source-kafka-connector/src/generated/resources/camel-jms-ibm-mq-source-source.json
+++ b/connectors/camel-jms-ibm-mq-source-kafka-connector/src/generated/resources/camel-jms-ibm-mq-source-source.json
@@ -6,7 +6,7 @@
"id": "camel-jms-ibm-mq-source-source",
"type": "source",
"version": "4.4.2-SNAPSHOT",
- "description": "A Kamelet that can read events from an IBM MQ message queue using JMS.\n\nIn your Pipe file, you must explicitly declare the IBM MQ Server driver dependency in spec->integration->dependencies\n\n- \"mvn:com.ibm.mq:com.ibm.mq.allclient:<version>\""
+ "description": "A Kamelet that can read events from an IBM MQ message queue using JMS.\n\nIn your Pipe file, you must explicitly declare the IBM MQ Server driver dependency in spec->integration->dependencies\n\n- \"mvn:com.ibm.mq:com.ibm.mq.jakarta.client:<version>\""
},
"properties": {
"camel.kamelet.jms-ibm-mq-source.serverName": {
diff --git a/connectors/camel-jms-ibm-mq-source-kafka-connector/src/main/resources/kamelets/jms-ibm-mq-source.kamelet.yaml b/connectors/camel-jms-ibm-mq-source-kafka-connector/src/main/resources/kamelets/jms-ibm-mq-source.kamelet.yaml
index a9809beaea..24cd35d77d 100644
--- a/connectors/camel-jms-ibm-mq-source-kafka-connector/src/main/resources/kamelets/jms-ibm-mq-source.kamelet.yaml
+++ b/connectors/camel-jms-ibm-mq-source-kafka-connector/src/main/resources/kamelets/jms-ibm-mq-source.kamelet.yaml
@@ -22,7 +22,7 @@ metadata:
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIgogICAgIHZpZXdCb3g9IjAgMCA1NzMuMDggNTc2Ljk3Ij4KICAgIDxkZWZzPgogICAgICAgIDxzdHlsZT4KICAgICAgICAgICAgLmNscy0xe2ZpbGw6I2ZmZjt9LmNscy0ye2ZpbGw6IzVhNzdiNTt9LmNscy0ze2ZpbGw6I2FmYmVlMDt9LmNscy00e2NsaXAtcGF0aDp1cmwoI2NsaXAtcGF0aCk7fS5jbHMtNXtjbGlwLXBhdGg6dXJsKCNjbGlwLXBhdGgtMik7fQogIC [...]
camel.apache.org/kamelet.support.level: "Stable"
camel.apache.org/provider: "Apache Software Foundation"
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/kamelet.group: "JMS"
camel.apache.org/kamelet.namespace: "Messaging"
labels:
@@ -36,7 +36,7 @@ spec:
In your Pipe file, you must explicitly declare the IBM MQ Server driver dependency in spec->integration->dependencies
- - "mvn:com.ibm.mq:com.ibm.mq.allclient:<version>"
+ - "mvn:com.ibm.mq:com.ibm.mq.jakarta.client:<version>"
required:
- serverName
@@ -99,7 +99,7 @@ spec:
template:
beans:
- name: wmqConnectionFactory
- type: "#class:com.ibm.mq.jms.MQConnectionFactory"
+ type: "#class:com.ibm.mq.jakarta.jms.MQConnectionFactory"
properties:
XMSC_WMQ_HOST_NAME: '{{serverName}}'
XMSC_WMQ_PORT: '{{serverPort}}'
diff --git a/connectors/camel-kafka-apicurio-registry-not-secured-sink-kafka-connector/src/main/resources/kamelets/kafka-apicurio-registry-not-secured-sink.kamelet.yaml b/connectors/camel-kafka-apicurio-registry-not-secured-sink-kafka-connector/src/main/resources/kamelets/kafka-apicurio-registry-not-secured-sink.kamelet.yaml
index a6cc210aa9..b958f88458 100644
--- a/connectors/camel-kafka-apicurio-registry-not-secured-sink-kafka-connector/src/main/resources/kamelets/kafka-apicurio-registry-not-secured-sink.kamelet.yaml
+++ b/connectors/camel-kafka-apicurio-registry-not-secured-sink-kafka-connector/src/main/resources/kamelets/kafka-apicurio-registry-not-secured-sink.kamelet.yaml
@@ -20,7 +20,7 @@ metadata:
name: kafka-apicurio-registry-not-secured-sink
annotations:
camel.apache.org/kamelet.support.level: "Stable"
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxOS4wLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iTGF5ZXJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiDQoJIHZpZXdCb3g9IjAgMCA1MDAgNTAwIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA1MD [...]
camel.apache.org/provider: "Apache Software Foundation"
camel.apache.org/kamelet.group: "Kafka"
diff --git a/connectors/camel-kafka-apicurio-registry-not-secured-source-kafka-connector/pom.xml b/connectors/camel-kafka-apicurio-registry-not-secured-source-kafka-connector/pom.xml
index 59185eb07b..9822b0068c 100644
--- a/connectors/camel-kafka-apicurio-registry-not-secured-source-kafka-connector/pom.xml
+++ b/connectors/camel-kafka-apicurio-registry-not-secured-source-kafka-connector/pom.xml
@@ -57,14 +57,14 @@
<groupId>org.apache.camel</groupId>
<artifactId>camel-yaml-dsl</artifactId>
</dependency>
- <dependency>
- <groupId>org.apache.camel</groupId>
- <artifactId>camel-kamelet</artifactId>
- </dependency>
<dependency>
<groupId>org.apache.camel.kamelets</groupId>
<artifactId>camel-kamelets-utils</artifactId>
- <version>4.3.0</version>
+ <version>4.4.2</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.camel</groupId>
+ <artifactId>camel-kamelet</artifactId>
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
diff --git a/connectors/camel-kafka-apicurio-registry-not-secured-source-kafka-connector/src/generated/resources/camel-kafka-apicurio-registry-not-secured-source-source.json b/connectors/camel-kafka-apicurio-registry-not-secured-source-kafka-connector/src/generated/resources/camel-kafka-apicurio-registry-not-secured-source-source.json
index 9e05eb59e5..8c17906f89 100644
--- a/connectors/camel-kafka-apicurio-registry-not-secured-source-kafka-connector/src/generated/resources/camel-kafka-apicurio-registry-not-secured-source-source.json
+++ b/connectors/camel-kafka-apicurio-registry-not-secured-source-kafka-connector/src/generated/resources/camel-kafka-apicurio-registry-not-secured-source-source.json
@@ -81,6 +81,13 @@
"defaultValue": "\"io.apicurio.registry.serde.avro.ReflectAvroDatumProvider\"",
"priority": "MEDIUM",
"required": "false"
+ },
+ "camel.kamelet.kafka-apicurio-registry-not-secured-source.topicIsPattern": {
+ "name": "camel.kamelet.kafka-apicurio-registry-not-secured-source.topicIsPattern",
+ "description": "Whether the topic is a pattern (regular expression). This can be used to subscribe to dynamic number of topics matching the pattern.",
+ "defaultValue": "false",
+ "priority": "MEDIUM",
+ "required": "false"
}
}
-}
+}
\ No newline at end of file
diff --git a/connectors/camel-kafka-apicurio-registry-not-secured-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/kafkaapicurioregistrynotsecuredsource/CamelKafkaapicurioregistrynotsecuredsourceSourceConnectorConfig.java b/connectors/camel-kafka-apicurio-registry-not-secured-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/kafkaapicurioregistrynotsecuredsource/CamelKafkaapicurioregistrynotsecuredsourceSourceConnectorConfig.java
index 3099950f8d..59ee4d74c4 100644
--- a/connectors/camel-kafka-apicurio-registry-not-secured-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/kafkaapicurioregistrynotsecuredsource/CamelKafkaapicurioregistrynotsecuredsourceSourceConnectorConfig.java
+++ b/connectors/camel-kafka-apicurio-registry-not-secured-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/kafkaapicurioregistrynotsecuredsource/CamelKafkaapicurioregistrynotsecuredsourceSourceConnectorConfig.java
@@ -58,6 +58,9 @@ public class CamelKafkaapicurioregistrynotsecuredsourceSourceConnectorConfig
public static final String CAMEL_SOURCE_KAFKAAPICURIOREGISTRYNOTSECUREDSOURCE_KAMELET_AVRO_DATUM_PROVIDER_CONF = "camel.kamelet.kafka-apicurio-registry-not-secured-source.avroDatumProvider";
public static final String CAMEL_SOURCE_KAFKAAPICURIOREGISTRYNOTSECUREDSOURCE_KAMELET_AVRO_DATUM_PROVIDER_DOC = "How to read data with Avro";
public static final String CAMEL_SOURCE_KAFKAAPICURIOREGISTRYNOTSECUREDSOURCE_KAMELET_AVRO_DATUM_PROVIDER_DEFAULT = "io.apicurio.registry.serde.avro.ReflectAvroDatumProvider";
+ public static final String CAMEL_SOURCE_KAFKAAPICURIOREGISTRYNOTSECUREDSOURCE_KAMELET_TOPIC_IS_PATTERN_CONF = "camel.kamelet.kafka-apicurio-registry-not-secured-source.topicIsPattern";
+ public static final String CAMEL_SOURCE_KAFKAAPICURIOREGISTRYNOTSECUREDSOURCE_KAMELET_TOPIC_IS_PATTERN_DOC = "Whether the topic is a pattern (regular expression). This can be used to subscribe to dynamic number of topics matching the pattern.";
+ public static final Boolean CAMEL_SOURCE_KAFKAAPICURIOREGISTRYNOTSECUREDSOURCE_KAMELET_TOPIC_IS_PATTERN_DEFAULT = false;
public CamelKafkaapicurioregistrynotsecuredsourceSourceConnectorConfig(
ConfigDef config,
@@ -83,6 +86,7 @@ public class CamelKafkaapicurioregistrynotsecuredsourceSourceConnectorConfig
conf.define(CAMEL_SOURCE_KAFKAAPICURIOREGISTRYNOTSECUREDSOURCE_KAMELET_VALUE_DESERIALIZER_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_KAFKAAPICURIOREGISTRYNOTSECUREDSOURCE_KAMELET_VALUE_DESERIALIZER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_KAFKAAPICURIOREGISTRYNOTSECUREDSOURCE_KAMELET_VALUE_DESERIALIZER_DOC);
conf.define(CAMEL_SOURCE_KAFKAAPICURIOREGISTRYNOTSECUREDSOURCE_KAMELET_APICURIO_REGISTRY_URL_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_KAFKAAPICURIOREGISTRYNOTSECUREDSOURCE_KAMELET_APICURIO_REGISTRY_URL_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_KAFKAAPICURIOREGISTRYNOTSECUREDSOURCE_KAMELET_APICURIO_REGISTRY_URL_DOC);
conf.define(CAMEL_SOURCE_KAFKAAPICURIOREGISTRYNOTSECUREDSOURCE_KAMELET_AVRO_DATUM_PROVIDER_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_KAFKAAPICURIOREGISTRYNOTSECUREDSOURCE_KAMELET_AVRO_DATUM_PROVIDER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_KAFKAAPICURIOREGISTRYNOTSECUREDSOURCE_KAMELET_AVRO_DATUM_PROVIDER_DOC);
+ conf.define(CAMEL_SOURCE_KAFKAAPICURIOREGISTRYNOTSECUREDSOURCE_KAMELET_TOPIC_IS_PATTERN_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_KAFKAAPICURIOREGISTRYNOTSECUREDSOURCE_KAMELET_TOPIC_IS_PATTERN_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_KAFKAAPICURIOREGISTRYNOTSECUREDSOURCE_KAMELET_TOPIC_IS_PATTERN_DOC);
return conf;
}
}
\ No newline at end of file
diff --git a/connectors/camel-kafka-apicurio-registry-not-secured-source-kafka-connector/src/main/resources/kamelets/kafka-apicurio-registry-not-secured-source.kamelet.yaml b/connectors/camel-kafka-apicurio-registry-not-secured-source-kafka-connector/src/main/resources/kamelets/kafka-apicurio-registry-not-secured-source.kamelet.yaml
index 79c477fd26..f3dd1917aa 100644
--- a/connectors/camel-kafka-apicurio-registry-not-secured-source-kafka-connector/src/main/resources/kamelets/kafka-apicurio-registry-not-secured-source.kamelet.yaml
+++ b/connectors/camel-kafka-apicurio-registry-not-secured-source-kafka-connector/src/main/resources/kamelets/kafka-apicurio-registry-not-secured-source.kamelet.yaml
@@ -20,7 +20,7 @@ metadata:
name: kafka-apicurio-registry-not-secured-source
annotations:
camel.apache.org/kamelet.support.level: "Preview"
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxOS4wLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iTGF5ZXJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiDQoJIHZpZXdCb3g9IjAgMCA1MDAgNTAwIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA1MD [...]
camel.apache.org/provider: "Apache Software Foundation"
camel.apache.org/kamelet.group: "Kafka"
@@ -58,13 +58,11 @@ spec:
description: If true, periodically commit to ZooKeeper the offset of messages already fetched by the consumer
type: boolean
default: true
- x-descriptors:
allowManualCommit:
title: Allow Manual Commit
description: Whether to allow doing manual commits
type: boolean
default: false
- x-descriptors:
pollOnError:
title: Poll On Error Behavior
description: What to do if kafka threw an exception while polling for new messages. There are 5 enums and the value can be one of DISCARD, ERROR_HANDLER, RECONNECT, RETRY, STOP
@@ -89,7 +87,6 @@ spec:
title: Automatically Deserialize Headers
description: When enabled the Kamelet source will deserialize all message headers to String representation.
type: boolean
- x-descriptors:
default: true
valueDeserializer:
title: Value Deserializer
@@ -108,8 +105,13 @@ spec:
description: How to read data with Avro
type: string
default: "io.apicurio.registry.serde.avro.ReflectAvroDatumProvider"
+ topicIsPattern:
+ title: Topic Is Pattern
+ description: Whether the topic is a pattern (regular expression). This can be used to subscribe to dynamic number of topics matching the pattern.
+ type: boolean
+ default: false
dependencies:
- - "mvn:org.apache.camel.kamelets:camel-kamelets-utils:4.3.0"
+ - "mvn:org.apache.camel.kamelets:camel-kamelets-utils:4.4.2"
- "camel:kafka"
- "camel:core"
- "camel:kamelet"
@@ -130,6 +132,7 @@ spec:
autoOffsetReset: "{{autoOffsetReset}}"
groupId: "{{?consumerGroup}}"
valueDeserializer: "{{valueDeserializer}}"
+ topicIsPattern: "{{topicIsPattern}}"
additionalProperties.apicurio.registry.url: "{{apicurioRegistryUrl}}"
additionalProperties.apicurio.registry.avro-datum-provider: "{{avroDatumProvider}}"
steps:
diff --git a/connectors/camel-kafka-azure-schema-registry-sink-kafka-connector/pom.xml b/connectors/camel-kafka-azure-schema-registry-sink-kafka-connector/pom.xml
index d2cb44b8cc..e1b0b5367e 100644
--- a/connectors/camel-kafka-azure-schema-registry-sink-kafka-connector/pom.xml
+++ b/connectors/camel-kafka-azure-schema-registry-sink-kafka-connector/pom.xml
@@ -46,13 +46,13 @@
<artifactId>camel-azure-schema-registry</artifactId>
</dependency>
<dependency>
- <groupId>org.apache.camel</groupId>
- <artifactId>camel-core</artifactId>
+ <groupId>com.azure</groupId>
+ <artifactId>azure-identity</artifactId>
+ <version>1.11.1</version>
</dependency>
<dependency>
- <groupId>com.azure</groupId>
- <artifactId>azure-data-schemaregistry-apacheavro</artifactId>
- <version>1.1.11</version>
+ <groupId>org.apache.camel</groupId>
+ <artifactId>camel-core</artifactId>
</dependency>
<dependency>
<groupId>org.apache.camel.kafkaconnector</groupId>
@@ -66,24 +66,24 @@
<groupId>org.apache.camel</groupId>
<artifactId>camel-yaml-dsl</artifactId>
</dependency>
+ <dependency>
+ <groupId>org.apache.camel.kamelets</groupId>
+ <artifactId>camel-kamelets-utils</artifactId>
+ <version>4.4.2</version>
+ </dependency>
<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-schemaregistry-kafka-avro</artifactId>
<version>1.1.1</version>
</dependency>
- <dependency>
- <groupId>com.azure</groupId>
- <artifactId>azure-identity</artifactId>
- <version>1.10.4</version>
- </dependency>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-kamelet</artifactId>
</dependency>
<dependency>
- <groupId>org.apache.camel.kamelets</groupId>
- <artifactId>camel-kamelets-utils</artifactId>
- <version>4.3.0</version>
+ <groupId>com.azure</groupId>
+ <artifactId>azure-data-schemaregistry-apacheavro</artifactId>
+ <version>1.1.13</version>
</dependency>
<!--END OF GENERATED CODE-->
</dependencies>
diff --git a/connectors/camel-kafka-azure-schema-registry-sink-kafka-connector/src/main/resources/kamelets/kafka-azure-schema-registry-sink.kamelet.yaml b/connectors/camel-kafka-azure-schema-registry-sink-kafka-connector/src/main/resources/kamelets/kafka-azure-schema-registry-sink.kamelet.yaml
index 39abef3972..c622e6bb87 100644
--- a/connectors/camel-kafka-azure-schema-registry-sink-kafka-connector/src/main/resources/kamelets/kafka-azure-schema-registry-sink.kamelet.yaml
+++ b/connectors/camel-kafka-azure-schema-registry-sink-kafka-connector/src/main/resources/kamelets/kafka-azure-schema-registry-sink.kamelet.yaml
@@ -20,7 +20,7 @@ metadata:
name: kafka-azure-schema-registry-sink
annotations:
camel.apache.org/kamelet.support.level: "Stable"
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxOS4wLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iTGF5ZXJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiDQoJIHZpZXdCb3g9IjAgMCA1MDAgNTAwIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA1MD [...]
camel.apache.org/provider: "Apache Software Foundation"
camel.apache.org/kamelet.group: "Kafka"
@@ -90,14 +90,14 @@ spec:
type: string
example: "com.example.Order"
dependencies:
- - "mvn:org.apache.camel.kamelets:camel-kamelets-utils:4.3.0"
+ - "mvn:org.apache.camel.kamelets:camel-kamelets-utils:4.4.2"
- "camel:core"
- "camel:kafka"
- "camel:kamelet"
- "camel:azure-schema-registry"
- "mvn:com.microsoft.azure:azure-schemaregistry-kafka-avro:1.1.1"
- - "mvn:com.azure:azure-data-schemaregistry-apacheavro:1.1.11"
- - "mvn:com.azure:azure-identity:1.10.4"
+ - "mvn:com.azure:azure-data-schemaregistry-apacheavro:1.1.13"
+ - "mvn:com.azure:azure-identity:1.11.1"
template:
beans:
- name: defaultAzureCredential
diff --git a/connectors/camel-kafka-azure-schema-registry-source-kafka-connector/pom.xml b/connectors/camel-kafka-azure-schema-registry-source-kafka-connector/pom.xml
index 3bbd9bd9aa..2f062cc50d 100644
--- a/connectors/camel-kafka-azure-schema-registry-source-kafka-connector/pom.xml
+++ b/connectors/camel-kafka-azure-schema-registry-source-kafka-connector/pom.xml
@@ -46,13 +46,13 @@
<artifactId>camel-azure-schema-registry</artifactId>
</dependency>
<dependency>
- <groupId>org.apache.camel</groupId>
- <artifactId>camel-core</artifactId>
+ <groupId>com.azure</groupId>
+ <artifactId>azure-identity</artifactId>
+ <version>1.11.1</version>
</dependency>
<dependency>
- <groupId>com.azure</groupId>
- <artifactId>azure-data-schemaregistry-apacheavro</artifactId>
- <version>1.1.11</version>
+ <groupId>org.apache.camel</groupId>
+ <artifactId>camel-core</artifactId>
</dependency>
<dependency>
<groupId>org.apache.camel.kafkaconnector</groupId>
@@ -66,24 +66,24 @@
<groupId>org.apache.camel</groupId>
<artifactId>camel-yaml-dsl</artifactId>
</dependency>
+ <dependency>
+ <groupId>org.apache.camel.kamelets</groupId>
+ <artifactId>camel-kamelets-utils</artifactId>
+ <version>4.4.2</version>
+ </dependency>
<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-schemaregistry-kafka-avro</artifactId>
<version>1.1.1</version>
</dependency>
- <dependency>
- <groupId>com.azure</groupId>
- <artifactId>azure-identity</artifactId>
- <version>1.10.4</version>
- </dependency>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-kamelet</artifactId>
</dependency>
<dependency>
- <groupId>org.apache.camel.kamelets</groupId>
- <artifactId>camel-kamelets-utils</artifactId>
- <version>4.3.0</version>
+ <groupId>com.azure</groupId>
+ <artifactId>azure-data-schemaregistry-apacheavro</artifactId>
+ <version>1.1.13</version>
</dependency>
<!--END OF GENERATED CODE-->
</dependencies>
diff --git a/connectors/camel-kafka-azure-schema-registry-source-kafka-connector/src/generated/resources/camel-kafka-azure-schema-registry-source-source.json b/connectors/camel-kafka-azure-schema-registry-source-kafka-connector/src/generated/resources/camel-kafka-azure-schema-registry-source-source.json
index e547c819c2..ea76d8d934 100644
--- a/connectors/camel-kafka-azure-schema-registry-source-kafka-connector/src/generated/resources/camel-kafka-azure-schema-registry-source-source.json
+++ b/connectors/camel-kafka-azure-schema-registry-source-kafka-connector/src/generated/resources/camel-kafka-azure-schema-registry-source-source.json
@@ -100,6 +100,13 @@
"description": "The Specific Type Avro will have to deal with Example: com.example.Order",
"priority": "MEDIUM",
"required": "false"
+ },
+ "camel.kamelet.kafka-azure-schema-registry-source.topicIsPattern": {
+ "name": "camel.kamelet.kafka-azure-schema-registry-source.topicIsPattern",
+ "description": "Whether the topic is a pattern (regular expression). This can be used to subscribe to dynamic number of topics matching the pattern.",
+ "defaultValue": "false",
+ "priority": "MEDIUM",
+ "required": "false"
}
}
-}
+}
\ No newline at end of file
diff --git a/connectors/camel-kafka-azure-schema-registry-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/kafkaazureschemaregistrysource/CamelKafkaazureschemaregistrysourceSourceConnectorConfig.java b/connectors/camel-kafka-azure-schema-registry-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/kafkaazureschemaregistrysource/CamelKafkaazureschemaregistrysourceSourceConnectorConfig.java
index 8e9f72514c..dc7e437a26 100644
--- a/connectors/camel-kafka-azure-schema-registry-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/kafkaazureschemaregistrysource/CamelKafkaazureschemaregistrysourceSourceConnectorConfig.java
+++ b/connectors/camel-kafka-azure-schema-registry-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/kafkaazureschemaregistrysource/CamelKafkaazureschemaregistrysourceSourceConnectorConfig.java
@@ -67,6 +67,9 @@ public class CamelKafkaazureschemaregistrysourceSourceConnectorConfig
public static final String CAMEL_SOURCE_KAFKAAZURESCHEMAREGISTRYSOURCE_KAMELET_SPECIFIC_AVRO_VALUE_TYPE_CONF = "camel.kamelet.kafka-azure-schema-registry-source.specificAvroValueType";
public static final String CAMEL_SOURCE_KAFKAAZURESCHEMAREGISTRYSOURCE_KAMELET_SPECIFIC_AVRO_VALUE_TYPE_DOC = "The Specific Type Avro will have to deal with Example: com.example.Order";
public static final String CAMEL_SOURCE_KAFKAAZURESCHEMAREGISTRYSOURCE_KAMELET_SPECIFIC_AVRO_VALUE_TYPE_DEFAULT = null;
+ public static final String CAMEL_SOURCE_KAFKAAZURESCHEMAREGISTRYSOURCE_KAMELET_TOPIC_IS_PATTERN_CONF = "camel.kamelet.kafka-azure-schema-registry-source.topicIsPattern";
+ public static final String CAMEL_SOURCE_KAFKAAZURESCHEMAREGISTRYSOURCE_KAMELET_TOPIC_IS_PATTERN_DOC = "Whether the topic is a pattern (regular expression). This can be used to subscribe to dynamic number of topics matching the pattern.";
+ public static final Boolean CAMEL_SOURCE_KAFKAAZURESCHEMAREGISTRYSOURCE_KAMELET_TOPIC_IS_PATTERN_DEFAULT = false;
public CamelKafkaazureschemaregistrysourceSourceConnectorConfig(
ConfigDef config,
@@ -95,6 +98,7 @@ public class CamelKafkaazureschemaregistrysourceSourceConnectorConfig
conf.define(CAMEL_SOURCE_KAFKAAZURESCHEMAREGISTRYSOURCE_KAMELET_VALUE_DESERIALIZER_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_KAFKAAZURESCHEMAREGISTRYSOURCE_KAMELET_VALUE_DESERIALIZER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_KAFKAAZURESCHEMAREGISTRYSOURCE_KAMELET_VALUE_DESERIALIZER_DOC);
conf.define(CAMEL_SOURCE_KAFKAAZURESCHEMAREGISTRYSOURCE_KAMELET_AZURE_REGISTRY_URL_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_KAFKAAZURESCHEMAREGISTRYSOURCE_KAMELET_AZURE_REGISTRY_URL_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_KAFKAAZURESCHEMAREGISTRYSOURCE_KAMELET_AZURE_REGISTRY_URL_DOC);
conf.define(CAMEL_SOURCE_KAFKAAZURESCHEMAREGISTRYSOURCE_KAMELET_SPECIFIC_AVRO_VALUE_TYPE_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_KAFKAAZURESCHEMAREGISTRYSOURCE_KAMELET_SPECIFIC_AVRO_VALUE_TYPE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_KAFKAAZURESCHEMAREGISTRYSOURCE_KAMELET_SPECIFIC_AVRO_VALUE_TYPE_DOC);
+ conf.define(CAMEL_SOURCE_KAFKAAZURESCHEMAREGISTRYSOURCE_KAMELET_TOPIC_IS_PATTERN_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_KAFKAAZURESCHEMAREGISTRYSOURCE_KAMELET_TOPIC_IS_PATTERN_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_KAFKAAZURESCHEMAREGISTRYSOURCE_KAMELET_TOPIC_IS_PATTERN_DOC);
return conf;
}
}
\ No newline at end of file
diff --git a/connectors/camel-kafka-azure-schema-registry-source-kafka-connector/src/main/resources/kamelets/kafka-azure-schema-registry-source.kamelet.yaml b/connectors/camel-kafka-azure-schema-registry-source-kafka-connector/src/main/resources/kamelets/kafka-azure-schema-registry-source.kamelet.yaml
index 5997cdb669..a150c98955 100644
--- a/connectors/camel-kafka-azure-schema-registry-source-kafka-connector/src/main/resources/kamelets/kafka-azure-schema-registry-source.kamelet.yaml
+++ b/connectors/camel-kafka-azure-schema-registry-source-kafka-connector/src/main/resources/kamelets/kafka-azure-schema-registry-source.kamelet.yaml
@@ -20,7 +20,7 @@ metadata:
name: kafka-azure-schema-registry-source
annotations:
camel.apache.org/kamelet.support.level: "Preview"
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxOS4wLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iTGF5ZXJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiDQoJIHZpZXdCb3g9IjAgMCA1MDAgNTAwIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA1MD [...]
camel.apache.org/provider: "Apache Software Foundation"
camel.apache.org/kamelet.group: "Kafka"
@@ -78,13 +78,11 @@ spec:
description: If true, periodically commit to ZooKeeper the offset of messages already fetched by the consumer
type: boolean
default: true
- x-descriptors:
allowManualCommit:
title: Allow Manual Commit
description: Whether to allow doing manual commits
type: boolean
default: false
- x-descriptors:
pollOnError:
title: Poll On Error Behavior
description: What to do if kafka threw an exception while polling for new messages. There are 5 enums and the value can be one of DISCARD, ERROR_HANDLER, RECONNECT, RETRY, STOP
@@ -109,7 +107,6 @@ spec:
title: Automatically Deserialize Headers
description: When enabled the Kamelet source will deserialize all message headers to String representation.
type: boolean
- x-descriptors:
default: true
valueDeserializer:
title: Value Deserializer
@@ -127,16 +124,21 @@ spec:
title: Specific Avro Value Type
description: The Specific Type Avro will have to deal with
type: string
- example: "com.example.Order"
+ example: "com.example.Order"
+ topicIsPattern:
+ title: Topic Is Pattern
+ description: Whether the topic is a pattern (regular expression). This can be used to subscribe to dynamic number of topics matching the pattern.
+ type: boolean
+ default: false
dependencies:
- - "mvn:org.apache.camel.kamelets:camel-kamelets-utils:4.3.0"
+ - "mvn:org.apache.camel.kamelets:camel-kamelets-utils:4.4.2"
- "camel:kafka"
- "camel:core"
- "camel:kamelet"
- "camel:azure-schema-registry"
- "mvn:com.microsoft.azure:azure-schemaregistry-kafka-avro:1.1.1"
- - "mvn:com.azure:azure-data-schemaregistry-apacheavro:1.1.11"
- - "mvn:com.azure:azure-identity:1.10.4"
+ - "mvn:com.azure:azure-data-schemaregistry-apacheavro:1.1.13"
+ - "mvn:com.azure:azure-identity:1.11.1"
template:
beans:
- name: defaultAzureCredential
@@ -158,6 +160,7 @@ spec:
autoOffsetReset: "{{autoOffsetReset}}"
groupId: "{{?consumerGroup}}"
valueDeserializer: "{{valueDeserializer}}"
+ topicIsPattern: "{{topicIsPattern}}"
additionalProperties.schema.registry.url: "{{azureRegistryUrl}}"
additionalProperties.schema.group: avro
additionalProperties.schema.registry.credential: '#bean:defaultAzureCredential'
diff --git a/connectors/camel-kafka-apicurio-registry-not-secured-source-kafka-connector/pom.xml b/connectors/camel-kafka-batch-apicurio-registry-not-secured-source-kafka-connector/pom.xml
similarity index 94%
copy from connectors/camel-kafka-apicurio-registry-not-secured-source-kafka-connector/pom.xml
copy to connectors/camel-kafka-batch-apicurio-registry-not-secured-source-kafka-connector/pom.xml
index 59185eb07b..76472722c8 100644
--- a/connectors/camel-kafka-apicurio-registry-not-secured-source-kafka-connector/pom.xml
+++ b/connectors/camel-kafka-batch-apicurio-registry-not-secured-source-kafka-connector/pom.xml
@@ -24,9 +24,9 @@
<artifactId>connectors</artifactId>
<version>4.4.2-SNAPSHOT</version>
</parent>
- <artifactId>camel-kafka-apicurio-registry-not-secured-source-kafka-connector</artifactId>
- <name>Camel-Kafka-Connector :: kafka-apicurio-registry-not-secured-source</name>
- <description>Camel Kafka Connector for kafka-apicurio-registry-not-secured-source</description>
+ <artifactId>camel-kafka-batch-apicurio-registry-not-secured-source-kafka-connector</artifactId>
+ <name>Camel-Kafka-Connector :: kafka-batch-apicurio-registry-not-secured-source</name>
+ <description>Camel Kafka Connector for kafka-batch-apicurio-registry-not-secured-source</description>
<dependencies>
<!-- Kafka -->
<dependency>
@@ -57,14 +57,14 @@
<groupId>org.apache.camel</groupId>
<artifactId>camel-yaml-dsl</artifactId>
</dependency>
- <dependency>
- <groupId>org.apache.camel</groupId>
- <artifactId>camel-kamelet</artifactId>
- </dependency>
<dependency>
<groupId>org.apache.camel.kamelets</groupId>
<artifactId>camel-kamelets-utils</artifactId>
- <version>4.3.0</version>
+ <version>4.4.2</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.camel</groupId>
+ <artifactId>camel-kamelet</artifactId>
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
diff --git a/connectors/camel-kafka-batch-apicurio-registry-not-secured-source-kafka-connector/src/generated/descriptors/connector-source.properties b/connectors/camel-kafka-batch-apicurio-registry-not-secured-source-kafka-connector/src/generated/descriptors/connector-source.properties
new file mode 100644
index 0000000000..0bc9260c51
--- /dev/null
+++ b/connectors/camel-kafka-batch-apicurio-registry-not-secured-source-kafka-connector/src/generated/descriptors/connector-source.properties
@@ -0,0 +1 @@
+camel-kafka-batch-apicurio-registry-not-secured-source-source
\ No newline at end of file
diff --git a/connectors/camel-kafka-batch-apicurio-registry-not-secured-source-kafka-connector/src/generated/resources/camel-kafka-batch-apicurio-registry-not-secured-source-source.json b/connectors/camel-kafka-batch-apicurio-registry-not-secured-source-kafka-connector/src/generated/resources/camel-kafka-batch-apicurio-registry-not-secured-source-source.json
new file mode 100644
index 0000000000..f2cf09d16e
--- /dev/null
+++ b/connectors/camel-kafka-batch-apicurio-registry-not-secured-source-kafka-connector/src/generated/resources/camel-kafka-batch-apicurio-registry-not-secured-source-source.json
@@ -0,0 +1,106 @@
+{
+ "connector": {
+ "class": "org.apache.camel.kafkaconnector.kafkabatchapicurioregistrynotsecuredsource.CamelKafkabatchapicurioregistrynotsecuredsourceSourceConnector",
+ "artifactId": "camel-kafka-batch-apicurio-registry-not-secured-source-kafka-connector",
+ "groupId": "org.apache.camel.kafkaconnector",
+ "id": "camel-kafka-batch-apicurio-registry-not-secured-source-source",
+ "type": "source",
+ "version": "4.4.2-SNAPSHOT",
+ "description": "Receive data from Kafka topics in batch on an insecure broker combined with Apicurio Registry and commit them manually through KafkaManualCommit or auto commit."
+ },
+ "properties": {
+ "camel.kamelet.kafka-batch-apicurio-registry-not-secured-source.topic": {
+ "name": "camel.kamelet.kafka-batch-apicurio-registry-not-secured-source.topic",
+ "description": "Comma separated list of Kafka topic names",
+ "priority": "HIGH",
+ "required": "true"
+ },
+ "camel.kamelet.kafka-batch-apicurio-registry-not-secured-source.bootstrapServers": {
+ "name": "camel.kamelet.kafka-batch-apicurio-registry-not-secured-source.bootstrapServers",
+ "description": "Comma separated list of Kafka Broker URLs",
+ "priority": "HIGH",
+ "required": "true"
+ },
+ "camel.kamelet.kafka-batch-apicurio-registry-not-secured-source.autoCommitEnable": {
+ "name": "camel.kamelet.kafka-batch-apicurio-registry-not-secured-source.autoCommitEnable",
+ "description": "If true, periodically commit to ZooKeeper the offset of messages already fetched by the consumer",
+ "defaultValue": "true",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
+ "camel.kamelet.kafka-batch-apicurio-registry-not-secured-source.allowManualCommit": {
+ "name": "camel.kamelet.kafka-batch-apicurio-registry-not-secured-source.allowManualCommit",
+ "description": "Whether to allow doing manual commits",
+ "defaultValue": "false",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
+ "camel.kamelet.kafka-batch-apicurio-registry-not-secured-source.pollOnError": {
+ "name": "camel.kamelet.kafka-batch-apicurio-registry-not-secured-source.pollOnError",
+ "description": "What to do if kafka threw an exception while polling for new messages. There are 5 enums and the value can be one of DISCARD, ERROR_HANDLER, RECONNECT, RETRY, STOP",
+ "defaultValue": "\"ERROR_HANDLER\"",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
+ "camel.kamelet.kafka-batch-apicurio-registry-not-secured-source.autoOffsetReset": {
+ "name": "camel.kamelet.kafka-batch-apicurio-registry-not-secured-source.autoOffsetReset",
+ "description": "What to do when there is no initial offset. There are 3 enums and the value can be one of latest, earliest, none",
+ "defaultValue": "\"latest\"",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
+ "camel.kamelet.kafka-batch-apicurio-registry-not-secured-source.consumerGroup": {
+ "name": "camel.kamelet.kafka-batch-apicurio-registry-not-secured-source.consumerGroup",
+ "description": "A string that uniquely identifies the group of consumers to which this source belongs Example: my-group-id",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
+ "camel.kamelet.kafka-batch-apicurio-registry-not-secured-source.deserializeHeaders": {
+ "name": "camel.kamelet.kafka-batch-apicurio-registry-not-secured-source.deserializeHeaders",
+ "description": "When enabled the Kamelet source will deserialize all message headers to String representation.",
+ "defaultValue": "true",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
+ "camel.kamelet.kafka-batch-apicurio-registry-not-secured-source.valueDeserializer": {
+ "name": "camel.kamelet.kafka-batch-apicurio-registry-not-secured-source.valueDeserializer",
+ "description": "Deserializer class for value that implements the Deserializer interface.",
+ "defaultValue": "\"io.apicurio.registry.serde.avro.AvroKafkaDeserializer\"",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
+ "camel.kamelet.kafka-batch-apicurio-registry-not-secured-source.apicurioRegistryUrl": {
+ "name": "camel.kamelet.kafka-batch-apicurio-registry-not-secured-source.apicurioRegistryUrl",
+ "description": "The Apicurio Schema Registry URL",
+ "priority": "HIGH",
+ "required": "true"
+ },
+ "camel.kamelet.kafka-batch-apicurio-registry-not-secured-source.avroDatumProvider": {
+ "name": "camel.kamelet.kafka-batch-apicurio-registry-not-secured-source.avroDatumProvider",
+ "description": "How to read data with Avro",
+ "defaultValue": "\"io.apicurio.registry.serde.avro.ReflectAvroDatumProvider\"",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
+ "camel.kamelet.kafka-batch-apicurio-registry-not-secured-source.batchSize": {
+ "name": "camel.kamelet.kafka-batch-apicurio-registry-not-secured-source.batchSize",
+ "description": "The maximum number of records returned in a single call to poll()",
+ "defaultValue": "500",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
+ "camel.kamelet.kafka-batch-apicurio-registry-not-secured-source.pollTimeout": {
+ "name": "camel.kamelet.kafka-batch-apicurio-registry-not-secured-source.pollTimeout",
+ "description": "The timeout used when polling the KafkaConsumer",
+ "defaultValue": "5000",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
+ "camel.kamelet.kafka-batch-apicurio-registry-not-secured-source.maxPollIntervalMs": {
+ "name": "camel.kamelet.kafka-batch-apicurio-registry-not-secured-source.maxPollIntervalMs",
+ "description": "The maximum delay between invocations of poll() when using consumer group management",
+ "priority": "MEDIUM",
+ "required": "false"
+ }
+ }
+}
diff --git a/connectors/camel-hdfs-kafka-connector/src/main/assembly/package.xml b/connectors/camel-kafka-batch-apicurio-registry-not-secured-source-kafka-connector/src/main/assembly/package.xml
similarity index 100%
copy from connectors/camel-hdfs-kafka-connector/src/main/assembly/package.xml
copy to connectors/camel-kafka-batch-apicurio-registry-not-secured-source-kafka-connector/src/main/assembly/package.xml
diff --git a/connectors/camel-hdfs-kafka-connector/src/main/docs/examples/CamelHdfsSourceConnector.properties b/connectors/camel-kafka-batch-apicurio-registry-not-secured-source-kafka-connector/src/main/docs/examples/CamelKafkabatchapicurioregistrynotsecuredsourceSourceConnector.properties
similarity index 69%
copy from connectors/camel-hdfs-kafka-connector/src/main/docs/examples/CamelHdfsSourceConnector.properties
copy to connectors/camel-kafka-batch-apicurio-registry-not-secured-source-kafka-connector/src/main/docs/examples/CamelKafkabatchapicurioregistrynotsecuredsourceSourceConnector.properties
index 396d21efb2..c5ae012295 100644
--- a/connectors/camel-hdfs-kafka-connector/src/main/docs/examples/CamelHdfsSourceConnector.properties
+++ b/connectors/camel-kafka-batch-apicurio-registry-not-secured-source-kafka-connector/src/main/docs/examples/CamelKafkabatchapicurioregistrynotsecuredsourceSourceConnector.properties
@@ -15,8 +15,8 @@
## limitations under the License.
## ---------------------------------------------------------------------------
-name=CamelHdfsSourceConnector
-connector.class=org.apache.camel.kafkaconnector.hdfs.CamelHdfsSourceConnector
+name=CamelKafka-batch-apicurio-registry-not-secured-sourceSourceConnector
+connector.class=org.apache.camel.kafkaconnector.kafkabatchapicurioregistrynotsecuredsource.CamelKafkabatchapicurioregistrynotsecuredsourceSourceConnector
tasks.max=1
# use the kafka converters that better suit your needs, these are just defaults:
@@ -28,7 +28,9 @@ topics=
# mandatory properties (for a complete properties list see the connector documentation):
-# HDFS host to use
-camel.source.path.hostName=
-# The directory path to use
-camel.source.path.path=
+# The Apicurio Schema Registry URL
+camel.kamelet.kafka-batch-apicurio-registry-not-secured-source.apicurioRegistryUrl=
+# Comma separated list of Kafka Broker URLs
+camel.kamelet.kafka-batch-apicurio-registry-not-secured-source.bootstrapServers=
+# Comma separated list of Kafka topic names
+camel.kamelet.kafka-batch-apicurio-registry-not-secured-source.topic=
diff --git a/connectors/camel-hdfs-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/hdfs/CamelHdfsSourceConnector.java b/connectors/camel-kafka-batch-apicurio-registry-not-secured-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/kafkabatchapicurioregistrynotsecuredsource/CamelKafkabatchapicurioregistrynotsecuredsourceSourceConnector.java
similarity index 76%
copy from connectors/camel-hdfs-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/hdfs/CamelHdfsSourceConnector.java
copy to connectors/camel-kafka-batch-apicurio-registry-not-secured-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/kafkabatchapicurioregistrynotsecuredsource/CamelKafkabatchapicurioregistrynotsecuredsourceSourceConnector.java
index 984240cb29..3f2fc76bdb 100644
--- a/connectors/camel-hdfs-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/hdfs/CamelHdfsSourceConnector.java
+++ b/connectors/camel-kafka-batch-apicurio-registry-not-secured-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/kafkabatchapicurioregistrynotsecuredsource/CamelKafkabatchapicurioregistrynotsecuredsourceSourceConnector.java
@@ -13,7 +13,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- */package org.apache.camel.kafkaconnector.hdfs;
+ */package org.apache.camel.kafkaconnector.kafkabatchapicurioregistrynotsecuredsource;
import javax.annotation.Generated;
import org.apache.camel.kafkaconnector.CamelSourceConnector;
@@ -21,14 +21,16 @@ import org.apache.kafka.common.config.ConfigDef;
import org.apache.kafka.connect.connector.Task;
@Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.")
-public class CamelHdfsSourceConnector extends CamelSourceConnector {
+public class CamelKafkabatchapicurioregistrynotsecuredsourceSourceConnector
+ extends
+ CamelSourceConnector {
@Override
public ConfigDef config() {
- return CamelHdfsSourceConnectorConfig.conf();
+ return CamelKafkabatchapicurioregistrynotsecuredsourceSourceConnectorConfig.conf();
}
@Override
public Class<? extends Task> taskClass() {
- return CamelHdfsSourceTask.class;
+ return CamelKafkabatchapicurioregistrynotsecuredsourceSourceTask.class;
}
}
\ No newline at end of file
diff --git a/connectors/camel-kafka-batch-apicurio-registry-not-secured-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/kafkabatchapicurioregistrynotsecuredsource/CamelKafkabatchapicurioregistrynotsecuredsourceSourceConnectorConfig.java b/connectors/camel-kafka-batch-apicurio-registry-not-secured-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/kafkabatchapicurioregistrynotsecuredsource/CamelKafkabatchapicurioregistrynotsecuredsourceSourceConnector [...]
new file mode 100644
index 0000000000..1ba357251b
--- /dev/null
+++ b/connectors/camel-kafka-batch-apicurio-registry-not-secured-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/kafkabatchapicurioregistrynotsecuredsource/CamelKafkabatchapicurioregistrynotsecuredsourceSourceConnectorConfig.java
@@ -0,0 +1,100 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */package org.apache.camel.kafkaconnector.kafkabatchapicurioregistrynotsecuredsource;
+
+import java.util.Map;
+import javax.annotation.Generated;
+import org.apache.camel.kafkaconnector.CamelSourceConnectorConfig;
+import org.apache.kafka.common.config.ConfigDef;
+
+@Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.")
+public class CamelKafkabatchapicurioregistrynotsecuredsourceSourceConnectorConfig
+ extends
+ CamelSourceConnectorConfig {
+
+ public static final String CAMEL_SOURCE_KAFKABATCHAPICURIOREGISTRYNOTSECUREDSOURCE_KAMELET_TOPIC_CONF = "camel.kamelet.kafka-batch-apicurio-registry-not-secured-source.topic";
+ public static final String CAMEL_SOURCE_KAFKABATCHAPICURIOREGISTRYNOTSECUREDSOURCE_KAMELET_TOPIC_DOC = "Comma separated list of Kafka topic names";
+ public static final String CAMEL_SOURCE_KAFKABATCHAPICURIOREGISTRYNOTSECUREDSOURCE_KAMELET_TOPIC_DEFAULT = null;
+ public static final String CAMEL_SOURCE_KAFKABATCHAPICURIOREGISTRYNOTSECUREDSOURCE_KAMELET_BOOTSTRAP_SERVERS_CONF = "camel.kamelet.kafka-batch-apicurio-registry-not-secured-source.bootstrapServers";
+ public static final String CAMEL_SOURCE_KAFKABATCHAPICURIOREGISTRYNOTSECUREDSOURCE_KAMELET_BOOTSTRAP_SERVERS_DOC = "Comma separated list of Kafka Broker URLs";
+ public static final String CAMEL_SOURCE_KAFKABATCHAPICURIOREGISTRYNOTSECUREDSOURCE_KAMELET_BOOTSTRAP_SERVERS_DEFAULT = null;
+ public static final String CAMEL_SOURCE_KAFKABATCHAPICURIOREGISTRYNOTSECUREDSOURCE_KAMELET_AUTO_COMMIT_ENABLE_CONF = "camel.kamelet.kafka-batch-apicurio-registry-not-secured-source.autoCommitEnable";
+ public static final String CAMEL_SOURCE_KAFKABATCHAPICURIOREGISTRYNOTSECUREDSOURCE_KAMELET_AUTO_COMMIT_ENABLE_DOC = "If true, periodically commit to ZooKeeper the offset of messages already fetched by the consumer";
+ public static final Boolean CAMEL_SOURCE_KAFKABATCHAPICURIOREGISTRYNOTSECUREDSOURCE_KAMELET_AUTO_COMMIT_ENABLE_DEFAULT = true;
+ public static final String CAMEL_SOURCE_KAFKABATCHAPICURIOREGISTRYNOTSECUREDSOURCE_KAMELET_ALLOW_MANUAL_COMMIT_CONF = "camel.kamelet.kafka-batch-apicurio-registry-not-secured-source.allowManualCommit";
+ public static final String CAMEL_SOURCE_KAFKABATCHAPICURIOREGISTRYNOTSECUREDSOURCE_KAMELET_ALLOW_MANUAL_COMMIT_DOC = "Whether to allow doing manual commits";
+ public static final Boolean CAMEL_SOURCE_KAFKABATCHAPICURIOREGISTRYNOTSECUREDSOURCE_KAMELET_ALLOW_MANUAL_COMMIT_DEFAULT = false;
+ public static final String CAMEL_SOURCE_KAFKABATCHAPICURIOREGISTRYNOTSECUREDSOURCE_KAMELET_POLL_ON_ERROR_CONF = "camel.kamelet.kafka-batch-apicurio-registry-not-secured-source.pollOnError";
+ public static final String CAMEL_SOURCE_KAFKABATCHAPICURIOREGISTRYNOTSECUREDSOURCE_KAMELET_POLL_ON_ERROR_DOC = "What to do if kafka threw an exception while polling for new messages. There are 5 enums and the value can be one of DISCARD, ERROR_HANDLER, RECONNECT, RETRY, STOP";
+ public static final String CAMEL_SOURCE_KAFKABATCHAPICURIOREGISTRYNOTSECUREDSOURCE_KAMELET_POLL_ON_ERROR_DEFAULT = "ERROR_HANDLER";
+ public static final String CAMEL_SOURCE_KAFKABATCHAPICURIOREGISTRYNOTSECUREDSOURCE_KAMELET_AUTO_OFFSET_RESET_CONF = "camel.kamelet.kafka-batch-apicurio-registry-not-secured-source.autoOffsetReset";
+ public static final String CAMEL_SOURCE_KAFKABATCHAPICURIOREGISTRYNOTSECUREDSOURCE_KAMELET_AUTO_OFFSET_RESET_DOC = "What to do when there is no initial offset. There are 3 enums and the value can be one of latest, earliest, none";
+ public static final String CAMEL_SOURCE_KAFKABATCHAPICURIOREGISTRYNOTSECUREDSOURCE_KAMELET_AUTO_OFFSET_RESET_DEFAULT = "latest";
+ public static final String CAMEL_SOURCE_KAFKABATCHAPICURIOREGISTRYNOTSECUREDSOURCE_KAMELET_CONSUMER_GROUP_CONF = "camel.kamelet.kafka-batch-apicurio-registry-not-secured-source.consumerGroup";
+ public static final String CAMEL_SOURCE_KAFKABATCHAPICURIOREGISTRYNOTSECUREDSOURCE_KAMELET_CONSUMER_GROUP_DOC = "A string that uniquely identifies the group of consumers to which this source belongs Example: my-group-id";
+ public static final String CAMEL_SOURCE_KAFKABATCHAPICURIOREGISTRYNOTSECUREDSOURCE_KAMELET_CONSUMER_GROUP_DEFAULT = null;
+ public static final String CAMEL_SOURCE_KAFKABATCHAPICURIOREGISTRYNOTSECUREDSOURCE_KAMELET_DESERIALIZE_HEADERS_CONF = "camel.kamelet.kafka-batch-apicurio-registry-not-secured-source.deserializeHeaders";
+ public static final String CAMEL_SOURCE_KAFKABATCHAPICURIOREGISTRYNOTSECUREDSOURCE_KAMELET_DESERIALIZE_HEADERS_DOC = "When enabled the Kamelet source will deserialize all message headers to String representation.";
+ public static final Boolean CAMEL_SOURCE_KAFKABATCHAPICURIOREGISTRYNOTSECUREDSOURCE_KAMELET_DESERIALIZE_HEADERS_DEFAULT = true;
+ public static final String CAMEL_SOURCE_KAFKABATCHAPICURIOREGISTRYNOTSECUREDSOURCE_KAMELET_VALUE_DESERIALIZER_CONF = "camel.kamelet.kafka-batch-apicurio-registry-not-secured-source.valueDeserializer";
+ public static final String CAMEL_SOURCE_KAFKABATCHAPICURIOREGISTRYNOTSECUREDSOURCE_KAMELET_VALUE_DESERIALIZER_DOC = "Deserializer class for value that implements the Deserializer interface.";
+ public static final String CAMEL_SOURCE_KAFKABATCHAPICURIOREGISTRYNOTSECUREDSOURCE_KAMELET_VALUE_DESERIALIZER_DEFAULT = "io.apicurio.registry.serde.avro.AvroKafkaDeserializer";
+ public static final String CAMEL_SOURCE_KAFKABATCHAPICURIOREGISTRYNOTSECUREDSOURCE_KAMELET_APICURIO_REGISTRY_URL_CONF = "camel.kamelet.kafka-batch-apicurio-registry-not-secured-source.apicurioRegistryUrl";
+ public static final String CAMEL_SOURCE_KAFKABATCHAPICURIOREGISTRYNOTSECUREDSOURCE_KAMELET_APICURIO_REGISTRY_URL_DOC = "The Apicurio Schema Registry URL";
+ public static final String CAMEL_SOURCE_KAFKABATCHAPICURIOREGISTRYNOTSECUREDSOURCE_KAMELET_APICURIO_REGISTRY_URL_DEFAULT = null;
+ public static final String CAMEL_SOURCE_KAFKABATCHAPICURIOREGISTRYNOTSECUREDSOURCE_KAMELET_AVRO_DATUM_PROVIDER_CONF = "camel.kamelet.kafka-batch-apicurio-registry-not-secured-source.avroDatumProvider";
+ public static final String CAMEL_SOURCE_KAFKABATCHAPICURIOREGISTRYNOTSECUREDSOURCE_KAMELET_AVRO_DATUM_PROVIDER_DOC = "How to read data with Avro";
+ public static final String CAMEL_SOURCE_KAFKABATCHAPICURIOREGISTRYNOTSECUREDSOURCE_KAMELET_AVRO_DATUM_PROVIDER_DEFAULT = "io.apicurio.registry.serde.avro.ReflectAvroDatumProvider";
+ public static final String CAMEL_SOURCE_KAFKABATCHAPICURIOREGISTRYNOTSECUREDSOURCE_KAMELET_BATCH_SIZE_CONF = "camel.kamelet.kafka-batch-apicurio-registry-not-secured-source.batchSize";
+ public static final String CAMEL_SOURCE_KAFKABATCHAPICURIOREGISTRYNOTSECUREDSOURCE_KAMELET_BATCH_SIZE_DOC = "The maximum number of records returned in a single call to poll()";
+ public static final Integer CAMEL_SOURCE_KAFKABATCHAPICURIOREGISTRYNOTSECUREDSOURCE_KAMELET_BATCH_SIZE_DEFAULT = 500;
+ public static final String CAMEL_SOURCE_KAFKABATCHAPICURIOREGISTRYNOTSECUREDSOURCE_KAMELET_POLL_TIMEOUT_CONF = "camel.kamelet.kafka-batch-apicurio-registry-not-secured-source.pollTimeout";
+ public static final String CAMEL_SOURCE_KAFKABATCHAPICURIOREGISTRYNOTSECUREDSOURCE_KAMELET_POLL_TIMEOUT_DOC = "The timeout used when polling the KafkaConsumer";
+ public static final Integer CAMEL_SOURCE_KAFKABATCHAPICURIOREGISTRYNOTSECUREDSOURCE_KAMELET_POLL_TIMEOUT_DEFAULT = 5000;
+ public static final String CAMEL_SOURCE_KAFKABATCHAPICURIOREGISTRYNOTSECUREDSOURCE_KAMELET_MAX_POLL_INTERVAL_MS_CONF = "camel.kamelet.kafka-batch-apicurio-registry-not-secured-source.maxPollIntervalMs";
+ public static final String CAMEL_SOURCE_KAFKABATCHAPICURIOREGISTRYNOTSECUREDSOURCE_KAMELET_MAX_POLL_INTERVAL_MS_DOC = "The maximum delay between invocations of poll() when using consumer group management";
+ public static final Integer CAMEL_SOURCE_KAFKABATCHAPICURIOREGISTRYNOTSECUREDSOURCE_KAMELET_MAX_POLL_INTERVAL_MS_DEFAULT = null;
+
+ public CamelKafkabatchapicurioregistrynotsecuredsourceSourceConnectorConfig(
+ ConfigDef config,
+ Map<String, String> parsedConfig) {
+ super(config, parsedConfig);
+ }
+
+ public CamelKafkabatchapicurioregistrynotsecuredsourceSourceConnectorConfig(
+ Map<String, String> parsedConfig) {
+ this(conf(), parsedConfig);
+ }
+
+ public static ConfigDef conf() {
+ ConfigDef conf = new ConfigDef(CamelSourceConnectorConfig.conf());
+ conf.define(CAMEL_SOURCE_KAFKABATCHAPICURIOREGISTRYNOTSECUREDSOURCE_KAMELET_TOPIC_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_KAFKABATCHAPICURIOREGISTRYNOTSECUREDSOURCE_KAMELET_TOPIC_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_KAFKABATCHAPICURIOREGISTRYNOTSECUREDSOURCE_KAMELET_TOPIC_DOC);
+ conf.define(CAMEL_SOURCE_KAFKABATCHAPICURIOREGISTRYNOTSECUREDSOURCE_KAMELET_BOOTSTRAP_SERVERS_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_KAFKABATCHAPICURIOREGISTRYNOTSECUREDSOURCE_KAMELET_BOOTSTRAP_SERVERS_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_KAFKABATCHAPICURIOREGISTRYNOTSECUREDSOURCE_KAMELET_BOOTSTRAP_SERVERS_DOC);
+ conf.define(CAMEL_SOURCE_KAFKABATCHAPICURIOREGISTRYNOTSECUREDSOURCE_KAMELET_AUTO_COMMIT_ENABLE_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_KAFKABATCHAPICURIOREGISTRYNOTSECUREDSOURCE_KAMELET_AUTO_COMMIT_ENABLE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_KAFKABATCHAPICURIOREGISTRYNOTSECUREDSOURCE_KAMELET_AUTO_COMMIT_ENABLE_DOC);
+ conf.define(CAMEL_SOURCE_KAFKABATCHAPICURIOREGISTRYNOTSECUREDSOURCE_KAMELET_ALLOW_MANUAL_COMMIT_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_KAFKABATCHAPICURIOREGISTRYNOTSECUREDSOURCE_KAMELET_ALLOW_MANUAL_COMMIT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_KAFKABATCHAPICURIOREGISTRYNOTSECUREDSOURCE_KAMELET_ALLOW_MANUAL_COMMIT_DOC);
+ conf.define(CAMEL_SOURCE_KAFKABATCHAPICURIOREGISTRYNOTSECUREDSOURCE_KAMELET_POLL_ON_ERROR_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_KAFKABATCHAPICURIOREGISTRYNOTSECUREDSOURCE_KAMELET_POLL_ON_ERROR_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_KAFKABATCHAPICURIOREGISTRYNOTSECUREDSOURCE_KAMELET_POLL_ON_ERROR_DOC);
+ conf.define(CAMEL_SOURCE_KAFKABATCHAPICURIOREGISTRYNOTSECUREDSOURCE_KAMELET_AUTO_OFFSET_RESET_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_KAFKABATCHAPICURIOREGISTRYNOTSECUREDSOURCE_KAMELET_AUTO_OFFSET_RESET_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_KAFKABATCHAPICURIOREGISTRYNOTSECUREDSOURCE_KAMELET_AUTO_OFFSET_RESET_DOC);
+ conf.define(CAMEL_SOURCE_KAFKABATCHAPICURIOREGISTRYNOTSECUREDSOURCE_KAMELET_CONSUMER_GROUP_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_KAFKABATCHAPICURIOREGISTRYNOTSECUREDSOURCE_KAMELET_CONSUMER_GROUP_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_KAFKABATCHAPICURIOREGISTRYNOTSECUREDSOURCE_KAMELET_CONSUMER_GROUP_DOC);
+ conf.define(CAMEL_SOURCE_KAFKABATCHAPICURIOREGISTRYNOTSECUREDSOURCE_KAMELET_DESERIALIZE_HEADERS_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_KAFKABATCHAPICURIOREGISTRYNOTSECUREDSOURCE_KAMELET_DESERIALIZE_HEADERS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_KAFKABATCHAPICURIOREGISTRYNOTSECUREDSOURCE_KAMELET_DESERIALIZE_HEADERS_DOC);
+ conf.define(CAMEL_SOURCE_KAFKABATCHAPICURIOREGISTRYNOTSECUREDSOURCE_KAMELET_VALUE_DESERIALIZER_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_KAFKABATCHAPICURIOREGISTRYNOTSECUREDSOURCE_KAMELET_VALUE_DESERIALIZER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_KAFKABATCHAPICURIOREGISTRYNOTSECUREDSOURCE_KAMELET_VALUE_DESERIALIZER_DOC);
+ conf.define(CAMEL_SOURCE_KAFKABATCHAPICURIOREGISTRYNOTSECUREDSOURCE_KAMELET_APICURIO_REGISTRY_URL_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_KAFKABATCHAPICURIOREGISTRYNOTSECUREDSOURCE_KAMELET_APICURIO_REGISTRY_URL_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_KAFKABATCHAPICURIOREGISTRYNOTSECUREDSOURCE_KAMELET_APICURIO_REGISTRY_URL_DOC);
+ conf.define(CAMEL_SOURCE_KAFKABATCHAPICURIOREGISTRYNOTSECUREDSOURCE_KAMELET_AVRO_DATUM_PROVIDER_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_KAFKABATCHAPICURIOREGISTRYNOTSECUREDSOURCE_KAMELET_AVRO_DATUM_PROVIDER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_KAFKABATCHAPICURIOREGISTRYNOTSECUREDSOURCE_KAMELET_AVRO_DATUM_PROVIDER_DOC);
+ conf.define(CAMEL_SOURCE_KAFKABATCHAPICURIOREGISTRYNOTSECUREDSOURCE_KAMELET_BATCH_SIZE_CONF, ConfigDef.Type.INT, CAMEL_SOURCE_KAFKABATCHAPICURIOREGISTRYNOTSECUREDSOURCE_KAMELET_BATCH_SIZE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_KAFKABATCHAPICURIOREGISTRYNOTSECUREDSOURCE_KAMELET_BATCH_SIZE_DOC);
+ conf.define(CAMEL_SOURCE_KAFKABATCHAPICURIOREGISTRYNOTSECUREDSOURCE_KAMELET_POLL_TIMEOUT_CONF, ConfigDef.Type.INT, CAMEL_SOURCE_KAFKABATCHAPICURIOREGISTRYNOTSECUREDSOURCE_KAMELET_POLL_TIMEOUT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_KAFKABATCHAPICURIOREGISTRYNOTSECUREDSOURCE_KAMELET_POLL_TIMEOUT_DOC);
+ conf.define(CAMEL_SOURCE_KAFKABATCHAPICURIOREGISTRYNOTSECUREDSOURCE_KAMELET_MAX_POLL_INTERVAL_MS_CONF, ConfigDef.Type.INT, CAMEL_SOURCE_KAFKABATCHAPICURIOREGISTRYNOTSECUREDSOURCE_KAMELET_MAX_POLL_INTERVAL_MS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_KAFKABATCHAPICURIOREGISTRYNOTSECUREDSOURCE_KAMELET_MAX_POLL_INTERVAL_MS_DOC);
+ return conf;
+ }
+}
\ No newline at end of file
diff --git a/connectors/camel-hdfs-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/hdfs/CamelHdfsSourceTask.java b/connectors/camel-kafka-batch-apicurio-registry-not-secured-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/kafkabatchapicurioregistrynotsecuredsource/CamelKafkabatchapicurioregistrynotsecuredsourceSourceTask.java
similarity index 75%
copy from connectors/camel-hdfs-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/hdfs/CamelHdfsSourceTask.java
copy to connectors/camel-kafka-batch-apicurio-registry-not-secured-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/kafkabatchapicurioregistrynotsecuredsource/CamelKafkabatchapicurioregistrynotsecuredsourceSourceTask.java
index 187e333f08..de45696f8e 100644
--- a/connectors/camel-hdfs-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/hdfs/CamelHdfsSourceTask.java
+++ b/connectors/camel-kafka-batch-apicurio-registry-not-secured-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/kafkabatchapicurioregistrynotsecuredsource/CamelKafkabatchapicurioregistrynotsecuredsourceSourceTask.java
@@ -13,7 +13,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- */package org.apache.camel.kafkaconnector.hdfs;
+ */package org.apache.camel.kafkaconnector.kafkabatchapicurioregistrynotsecuredsource;
import java.util.HashMap;
import java.util.Map;
@@ -22,17 +22,17 @@ import org.apache.camel.kafkaconnector.CamelSourceConnectorConfig;
import org.apache.camel.kafkaconnector.CamelSourceTask;
@Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.")
-public class CamelHdfsSourceTask extends CamelSourceTask {
+public class CamelKafkabatchapicurioregistrynotsecuredsourceSourceTask
+ extends
+ CamelSourceTask {
@Override
protected CamelSourceConnectorConfig getCamelSourceConnectorConfig(
Map<String, String> props) {
- return new CamelHdfsSourceConnectorConfig(props);
+ return new CamelKafkabatchapicurioregistrynotsecuredsourceSourceConnectorConfig(props);
}
@Override
- protected Map<String, String> getDefaultConfig() {
- return new HashMap<String, String>() {{
- put(CamelSourceConnectorConfig.CAMEL_SOURCE_COMPONENT_CONF, "hdfs");
- }};
+ protected String getSourceKamelet() {
+ return "kamelet:kafka-batch-apicurio-registry-not-secured-source";
}
}
\ No newline at end of file
diff --git a/connectors/camel-hdfs-kafka-connector/src/main/resources/META-INF/LICENSE.txt b/connectors/camel-kafka-batch-apicurio-registry-not-secured-source-kafka-connector/src/main/resources/META-INF/LICENSE.txt
similarity index 100%
copy from connectors/camel-hdfs-kafka-connector/src/main/resources/META-INF/LICENSE.txt
copy to connectors/camel-kafka-batch-apicurio-registry-not-secured-source-kafka-connector/src/main/resources/META-INF/LICENSE.txt
diff --git a/connectors/camel-hdfs-kafka-connector/src/main/resources/META-INF/NOTICE.txt b/connectors/camel-kafka-batch-apicurio-registry-not-secured-source-kafka-connector/src/main/resources/META-INF/NOTICE.txt
similarity index 100%
copy from connectors/camel-hdfs-kafka-connector/src/main/resources/META-INF/NOTICE.txt
copy to connectors/camel-kafka-batch-apicurio-registry-not-secured-source-kafka-connector/src/main/resources/META-INF/NOTICE.txt
diff --git a/connectors/camel-kafka-apicurio-registry-not-secured-source-kafka-connector/src/main/resources/kamelets/kafka-apicurio-registry-not-secured-source.kamelet.yaml b/connectors/camel-kafka-batch-apicurio-registry-not-secured-source-kafka-connector/src/main/resources/kamelets/kafka-batch-apicurio-registry-not-secured-source.kamelet.yaml
similarity index 85%
copy from connectors/camel-kafka-apicurio-registry-not-secured-source-kafka-connector/src/main/resources/kamelets/kafka-apicurio-registry-not-secured-source.kamelet.yaml
copy to connectors/camel-kafka-batch-apicurio-registry-not-secured-source-kafka-connector/src/main/resources/kamelets/kafka-batch-apicurio-registry-not-secured-source.kamelet.yaml
index 79c477fd26..7180f20c8b 100644
--- a/connectors/camel-kafka-apicurio-registry-not-secured-source-kafka-connector/src/main/resources/kamelets/kafka-apicurio-registry-not-secured-source.kamelet.yaml
+++ b/connectors/camel-kafka-batch-apicurio-registry-not-secured-source-kafka-connector/src/main/resources/kamelets/kafka-batch-apicurio-registry-not-secured-source.kamelet.yaml
@@ -17,10 +17,10 @@
apiVersion: camel.apache.org/v1
kind: Kamelet
metadata:
- name: kafka-apicurio-registry-not-secured-source
+ name: kafka-batch-apicurio-registry-not-secured-source
annotations:
camel.apache.org/kamelet.support.level: "Preview"
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxOS4wLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iTGF5ZXJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiDQoJIHZpZXdCb3g9IjAgMCA1MDAgNTAwIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA1MD [...]
camel.apache.org/provider: "Apache Software Foundation"
camel.apache.org/kamelet.group: "Kafka"
@@ -30,9 +30,9 @@ metadata:
camel.apache.org/kamelet.type: "source"
spec:
definition:
- title: "Kafka Not Secured with Apicurio Registry Source"
+ title: "Kafka Batch Not Secured with Apicurio Registry Source"
description: |-
- Receive data from Kafka topics on an insecure broker combined with Apicurio Registry.
+ Receive data from Kafka topics in batch on an insecure broker combined with Apicurio Registry and commit them manually through KafkaManualCommit or auto commit.
required:
- topic
- bootstrapServers
@@ -58,13 +58,11 @@ spec:
description: If true, periodically commit to ZooKeeper the offset of messages already fetched by the consumer
type: boolean
default: true
- x-descriptors:
allowManualCommit:
title: Allow Manual Commit
description: Whether to allow doing manual commits
type: boolean
default: false
- x-descriptors:
pollOnError:
title: Poll On Error Behavior
description: What to do if kafka threw an exception while polling for new messages. There are 5 enums and the value can be one of DISCARD, ERROR_HANDLER, RECONNECT, RETRY, STOP
@@ -89,7 +87,6 @@ spec:
title: Automatically Deserialize Headers
description: When enabled the Kamelet source will deserialize all message headers to String representation.
type: boolean
- x-descriptors:
default: true
valueDeserializer:
title: Value Deserializer
@@ -108,8 +105,22 @@ spec:
description: How to read data with Avro
type: string
default: "io.apicurio.registry.serde.avro.ReflectAvroDatumProvider"
+ batchSize:
+ title: Batch Dimension
+ description: The maximum number of records returned in a single call to poll()
+ type: int
+ default: 500
+ pollTimeout:
+ title: Poll Timeout Interval
+ description: The timeout used when polling the KafkaConsumer
+ type: int
+ default: 5000
+ maxPollIntervalMs:
+ title: Max Poll Interval
+ description: The maximum delay between invocations of poll() when using consumer group management
+ type: int
dependencies:
- - "mvn:org.apache.camel.kamelets:camel-kamelets-utils:4.3.0"
+ - "mvn:org.apache.camel.kamelets:camel-kamelets-utils:4.4.2"
- "camel:kafka"
- "camel:core"
- "camel:kamelet"
@@ -120,6 +131,8 @@ spec:
type: "#class:org.apache.camel.kamelets.utils.serialization.kafka.KafkaHeaderDeserializer"
properties:
enabled: '{{deserializeHeaders}}'
+ - name: manualCommitFactory
+ type: "#class:org.apache.camel.component.kafka.consumer.DefaultKafkaManualCommitFactory"
from:
uri: "kafka:{{topic}}"
parameters:
@@ -132,6 +145,11 @@ spec:
valueDeserializer: "{{valueDeserializer}}"
additionalProperties.apicurio.registry.url: "{{apicurioRegistryUrl}}"
additionalProperties.apicurio.registry.avro-datum-provider: "{{avroDatumProvider}}"
+ maxPollRecords: "{{batchSize}}"
+ pollTimeoutMs: "{{pollTimeout}}"
+ maxPollIntervalMs: "{{?maxPollIntervalMs}}"
+ batching: true
+ kafkaManualCommitFactory: "#bean:{{manualCommitFactory}}"
steps:
- process:
ref: "{{kafkaHeaderDeserializer}}"
diff --git a/connectors/camel-kafka-azure-schema-registry-source-kafka-connector/pom.xml b/connectors/camel-kafka-batch-azure-schema-registry-source-kafka-connector/pom.xml
similarity index 93%
copy from connectors/camel-kafka-azure-schema-registry-source-kafka-connector/pom.xml
copy to connectors/camel-kafka-batch-azure-schema-registry-source-kafka-connector/pom.xml
index 3bbd9bd9aa..839bc5152c 100644
--- a/connectors/camel-kafka-azure-schema-registry-source-kafka-connector/pom.xml
+++ b/connectors/camel-kafka-batch-azure-schema-registry-source-kafka-connector/pom.xml
@@ -24,9 +24,9 @@
<artifactId>connectors</artifactId>
<version>4.4.2-SNAPSHOT</version>
</parent>
- <artifactId>camel-kafka-azure-schema-registry-source-kafka-connector</artifactId>
- <name>Camel-Kafka-Connector :: kafka-azure-schema-registry-source</name>
- <description>Camel Kafka Connector for kafka-azure-schema-registry-source</description>
+ <artifactId>camel-kafka-batch-azure-schema-registry-source-kafka-connector</artifactId>
+ <name>Camel-Kafka-Connector :: kafka-batch-azure-schema-registry-source</name>
+ <description>Camel Kafka Connector for kafka-batch-azure-schema-registry-source</description>
<dependencies>
<!-- Kafka -->
<dependency>
@@ -46,13 +46,13 @@
<artifactId>camel-azure-schema-registry</artifactId>
</dependency>
<dependency>
- <groupId>org.apache.camel</groupId>
- <artifactId>camel-core</artifactId>
+ <groupId>com.azure</groupId>
+ <artifactId>azure-identity</artifactId>
+ <version>1.11.1</version>
</dependency>
<dependency>
- <groupId>com.azure</groupId>
- <artifactId>azure-data-schemaregistry-apacheavro</artifactId>
- <version>1.1.11</version>
+ <groupId>org.apache.camel</groupId>
+ <artifactId>camel-core</artifactId>
</dependency>
<dependency>
<groupId>org.apache.camel.kafkaconnector</groupId>
@@ -66,24 +66,24 @@
<groupId>org.apache.camel</groupId>
<artifactId>camel-yaml-dsl</artifactId>
</dependency>
+ <dependency>
+ <groupId>org.apache.camel.kamelets</groupId>
+ <artifactId>camel-kamelets-utils</artifactId>
+ <version>4.4.2</version>
+ </dependency>
<dependency>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-schemaregistry-kafka-avro</artifactId>
<version>1.1.1</version>
</dependency>
- <dependency>
- <groupId>com.azure</groupId>
- <artifactId>azure-identity</artifactId>
- <version>1.10.4</version>
- </dependency>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-kamelet</artifactId>
</dependency>
<dependency>
- <groupId>org.apache.camel.kamelets</groupId>
- <artifactId>camel-kamelets-utils</artifactId>
- <version>4.3.0</version>
+ <groupId>com.azure</groupId>
+ <artifactId>azure-data-schemaregistry-apacheavro</artifactId>
+ <version>1.1.13</version>
</dependency>
<!--END OF GENERATED CODE-->
</dependencies>
diff --git a/connectors/camel-kafka-batch-azure-schema-registry-source-kafka-connector/src/generated/descriptors/connector-source.properties b/connectors/camel-kafka-batch-azure-schema-registry-source-kafka-connector/src/generated/descriptors/connector-source.properties
new file mode 100644
index 0000000000..e204d3c120
--- /dev/null
+++ b/connectors/camel-kafka-batch-azure-schema-registry-source-kafka-connector/src/generated/descriptors/connector-source.properties
@@ -0,0 +1 @@
+camel-kafka-batch-azure-schema-registry-source-source
\ No newline at end of file
diff --git a/connectors/camel-kafka-batch-azure-schema-registry-source-kafka-connector/src/generated/resources/camel-kafka-batch-azure-schema-registry-source-source.json b/connectors/camel-kafka-batch-azure-schema-registry-source-kafka-connector/src/generated/resources/camel-kafka-batch-azure-schema-registry-source-source.json
new file mode 100644
index 0000000000..55f254dbe9
--- /dev/null
+++ b/connectors/camel-kafka-batch-azure-schema-registry-source-kafka-connector/src/generated/resources/camel-kafka-batch-azure-schema-registry-source-source.json
@@ -0,0 +1,125 @@
+{
+ "connector": {
+ "class": "org.apache.camel.kafkaconnector.kafkabatchazureschemaregistrysource.CamelKafkabatchazureschemaregistrysourceSourceConnector",
+ "artifactId": "camel-kafka-batch-azure-schema-registry-source-kafka-connector",
+ "groupId": "org.apache.camel.kafkaconnector",
+ "id": "camel-kafka-batch-azure-schema-registry-source-source",
+ "type": "source",
+ "version": "4.4.2-SNAPSHOT",
+ "description": "Receive data from Kafka topics in batch on Azure Eventhubs combined with Azure Schema Registry and commit them manually through KafkaManualCommit or auto commit."
+ },
+ "properties": {
+ "camel.kamelet.kafka-batch-azure-schema-registry-source.topic": {
+ "name": "camel.kamelet.kafka-batch-azure-schema-registry-source.topic",
+ "description": "Comma separated list of Kafka topic names",
+ "priority": "HIGH",
+ "required": "true"
+ },
+ "camel.kamelet.kafka-batch-azure-schema-registry-source.bootstrapServers": {
+ "name": "camel.kamelet.kafka-batch-azure-schema-registry-source.bootstrapServers",
+ "description": "Comma separated list of Kafka Broker URLs",
+ "priority": "HIGH",
+ "required": "true"
+ },
+ "camel.kamelet.kafka-batch-azure-schema-registry-source.securityProtocol": {
+ "name": "camel.kamelet.kafka-batch-azure-schema-registry-source.securityProtocol",
+ "description": "Protocol used to communicate with brokers. SASL_PLAINTEXT, PLAINTEXT, SASL_SSL and SSL are supported",
+ "defaultValue": "\"SASL_SSL\"",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
+ "camel.kamelet.kafka-batch-azure-schema-registry-source.saslMechanism": {
+ "name": "camel.kamelet.kafka-batch-azure-schema-registry-source.saslMechanism",
+ "description": "The Simple Authentication and Security Layer (SASL) Mechanism used.",
+ "defaultValue": "\"PLAIN\"",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
+ "camel.kamelet.kafka-batch-azure-schema-registry-source.password": {
+ "name": "camel.kamelet.kafka-batch-azure-schema-registry-source.password",
+ "description": "Password to authenticate to kafka",
+ "priority": "HIGH",
+ "required": "true"
+ },
+ "camel.kamelet.kafka-batch-azure-schema-registry-source.autoCommitEnable": {
+ "name": "camel.kamelet.kafka-batch-azure-schema-registry-source.autoCommitEnable",
+ "description": "If true, periodically commit to ZooKeeper the offset of messages already fetched by the consumer",
+ "defaultValue": "true",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
+ "camel.kamelet.kafka-batch-azure-schema-registry-source.allowManualCommit": {
+ "name": "camel.kamelet.kafka-batch-azure-schema-registry-source.allowManualCommit",
+ "description": "Whether to allow doing manual commits",
+ "defaultValue": "false",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
+ "camel.kamelet.kafka-batch-azure-schema-registry-source.pollOnError": {
+ "name": "camel.kamelet.kafka-batch-azure-schema-registry-source.pollOnError",
+ "description": "What to do if kafka threw an exception while polling for new messages. There are 5 enums and the value can be one of DISCARD, ERROR_HANDLER, RECONNECT, RETRY, STOP",
+ "defaultValue": "\"ERROR_HANDLER\"",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
+ "camel.kamelet.kafka-batch-azure-schema-registry-source.autoOffsetReset": {
+ "name": "camel.kamelet.kafka-batch-azure-schema-registry-source.autoOffsetReset",
+ "description": "What to do when there is no initial offset. There are 3 enums and the value can be one of latest, earliest, none",
+ "defaultValue": "\"latest\"",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
+ "camel.kamelet.kafka-batch-azure-schema-registry-source.consumerGroup": {
+ "name": "camel.kamelet.kafka-batch-azure-schema-registry-source.consumerGroup",
+ "description": "A string that uniquely identifies the group of consumers to which this source belongs Example: my-group-id",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
+ "camel.kamelet.kafka-batch-azure-schema-registry-source.deserializeHeaders": {
+ "name": "camel.kamelet.kafka-batch-azure-schema-registry-source.deserializeHeaders",
+ "description": "When enabled the Kamelet source will deserialize all message headers to String representation.",
+ "defaultValue": "true",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
+ "camel.kamelet.kafka-batch-azure-schema-registry-source.valueDeserializer": {
+ "name": "camel.kamelet.kafka-batch-azure-schema-registry-source.valueDeserializer",
+ "description": "Deserializer class for value that implements the Deserializer interface.",
+ "defaultValue": "\"com.microsoft.azure.schemaregistry.kafka.avro.KafkaAvroDeserializer\"",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
+ "camel.kamelet.kafka-batch-azure-schema-registry-source.azureRegistryUrl": {
+ "name": "camel.kamelet.kafka-batch-azure-schema-registry-source.azureRegistryUrl",
+ "description": "The Apicurio Schema Registry URL",
+ "priority": "HIGH",
+ "required": "true"
+ },
+ "camel.kamelet.kafka-batch-azure-schema-registry-source.specificAvroValueType": {
+ "name": "camel.kamelet.kafka-batch-azure-schema-registry-source.specificAvroValueType",
+ "description": "The Specific Type Avro will have to deal with Example: com.example.Order",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
+ "camel.kamelet.kafka-batch-azure-schema-registry-source.batchSize": {
+ "name": "camel.kamelet.kafka-batch-azure-schema-registry-source.batchSize",
+ "description": "The maximum number of records returned in a single call to poll()",
+ "defaultValue": "500",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
+ "camel.kamelet.kafka-batch-azure-schema-registry-source.pollTimeout": {
+ "name": "camel.kamelet.kafka-batch-azure-schema-registry-source.pollTimeout",
+ "description": "The timeout used when polling the KafkaConsumer",
+ "defaultValue": "5000",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
+ "camel.kamelet.kafka-batch-azure-schema-registry-source.maxPollIntervalMs": {
+ "name": "camel.kamelet.kafka-batch-azure-schema-registry-source.maxPollIntervalMs",
+ "description": "The maximum delay between invocations of poll() when using consumer group management",
+ "priority": "MEDIUM",
+ "required": "false"
+ }
+ }
+}
diff --git a/connectors/camel-hdfs-kafka-connector/src/main/assembly/package.xml b/connectors/camel-kafka-batch-azure-schema-registry-source-kafka-connector/src/main/assembly/package.xml
similarity index 100%
copy from connectors/camel-hdfs-kafka-connector/src/main/assembly/package.xml
copy to connectors/camel-kafka-batch-azure-schema-registry-source-kafka-connector/src/main/assembly/package.xml
diff --git a/connectors/camel-hdfs-kafka-connector/src/main/docs/examples/CamelHdfsSourceConnector.properties b/connectors/camel-kafka-batch-azure-schema-registry-source-kafka-connector/src/main/docs/examples/CamelKafkabatchazureschemaregistrysourceSourceConnector.properties
similarity index 67%
copy from connectors/camel-hdfs-kafka-connector/src/main/docs/examples/CamelHdfsSourceConnector.properties
copy to connectors/camel-kafka-batch-azure-schema-registry-source-kafka-connector/src/main/docs/examples/CamelKafkabatchazureschemaregistrysourceSourceConnector.properties
index 396d21efb2..bb44e15f36 100644
--- a/connectors/camel-hdfs-kafka-connector/src/main/docs/examples/CamelHdfsSourceConnector.properties
+++ b/connectors/camel-kafka-batch-azure-schema-registry-source-kafka-connector/src/main/docs/examples/CamelKafkabatchazureschemaregistrysourceSourceConnector.properties
@@ -15,8 +15,8 @@
## limitations under the License.
## ---------------------------------------------------------------------------
-name=CamelHdfsSourceConnector
-connector.class=org.apache.camel.kafkaconnector.hdfs.CamelHdfsSourceConnector
+name=CamelKafka-batch-azure-schema-registry-sourceSourceConnector
+connector.class=org.apache.camel.kafkaconnector.kafkabatchazureschemaregistrysource.CamelKafkabatchazureschemaregistrysourceSourceConnector
tasks.max=1
# use the kafka converters that better suit your needs, these are just defaults:
@@ -28,7 +28,11 @@ topics=
# mandatory properties (for a complete properties list see the connector documentation):
-# HDFS host to use
-camel.source.path.hostName=
-# The directory path to use
-camel.source.path.path=
+# The Apicurio Schema Registry URL
+camel.kamelet.kafka-batch-azure-schema-registry-source.azureRegistryUrl=
+# Comma separated list of Kafka Broker URLs
+camel.kamelet.kafka-batch-azure-schema-registry-source.bootstrapServers=
+# Password to authenticate to kafka
+camel.kamelet.kafka-batch-azure-schema-registry-source.password=
+# Comma separated list of Kafka topic names
+camel.kamelet.kafka-batch-azure-schema-registry-source.topic=
diff --git a/connectors/camel-hdfs-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/hdfs/CamelHdfsSourceConnector.java b/connectors/camel-kafka-batch-azure-schema-registry-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/kafkabatchazureschemaregistrysource/CamelKafkabatchazureschemaregistrysourceSourceConnector.java
similarity index 77%
copy from connectors/camel-hdfs-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/hdfs/CamelHdfsSourceConnector.java
copy to connectors/camel-kafka-batch-azure-schema-registry-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/kafkabatchazureschemaregistrysource/CamelKafkabatchazureschemaregistrysourceSourceConnector.java
index 984240cb29..cd59e0f69f 100644
--- a/connectors/camel-hdfs-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/hdfs/CamelHdfsSourceConnector.java
+++ b/connectors/camel-kafka-batch-azure-schema-registry-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/kafkabatchazureschemaregistrysource/CamelKafkabatchazureschemaregistrysourceSourceConnector.java
@@ -13,7 +13,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- */package org.apache.camel.kafkaconnector.hdfs;
+ */package org.apache.camel.kafkaconnector.kafkabatchazureschemaregistrysource;
import javax.annotation.Generated;
import org.apache.camel.kafkaconnector.CamelSourceConnector;
@@ -21,14 +21,16 @@ import org.apache.kafka.common.config.ConfigDef;
import org.apache.kafka.connect.connector.Task;
@Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.")
-public class CamelHdfsSourceConnector extends CamelSourceConnector {
+public class CamelKafkabatchazureschemaregistrysourceSourceConnector
+ extends
+ CamelSourceConnector {
@Override
public ConfigDef config() {
- return CamelHdfsSourceConnectorConfig.conf();
+ return CamelKafkabatchazureschemaregistrysourceSourceConnectorConfig.conf();
}
@Override
public Class<? extends Task> taskClass() {
- return CamelHdfsSourceTask.class;
+ return CamelKafkabatchazureschemaregistrysourceSourceTask.class;
}
}
\ No newline at end of file
diff --git a/connectors/camel-kafka-batch-azure-schema-registry-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/kafkabatchazureschemaregistrysource/CamelKafkabatchazureschemaregistrysourceSourceConnectorConfig.java b/connectors/camel-kafka-batch-azure-schema-registry-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/kafkabatchazureschemaregistrysource/CamelKafkabatchazureschemaregistrysourceSourceConnectorConfig.java
new file mode 100644
index 0000000000..5d42a0e925
--- /dev/null
+++ b/connectors/camel-kafka-batch-azure-schema-registry-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/kafkabatchazureschemaregistrysource/CamelKafkabatchazureschemaregistrysourceSourceConnectorConfig.java
@@ -0,0 +1,112 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */package org.apache.camel.kafkaconnector.kafkabatchazureschemaregistrysource;
+
+import java.util.Map;
+import javax.annotation.Generated;
+import org.apache.camel.kafkaconnector.CamelSourceConnectorConfig;
+import org.apache.kafka.common.config.ConfigDef;
+
+@Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.")
+public class CamelKafkabatchazureschemaregistrysourceSourceConnectorConfig
+ extends
+ CamelSourceConnectorConfig {
+
+ public static final String CAMEL_SOURCE_KAFKABATCHAZURESCHEMAREGISTRYSOURCE_KAMELET_TOPIC_CONF = "camel.kamelet.kafka-batch-azure-schema-registry-source.topic";
+ public static final String CAMEL_SOURCE_KAFKABATCHAZURESCHEMAREGISTRYSOURCE_KAMELET_TOPIC_DOC = "Comma separated list of Kafka topic names";
+ public static final String CAMEL_SOURCE_KAFKABATCHAZURESCHEMAREGISTRYSOURCE_KAMELET_TOPIC_DEFAULT = null;
+ public static final String CAMEL_SOURCE_KAFKABATCHAZURESCHEMAREGISTRYSOURCE_KAMELET_BOOTSTRAP_SERVERS_CONF = "camel.kamelet.kafka-batch-azure-schema-registry-source.bootstrapServers";
+ public static final String CAMEL_SOURCE_KAFKABATCHAZURESCHEMAREGISTRYSOURCE_KAMELET_BOOTSTRAP_SERVERS_DOC = "Comma separated list of Kafka Broker URLs";
+ public static final String CAMEL_SOURCE_KAFKABATCHAZURESCHEMAREGISTRYSOURCE_KAMELET_BOOTSTRAP_SERVERS_DEFAULT = null;
+ public static final String CAMEL_SOURCE_KAFKABATCHAZURESCHEMAREGISTRYSOURCE_KAMELET_SECURITY_PROTOCOL_CONF = "camel.kamelet.kafka-batch-azure-schema-registry-source.securityProtocol";
+ public static final String CAMEL_SOURCE_KAFKABATCHAZURESCHEMAREGISTRYSOURCE_KAMELET_SECURITY_PROTOCOL_DOC = "Protocol used to communicate with brokers. SASL_PLAINTEXT, PLAINTEXT, SASL_SSL and SSL are supported";
+ public static final String CAMEL_SOURCE_KAFKABATCHAZURESCHEMAREGISTRYSOURCE_KAMELET_SECURITY_PROTOCOL_DEFAULT = "SASL_SSL";
+ public static final String CAMEL_SOURCE_KAFKABATCHAZURESCHEMAREGISTRYSOURCE_KAMELET_SASL_MECHANISM_CONF = "camel.kamelet.kafka-batch-azure-schema-registry-source.saslMechanism";
+ public static final String CAMEL_SOURCE_KAFKABATCHAZURESCHEMAREGISTRYSOURCE_KAMELET_SASL_MECHANISM_DOC = "The Simple Authentication and Security Layer (SASL) Mechanism used.";
+ public static final String CAMEL_SOURCE_KAFKABATCHAZURESCHEMAREGISTRYSOURCE_KAMELET_SASL_MECHANISM_DEFAULT = "PLAIN";
+ public static final String CAMEL_SOURCE_KAFKABATCHAZURESCHEMAREGISTRYSOURCE_KAMELET_PASSWORD_CONF = "camel.kamelet.kafka-batch-azure-schema-registry-source.password";
+ public static final String CAMEL_SOURCE_KAFKABATCHAZURESCHEMAREGISTRYSOURCE_KAMELET_PASSWORD_DOC = "Password to authenticate to kafka";
+ public static final String CAMEL_SOURCE_KAFKABATCHAZURESCHEMAREGISTRYSOURCE_KAMELET_PASSWORD_DEFAULT = null;
+ public static final String CAMEL_SOURCE_KAFKABATCHAZURESCHEMAREGISTRYSOURCE_KAMELET_AUTO_COMMIT_ENABLE_CONF = "camel.kamelet.kafka-batch-azure-schema-registry-source.autoCommitEnable";
+ public static final String CAMEL_SOURCE_KAFKABATCHAZURESCHEMAREGISTRYSOURCE_KAMELET_AUTO_COMMIT_ENABLE_DOC = "If true, periodically commit to ZooKeeper the offset of messages already fetched by the consumer";
+ public static final Boolean CAMEL_SOURCE_KAFKABATCHAZURESCHEMAREGISTRYSOURCE_KAMELET_AUTO_COMMIT_ENABLE_DEFAULT = true;
+ public static final String CAMEL_SOURCE_KAFKABATCHAZURESCHEMAREGISTRYSOURCE_KAMELET_ALLOW_MANUAL_COMMIT_CONF = "camel.kamelet.kafka-batch-azure-schema-registry-source.allowManualCommit";
+ public static final String CAMEL_SOURCE_KAFKABATCHAZURESCHEMAREGISTRYSOURCE_KAMELET_ALLOW_MANUAL_COMMIT_DOC = "Whether to allow doing manual commits";
+ public static final Boolean CAMEL_SOURCE_KAFKABATCHAZURESCHEMAREGISTRYSOURCE_KAMELET_ALLOW_MANUAL_COMMIT_DEFAULT = false;
+ public static final String CAMEL_SOURCE_KAFKABATCHAZURESCHEMAREGISTRYSOURCE_KAMELET_POLL_ON_ERROR_CONF = "camel.kamelet.kafka-batch-azure-schema-registry-source.pollOnError";
+ public static final String CAMEL_SOURCE_KAFKABATCHAZURESCHEMAREGISTRYSOURCE_KAMELET_POLL_ON_ERROR_DOC = "What to do if kafka threw an exception while polling for new messages. There are 5 enums and the value can be one of DISCARD, ERROR_HANDLER, RECONNECT, RETRY, STOP";
+ public static final String CAMEL_SOURCE_KAFKABATCHAZURESCHEMAREGISTRYSOURCE_KAMELET_POLL_ON_ERROR_DEFAULT = "ERROR_HANDLER";
+ public static final String CAMEL_SOURCE_KAFKABATCHAZURESCHEMAREGISTRYSOURCE_KAMELET_AUTO_OFFSET_RESET_CONF = "camel.kamelet.kafka-batch-azure-schema-registry-source.autoOffsetReset";
+ public static final String CAMEL_SOURCE_KAFKABATCHAZURESCHEMAREGISTRYSOURCE_KAMELET_AUTO_OFFSET_RESET_DOC = "What to do when there is no initial offset. There are 3 enums and the value can be one of latest, earliest, none";
+ public static final String CAMEL_SOURCE_KAFKABATCHAZURESCHEMAREGISTRYSOURCE_KAMELET_AUTO_OFFSET_RESET_DEFAULT = "latest";
+ public static final String CAMEL_SOURCE_KAFKABATCHAZURESCHEMAREGISTRYSOURCE_KAMELET_CONSUMER_GROUP_CONF = "camel.kamelet.kafka-batch-azure-schema-registry-source.consumerGroup";
+ public static final String CAMEL_SOURCE_KAFKABATCHAZURESCHEMAREGISTRYSOURCE_KAMELET_CONSUMER_GROUP_DOC = "A string that uniquely identifies the group of consumers to which this source belongs Example: my-group-id";
+ public static final String CAMEL_SOURCE_KAFKABATCHAZURESCHEMAREGISTRYSOURCE_KAMELET_CONSUMER_GROUP_DEFAULT = null;
+ public static final String CAMEL_SOURCE_KAFKABATCHAZURESCHEMAREGISTRYSOURCE_KAMELET_DESERIALIZE_HEADERS_CONF = "camel.kamelet.kafka-batch-azure-schema-registry-source.deserializeHeaders";
+ public static final String CAMEL_SOURCE_KAFKABATCHAZURESCHEMAREGISTRYSOURCE_KAMELET_DESERIALIZE_HEADERS_DOC = "When enabled the Kamelet source will deserialize all message headers to String representation.";
+ public static final Boolean CAMEL_SOURCE_KAFKABATCHAZURESCHEMAREGISTRYSOURCE_KAMELET_DESERIALIZE_HEADERS_DEFAULT = true;
+ public static final String CAMEL_SOURCE_KAFKABATCHAZURESCHEMAREGISTRYSOURCE_KAMELET_VALUE_DESERIALIZER_CONF = "camel.kamelet.kafka-batch-azure-schema-registry-source.valueDeserializer";
+ public static final String CAMEL_SOURCE_KAFKABATCHAZURESCHEMAREGISTRYSOURCE_KAMELET_VALUE_DESERIALIZER_DOC = "Deserializer class for value that implements the Deserializer interface.";
+ public static final String CAMEL_SOURCE_KAFKABATCHAZURESCHEMAREGISTRYSOURCE_KAMELET_VALUE_DESERIALIZER_DEFAULT = "com.microsoft.azure.schemaregistry.kafka.avro.KafkaAvroDeserializer";
+ public static final String CAMEL_SOURCE_KAFKABATCHAZURESCHEMAREGISTRYSOURCE_KAMELET_AZURE_REGISTRY_URL_CONF = "camel.kamelet.kafka-batch-azure-schema-registry-source.azureRegistryUrl";
+ public static final String CAMEL_SOURCE_KAFKABATCHAZURESCHEMAREGISTRYSOURCE_KAMELET_AZURE_REGISTRY_URL_DOC = "The Apicurio Schema Registry URL";
+ public static final String CAMEL_SOURCE_KAFKABATCHAZURESCHEMAREGISTRYSOURCE_KAMELET_AZURE_REGISTRY_URL_DEFAULT = null;
+ public static final String CAMEL_SOURCE_KAFKABATCHAZURESCHEMAREGISTRYSOURCE_KAMELET_SPECIFIC_AVRO_VALUE_TYPE_CONF = "camel.kamelet.kafka-batch-azure-schema-registry-source.specificAvroValueType";
+ public static final String CAMEL_SOURCE_KAFKABATCHAZURESCHEMAREGISTRYSOURCE_KAMELET_SPECIFIC_AVRO_VALUE_TYPE_DOC = "The Specific Type Avro will have to deal with Example: com.example.Order";
+ public static final String CAMEL_SOURCE_KAFKABATCHAZURESCHEMAREGISTRYSOURCE_KAMELET_SPECIFIC_AVRO_VALUE_TYPE_DEFAULT = null;
+ public static final String CAMEL_SOURCE_KAFKABATCHAZURESCHEMAREGISTRYSOURCE_KAMELET_BATCH_SIZE_CONF = "camel.kamelet.kafka-batch-azure-schema-registry-source.batchSize";
+ public static final String CAMEL_SOURCE_KAFKABATCHAZURESCHEMAREGISTRYSOURCE_KAMELET_BATCH_SIZE_DOC = "The maximum number of records returned in a single call to poll()";
+ public static final Integer CAMEL_SOURCE_KAFKABATCHAZURESCHEMAREGISTRYSOURCE_KAMELET_BATCH_SIZE_DEFAULT = 500;
+ public static final String CAMEL_SOURCE_KAFKABATCHAZURESCHEMAREGISTRYSOURCE_KAMELET_POLL_TIMEOUT_CONF = "camel.kamelet.kafka-batch-azure-schema-registry-source.pollTimeout";
+ public static final String CAMEL_SOURCE_KAFKABATCHAZURESCHEMAREGISTRYSOURCE_KAMELET_POLL_TIMEOUT_DOC = "The timeout used when polling the KafkaConsumer";
+ public static final Integer CAMEL_SOURCE_KAFKABATCHAZURESCHEMAREGISTRYSOURCE_KAMELET_POLL_TIMEOUT_DEFAULT = 5000;
+ public static final String CAMEL_SOURCE_KAFKABATCHAZURESCHEMAREGISTRYSOURCE_KAMELET_MAX_POLL_INTERVAL_MS_CONF = "camel.kamelet.kafka-batch-azure-schema-registry-source.maxPollIntervalMs";
+ public static final String CAMEL_SOURCE_KAFKABATCHAZURESCHEMAREGISTRYSOURCE_KAMELET_MAX_POLL_INTERVAL_MS_DOC = "The maximum delay between invocations of poll() when using consumer group management";
+ public static final Integer CAMEL_SOURCE_KAFKABATCHAZURESCHEMAREGISTRYSOURCE_KAMELET_MAX_POLL_INTERVAL_MS_DEFAULT = null;
+
+ public CamelKafkabatchazureschemaregistrysourceSourceConnectorConfig(
+ ConfigDef config,
+ Map<String, String> parsedConfig) {
+ super(config, parsedConfig);
+ }
+
+ public CamelKafkabatchazureschemaregistrysourceSourceConnectorConfig(
+ Map<String, String> parsedConfig) {
+ this(conf(), parsedConfig);
+ }
+
+ public static ConfigDef conf() {
+ ConfigDef conf = new ConfigDef(CamelSourceConnectorConfig.conf());
+ conf.define(CAMEL_SOURCE_KAFKABATCHAZURESCHEMAREGISTRYSOURCE_KAMELET_TOPIC_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_KAFKABATCHAZURESCHEMAREGISTRYSOURCE_KAMELET_TOPIC_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_KAFKABATCHAZURESCHEMAREGISTRYSOURCE_KAMELET_TOPIC_DOC);
+ conf.define(CAMEL_SOURCE_KAFKABATCHAZURESCHEMAREGISTRYSOURCE_KAMELET_BOOTSTRAP_SERVERS_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_KAFKABATCHAZURESCHEMAREGISTRYSOURCE_KAMELET_BOOTSTRAP_SERVERS_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_KAFKABATCHAZURESCHEMAREGISTRYSOURCE_KAMELET_BOOTSTRAP_SERVERS_DOC);
+ conf.define(CAMEL_SOURCE_KAFKABATCHAZURESCHEMAREGISTRYSOURCE_KAMELET_SECURITY_PROTOCOL_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_KAFKABATCHAZURESCHEMAREGISTRYSOURCE_KAMELET_SECURITY_PROTOCOL_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_KAFKABATCHAZURESCHEMAREGISTRYSOURCE_KAMELET_SECURITY_PROTOCOL_DOC);
+ conf.define(CAMEL_SOURCE_KAFKABATCHAZURESCHEMAREGISTRYSOURCE_KAMELET_SASL_MECHANISM_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_KAFKABATCHAZURESCHEMAREGISTRYSOURCE_KAMELET_SASL_MECHANISM_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_KAFKABATCHAZURESCHEMAREGISTRYSOURCE_KAMELET_SASL_MECHANISM_DOC);
+ conf.define(CAMEL_SOURCE_KAFKABATCHAZURESCHEMAREGISTRYSOURCE_KAMELET_PASSWORD_CONF, ConfigDef.Type.PASSWORD, CAMEL_SOURCE_KAFKABATCHAZURESCHEMAREGISTRYSOURCE_KAMELET_PASSWORD_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_KAFKABATCHAZURESCHEMAREGISTRYSOURCE_KAMELET_PASSWORD_DOC);
+ conf.define(CAMEL_SOURCE_KAFKABATCHAZURESCHEMAREGISTRYSOURCE_KAMELET_AUTO_COMMIT_ENABLE_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_KAFKABATCHAZURESCHEMAREGISTRYSOURCE_KAMELET_AUTO_COMMIT_ENABLE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_KAFKABATCHAZURESCHEMAREGISTRYSOURCE_KAMELET_AUTO_COMMIT_ENABLE_DOC);
+ conf.define(CAMEL_SOURCE_KAFKABATCHAZURESCHEMAREGISTRYSOURCE_KAMELET_ALLOW_MANUAL_COMMIT_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_KAFKABATCHAZURESCHEMAREGISTRYSOURCE_KAMELET_ALLOW_MANUAL_COMMIT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_KAFKABATCHAZURESCHEMAREGISTRYSOURCE_KAMELET_ALLOW_MANUAL_COMMIT_DOC);
+ conf.define(CAMEL_SOURCE_KAFKABATCHAZURESCHEMAREGISTRYSOURCE_KAMELET_POLL_ON_ERROR_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_KAFKABATCHAZURESCHEMAREGISTRYSOURCE_KAMELET_POLL_ON_ERROR_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_KAFKABATCHAZURESCHEMAREGISTRYSOURCE_KAMELET_POLL_ON_ERROR_DOC);
+ conf.define(CAMEL_SOURCE_KAFKABATCHAZURESCHEMAREGISTRYSOURCE_KAMELET_AUTO_OFFSET_RESET_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_KAFKABATCHAZURESCHEMAREGISTRYSOURCE_KAMELET_AUTO_OFFSET_RESET_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_KAFKABATCHAZURESCHEMAREGISTRYSOURCE_KAMELET_AUTO_OFFSET_RESET_DOC);
+ conf.define(CAMEL_SOURCE_KAFKABATCHAZURESCHEMAREGISTRYSOURCE_KAMELET_CONSUMER_GROUP_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_KAFKABATCHAZURESCHEMAREGISTRYSOURCE_KAMELET_CONSUMER_GROUP_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_KAFKABATCHAZURESCHEMAREGISTRYSOURCE_KAMELET_CONSUMER_GROUP_DOC);
+ conf.define(CAMEL_SOURCE_KAFKABATCHAZURESCHEMAREGISTRYSOURCE_KAMELET_DESERIALIZE_HEADERS_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_KAFKABATCHAZURESCHEMAREGISTRYSOURCE_KAMELET_DESERIALIZE_HEADERS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_KAFKABATCHAZURESCHEMAREGISTRYSOURCE_KAMELET_DESERIALIZE_HEADERS_DOC);
+ conf.define(CAMEL_SOURCE_KAFKABATCHAZURESCHEMAREGISTRYSOURCE_KAMELET_VALUE_DESERIALIZER_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_KAFKABATCHAZURESCHEMAREGISTRYSOURCE_KAMELET_VALUE_DESERIALIZER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_KAFKABATCHAZURESCHEMAREGISTRYSOURCE_KAMELET_VALUE_DESERIALIZER_DOC);
+ conf.define(CAMEL_SOURCE_KAFKABATCHAZURESCHEMAREGISTRYSOURCE_KAMELET_AZURE_REGISTRY_URL_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_KAFKABATCHAZURESCHEMAREGISTRYSOURCE_KAMELET_AZURE_REGISTRY_URL_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_KAFKABATCHAZURESCHEMAREGISTRYSOURCE_KAMELET_AZURE_REGISTRY_URL_DOC);
+ conf.define(CAMEL_SOURCE_KAFKABATCHAZURESCHEMAREGISTRYSOURCE_KAMELET_SPECIFIC_AVRO_VALUE_TYPE_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_KAFKABATCHAZURESCHEMAREGISTRYSOURCE_KAMELET_SPECIFIC_AVRO_VALUE_TYPE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_KAFKABATCHAZURESCHEMAREGISTRYSOURCE_KAMELET_SPECIFIC_AVRO_VALUE_TYPE_DOC);
+ conf.define(CAMEL_SOURCE_KAFKABATCHAZURESCHEMAREGISTRYSOURCE_KAMELET_BATCH_SIZE_CONF, ConfigDef.Type.INT, CAMEL_SOURCE_KAFKABATCHAZURESCHEMAREGISTRYSOURCE_KAMELET_BATCH_SIZE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_KAFKABATCHAZURESCHEMAREGISTRYSOURCE_KAMELET_BATCH_SIZE_DOC);
+ conf.define(CAMEL_SOURCE_KAFKABATCHAZURESCHEMAREGISTRYSOURCE_KAMELET_POLL_TIMEOUT_CONF, ConfigDef.Type.INT, CAMEL_SOURCE_KAFKABATCHAZURESCHEMAREGISTRYSOURCE_KAMELET_POLL_TIMEOUT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_KAFKABATCHAZURESCHEMAREGISTRYSOURCE_KAMELET_POLL_TIMEOUT_DOC);
+ conf.define(CAMEL_SOURCE_KAFKABATCHAZURESCHEMAREGISTRYSOURCE_KAMELET_MAX_POLL_INTERVAL_MS_CONF, ConfigDef.Type.INT, CAMEL_SOURCE_KAFKABATCHAZURESCHEMAREGISTRYSOURCE_KAMELET_MAX_POLL_INTERVAL_MS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_KAFKABATCHAZURESCHEMAREGISTRYSOURCE_KAMELET_MAX_POLL_INTERVAL_MS_DOC);
+ return conf;
+ }
+}
\ No newline at end of file
diff --git a/connectors/camel-hdfs-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/hdfs/CamelHdfsSourceTask.java b/connectors/camel-kafka-batch-azure-schema-registry-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/kafkabatchazureschemaregistrysource/CamelKafkabatchazureschemaregistrysourceSourceTask.java
similarity index 77%
copy from connectors/camel-hdfs-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/hdfs/CamelHdfsSourceTask.java
copy to connectors/camel-kafka-batch-azure-schema-registry-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/kafkabatchazureschemaregistrysource/CamelKafkabatchazureschemaregistrysourceSourceTask.java
index 187e333f08..27ae97c986 100644
--- a/connectors/camel-hdfs-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/hdfs/CamelHdfsSourceTask.java
+++ b/connectors/camel-kafka-batch-azure-schema-registry-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/kafkabatchazureschemaregistrysource/CamelKafkabatchazureschemaregistrysourceSourceTask.java
@@ -13,7 +13,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- */package org.apache.camel.kafkaconnector.hdfs;
+ */package org.apache.camel.kafkaconnector.kafkabatchazureschemaregistrysource;
import java.util.HashMap;
import java.util.Map;
@@ -22,17 +22,17 @@ import org.apache.camel.kafkaconnector.CamelSourceConnectorConfig;
import org.apache.camel.kafkaconnector.CamelSourceTask;
@Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.")
-public class CamelHdfsSourceTask extends CamelSourceTask {
+public class CamelKafkabatchazureschemaregistrysourceSourceTask
+ extends
+ CamelSourceTask {
@Override
protected CamelSourceConnectorConfig getCamelSourceConnectorConfig(
Map<String, String> props) {
- return new CamelHdfsSourceConnectorConfig(props);
+ return new CamelKafkabatchazureschemaregistrysourceSourceConnectorConfig(props);
}
@Override
- protected Map<String, String> getDefaultConfig() {
- return new HashMap<String, String>() {{
- put(CamelSourceConnectorConfig.CAMEL_SOURCE_COMPONENT_CONF, "hdfs");
- }};
+ protected String getSourceKamelet() {
+ return "kamelet:kafka-batch-azure-schema-registry-source";
}
}
\ No newline at end of file
diff --git a/connectors/camel-hdfs-kafka-connector/src/main/resources/META-INF/LICENSE.txt b/connectors/camel-kafka-batch-azure-schema-registry-source-kafka-connector/src/main/resources/META-INF/LICENSE.txt
similarity index 100%
copy from connectors/camel-hdfs-kafka-connector/src/main/resources/META-INF/LICENSE.txt
copy to connectors/camel-kafka-batch-azure-schema-registry-source-kafka-connector/src/main/resources/META-INF/LICENSE.txt
diff --git a/connectors/camel-hdfs-kafka-connector/src/main/resources/META-INF/NOTICE.txt b/connectors/camel-kafka-batch-azure-schema-registry-source-kafka-connector/src/main/resources/META-INF/NOTICE.txt
similarity index 100%
copy from connectors/camel-hdfs-kafka-connector/src/main/resources/META-INF/NOTICE.txt
copy to connectors/camel-kafka-batch-azure-schema-registry-source-kafka-connector/src/main/resources/META-INF/NOTICE.txt
diff --git a/connectors/camel-kafka-azure-schema-registry-source-kafka-connector/src/main/resources/kamelets/kafka-azure-schema-registry-source.kamelet.yaml b/connectors/camel-kafka-batch-azure-schema-registry-source-kafka-connector/src/main/resources/kamelets/kafka-batch-azure-schema-registry-source.kamelet.yaml
similarity index 85%
copy from connectors/camel-kafka-azure-schema-registry-source-kafka-connector/src/main/resources/kamelets/kafka-azure-schema-registry-source.kamelet.yaml
copy to connectors/camel-kafka-batch-azure-schema-registry-source-kafka-connector/src/main/resources/kamelets/kafka-batch-azure-schema-registry-source.kamelet.yaml
index 5997cdb669..fc6dda9dc3 100644
--- a/connectors/camel-kafka-azure-schema-registry-source-kafka-connector/src/main/resources/kamelets/kafka-azure-schema-registry-source.kamelet.yaml
+++ b/connectors/camel-kafka-batch-azure-schema-registry-source-kafka-connector/src/main/resources/kamelets/kafka-batch-azure-schema-registry-source.kamelet.yaml
@@ -17,10 +17,10 @@
apiVersion: camel.apache.org/v1
kind: Kamelet
metadata:
- name: kafka-azure-schema-registry-source
+ name: kafka-batch-azure-schema-registry-source
annotations:
camel.apache.org/kamelet.support.level: "Preview"
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxOS4wLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iTGF5ZXJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiDQoJIHZpZXdCb3g9IjAgMCA1MDAgNTAwIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA1MD [...]
camel.apache.org/provider: "Apache Software Foundation"
camel.apache.org/kamelet.group: "Kafka"
@@ -30,9 +30,9 @@ metadata:
camel.apache.org/kamelet.type: "source"
spec:
definition:
- title: "Azure Kafka through Eventhubs with Azure Schema Registry Source"
+ title: "Azure Kafka Batch through Eventhubs with Azure Schema Registry Source"
description: |-
- Receive data from Kafka topics on Azure Eventhubs combined with Azure Schema Registry.
+ Receive data from Kafka topics in batch on Azure Eventhubs combined with Azure Schema Registry and commit them manually through KafkaManualCommit or auto commit.
required:
- topic
- bootstrapServers
@@ -78,13 +78,11 @@ spec:
description: If true, periodically commit to ZooKeeper the offset of messages already fetched by the consumer
type: boolean
default: true
- x-descriptors:
allowManualCommit:
title: Allow Manual Commit
description: Whether to allow doing manual commits
type: boolean
default: false
- x-descriptors:
pollOnError:
title: Poll On Error Behavior
description: What to do if kafka threw an exception while polling for new messages. There are 5 enums and the value can be one of DISCARD, ERROR_HANDLER, RECONNECT, RETRY, STOP
@@ -109,7 +107,6 @@ spec:
title: Automatically Deserialize Headers
description: When enabled the Kamelet source will deserialize all message headers to String representation.
type: boolean
- x-descriptors:
default: true
valueDeserializer:
title: Value Deserializer
@@ -127,16 +124,30 @@ spec:
title: Specific Avro Value Type
description: The Specific Type Avro will have to deal with
type: string
- example: "com.example.Order"
+ example: "com.example.Order"
+ batchSize:
+ title: Batch Dimension
+ description: The maximum number of records returned in a single call to poll()
+ type: int
+ default: 500
+ pollTimeout:
+ title: Poll Timeout Interval
+ description: The timeout used when polling the KafkaConsumer
+ type: int
+ default: 5000
+ maxPollIntervalMs:
+ title: Max Poll Interval
+ description: The maximum delay between invocations of poll() when using consumer group management
+ type: int
dependencies:
- - "mvn:org.apache.camel.kamelets:camel-kamelets-utils:4.3.0"
+ - "mvn:org.apache.camel.kamelets:camel-kamelets-utils:4.4.2"
- "camel:kafka"
- "camel:core"
- "camel:kamelet"
- "camel:azure-schema-registry"
- "mvn:com.microsoft.azure:azure-schemaregistry-kafka-avro:1.1.1"
- - "mvn:com.azure:azure-data-schemaregistry-apacheavro:1.1.11"
- - "mvn:com.azure:azure-identity:1.10.4"
+ - "mvn:com.azure:azure-data-schemaregistry-apacheavro:1.1.13"
+ - "mvn:com.azure:azure-identity:1.11.1"
template:
beans:
- name: defaultAzureCredential
@@ -145,6 +156,8 @@ spec:
type: "#class:org.apache.camel.kamelets.utils.serialization.kafka.KafkaHeaderDeserializer"
properties:
enabled: '{{deserializeHeaders}}'
+ - name: manualCommitFactory
+ type: "#class:org.apache.camel.component.kafka.consumer.DefaultKafkaManualCommitFactory"
from:
uri: "kafka:{{topic}}"
parameters:
@@ -158,6 +171,11 @@ spec:
autoOffsetReset: "{{autoOffsetReset}}"
groupId: "{{?consumerGroup}}"
valueDeserializer: "{{valueDeserializer}}"
+ maxPollRecords: "{{batchSize}}"
+ pollTimeoutMs: "{{pollTimeout}}"
+ maxPollIntervalMs: "{{?maxPollIntervalMs}}"
+ batching: true
+ kafkaManualCommitFactory: "#bean:{{manualCommitFactory}}"
additionalProperties.schema.registry.url: "{{azureRegistryUrl}}"
additionalProperties.schema.group: avro
additionalProperties.schema.registry.credential: '#bean:defaultAzureCredential'
diff --git a/connectors/camel-kafka-not-secured-source-kafka-connector/pom.xml b/connectors/camel-kafka-batch-not-secured-source-kafka-connector/pom.xml
similarity index 94%
copy from connectors/camel-kafka-not-secured-source-kafka-connector/pom.xml
copy to connectors/camel-kafka-batch-not-secured-source-kafka-connector/pom.xml
index d0b7cf579c..75a6d5283a 100644
--- a/connectors/camel-kafka-not-secured-source-kafka-connector/pom.xml
+++ b/connectors/camel-kafka-batch-not-secured-source-kafka-connector/pom.xml
@@ -24,9 +24,9 @@
<artifactId>connectors</artifactId>
<version>4.4.2-SNAPSHOT</version>
</parent>
- <artifactId>camel-kafka-not-secured-source-kafka-connector</artifactId>
- <name>Camel-Kafka-Connector :: kafka-not-secured-source</name>
- <description>Camel Kafka Connector for kafka-not-secured-source</description>
+ <artifactId>camel-kafka-batch-not-secured-source-kafka-connector</artifactId>
+ <name>Camel-Kafka-Connector :: kafka-batch-not-secured-source</name>
+ <description>Camel Kafka Connector for kafka-batch-not-secured-source</description>
<dependencies>
<!-- Kafka -->
<dependency>
@@ -57,14 +57,14 @@
<groupId>org.apache.camel</groupId>
<artifactId>camel-yaml-dsl</artifactId>
</dependency>
- <dependency>
- <groupId>org.apache.camel</groupId>
- <artifactId>camel-kamelet</artifactId>
- </dependency>
<dependency>
<groupId>org.apache.camel.kamelets</groupId>
<artifactId>camel-kamelets-utils</artifactId>
- <version>4.3.0</version>
+ <version>4.4.2</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.camel</groupId>
+ <artifactId>camel-kamelet</artifactId>
</dependency>
<!--END OF GENERATED CODE-->
</dependencies>
diff --git a/connectors/camel-kafka-batch-not-secured-source-kafka-connector/src/generated/descriptors/connector-source.properties b/connectors/camel-kafka-batch-not-secured-source-kafka-connector/src/generated/descriptors/connector-source.properties
new file mode 100644
index 0000000000..fddd6645ee
--- /dev/null
+++ b/connectors/camel-kafka-batch-not-secured-source-kafka-connector/src/generated/descriptors/connector-source.properties
@@ -0,0 +1 @@
+camel-kafka-batch-not-secured-source-source
\ No newline at end of file
diff --git a/connectors/camel-kafka-batch-not-secured-source-kafka-connector/src/generated/resources/camel-kafka-batch-not-secured-source-source.json b/connectors/camel-kafka-batch-not-secured-source-kafka-connector/src/generated/resources/camel-kafka-batch-not-secured-source-source.json
new file mode 100644
index 0000000000..83a2713986
--- /dev/null
+++ b/connectors/camel-kafka-batch-not-secured-source-kafka-connector/src/generated/resources/camel-kafka-batch-not-secured-source-source.json
@@ -0,0 +1,86 @@
+{
+ "connector": {
+ "class": "org.apache.camel.kafkaconnector.kafkabatchnotsecuredsource.CamelKafkabatchnotsecuredsourceSourceConnector",
+ "artifactId": "camel-kafka-batch-not-secured-source-kafka-connector",
+ "groupId": "org.apache.camel.kafkaconnector",
+ "id": "camel-kafka-batch-not-secured-source-source",
+ "type": "source",
+ "version": "4.4.2-SNAPSHOT",
+ "description": "Receive data from Kafka topics in batch on an insecure broker and commit them manually through KafkaManualCommit."
+ },
+ "properties": {
+ "camel.kamelet.kafka-batch-not-secured-source.topic": {
+ "name": "camel.kamelet.kafka-batch-not-secured-source.topic",
+ "description": "Comma separated list of Kafka topic names",
+ "priority": "HIGH",
+ "required": "true"
+ },
+ "camel.kamelet.kafka-batch-not-secured-source.bootstrapServers": {
+ "name": "camel.kamelet.kafka-batch-not-secured-source.bootstrapServers",
+ "description": "Comma separated list of Kafka Broker URLs",
+ "priority": "HIGH",
+ "required": "true"
+ },
+ "camel.kamelet.kafka-batch-not-secured-source.autoCommitEnable": {
+ "name": "camel.kamelet.kafka-batch-not-secured-source.autoCommitEnable",
+ "description": "If true, periodically commit to ZooKeeper the offset of messages already fetched by the consumer",
+ "defaultValue": "true",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
+ "camel.kamelet.kafka-batch-not-secured-source.allowManualCommit": {
+ "name": "camel.kamelet.kafka-batch-not-secured-source.allowManualCommit",
+ "description": "Whether to allow doing manual commits",
+ "defaultValue": "false",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
+ "camel.kamelet.kafka-batch-not-secured-source.pollOnError": {
+ "name": "camel.kamelet.kafka-batch-not-secured-source.pollOnError",
+ "description": "What to do if kafka threw an exception while polling for new messages. There are 5 enums and the value can be one of DISCARD, ERROR_HANDLER, RECONNECT, RETRY, STOP",
+ "defaultValue": "\"ERROR_HANDLER\"",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
+ "camel.kamelet.kafka-batch-not-secured-source.autoOffsetReset": {
+ "name": "camel.kamelet.kafka-batch-not-secured-source.autoOffsetReset",
+ "description": "What to do when there is no initial offset. There are 3 enums and the value can be one of latest, earliest, none",
+ "defaultValue": "\"latest\"",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
+ "camel.kamelet.kafka-batch-not-secured-source.consumerGroup": {
+ "name": "camel.kamelet.kafka-batch-not-secured-source.consumerGroup",
+ "description": "A string that uniquely identifies the group of consumers to which this source belongs Example: my-group-id",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
+ "camel.kamelet.kafka-batch-not-secured-source.deserializeHeaders": {
+ "name": "camel.kamelet.kafka-batch-not-secured-source.deserializeHeaders",
+ "description": "When enabled the Kamelet source will deserialize all message headers to String representation.",
+ "defaultValue": "true",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
+ "camel.kamelet.kafka-batch-not-secured-source.batchSize": {
+ "name": "camel.kamelet.kafka-batch-not-secured-source.batchSize",
+ "description": "The maximum number of records returned in a single call to poll()",
+ "defaultValue": "500",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
+ "camel.kamelet.kafka-batch-not-secured-source.pollTimeout": {
+ "name": "camel.kamelet.kafka-batch-not-secured-source.pollTimeout",
+ "description": "The timeout used when polling the KafkaConsumer",
+ "defaultValue": "5000",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
+ "camel.kamelet.kafka-batch-not-secured-source.maxPollIntervalMs": {
+ "name": "camel.kamelet.kafka-batch-not-secured-source.maxPollIntervalMs",
+ "description": "The maximum delay between invocations of poll() when using consumer group management",
+ "priority": "MEDIUM",
+ "required": "false"
+ }
+ }
+}
diff --git a/connectors/camel-hdfs-kafka-connector/src/main/assembly/package.xml b/connectors/camel-kafka-batch-not-secured-source-kafka-connector/src/main/assembly/package.xml
similarity index 100%
copy from connectors/camel-hdfs-kafka-connector/src/main/assembly/package.xml
copy to connectors/camel-kafka-batch-not-secured-source-kafka-connector/src/main/assembly/package.xml
diff --git a/connectors/camel-hdfs-kafka-connector/src/main/docs/examples/CamelHdfsSourceConnector.properties b/connectors/camel-kafka-batch-not-secured-source-kafka-connector/src/main/docs/examples/CamelKafkabatchnotsecuredsourceSourceConnector.properties
similarity index 77%
copy from connectors/camel-hdfs-kafka-connector/src/main/docs/examples/CamelHdfsSourceConnector.properties
copy to connectors/camel-kafka-batch-not-secured-source-kafka-connector/src/main/docs/examples/CamelKafkabatchnotsecuredsourceSourceConnector.properties
index 396d21efb2..37c8d6b730 100644
--- a/connectors/camel-hdfs-kafka-connector/src/main/docs/examples/CamelHdfsSourceConnector.properties
+++ b/connectors/camel-kafka-batch-not-secured-source-kafka-connector/src/main/docs/examples/CamelKafkabatchnotsecuredsourceSourceConnector.properties
@@ -15,8 +15,8 @@
## limitations under the License.
## ---------------------------------------------------------------------------
-name=CamelHdfsSourceConnector
-connector.class=org.apache.camel.kafkaconnector.hdfs.CamelHdfsSourceConnector
+name=CamelKafka-batch-not-secured-sourceSourceConnector
+connector.class=org.apache.camel.kafkaconnector.kafkabatchnotsecuredsource.CamelKafkabatchnotsecuredsourceSourceConnector
tasks.max=1
# use the kafka converters that better suit your needs, these are just defaults:
@@ -28,7 +28,7 @@ topics=
# mandatory properties (for a complete properties list see the connector documentation):
-# HDFS host to use
-camel.source.path.hostName=
-# The directory path to use
-camel.source.path.path=
+# Comma separated list of Kafka Broker URLs
+camel.kamelet.kafka-batch-not-secured-source.bootstrapServers=
+# Comma separated list of Kafka topic names
+camel.kamelet.kafka-batch-not-secured-source.topic=
diff --git a/connectors/camel-hdfs-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/hdfs/CamelHdfsSourceConnector.java b/connectors/camel-kafka-batch-not-secured-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/kafkabatchnotsecuredsource/CamelKafkabatchnotsecuredsourceSourceConnector.java
similarity index 79%
copy from connectors/camel-hdfs-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/hdfs/CamelHdfsSourceConnector.java
copy to connectors/camel-kafka-batch-not-secured-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/kafkabatchnotsecuredsource/CamelKafkabatchnotsecuredsourceSourceConnector.java
index 984240cb29..053dc67d76 100644
--- a/connectors/camel-hdfs-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/hdfs/CamelHdfsSourceConnector.java
+++ b/connectors/camel-kafka-batch-not-secured-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/kafkabatchnotsecuredsource/CamelKafkabatchnotsecuredsourceSourceConnector.java
@@ -13,7 +13,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- */package org.apache.camel.kafkaconnector.hdfs;
+ */package org.apache.camel.kafkaconnector.kafkabatchnotsecuredsource;
import javax.annotation.Generated;
import org.apache.camel.kafkaconnector.CamelSourceConnector;
@@ -21,14 +21,16 @@ import org.apache.kafka.common.config.ConfigDef;
import org.apache.kafka.connect.connector.Task;
@Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.")
-public class CamelHdfsSourceConnector extends CamelSourceConnector {
+public class CamelKafkabatchnotsecuredsourceSourceConnector
+ extends
+ CamelSourceConnector {
@Override
public ConfigDef config() {
- return CamelHdfsSourceConnectorConfig.conf();
+ return CamelKafkabatchnotsecuredsourceSourceConnectorConfig.conf();
}
@Override
public Class<? extends Task> taskClass() {
- return CamelHdfsSourceTask.class;
+ return CamelKafkabatchnotsecuredsourceSourceTask.class;
}
}
\ No newline at end of file
diff --git a/connectors/camel-kafka-batch-not-secured-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/kafkabatchnotsecuredsource/CamelKafkabatchnotsecuredsourceSourceConnectorConfig.java b/connectors/camel-kafka-batch-not-secured-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/kafkabatchnotsecuredsource/CamelKafkabatchnotsecuredsourceSourceConnectorConfig.java
new file mode 100644
index 0000000000..3454f251e7
--- /dev/null
+++ b/connectors/camel-kafka-batch-not-secured-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/kafkabatchnotsecuredsource/CamelKafkabatchnotsecuredsourceSourceConnectorConfig.java
@@ -0,0 +1,88 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */package org.apache.camel.kafkaconnector.kafkabatchnotsecuredsource;
+
+import java.util.Map;
+import javax.annotation.Generated;
+import org.apache.camel.kafkaconnector.CamelSourceConnectorConfig;
+import org.apache.kafka.common.config.ConfigDef;
+
+@Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.")
+public class CamelKafkabatchnotsecuredsourceSourceConnectorConfig
+ extends
+ CamelSourceConnectorConfig {
+
+ public static final String CAMEL_SOURCE_KAFKABATCHNOTSECUREDSOURCE_KAMELET_TOPIC_CONF = "camel.kamelet.kafka-batch-not-secured-source.topic";
+ public static final String CAMEL_SOURCE_KAFKABATCHNOTSECUREDSOURCE_KAMELET_TOPIC_DOC = "Comma separated list of Kafka topic names";
+ public static final String CAMEL_SOURCE_KAFKABATCHNOTSECUREDSOURCE_KAMELET_TOPIC_DEFAULT = null;
+ public static final String CAMEL_SOURCE_KAFKABATCHNOTSECUREDSOURCE_KAMELET_BOOTSTRAP_SERVERS_CONF = "camel.kamelet.kafka-batch-not-secured-source.bootstrapServers";
+ public static final String CAMEL_SOURCE_KAFKABATCHNOTSECUREDSOURCE_KAMELET_BOOTSTRAP_SERVERS_DOC = "Comma separated list of Kafka Broker URLs";
+ public static final String CAMEL_SOURCE_KAFKABATCHNOTSECUREDSOURCE_KAMELET_BOOTSTRAP_SERVERS_DEFAULT = null;
+ public static final String CAMEL_SOURCE_KAFKABATCHNOTSECUREDSOURCE_KAMELET_AUTO_COMMIT_ENABLE_CONF = "camel.kamelet.kafka-batch-not-secured-source.autoCommitEnable";
+ public static final String CAMEL_SOURCE_KAFKABATCHNOTSECUREDSOURCE_KAMELET_AUTO_COMMIT_ENABLE_DOC = "If true, periodically commit to ZooKeeper the offset of messages already fetched by the consumer";
+ public static final Boolean CAMEL_SOURCE_KAFKABATCHNOTSECUREDSOURCE_KAMELET_AUTO_COMMIT_ENABLE_DEFAULT = true;
+ public static final String CAMEL_SOURCE_KAFKABATCHNOTSECUREDSOURCE_KAMELET_ALLOW_MANUAL_COMMIT_CONF = "camel.kamelet.kafka-batch-not-secured-source.allowManualCommit";
+ public static final String CAMEL_SOURCE_KAFKABATCHNOTSECUREDSOURCE_KAMELET_ALLOW_MANUAL_COMMIT_DOC = "Whether to allow doing manual commits";
+ public static final Boolean CAMEL_SOURCE_KAFKABATCHNOTSECUREDSOURCE_KAMELET_ALLOW_MANUAL_COMMIT_DEFAULT = false;
+ public static final String CAMEL_SOURCE_KAFKABATCHNOTSECUREDSOURCE_KAMELET_POLL_ON_ERROR_CONF = "camel.kamelet.kafka-batch-not-secured-source.pollOnError";
+ public static final String CAMEL_SOURCE_KAFKABATCHNOTSECUREDSOURCE_KAMELET_POLL_ON_ERROR_DOC = "What to do if kafka threw an exception while polling for new messages. There are 5 enums and the value can be one of DISCARD, ERROR_HANDLER, RECONNECT, RETRY, STOP";
+ public static final String CAMEL_SOURCE_KAFKABATCHNOTSECUREDSOURCE_KAMELET_POLL_ON_ERROR_DEFAULT = "ERROR_HANDLER";
+ public static final String CAMEL_SOURCE_KAFKABATCHNOTSECUREDSOURCE_KAMELET_AUTO_OFFSET_RESET_CONF = "camel.kamelet.kafka-batch-not-secured-source.autoOffsetReset";
+ public static final String CAMEL_SOURCE_KAFKABATCHNOTSECUREDSOURCE_KAMELET_AUTO_OFFSET_RESET_DOC = "What to do when there is no initial offset. There are 3 enums and the value can be one of latest, earliest, none";
+ public static final String CAMEL_SOURCE_KAFKABATCHNOTSECUREDSOURCE_KAMELET_AUTO_OFFSET_RESET_DEFAULT = "latest";
+ public static final String CAMEL_SOURCE_KAFKABATCHNOTSECUREDSOURCE_KAMELET_CONSUMER_GROUP_CONF = "camel.kamelet.kafka-batch-not-secured-source.consumerGroup";
+ public static final String CAMEL_SOURCE_KAFKABATCHNOTSECUREDSOURCE_KAMELET_CONSUMER_GROUP_DOC = "A string that uniquely identifies the group of consumers to which this source belongs Example: my-group-id";
+ public static final String CAMEL_SOURCE_KAFKABATCHNOTSECUREDSOURCE_KAMELET_CONSUMER_GROUP_DEFAULT = null;
+ public static final String CAMEL_SOURCE_KAFKABATCHNOTSECUREDSOURCE_KAMELET_DESERIALIZE_HEADERS_CONF = "camel.kamelet.kafka-batch-not-secured-source.deserializeHeaders";
+ public static final String CAMEL_SOURCE_KAFKABATCHNOTSECUREDSOURCE_KAMELET_DESERIALIZE_HEADERS_DOC = "When enabled the Kamelet source will deserialize all message headers to String representation.";
+ public static final Boolean CAMEL_SOURCE_KAFKABATCHNOTSECUREDSOURCE_KAMELET_DESERIALIZE_HEADERS_DEFAULT = true;
+ public static final String CAMEL_SOURCE_KAFKABATCHNOTSECUREDSOURCE_KAMELET_BATCH_SIZE_CONF = "camel.kamelet.kafka-batch-not-secured-source.batchSize";
+ public static final String CAMEL_SOURCE_KAFKABATCHNOTSECUREDSOURCE_KAMELET_BATCH_SIZE_DOC = "The maximum number of records returned in a single call to poll()";
+ public static final Integer CAMEL_SOURCE_KAFKABATCHNOTSECUREDSOURCE_KAMELET_BATCH_SIZE_DEFAULT = 500;
+ public static final String CAMEL_SOURCE_KAFKABATCHNOTSECUREDSOURCE_KAMELET_POLL_TIMEOUT_CONF = "camel.kamelet.kafka-batch-not-secured-source.pollTimeout";
+ public static final String CAMEL_SOURCE_KAFKABATCHNOTSECUREDSOURCE_KAMELET_POLL_TIMEOUT_DOC = "The timeout used when polling the KafkaConsumer";
+ public static final Integer CAMEL_SOURCE_KAFKABATCHNOTSECUREDSOURCE_KAMELET_POLL_TIMEOUT_DEFAULT = 5000;
+ public static final String CAMEL_SOURCE_KAFKABATCHNOTSECUREDSOURCE_KAMELET_MAX_POLL_INTERVAL_MS_CONF = "camel.kamelet.kafka-batch-not-secured-source.maxPollIntervalMs";
+ public static final String CAMEL_SOURCE_KAFKABATCHNOTSECUREDSOURCE_KAMELET_MAX_POLL_INTERVAL_MS_DOC = "The maximum delay between invocations of poll() when using consumer group management";
+ public static final Integer CAMEL_SOURCE_KAFKABATCHNOTSECUREDSOURCE_KAMELET_MAX_POLL_INTERVAL_MS_DEFAULT = null;
+
+ public CamelKafkabatchnotsecuredsourceSourceConnectorConfig(
+ ConfigDef config,
+ Map<String, String> parsedConfig) {
+ super(config, parsedConfig);
+ }
+
+ public CamelKafkabatchnotsecuredsourceSourceConnectorConfig(
+ Map<String, String> parsedConfig) {
+ this(conf(), parsedConfig);
+ }
+
+ public static ConfigDef conf() {
+ ConfigDef conf = new ConfigDef(CamelSourceConnectorConfig.conf());
+ conf.define(CAMEL_SOURCE_KAFKABATCHNOTSECUREDSOURCE_KAMELET_TOPIC_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_KAFKABATCHNOTSECUREDSOURCE_KAMELET_TOPIC_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_KAFKABATCHNOTSECUREDSOURCE_KAMELET_TOPIC_DOC);
+ conf.define(CAMEL_SOURCE_KAFKABATCHNOTSECUREDSOURCE_KAMELET_BOOTSTRAP_SERVERS_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_KAFKABATCHNOTSECUREDSOURCE_KAMELET_BOOTSTRAP_SERVERS_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_KAFKABATCHNOTSECUREDSOURCE_KAMELET_BOOTSTRAP_SERVERS_DOC);
+ conf.define(CAMEL_SOURCE_KAFKABATCHNOTSECUREDSOURCE_KAMELET_AUTO_COMMIT_ENABLE_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_KAFKABATCHNOTSECUREDSOURCE_KAMELET_AUTO_COMMIT_ENABLE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_KAFKABATCHNOTSECUREDSOURCE_KAMELET_AUTO_COMMIT_ENABLE_DOC);
+ conf.define(CAMEL_SOURCE_KAFKABATCHNOTSECUREDSOURCE_KAMELET_ALLOW_MANUAL_COMMIT_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_KAFKABATCHNOTSECUREDSOURCE_KAMELET_ALLOW_MANUAL_COMMIT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_KAFKABATCHNOTSECUREDSOURCE_KAMELET_ALLOW_MANUAL_COMMIT_DOC);
+ conf.define(CAMEL_SOURCE_KAFKABATCHNOTSECUREDSOURCE_KAMELET_POLL_ON_ERROR_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_KAFKABATCHNOTSECUREDSOURCE_KAMELET_POLL_ON_ERROR_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_KAFKABATCHNOTSECUREDSOURCE_KAMELET_POLL_ON_ERROR_DOC);
+ conf.define(CAMEL_SOURCE_KAFKABATCHNOTSECUREDSOURCE_KAMELET_AUTO_OFFSET_RESET_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_KAFKABATCHNOTSECUREDSOURCE_KAMELET_AUTO_OFFSET_RESET_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_KAFKABATCHNOTSECUREDSOURCE_KAMELET_AUTO_OFFSET_RESET_DOC);
+ conf.define(CAMEL_SOURCE_KAFKABATCHNOTSECUREDSOURCE_KAMELET_CONSUMER_GROUP_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_KAFKABATCHNOTSECUREDSOURCE_KAMELET_CONSUMER_GROUP_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_KAFKABATCHNOTSECUREDSOURCE_KAMELET_CONSUMER_GROUP_DOC);
+ conf.define(CAMEL_SOURCE_KAFKABATCHNOTSECUREDSOURCE_KAMELET_DESERIALIZE_HEADERS_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_KAFKABATCHNOTSECUREDSOURCE_KAMELET_DESERIALIZE_HEADERS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_KAFKABATCHNOTSECUREDSOURCE_KAMELET_DESERIALIZE_HEADERS_DOC);
+ conf.define(CAMEL_SOURCE_KAFKABATCHNOTSECUREDSOURCE_KAMELET_BATCH_SIZE_CONF, ConfigDef.Type.INT, CAMEL_SOURCE_KAFKABATCHNOTSECUREDSOURCE_KAMELET_BATCH_SIZE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_KAFKABATCHNOTSECUREDSOURCE_KAMELET_BATCH_SIZE_DOC);
+ conf.define(CAMEL_SOURCE_KAFKABATCHNOTSECUREDSOURCE_KAMELET_POLL_TIMEOUT_CONF, ConfigDef.Type.INT, CAMEL_SOURCE_KAFKABATCHNOTSECUREDSOURCE_KAMELET_POLL_TIMEOUT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_KAFKABATCHNOTSECUREDSOURCE_KAMELET_POLL_TIMEOUT_DOC);
+ conf.define(CAMEL_SOURCE_KAFKABATCHNOTSECUREDSOURCE_KAMELET_MAX_POLL_INTERVAL_MS_CONF, ConfigDef.Type.INT, CAMEL_SOURCE_KAFKABATCHNOTSECUREDSOURCE_KAMELET_MAX_POLL_INTERVAL_MS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_KAFKABATCHNOTSECUREDSOURCE_KAMELET_MAX_POLL_INTERVAL_MS_DOC);
+ return conf;
+ }
+}
\ No newline at end of file
diff --git a/connectors/camel-hdfs-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/hdfs/CamelHdfsSourceTask.java b/connectors/camel-kafka-batch-not-secured-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/kafkabatchnotsecuredsource/CamelKafkabatchnotsecuredsourceSourceTask.java
similarity index 78%
copy from connectors/camel-hdfs-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/hdfs/CamelHdfsSourceTask.java
copy to connectors/camel-kafka-batch-not-secured-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/kafkabatchnotsecuredsource/CamelKafkabatchnotsecuredsourceSourceTask.java
index 187e333f08..a1c1210078 100644
--- a/connectors/camel-hdfs-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/hdfs/CamelHdfsSourceTask.java
+++ b/connectors/camel-kafka-batch-not-secured-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/kafkabatchnotsecuredsource/CamelKafkabatchnotsecuredsourceSourceTask.java
@@ -13,7 +13,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- */package org.apache.camel.kafkaconnector.hdfs;
+ */package org.apache.camel.kafkaconnector.kafkabatchnotsecuredsource;
import java.util.HashMap;
import java.util.Map;
@@ -22,17 +22,17 @@ import org.apache.camel.kafkaconnector.CamelSourceConnectorConfig;
import org.apache.camel.kafkaconnector.CamelSourceTask;
@Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.")
-public class CamelHdfsSourceTask extends CamelSourceTask {
+public class CamelKafkabatchnotsecuredsourceSourceTask
+ extends
+ CamelSourceTask {
@Override
protected CamelSourceConnectorConfig getCamelSourceConnectorConfig(
Map<String, String> props) {
- return new CamelHdfsSourceConnectorConfig(props);
+ return new CamelKafkabatchnotsecuredsourceSourceConnectorConfig(props);
}
@Override
- protected Map<String, String> getDefaultConfig() {
- return new HashMap<String, String>() {{
- put(CamelSourceConnectorConfig.CAMEL_SOURCE_COMPONENT_CONF, "hdfs");
- }};
+ protected String getSourceKamelet() {
+ return "kamelet:kafka-batch-not-secured-source";
}
}
\ No newline at end of file
diff --git a/connectors/camel-hdfs-kafka-connector/src/main/resources/META-INF/LICENSE.txt b/connectors/camel-kafka-batch-not-secured-source-kafka-connector/src/main/resources/META-INF/LICENSE.txt
similarity index 100%
copy from connectors/camel-hdfs-kafka-connector/src/main/resources/META-INF/LICENSE.txt
copy to connectors/camel-kafka-batch-not-secured-source-kafka-connector/src/main/resources/META-INF/LICENSE.txt
diff --git a/connectors/camel-hdfs-kafka-connector/src/main/resources/META-INF/NOTICE.txt b/connectors/camel-kafka-batch-not-secured-source-kafka-connector/src/main/resources/META-INF/NOTICE.txt
similarity index 100%
copy from connectors/camel-hdfs-kafka-connector/src/main/resources/META-INF/NOTICE.txt
copy to connectors/camel-kafka-batch-not-secured-source-kafka-connector/src/main/resources/META-INF/NOTICE.txt
diff --git a/connectors/camel-kafka-not-secured-source-kafka-connector/src/main/resources/kamelets/kafka-not-secured-source.kamelet.yaml b/connectors/camel-kafka-batch-not-secured-source-kafka-connector/src/main/resources/kamelets/kafka-batch-not-secured-source.kamelet.yaml
similarity index 84%
copy from connectors/camel-kafka-not-secured-source-kafka-connector/src/main/resources/kamelets/kafka-not-secured-source.kamelet.yaml
copy to connectors/camel-kafka-batch-not-secured-source-kafka-connector/src/main/resources/kamelets/kafka-batch-not-secured-source.kamelet.yaml
index 753989926a..e653cff351 100644
--- a/connectors/camel-kafka-not-secured-source-kafka-connector/src/main/resources/kamelets/kafka-not-secured-source.kamelet.yaml
+++ b/connectors/camel-kafka-batch-not-secured-source-kafka-connector/src/main/resources/kamelets/kafka-batch-not-secured-source.kamelet.yaml
@@ -17,10 +17,10 @@
apiVersion: camel.apache.org/v1
kind: Kamelet
metadata:
- name: kafka-not-secured-source
+ name: kafka-batch-not-secured-source
annotations:
camel.apache.org/kamelet.support.level: "Stable"
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxOS4wLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iTGF5ZXJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiDQoJIHZpZXdCb3g9IjAgMCA1MDAgNTAwIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA1MD [...]
camel.apache.org/provider: "Apache Software Foundation"
camel.apache.org/kamelet.group: "Kafka"
@@ -30,9 +30,9 @@ metadata:
camel.apache.org/kamelet.type: "source"
spec:
definition:
- title: "Kafka Not Secured Source"
+ title: "Kafka Batch Not Secured Source"
description: |-
- Receive data from Kafka topics on an insecure broker.
+ Receive data from Kafka topics in batch on an insecure broker and commit them manually through KafkaManualCommit.
required:
- topic
- bootstrapServers
@@ -87,8 +87,22 @@ spec:
description: When enabled the Kamelet source will deserialize all message headers to String representation.
type: boolean
default: true
+ batchSize:
+ title: Batch Dimension
+ description: The maximum number of records returned in a single call to poll()
+ type: int
+ default: 500
+ pollTimeout:
+ title: Poll Timeout Interval
+ description: The timeout used when polling the KafkaConsumer
+ type: int
+ default: 5000
+ maxPollIntervalMs:
+ title: Max Poll Interval
+ description: The maximum delay between invocations of poll() when using consumer group management
+ type: int
dependencies:
- - "mvn:org.apache.camel.kamelets:camel-kamelets-utils:4.3.0"
+ - "mvn:org.apache.camel.kamelets:camel-kamelets-utils:4.4.2"
- "camel:kafka"
- "camel:core"
- "camel:kamelet"
@@ -98,6 +112,8 @@ spec:
type: "#class:org.apache.camel.kamelets.utils.serialization.kafka.KafkaHeaderDeserializer"
properties:
enabled: '{{deserializeHeaders}}'
+ - name: manualCommitFactory
+ type: "#class:org.apache.camel.component.kafka.consumer.DefaultKafkaManualCommitFactory"
from:
uri: "kafka:{{topic}}"
parameters:
@@ -107,6 +123,11 @@ spec:
pollOnError: "{{pollOnError}}"
autoOffsetReset: "{{autoOffsetReset}}"
groupId: "{{?consumerGroup}}"
+ maxPollRecords: "{{batchSize}}"
+ pollTimeoutMs: "{{pollTimeout}}"
+ maxPollIntervalMs: "{{?maxPollIntervalMs}}"
+ batching: true
+ kafkaManualCommitFactory: "#bean:{{manualCommitFactory}}"
steps:
- process:
ref: "{{kafkaHeaderDeserializer}}"
diff --git a/connectors/camel-kafka-not-secured-source-kafka-connector/pom.xml b/connectors/camel-kafka-batch-scram-source-kafka-connector/pom.xml
similarity index 95%
copy from connectors/camel-kafka-not-secured-source-kafka-connector/pom.xml
copy to connectors/camel-kafka-batch-scram-source-kafka-connector/pom.xml
index d0b7cf579c..40a131521f 100644
--- a/connectors/camel-kafka-not-secured-source-kafka-connector/pom.xml
+++ b/connectors/camel-kafka-batch-scram-source-kafka-connector/pom.xml
@@ -24,9 +24,9 @@
<artifactId>connectors</artifactId>
<version>4.4.2-SNAPSHOT</version>
</parent>
- <artifactId>camel-kafka-not-secured-source-kafka-connector</artifactId>
- <name>Camel-Kafka-Connector :: kafka-not-secured-source</name>
- <description>Camel Kafka Connector for kafka-not-secured-source</description>
+ <artifactId>camel-kafka-batch-scram-source-kafka-connector</artifactId>
+ <name>Camel-Kafka-Connector :: kafka-batch-scram-source</name>
+ <description>Camel Kafka Connector for kafka-batch-scram-source</description>
<dependencies>
<!-- Kafka -->
<dependency>
@@ -57,14 +57,14 @@
<groupId>org.apache.camel</groupId>
<artifactId>camel-yaml-dsl</artifactId>
</dependency>
- <dependency>
- <groupId>org.apache.camel</groupId>
- <artifactId>camel-kamelet</artifactId>
- </dependency>
<dependency>
<groupId>org.apache.camel.kamelets</groupId>
<artifactId>camel-kamelets-utils</artifactId>
- <version>4.3.0</version>
+ <version>4.4.2</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.camel</groupId>
+ <artifactId>camel-kamelet</artifactId>
</dependency>
<!--END OF GENERATED CODE-->
</dependencies>
diff --git a/connectors/camel-kafka-batch-scram-source-kafka-connector/src/generated/descriptors/connector-source.properties b/connectors/camel-kafka-batch-scram-source-kafka-connector/src/generated/descriptors/connector-source.properties
new file mode 100644
index 0000000000..14cf179204
--- /dev/null
+++ b/connectors/camel-kafka-batch-scram-source-kafka-connector/src/generated/descriptors/connector-source.properties
@@ -0,0 +1 @@
+camel-kafka-batch-scram-source-source
\ No newline at end of file
diff --git a/connectors/camel-kafka-batch-scram-source-kafka-connector/src/generated/resources/camel-kafka-batch-scram-source-source.json b/connectors/camel-kafka-batch-scram-source-kafka-connector/src/generated/resources/camel-kafka-batch-scram-source-source.json
new file mode 100644
index 0000000000..8a41c66ef5
--- /dev/null
+++ b/connectors/camel-kafka-batch-scram-source-kafka-connector/src/generated/resources/camel-kafka-batch-scram-source-source.json
@@ -0,0 +1,112 @@
+{
+ "connector": {
+ "class": "org.apache.camel.kafkaconnector.kafkabatchscramsource.CamelKafkabatchscramsourceSourceConnector",
+ "artifactId": "camel-kafka-batch-scram-source-kafka-connector",
+ "groupId": "org.apache.camel.kafkaconnector",
+ "id": "camel-kafka-batch-scram-source-source",
+ "type": "source",
+ "version": "4.4.2-SNAPSHOT",
+ "description": "Receive data from Kafka topics in batch through SCRAM login module and commit them manually through KafkaManualCommit.."
+ },
+ "properties": {
+ "camel.kamelet.kafka-batch-scram-source.topic": {
+ "name": "camel.kamelet.kafka-batch-scram-source.topic",
+ "description": "Comma separated list of Kafka topic names",
+ "priority": "HIGH",
+ "required": "true"
+ },
+ "camel.kamelet.kafka-batch-scram-source.bootstrapServers": {
+ "name": "camel.kamelet.kafka-batch-scram-source.bootstrapServers",
+ "description": "Comma separated list of Kafka Broker URLs",
+ "priority": "HIGH",
+ "required": "true"
+ },
+ "camel.kamelet.kafka-batch-scram-source.securityProtocol": {
+ "name": "camel.kamelet.kafka-batch-scram-source.securityProtocol",
+ "description": "Protocol used to communicate with brokers. SASL_PLAINTEXT, PLAINTEXT, SASL_SSL and SSL are supported",
+ "defaultValue": "\"SASL_SSL\"",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
+ "camel.kamelet.kafka-batch-scram-source.saslMechanism": {
+ "name": "camel.kamelet.kafka-batch-scram-source.saslMechanism",
+ "description": "The Simple Authentication and Security Layer (SASL) Mechanism used.",
+ "defaultValue": "\"SCRAM-SHA-512\"",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
+ "camel.kamelet.kafka-batch-scram-source.user": {
+ "name": "camel.kamelet.kafka-batch-scram-source.user",
+ "description": "Username to authenticate to Kafka",
+ "priority": "HIGH",
+ "required": "true"
+ },
+ "camel.kamelet.kafka-batch-scram-source.password": {
+ "name": "camel.kamelet.kafka-batch-scram-source.password",
+ "description": "Password to authenticate to kafka",
+ "priority": "HIGH",
+ "required": "true"
+ },
+ "camel.kamelet.kafka-batch-scram-source.autoCommitEnable": {
+ "name": "camel.kamelet.kafka-batch-scram-source.autoCommitEnable",
+ "description": "If true, periodically commit to ZooKeeper the offset of messages already fetched by the consumer",
+ "defaultValue": "true",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
+ "camel.kamelet.kafka-batch-scram-source.allowManualCommit": {
+ "name": "camel.kamelet.kafka-batch-scram-source.allowManualCommit",
+ "description": "Whether to allow doing manual commits",
+ "defaultValue": "false",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
+ "camel.kamelet.kafka-batch-scram-source.pollOnError": {
+ "name": "camel.kamelet.kafka-batch-scram-source.pollOnError",
+ "description": "What to do if kafka threw an exception while polling for new messages. There are 5 enums and the value can be one of DISCARD, ERROR_HANDLER, RECONNECT, RETRY, STOP",
+ "defaultValue": "\"ERROR_HANDLER\"",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
+ "camel.kamelet.kafka-batch-scram-source.autoOffsetReset": {
+ "name": "camel.kamelet.kafka-batch-scram-source.autoOffsetReset",
+ "description": "What to do when there is no initial offset. There are 3 enums and the value can be one of latest, earliest, none",
+ "defaultValue": "\"latest\"",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
+ "camel.kamelet.kafka-batch-scram-source.consumerGroup": {
+ "name": "camel.kamelet.kafka-batch-scram-source.consumerGroup",
+ "description": "A string that uniquely identifies the group of consumers to which this source belongs Example: my-group-id",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
+ "camel.kamelet.kafka-batch-scram-source.deserializeHeaders": {
+ "name": "camel.kamelet.kafka-batch-scram-source.deserializeHeaders",
+ "description": "When enabled the Kamelet source will deserialize all message headers to String representation.",
+ "defaultValue": "true",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
+ "camel.kamelet.kafka-batch-scram-source.batchSize": {
+ "name": "camel.kamelet.kafka-batch-scram-source.batchSize",
+ "description": "The maximum number of records returned in a single call to poll()",
+ "defaultValue": "500",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
+ "camel.kamelet.kafka-batch-scram-source.pollTimeout": {
+ "name": "camel.kamelet.kafka-batch-scram-source.pollTimeout",
+ "description": "The timeout used when polling the KafkaConsumer",
+ "defaultValue": "5000",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
+ "camel.kamelet.kafka-batch-scram-source.maxPollIntervalMs": {
+ "name": "camel.kamelet.kafka-batch-scram-source.maxPollIntervalMs",
+ "description": "The maximum delay between invocations of poll() when using consumer group management",
+ "priority": "MEDIUM",
+ "required": "false"
+ }
+ }
+}
diff --git a/connectors/camel-hdfs-kafka-connector/src/main/assembly/package.xml b/connectors/camel-kafka-batch-scram-source-kafka-connector/src/main/assembly/package.xml
similarity index 100%
copy from connectors/camel-hdfs-kafka-connector/src/main/assembly/package.xml
copy to connectors/camel-kafka-batch-scram-source-kafka-connector/src/main/assembly/package.xml
diff --git a/connectors/camel-hdfs-kafka-connector/src/main/docs/examples/CamelHdfsSourceConnector.properties b/connectors/camel-kafka-batch-scram-source-kafka-connector/src/main/docs/examples/CamelKafkabatchscramsourceSourceConnector.properties
similarity index 71%
copy from connectors/camel-hdfs-kafka-connector/src/main/docs/examples/CamelHdfsSourceConnector.properties
copy to connectors/camel-kafka-batch-scram-source-kafka-connector/src/main/docs/examples/CamelKafkabatchscramsourceSourceConnector.properties
index 396d21efb2..b588153edc 100644
--- a/connectors/camel-hdfs-kafka-connector/src/main/docs/examples/CamelHdfsSourceConnector.properties
+++ b/connectors/camel-kafka-batch-scram-source-kafka-connector/src/main/docs/examples/CamelKafkabatchscramsourceSourceConnector.properties
@@ -15,8 +15,8 @@
## limitations under the License.
## ---------------------------------------------------------------------------
-name=CamelHdfsSourceConnector
-connector.class=org.apache.camel.kafkaconnector.hdfs.CamelHdfsSourceConnector
+name=CamelKafka-batch-scram-sourceSourceConnector
+connector.class=org.apache.camel.kafkaconnector.kafkabatchscramsource.CamelKafkabatchscramsourceSourceConnector
tasks.max=1
# use the kafka converters that better suit your needs, these are just defaults:
@@ -28,7 +28,11 @@ topics=
# mandatory properties (for a complete properties list see the connector documentation):
-# HDFS host to use
-camel.source.path.hostName=
-# The directory path to use
-camel.source.path.path=
+# Comma separated list of Kafka Broker URLs
+camel.kamelet.kafka-batch-scram-source.bootstrapServers=
+# Password to authenticate to kafka
+camel.kamelet.kafka-batch-scram-source.password=
+# Comma separated list of Kafka topic names
+camel.kamelet.kafka-batch-scram-source.topic=
+# Username to authenticate to Kafka
+camel.kamelet.kafka-batch-scram-source.user=
diff --git a/connectors/camel-hdfs-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/hdfs/CamelHdfsSourceConnector.java b/connectors/camel-kafka-batch-scram-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/kafkabatchscramsource/CamelKafkabatchscramsourceSourceConnector.java
similarity index 80%
copy from connectors/camel-hdfs-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/hdfs/CamelHdfsSourceConnector.java
copy to connectors/camel-kafka-batch-scram-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/kafkabatchscramsource/CamelKafkabatchscramsourceSourceConnector.java
index 984240cb29..1d266621c0 100644
--- a/connectors/camel-hdfs-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/hdfs/CamelHdfsSourceConnector.java
+++ b/connectors/camel-kafka-batch-scram-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/kafkabatchscramsource/CamelKafkabatchscramsourceSourceConnector.java
@@ -13,7 +13,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- */package org.apache.camel.kafkaconnector.hdfs;
+ */package org.apache.camel.kafkaconnector.kafkabatchscramsource;
import javax.annotation.Generated;
import org.apache.camel.kafkaconnector.CamelSourceConnector;
@@ -21,14 +21,16 @@ import org.apache.kafka.common.config.ConfigDef;
import org.apache.kafka.connect.connector.Task;
@Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.")
-public class CamelHdfsSourceConnector extends CamelSourceConnector {
+public class CamelKafkabatchscramsourceSourceConnector
+ extends
+ CamelSourceConnector {
@Override
public ConfigDef config() {
- return CamelHdfsSourceConnectorConfig.conf();
+ return CamelKafkabatchscramsourceSourceConnectorConfig.conf();
}
@Override
public Class<? extends Task> taskClass() {
- return CamelHdfsSourceTask.class;
+ return CamelKafkabatchscramsourceSourceTask.class;
}
}
\ No newline at end of file
diff --git a/connectors/camel-kafka-batch-scram-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/kafkabatchscramsource/CamelKafkabatchscramsourceSourceConnectorConfig.java b/connectors/camel-kafka-batch-scram-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/kafkabatchscramsource/CamelKafkabatchscramsourceSourceConnectorConfig.java
new file mode 100644
index 0000000000..b8a5a4f66f
--- /dev/null
+++ b/connectors/camel-kafka-batch-scram-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/kafkabatchscramsource/CamelKafkabatchscramsourceSourceConnectorConfig.java
@@ -0,0 +1,104 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */package org.apache.camel.kafkaconnector.kafkabatchscramsource;
+
+import java.util.Map;
+import javax.annotation.Generated;
+import org.apache.camel.kafkaconnector.CamelSourceConnectorConfig;
+import org.apache.kafka.common.config.ConfigDef;
+
+@Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.")
+public class CamelKafkabatchscramsourceSourceConnectorConfig
+ extends
+ CamelSourceConnectorConfig {
+
+ public static final String CAMEL_SOURCE_KAFKABATCHSCRAMSOURCE_KAMELET_TOPIC_CONF = "camel.kamelet.kafka-batch-scram-source.topic";
+ public static final String CAMEL_SOURCE_KAFKABATCHSCRAMSOURCE_KAMELET_TOPIC_DOC = "Comma separated list of Kafka topic names";
+ public static final String CAMEL_SOURCE_KAFKABATCHSCRAMSOURCE_KAMELET_TOPIC_DEFAULT = null;
+ public static final String CAMEL_SOURCE_KAFKABATCHSCRAMSOURCE_KAMELET_BOOTSTRAP_SERVERS_CONF = "camel.kamelet.kafka-batch-scram-source.bootstrapServers";
+ public static final String CAMEL_SOURCE_KAFKABATCHSCRAMSOURCE_KAMELET_BOOTSTRAP_SERVERS_DOC = "Comma separated list of Kafka Broker URLs";
+ public static final String CAMEL_SOURCE_KAFKABATCHSCRAMSOURCE_KAMELET_BOOTSTRAP_SERVERS_DEFAULT = null;
+ public static final String CAMEL_SOURCE_KAFKABATCHSCRAMSOURCE_KAMELET_SECURITY_PROTOCOL_CONF = "camel.kamelet.kafka-batch-scram-source.securityProtocol";
+ public static final String CAMEL_SOURCE_KAFKABATCHSCRAMSOURCE_KAMELET_SECURITY_PROTOCOL_DOC = "Protocol used to communicate with brokers. SASL_PLAINTEXT, PLAINTEXT, SASL_SSL and SSL are supported";
+ public static final String CAMEL_SOURCE_KAFKABATCHSCRAMSOURCE_KAMELET_SECURITY_PROTOCOL_DEFAULT = "SASL_SSL";
+ public static final String CAMEL_SOURCE_KAFKABATCHSCRAMSOURCE_KAMELET_SASL_MECHANISM_CONF = "camel.kamelet.kafka-batch-scram-source.saslMechanism";
+ public static final String CAMEL_SOURCE_KAFKABATCHSCRAMSOURCE_KAMELET_SASL_MECHANISM_DOC = "The Simple Authentication and Security Layer (SASL) Mechanism used.";
+ public static final String CAMEL_SOURCE_KAFKABATCHSCRAMSOURCE_KAMELET_SASL_MECHANISM_DEFAULT = "SCRAM-SHA-512";
+ public static final String CAMEL_SOURCE_KAFKABATCHSCRAMSOURCE_KAMELET_USER_CONF = "camel.kamelet.kafka-batch-scram-source.user";
+ public static final String CAMEL_SOURCE_KAFKABATCHSCRAMSOURCE_KAMELET_USER_DOC = "Username to authenticate to Kafka";
+ public static final String CAMEL_SOURCE_KAFKABATCHSCRAMSOURCE_KAMELET_USER_DEFAULT = null;
+ public static final String CAMEL_SOURCE_KAFKABATCHSCRAMSOURCE_KAMELET_PASSWORD_CONF = "camel.kamelet.kafka-batch-scram-source.password";
+ public static final String CAMEL_SOURCE_KAFKABATCHSCRAMSOURCE_KAMELET_PASSWORD_DOC = "Password to authenticate to kafka";
+ public static final String CAMEL_SOURCE_KAFKABATCHSCRAMSOURCE_KAMELET_PASSWORD_DEFAULT = null;
+ public static final String CAMEL_SOURCE_KAFKABATCHSCRAMSOURCE_KAMELET_AUTO_COMMIT_ENABLE_CONF = "camel.kamelet.kafka-batch-scram-source.autoCommitEnable";
+ public static final String CAMEL_SOURCE_KAFKABATCHSCRAMSOURCE_KAMELET_AUTO_COMMIT_ENABLE_DOC = "If true, periodically commit to ZooKeeper the offset of messages already fetched by the consumer";
+ public static final Boolean CAMEL_SOURCE_KAFKABATCHSCRAMSOURCE_KAMELET_AUTO_COMMIT_ENABLE_DEFAULT = true;
+ public static final String CAMEL_SOURCE_KAFKABATCHSCRAMSOURCE_KAMELET_ALLOW_MANUAL_COMMIT_CONF = "camel.kamelet.kafka-batch-scram-source.allowManualCommit";
+ public static final String CAMEL_SOURCE_KAFKABATCHSCRAMSOURCE_KAMELET_ALLOW_MANUAL_COMMIT_DOC = "Whether to allow doing manual commits";
+ public static final Boolean CAMEL_SOURCE_KAFKABATCHSCRAMSOURCE_KAMELET_ALLOW_MANUAL_COMMIT_DEFAULT = false;
+ public static final String CAMEL_SOURCE_KAFKABATCHSCRAMSOURCE_KAMELET_POLL_ON_ERROR_CONF = "camel.kamelet.kafka-batch-scram-source.pollOnError";
+ public static final String CAMEL_SOURCE_KAFKABATCHSCRAMSOURCE_KAMELET_POLL_ON_ERROR_DOC = "What to do if kafka threw an exception while polling for new messages. There are 5 enums and the value can be one of DISCARD, ERROR_HANDLER, RECONNECT, RETRY, STOP";
+ public static final String CAMEL_SOURCE_KAFKABATCHSCRAMSOURCE_KAMELET_POLL_ON_ERROR_DEFAULT = "ERROR_HANDLER";
+ public static final String CAMEL_SOURCE_KAFKABATCHSCRAMSOURCE_KAMELET_AUTO_OFFSET_RESET_CONF = "camel.kamelet.kafka-batch-scram-source.autoOffsetReset";
+ public static final String CAMEL_SOURCE_KAFKABATCHSCRAMSOURCE_KAMELET_AUTO_OFFSET_RESET_DOC = "What to do when there is no initial offset. There are 3 enums and the value can be one of latest, earliest, none";
+ public static final String CAMEL_SOURCE_KAFKABATCHSCRAMSOURCE_KAMELET_AUTO_OFFSET_RESET_DEFAULT = "latest";
+ public static final String CAMEL_SOURCE_KAFKABATCHSCRAMSOURCE_KAMELET_CONSUMER_GROUP_CONF = "camel.kamelet.kafka-batch-scram-source.consumerGroup";
+ public static final String CAMEL_SOURCE_KAFKABATCHSCRAMSOURCE_KAMELET_CONSUMER_GROUP_DOC = "A string that uniquely identifies the group of consumers to which this source belongs Example: my-group-id";
+ public static final String CAMEL_SOURCE_KAFKABATCHSCRAMSOURCE_KAMELET_CONSUMER_GROUP_DEFAULT = null;
+ public static final String CAMEL_SOURCE_KAFKABATCHSCRAMSOURCE_KAMELET_DESERIALIZE_HEADERS_CONF = "camel.kamelet.kafka-batch-scram-source.deserializeHeaders";
+ public static final String CAMEL_SOURCE_KAFKABATCHSCRAMSOURCE_KAMELET_DESERIALIZE_HEADERS_DOC = "When enabled the Kamelet source will deserialize all message headers to String representation.";
+ public static final Boolean CAMEL_SOURCE_KAFKABATCHSCRAMSOURCE_KAMELET_DESERIALIZE_HEADERS_DEFAULT = true;
+ public static final String CAMEL_SOURCE_KAFKABATCHSCRAMSOURCE_KAMELET_BATCH_SIZE_CONF = "camel.kamelet.kafka-batch-scram-source.batchSize";
+ public static final String CAMEL_SOURCE_KAFKABATCHSCRAMSOURCE_KAMELET_BATCH_SIZE_DOC = "The maximum number of records returned in a single call to poll()";
+ public static final Integer CAMEL_SOURCE_KAFKABATCHSCRAMSOURCE_KAMELET_BATCH_SIZE_DEFAULT = 500;
+ public static final String CAMEL_SOURCE_KAFKABATCHSCRAMSOURCE_KAMELET_POLL_TIMEOUT_CONF = "camel.kamelet.kafka-batch-scram-source.pollTimeout";
+ public static final String CAMEL_SOURCE_KAFKABATCHSCRAMSOURCE_KAMELET_POLL_TIMEOUT_DOC = "The timeout used when polling the KafkaConsumer";
+ public static final Integer CAMEL_SOURCE_KAFKABATCHSCRAMSOURCE_KAMELET_POLL_TIMEOUT_DEFAULT = 5000;
+ public static final String CAMEL_SOURCE_KAFKABATCHSCRAMSOURCE_KAMELET_MAX_POLL_INTERVAL_MS_CONF = "camel.kamelet.kafka-batch-scram-source.maxPollIntervalMs";
+ public static final String CAMEL_SOURCE_KAFKABATCHSCRAMSOURCE_KAMELET_MAX_POLL_INTERVAL_MS_DOC = "The maximum delay between invocations of poll() when using consumer group management";
+ public static final Integer CAMEL_SOURCE_KAFKABATCHSCRAMSOURCE_KAMELET_MAX_POLL_INTERVAL_MS_DEFAULT = null;
+
+ public CamelKafkabatchscramsourceSourceConnectorConfig(
+ ConfigDef config,
+ Map<String, String> parsedConfig) {
+ super(config, parsedConfig);
+ }
+
+ public CamelKafkabatchscramsourceSourceConnectorConfig(
+ Map<String, String> parsedConfig) {
+ this(conf(), parsedConfig);
+ }
+
+ public static ConfigDef conf() {
+ ConfigDef conf = new ConfigDef(CamelSourceConnectorConfig.conf());
+ conf.define(CAMEL_SOURCE_KAFKABATCHSCRAMSOURCE_KAMELET_TOPIC_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_KAFKABATCHSCRAMSOURCE_KAMELET_TOPIC_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_KAFKABATCHSCRAMSOURCE_KAMELET_TOPIC_DOC);
+ conf.define(CAMEL_SOURCE_KAFKABATCHSCRAMSOURCE_KAMELET_BOOTSTRAP_SERVERS_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_KAFKABATCHSCRAMSOURCE_KAMELET_BOOTSTRAP_SERVERS_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_KAFKABATCHSCRAMSOURCE_KAMELET_BOOTSTRAP_SERVERS_DOC);
+ conf.define(CAMEL_SOURCE_KAFKABATCHSCRAMSOURCE_KAMELET_SECURITY_PROTOCOL_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_KAFKABATCHSCRAMSOURCE_KAMELET_SECURITY_PROTOCOL_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_KAFKABATCHSCRAMSOURCE_KAMELET_SECURITY_PROTOCOL_DOC);
+ conf.define(CAMEL_SOURCE_KAFKABATCHSCRAMSOURCE_KAMELET_SASL_MECHANISM_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_KAFKABATCHSCRAMSOURCE_KAMELET_SASL_MECHANISM_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_KAFKABATCHSCRAMSOURCE_KAMELET_SASL_MECHANISM_DOC);
+ conf.define(CAMEL_SOURCE_KAFKABATCHSCRAMSOURCE_KAMELET_USER_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_KAFKABATCHSCRAMSOURCE_KAMELET_USER_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_KAFKABATCHSCRAMSOURCE_KAMELET_USER_DOC);
+ conf.define(CAMEL_SOURCE_KAFKABATCHSCRAMSOURCE_KAMELET_PASSWORD_CONF, ConfigDef.Type.PASSWORD, CAMEL_SOURCE_KAFKABATCHSCRAMSOURCE_KAMELET_PASSWORD_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_KAFKABATCHSCRAMSOURCE_KAMELET_PASSWORD_DOC);
+ conf.define(CAMEL_SOURCE_KAFKABATCHSCRAMSOURCE_KAMELET_AUTO_COMMIT_ENABLE_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_KAFKABATCHSCRAMSOURCE_KAMELET_AUTO_COMMIT_ENABLE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_KAFKABATCHSCRAMSOURCE_KAMELET_AUTO_COMMIT_ENABLE_DOC);
+ conf.define(CAMEL_SOURCE_KAFKABATCHSCRAMSOURCE_KAMELET_ALLOW_MANUAL_COMMIT_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_KAFKABATCHSCRAMSOURCE_KAMELET_ALLOW_MANUAL_COMMIT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_KAFKABATCHSCRAMSOURCE_KAMELET_ALLOW_MANUAL_COMMIT_DOC);
+ conf.define(CAMEL_SOURCE_KAFKABATCHSCRAMSOURCE_KAMELET_POLL_ON_ERROR_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_KAFKABATCHSCRAMSOURCE_KAMELET_POLL_ON_ERROR_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_KAFKABATCHSCRAMSOURCE_KAMELET_POLL_ON_ERROR_DOC);
+ conf.define(CAMEL_SOURCE_KAFKABATCHSCRAMSOURCE_KAMELET_AUTO_OFFSET_RESET_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_KAFKABATCHSCRAMSOURCE_KAMELET_AUTO_OFFSET_RESET_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_KAFKABATCHSCRAMSOURCE_KAMELET_AUTO_OFFSET_RESET_DOC);
+ conf.define(CAMEL_SOURCE_KAFKABATCHSCRAMSOURCE_KAMELET_CONSUMER_GROUP_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_KAFKABATCHSCRAMSOURCE_KAMELET_CONSUMER_GROUP_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_KAFKABATCHSCRAMSOURCE_KAMELET_CONSUMER_GROUP_DOC);
+ conf.define(CAMEL_SOURCE_KAFKABATCHSCRAMSOURCE_KAMELET_DESERIALIZE_HEADERS_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_KAFKABATCHSCRAMSOURCE_KAMELET_DESERIALIZE_HEADERS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_KAFKABATCHSCRAMSOURCE_KAMELET_DESERIALIZE_HEADERS_DOC);
+ conf.define(CAMEL_SOURCE_KAFKABATCHSCRAMSOURCE_KAMELET_BATCH_SIZE_CONF, ConfigDef.Type.INT, CAMEL_SOURCE_KAFKABATCHSCRAMSOURCE_KAMELET_BATCH_SIZE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_KAFKABATCHSCRAMSOURCE_KAMELET_BATCH_SIZE_DOC);
+ conf.define(CAMEL_SOURCE_KAFKABATCHSCRAMSOURCE_KAMELET_POLL_TIMEOUT_CONF, ConfigDef.Type.INT, CAMEL_SOURCE_KAFKABATCHSCRAMSOURCE_KAMELET_POLL_TIMEOUT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_KAFKABATCHSCRAMSOURCE_KAMELET_POLL_TIMEOUT_DOC);
+ conf.define(CAMEL_SOURCE_KAFKABATCHSCRAMSOURCE_KAMELET_MAX_POLL_INTERVAL_MS_CONF, ConfigDef.Type.INT, CAMEL_SOURCE_KAFKABATCHSCRAMSOURCE_KAMELET_MAX_POLL_INTERVAL_MS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_KAFKABATCHSCRAMSOURCE_KAMELET_MAX_POLL_INTERVAL_MS_DOC);
+ return conf;
+ }
+}
\ No newline at end of file
diff --git a/connectors/camel-hdfs-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/hdfs/CamelHdfsSourceTask.java b/connectors/camel-kafka-batch-scram-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/kafkabatchscramsource/CamelKafkabatchscramsourceSourceTask.java
similarity index 78%
copy from connectors/camel-hdfs-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/hdfs/CamelHdfsSourceTask.java
copy to connectors/camel-kafka-batch-scram-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/kafkabatchscramsource/CamelKafkabatchscramsourceSourceTask.java
index 187e333f08..2c7bc7026e 100644
--- a/connectors/camel-hdfs-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/hdfs/CamelHdfsSourceTask.java
+++ b/connectors/camel-kafka-batch-scram-source-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/kafkabatchscramsource/CamelKafkabatchscramsourceSourceTask.java
@@ -13,7 +13,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- */package org.apache.camel.kafkaconnector.hdfs;
+ */package org.apache.camel.kafkaconnector.kafkabatchscramsource;
import java.util.HashMap;
import java.util.Map;
@@ -22,17 +22,15 @@ import org.apache.camel.kafkaconnector.CamelSourceConnectorConfig;
import org.apache.camel.kafkaconnector.CamelSourceTask;
@Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.")
-public class CamelHdfsSourceTask extends CamelSourceTask {
+public class CamelKafkabatchscramsourceSourceTask extends CamelSourceTask {
@Override
protected CamelSourceConnectorConfig getCamelSourceConnectorConfig(
Map<String, String> props) {
- return new CamelHdfsSourceConnectorConfig(props);
+ return new CamelKafkabatchscramsourceSourceConnectorConfig(props);
}
@Override
- protected Map<String, String> getDefaultConfig() {
- return new HashMap<String, String>() {{
- put(CamelSourceConnectorConfig.CAMEL_SOURCE_COMPONENT_CONF, "hdfs");
- }};
+ protected String getSourceKamelet() {
+ return "kamelet:kafka-batch-scram-source";
}
}
\ No newline at end of file
diff --git a/connectors/camel-hdfs-kafka-connector/src/main/resources/META-INF/LICENSE.txt b/connectors/camel-kafka-batch-scram-source-kafka-connector/src/main/resources/META-INF/LICENSE.txt
similarity index 100%
copy from connectors/camel-hdfs-kafka-connector/src/main/resources/META-INF/LICENSE.txt
copy to connectors/camel-kafka-batch-scram-source-kafka-connector/src/main/resources/META-INF/LICENSE.txt
diff --git a/connectors/camel-hdfs-kafka-connector/src/main/resources/META-INF/NOTICE.txt b/connectors/camel-kafka-batch-scram-source-kafka-connector/src/main/resources/META-INF/NOTICE.txt
similarity index 100%
copy from connectors/camel-hdfs-kafka-connector/src/main/resources/META-INF/NOTICE.txt
copy to connectors/camel-kafka-batch-scram-source-kafka-connector/src/main/resources/META-INF/NOTICE.txt
diff --git a/connectors/camel-kafka-scram-source-kafka-connector/src/main/resources/kamelets/kafka-scram-source.kamelet.yaml b/connectors/camel-kafka-batch-scram-source-kafka-connector/src/main/resources/kamelets/kafka-batch-scram-source.kamelet.yaml
similarity index 86%
copy from connectors/camel-kafka-scram-source-kafka-connector/src/main/resources/kamelets/kafka-scram-source.kamelet.yaml
copy to connectors/camel-kafka-batch-scram-source-kafka-connector/src/main/resources/kamelets/kafka-batch-scram-source.kamelet.yaml
index c1f4ad2732..c7fcc9ea8c 100644
--- a/connectors/camel-kafka-scram-source-kafka-connector/src/main/resources/kamelets/kafka-scram-source.kamelet.yaml
+++ b/connectors/camel-kafka-batch-scram-source-kafka-connector/src/main/resources/kamelets/kafka-batch-scram-source.kamelet.yaml
@@ -17,10 +17,10 @@
apiVersion: camel.apache.org/v1
kind: Kamelet
metadata:
- name: kafka-scram-source
+ name: kafka-batch-scram-source
annotations:
camel.apache.org/kamelet.support.level: "Preview"
- camel.apache.org/catalog.version: "4.3.0"
+ camel.apache.org/catalog.version: "4.4.2"
camel.apache.org/kamelet.icon: "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxOS4wLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iTGF5ZXJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiDQoJIHZpZXdCb3g9IjAgMCA1MDAgNTAwIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA1MD [...]
camel.apache.org/provider: "Apache Software Foundation"
camel.apache.org/kamelet.group: "Kafka"
@@ -32,9 +32,9 @@ metadata:
camel.apache.org/kamelet.type: "source"
spec:
definition:
- title: "Kafka Scram Source"
+ title: "Kafka Batch Scram Source"
description: |-
- Receive data from Kafka topics through SCRAM login module.
+ Receive data from Kafka topics in batch through SCRAM login module and commit them manually through KafkaManualCommit..
required:
- topic
- bootstrapServers
@@ -88,13 +88,11 @@ spec:
description: If true, periodically commit to ZooKeeper the offset of messages already fetched by the consumer
type: boolean
default: true
- x-descriptors:
allowManualCommit:
title: Allow Manual Commit
description: Whether to allow doing manual commits
type: boolean
default: false
- x-descriptors:
pollOnError:
title: Poll On Error Behavior
description: What to do if kafka threw an exception while polling for new messages. There are 5 enums and the value can be one of DISCARD, ERROR_HANDLER, RECONNECT, RETRY, STOP
@@ -119,10 +117,23 @@ spec:
title: Automatically Deserialize Headers
description: When enabled the Kamelet source will deserialize all message headers to String representation.
type: boolean
- x-descriptors:
default: true
+ batchSize:
+ title: Batch Dimension
+ description: The maximum number of records returned in a single call to poll()
+ type: int
+ default: 500
+ pollTimeout:
+ title: Poll Timeout Interval
+ description: The timeout used when polling the KafkaConsumer
+ type: int
+ default: 5000
+ maxPollIntervalMs:
+ title: Max Poll Interval
+ description: The maximum delay between invocations of poll() when using consumer group management
+ type: int
dependencies:
- - "mvn:org.apache.camel.kamelets:camel-kamelets-utils:4.3.0"
+ - "mvn:org.apache.camel.kamelets:camel-kamelets-utils:4.4.2"
- "camel:core"
- "camel:kafka"
- "camel:kamelet"
@@ -132,6 +143,8 @@ spec:
type: "#class:org.apache.camel.kamelets.utils.serialization.kafka.KafkaHeaderDeserializer"
properties:
enabled: '{{deserializeHeaders}}'
+ - name: manualCommitFactory
+ type: "#class:org.apache.camel.component.kafka.consumer.DefaultKafkaManualCommitFactory"
from:
uri: "kafka:{{topic}}"
parameters:
@@ -144,6 +157,11 @@ spec:
pollOnError: "{{pollOnError}}"
autoOffsetReset: "{{autoOffsetReset}}"
groupId: "{{?consumerGroup}}"
+ maxPollRecords: "{{batchSize}}"
+ pollTimeoutMs: "{{pollTimeout}}"
+ maxPollIntervalMs: "{{?maxPollIntervalMs}}"
+ batching: true
+ kafkaManualCommitFactory: "#bean:{{manualCommitFactory}}"
steps:
- process:
ref: "{{kafkaHeaderDeserializer}}"
diff --git a/connectors/camel-kafka-scram-source-kafka-connector/pom.xml b/connectors/camel-kafka-batch-source-kafka-connector/pom.xml
similarity index 95%
copy from connectors/camel-kafka-scram-source-kafka-connector/pom.xml
copy to connectors/camel-kafka-batch-source-kafka-connector/pom.xml
index 89b3616f67..31b6ebd041 100644
--- a/connectors/camel-kafka-scram-source-kafka-connector/pom.xml
+++ b/connectors/camel-kafka-batch-source-kafka-connector/pom.xml
@@ -24,9 +24,9 @@
<artifactId>connectors</artifactId>
<version>4.4.2-SNAPSHOT</version>
</parent>
- <artifactId>camel-kafka-scram-source-kafka-connector</artifactId>
- <name>Camel-Kafka-Connector :: kafka-scram-source</name>
- <description>Camel Kafka Connector for kafka-scram-source</description>
+ <artifactId>camel-kafka-batch-source-kafka-connector</artifactId>
+ <name>Camel-Kafka-Connector :: kafka-batch-source</name>
+ <description>Camel Kafka Connector for kafka-batch-source</description>
<dependencies>
<!-- Kafka -->
<dependency>
@@ -57,14 +57,14 @@
<groupId>org.apache.camel</groupId>
<artifactId>camel-yaml-dsl</artifactId>
</dependency>
- <dependency>
- <groupId>org.apache.camel</groupId>
- <artifactId>camel-kamelet</artifactId>
- </dependency>
<dependency>
<groupId>org.apache.camel.kamelets</groupId>
<artifactId>camel-kamelets-utils</artifactId>
- <version>4.3.0</version>
+ <version>4.4.2</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.camel</groupId>
+ <artifactId>camel-kamelet</artifactId>
</dependency>
<!--END OF GENERATED CODE-->
... 5537 lines suppressed ...