This is an automated email from the ASF dual-hosted git repository. valdar pushed a commit to branch camel-master in repository https://gitbox.apache.org/repos/asf/camel-kafka-connector.git
The following commit(s) were added to refs/heads/camel-master by this push: new c43e42b [create-pull-request] automated change c43e42b is described below commit c43e42b8cacb804353ab0844214f241eb4072faf Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> AuthorDate: Sat Oct 17 04:10:50 2020 +0000 [create-pull-request] automated change --- .../connectors/camel-azure-storage-blob-sink.json | 10 + .../camel-azure-storage-blob-source.json | 10 + .../resources/connectors/camel-couchbase-sink.json | 2 +- .../connectors/camel-couchbase-source.json | 2 +- .../resources/descriptors/connectors.properties | 951 ++++++++++----------- connectors/camel-atlasmap-kafka-connector/pom.xml | 135 +++ .../descriptors/connector-sink.properties | 1 + .../generated/resources/camel-atlasmap-sink.json | 85 ++ .../src/main/assembly/package.xml | 57 ++ .../docs/camel-atlasmap-kafka-sink-connector.adoc | 66 ++ .../CamelAtlasmapSinkConnector.properties} | 10 +- .../atlasmap/CamelAtlasmapSinkConnector.java | 35 + .../atlasmap/CamelAtlasmapSinkConnectorConfig.java | 96 +++ .../atlasmap/CamelAtlasmapSinkTask.java | 39 + .../src/main/resources/META-INF/LICENSE.txt | 203 +++++ .../src/main/resources/META-INF/NOTICE.txt | 11 + .../resources/camel-azure-storage-blob-sink.json | 10 + .../resources/camel-azure-storage-blob-source.json | 10 + ...el-azure-storage-blob-kafka-sink-connector.adoc | 4 +- ...-azure-storage-blob-kafka-source-connector.adoc | 4 +- .../CamelAzurestorageblobSinkConnectorConfig.java | 8 + ...CamelAzurestorageblobSourceConnectorConfig.java | 8 + .../generated/resources/camel-couchbase-sink.json | 2 +- .../resources/camel-couchbase-source.json | 2 +- .../docs/camel-couchbase-kafka-sink-connector.adoc | 2 +- .../camel-couchbase-kafka-source-connector.adoc | 2 +- .../CamelCouchbaseSinkConnector.properties | 2 + .../CamelCouchbaseSourceConnector.properties | 2 + .../CamelCouchbaseSinkConnectorConfig.java | 2 +- .../CamelCouchbaseSourceConnectorConfig.java | 2 +- connectors/pom.xml | 1 + docs/modules/ROOT/pages/connectors.adoc | 2 +- .../camel-atlasmap-kafka-sink-connector.adoc | 66 ++ ...el-azure-storage-blob-kafka-sink-connector.adoc | 4 +- ...-azure-storage-blob-kafka-source-connector.adoc | 4 +- .../camel-couchbase-kafka-sink-connector.adoc | 2 +- .../camel-couchbase-kafka-source-connector.adoc | 2 +- 37 files changed, 1357 insertions(+), 497 deletions(-) diff --git a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-azure-storage-blob-sink.json b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-azure-storage-blob-sink.json index 26bb597..3ec438a 100644 --- a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-azure-storage-blob-sink.json +++ b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-azure-storage-blob-sink.json @@ -83,6 +83,11 @@ "description": "Filters the results to return only blobs whose names begin with the specified prefix. May be null to return all blobs.", "priority": "MEDIUM" }, + "camel.sink.endpoint.regex": { + "name": "camel.sink.endpoint.regex", + "description": "Filters the results to return only blobs whose names match the specified regular expression. May be null to return all if both prefix and regex are set, regex takes the priority and prefix is ignored.", + "priority": "MEDIUM" + }, "camel.sink.endpoint.serviceClient": { "name": "camel.sink.endpoint.serviceClient", "description": "Client to a storage account. This client does not hold any state about a particular storage account but is instead a convenient way of sending off appropriate requests to the resource on the service. It may also be used to construct URLs to blobs and containers. This client contains operations on a service account. Operations on a container are available on BlobContainerClient through BlobServiceClient#getBlobContainerClient(String), and operations on a blob are availa [...] @@ -234,6 +239,11 @@ "description": "Filters the results to return only blobs whose names begin with the specified prefix. May be null to return all blobs.", "priority": "MEDIUM" }, + "camel.component.azure-storage-blob.regex": { + "name": "camel.component.azure-storage-blob.regex", + "description": "Filters the results to return only blobs whose names match the specified regular expression. May be null to return all if both prefix and regex are set, regex takes the priority and prefix is ignored.", + "priority": "MEDIUM" + }, "camel.component.azure-storage-blob.serviceClient": { "name": "camel.component.azure-storage-blob.serviceClient", "description": "Client to a storage account. This client does not hold any state about a particular storage account but is instead a convenient way of sending off appropriate requests to the resource on the service. It may also be used to construct URLs to blobs and containers. This client contains operations on a service account. Operations on a container are available on BlobContainerClient through BlobServiceClient#getBlobContainerClient(String), and operations on a blob are availa [...] diff --git a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-azure-storage-blob-source.json b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-azure-storage-blob-source.json index a4e12bc..d25e4de 100644 --- a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-azure-storage-blob-source.json +++ b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-azure-storage-blob-source.json @@ -83,6 +83,11 @@ "description": "Filters the results to return only blobs whose names begin with the specified prefix. May be null to return all blobs.", "priority": "MEDIUM" }, + "camel.source.endpoint.regex": { + "name": "camel.source.endpoint.regex", + "description": "Filters the results to return only blobs whose names match the specified regular expression. May be null to return all if both prefix and regex are set, regex takes the priority and prefix is ignored.", + "priority": "MEDIUM" + }, "camel.source.endpoint.serviceClient": { "name": "camel.source.endpoint.serviceClient", "description": "Client to a storage account. This client does not hold any state about a particular storage account but is instead a convenient way of sending off appropriate requests to the resource on the service. It may also be used to construct URLs to blobs and containers. This client contains operations on a service account. Operations on a container are available on BlobContainerClient through BlobServiceClient#getBlobContainerClient(String), and operations on a blob are availa [...] @@ -191,6 +196,11 @@ "description": "Filters the results to return only blobs whose names begin with the specified prefix. May be null to return all blobs.", "priority": "MEDIUM" }, + "camel.component.azure-storage-blob.regex": { + "name": "camel.component.azure-storage-blob.regex", + "description": "Filters the results to return only blobs whose names match the specified regular expression. May be null to return all if both prefix and regex are set, regex takes the priority and prefix is ignored.", + "priority": "MEDIUM" + }, "camel.component.azure-storage-blob.serviceClient": { "name": "camel.component.azure-storage-blob.serviceClient", "description": "Client to a storage account. This client does not hold any state about a particular storage account but is instead a convenient way of sending off appropriate requests to the resource on the service. It may also be used to construct URLs to blobs and containers. This client contains operations on a service account. Operations on a container are available on BlobContainerClient through BlobServiceClient#getBlobContainerClient(String), and operations on a blob are availa [...] diff --git a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-couchbase-sink.json b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-couchbase-sink.json index e80a9f0..0484177 100644 --- a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-couchbase-sink.json +++ b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-couchbase-sink.json @@ -27,7 +27,7 @@ "camel.sink.endpoint.bucket": { "name": "camel.sink.endpoint.bucket", "description": "The bucket to use", - "priority": "MEDIUM" + "priority": "HIGH" }, "camel.sink.endpoint.collection": { "name": "camel.sink.endpoint.collection", diff --git a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-couchbase-source.json b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-couchbase-source.json index 8466b3e..e43e210 100644 --- a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-couchbase-source.json +++ b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-couchbase-source.json @@ -27,7 +27,7 @@ "camel.source.endpoint.bucket": { "name": "camel.source.endpoint.bucket", "description": "The bucket to use", - "priority": "MEDIUM" + "priority": "HIGH" }, "camel.source.endpoint.collection": { "name": "camel.source.endpoint.collection", 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 4c7b4ff..edb40d0 100644 --- a/camel-kafka-connector-catalog/src/generated/resources/descriptors/connectors.properties +++ b/camel-kafka-connector-catalog/src/generated/resources/descriptors/connectors.properties @@ -1,526 +1,525 @@ -camel-activemq-source -camel-activemq-sink -camel-ahc-sink -camel-ahc-ws-source -camel-ahc-ws-sink -camel-ahc-wss-source -camel-ahc-wss-sink -camel-amqp-source -camel-amqp-sink -camel-apns-source -camel-apns-sink -camel-arangodb-sink -camel-as2-source -camel-as2-sink -camel-asterisk-source -camel-asterisk-sink -camel-atmos-source -camel-atmos-sink -camel-atmosphere-websocket-source -camel-atmosphere-websocket-sink -camel-atom-source -camel-atomix-map-source -camel-atomix-map-sink -camel-atomix-messaging-source -camel-atomix-messaging-sink -camel-atomix-multimap-sink -camel-atomix-queue-source -camel-atomix-queue-sink -camel-atomix-set-source -camel-atomix-set-sink -camel-atomix-value-source -camel-atomix-value-sink -camel-avro-source -camel-avro-sink -camel-aws-cw-sink -camel-aws-ddb-sink +camel-docker-source +camel-docker-sink +camel-telegram-source +camel-telegram-sink +camel-paho-source +camel-paho-sink +camel-smtp-source +camel-smtp-sink +camel-pop3s-source +camel-pop3s-sink +camel-spring-integration-source +camel-spring-integration-sink +camel-openshift-builds-sink +camel-spring-batch-sink +camel-aws-ses-sink camel-aws-ddbstream-source -camel-aws-kinesis-firehose-sink -camel-aws-kinesis-source -camel-aws-kinesis-sink +camel-iec60870-server-source +camel-iec60870-server-sink +camel-service-source +camel-google-pubsub-source +camel-google-pubsub-sink +camel-kubernetes-job-source +camel-kubernetes-job-sink +camel-etcd-keys-sink +camel-nsq-source +camel-nsq-sink +camel-controlbus-sink camel-aws-lambda-sink +camel-flink-sink +camel-https-sink +camel-pg-replication-slot-source +camel-string-template-sink +camel-smpp-source +camel-smpp-sink +camel-aws2-sts-sink +camel-workday-sink +camel-zendesk-source +camel-zendesk-sink +camel-spring-redis-source +camel-spring-redis-sink +camel-atomix-queue-source +camel-atomix-queue-sink +camel-mongodb-source +camel-mongodb-sink +camel-websocket-source +camel-websocket-sink +camel-jgroups-source +camel-jgroups-sink +camel-ftp-source +camel-ftp-sink +camel-platform-http-source +camel-aws2-eventbridge-sink +camel-language-sink +camel-ldap-sink +camel-google-sheets-source +camel-google-sheets-sink +camel-xquery-source +camel-xquery-sink +camel-disruptor-vm-source +camel-disruptor-vm-sink +camel-dataformat-sink +camel-nats-source +camel-nats-sink +camel-ftps-source +camel-ftps-sink +camel-mybatis-bean-sink +camel-disruptor-source +camel-disruptor-sink +camel-oaipmh-source +camel-oaipmh-sink +camel-apns-source +camel-apns-sink +camel-chunk-sink +camel-quartz-source +camel-openstack-neutron-sink +camel-djl-sink +camel-netty-http-source +camel-netty-http-sink +camel-twilio-source +camel-twilio-sink +camel-flatpack-source +camel-flatpack-sink camel-aws-s3-source camel-aws-s3-sink -camel-aws-sdb-sink -camel-aws-ses-sink -camel-aws-sns-sink -camel-aws-sqs-source -camel-aws-sqs-sink +camel-file-source +camel-file-sink +camel-quickfix-source +camel-quickfix-sink +camel-milo-client-source +camel-milo-client-sink +camel-aws2-iam-sink +camel-web3j-source +camel-web3j-sink +camel-azure-storage-queue-source +camel-azure-storage-queue-sink +camel-sips-source +camel-sips-sink +camel-sip-source +camel-sip-sink +camel-atomix-value-source +camel-atomix-value-sink +camel-jmx-source +camel-git-source +camel-git-sink +camel-schematron-sink +camel-xmpp-source +camel-xmpp-sink +camel-coaps-source +camel-coaps-sink +camel-solr-sink +camel-slack-source +camel-slack-sink +camel-master-source +camel-atom-source +camel-atomix-multimap-sink +camel-jt400-source +camel-jt400-sink +camel-snmp-source +camel-snmp-sink +camel-aws2-msk-sink +camel-stax-sink +camel-cometd-source +camel-cometd-sink +camel-olingo2-source +camel-olingo2-sink +camel-atlasmap-sink camel-aws-swf-source camel-aws-swf-sink -camel-aws-translate-sink -camel-aws2-athena-sink -camel-aws2-cw-sink -camel-aws2-ddb-sink +camel-optaplanner-source +camel-optaplanner-sink camel-aws2-ddbstream-source -camel-aws2-kinesis-firehose-sink +camel-splunk-source +camel-splunk-sink +camel-hazelcast-multimap-source +camel-hazelcast-multimap-sink +camel-etcd-watch-source +camel-nagios-sink camel-aws2-kinesis-source camel-aws2-kinesis-sink -camel-aws2-lambda-sink -camel-aws2-s3-source -camel-aws2-s3-sink -camel-aws2-ses-sink -camel-aws2-sns-sink -camel-aws2-sqs-source -camel-aws2-sqs-sink -camel-aws2-sts-sink -camel-aws2-translate-sink +camel-google-mail-stream-source +camel-google-mail-source +camel-google-mail-sink +camel-kubernetes-nodes-source +camel-kubernetes-nodes-sink +camel-aws-translate-sink +camel-xmlsecurity-sign-sink +camel-bean-sink +camel-graphql-sink +camel-kubernetes-config-maps-sink camel-azure-blob-source camel-azure-blob-sink -camel-azure-eventhubs-source -camel-azure-eventhubs-sink -camel-azure-queue-source -camel-azure-queue-sink -camel-azure-storage-blob-source -camel-azure-storage-blob-sink -camel-azure-storage-queue-source -camel-azure-storage-queue-sink -camel-bean-sink -camel-beanstalk-source -camel-beanstalk-sink -camel-box-source -camel-box-sink -camel-braintree-source -camel-braintree-sink -camel-caffeine-cache-sink -camel-caffeine-loadcache-sink -camel-chatscript-sink -camel-chunk-sink -camel-cm-sms-sink +camel-hdfs-source +camel-hdfs-sink +camel-zookeeper-source +camel-zookeeper-sink +camel-aws2-kinesis-firehose-sink +camel-aws2-cw-sink +camel-hazelcast-replicatedmap-source +camel-hazelcast-replicatedmap-sink +camel-lumberjack-source +camel-grape-sink +camel-undertow-source +camel-undertow-sink +camel-mustache-sink +camel-aws-sqs-source +camel-aws-sqs-sink +camel-gora-source +camel-gora-sink +camel-guava-eventbus-source +camel-guava-eventbus-sink +camel-jgroups-raft-source +camel-jgroups-raft-sink +camel-ahc-sink +camel-reactive-streams-source +camel-reactive-streams-sink +camel-elsql-source +camel-elsql-sink +camel-hazelcast-topic-source +camel-hazelcast-topic-sink camel-cmis-source camel-cmis-sink -camel-coap-source -camel-coap-sink -camel-coap-tcp-source -camel-coap-tcp-sink -camel-coaps-source -camel-coaps-sink -camel-coaps-tcp-source -camel-coaps-tcp-sink -camel-cometd-source -camel-cometd-sink -camel-cometds-source -camel-cometds-sink -camel-consul-source -camel-consul-sink -camel-controlbus-sink -camel-corda-source -camel-corda-sink -camel-couchbase-source -camel-couchbase-sink -camel-couchdb-source -camel-couchdb-sink -camel-cql-source -camel-cql-sink -camel-cron-source -camel-crypto-cms-sink -camel-crypto-sink -camel-cxf-source -camel-cxf-sink -camel-cxfrs-source -camel-cxfrs-sink -camel-dataformat-sink -camel-direct-source -camel-direct-sink -camel-direct-vm-source -camel-direct-vm-sink -camel-disruptor-source -camel-disruptor-sink -camel-disruptor-vm-source -camel-disruptor-vm-sink -camel-djl-sink -camel-dns-sink -camel-docker-source -camel-docker-sink -camel-dozer-sink -camel-drill-sink -camel-dropbox-source -camel-dropbox-sink -camel-ehcache-source -camel-ehcache-sink -camel-elasticsearch-rest-sink -camel-elsql-source -camel-elsql-sink -camel-etcd-keys-sink -camel-etcd-stats-source -camel-etcd-stats-sink -camel-etcd-watch-source -camel-exec-sink camel-facebook-source camel-facebook-sink -camel-fhir-source -camel-fhir-sink -camel-file-source -camel-file-sink -camel-file-watch-source -camel-flatpack-source -camel-flatpack-sink -camel-flink-sink -camel-fop-sink -camel-freemarker-sink -camel-ftp-source -camel-ftp-sink -camel-ftps-source -camel-ftps-sink camel-ganglia-sink -camel-geocoder-sink -camel-git-source -camel-git-sink -camel-github-source -camel-github-sink -camel-google-bigquery-sink -camel-google-bigquery-sql-sink -camel-google-calendar-source -camel-google-calendar-sink -camel-google-calendar-stream-source +camel-google-sheets-stream-source +camel-jolt-sink camel-google-drive-source camel-google-drive-sink -camel-google-mail-source -camel-google-mail-sink -camel-google-mail-stream-source -camel-google-pubsub-source -camel-google-pubsub-sink -camel-google-sheets-source -camel-google-sheets-sink -camel-google-sheets-stream-source -camel-gora-source -camel-gora-sink -camel-grape-sink -camel-graphql-sink -camel-grpc-source -camel-grpc-sink -camel-guava-eventbus-source -camel-guava-eventbus-sink -camel-hazelcast-atomicvalue-sink +camel-saga-sink +camel-pubnub-source +camel-pubnub-sink +camel-micrometer-sink +camel-infinispan-source +camel-infinispan-sink +camel-lpr-sink +camel-aws2-mq-sink +camel-minio-source +camel-minio-sink +camel-jira-source +camel-jira-sink +camel-azure-queue-source +camel-azure-queue-sink +camel-aws-mq-sink +camel-openstack-nova-sink +camel-yammer-source +camel-yammer-sink +camel-jpa-source +camel-jpa-sink +camel-kubernetes-replication-controllers-source +camel-kubernetes-replication-controllers-sink camel-hazelcast-instance-source -camel-hazelcast-list-source -camel-hazelcast-list-sink -camel-hazelcast-map-source -camel-hazelcast-map-sink -camel-hazelcast-multimap-source -camel-hazelcast-multimap-sink -camel-hazelcast-queue-source -camel-hazelcast-queue-sink -camel-hazelcast-replicatedmap-source -camel-hazelcast-replicatedmap-sink -camel-hazelcast-ringbuffer-sink -camel-hazelcast-seda-source -camel-hazelcast-seda-sink -camel-hazelcast-set-source -camel-hazelcast-set-sink -camel-hazelcast-topic-source -camel-hazelcast-topic-sink +camel-couchbase-source +camel-couchbase-sink +camel-sap-netweaver-sink +camel-activemq-source +camel-activemq-sink +camel-aws2-eks-sink +camel-amqp-source +camel-amqp-sink +camel-tika-sink +camel-coap-tcp-source +camel-coap-tcp-sink +camel-vm-source +camel-vm-sink +camel-jclouds-source +camel-jclouds-sink +camel-xmlsecurity-verify-sink +camel-jcr-source +camel-jcr-sink +camel-nitrite-source +camel-nitrite-sink +camel-crypto-sink camel-hbase-source camel-hbase-sink -camel-hdfs-source -camel-hdfs-sink -camel-hipchat-source -camel-hipchat-sink -camel-http-sink -camel-https-sink -camel-iec60870-client-source -camel-iec60870-client-sink -camel-iec60870-server-source -camel-iec60870-server-sink -camel-ignite-cache-source -camel-ignite-cache-sink -camel-ignite-compute-sink +camel-aws-sns-sink +camel-aws-kinesis-firehose-sink +camel-google-calendar-source +camel-google-calendar-sink +camel-hazelcast-queue-source +camel-hazelcast-queue-sink +camel-coap-source +camel-coap-sink +camel-rest-openapi-sink +camel-hazelcast-map-source +camel-hazelcast-map-sink +camel-aws2-s3-source +camel-aws2-s3-sink +camel-jsonata-sink +camel-log-sink +camel-chatscript-sink +camel-jslt-sink camel-ignite-events-source -camel-ignite-idgen-sink -camel-ignite-messaging-source -camel-ignite-messaging-sink -camel-ignite-queue-sink +camel-aws-ec2-sink +camel-caffeine-cache-sink +camel-spring-ws-source +camel-spring-ws-sink +camel-kafka-source +camel-kafka-sink +camel-xj-sink +camel-box-source +camel-box-sink +camel-aws2-ses-sink +camel-corda-source +camel-corda-sink camel-ignite-set-sink -camel-imap-source -camel-imap-sink -camel-imaps-source -camel-imaps-sink -camel-infinispan-source -camel-infinispan-sink +camel-cron-source +camel-azure-storage-blob-source +camel-azure-storage-blob-sink +camel-aws-eks-sink +camel-jetty-source +camel-aws2-kms-sink +camel-ahc-wss-source +camel-ahc-wss-sink +camel-cxfrs-source +camel-cxfrs-sink camel-influxdb-sink -camel-iota-sink -camel-ipfs-sink +camel-microprofile-metrics-sink +camel-hazelcast-seda-source +camel-hazelcast-seda-sink +camel-geocoder-sink +camel-pop3-source +camel-pop3-sink +camel-fhir-source +camel-fhir-sink +camel-thrift-source +camel-thrift-sink +camel-direct-vm-source +camel-direct-vm-sink +camel-kubernetes-secrets-sink +camel-spring-event-source +camel-spring-event-sink camel-irc-source camel-irc-sink -camel-ironmq-source -camel-ironmq-sink -camel-jbpm-source -camel-jbpm-sink +camel-pgevent-source +camel-pgevent-sink +camel-openstack-swift-sink +camel-websocket-jsr356-source +camel-websocket-jsr356-sink +camel-twitter-timeline-source +camel-twitter-timeline-sink camel-jcache-source camel-jcache-sink -camel-jclouds-source -camel-jclouds-sink -camel-jcr-source -camel-jcr-sink +camel-aws-cw-sink +camel-coaps-tcp-source +camel-coaps-tcp-sink +camel-weather-source +camel-weather-sink +camel-wordpress-source +camel-wordpress-sink +camel-dozer-sink +camel-xchange-sink +camel-beanstalk-source +camel-beanstalk-sink +camel-aws2-ddb-sink camel-jdbc-sink -camel-jetty-source -camel-jgroups-source -camel-jgroups-sink -camel-jgroups-raft-source -camel-jgroups-raft-sink -camel-jing-sink -camel-jira-source -camel-jira-sink -camel-jms-source -camel-jms-sink -camel-jmx-source -camel-jolt-sink -camel-jooq-source -camel-jooq-sink -camel-jpa-source -camel-jpa-sink -camel-jslt-sink -camel-json-validator-sink -camel-jsonata-sink -camel-jt400-source -camel-jt400-sink -camel-kubernetes-config-maps-sink -camel-kubernetes-deployments-source -camel-kubernetes-deployments-sink -camel-kubernetes-hpa-source -camel-kubernetes-hpa-sink -camel-kubernetes-job-source -camel-kubernetes-job-sink -camel-kubernetes-namespaces-source -camel-kubernetes-namespaces-sink -camel-kubernetes-nodes-source -camel-kubernetes-nodes-sink -camel-kubernetes-persistent-volumes-claims-sink -camel-kubernetes-persistent-volumes-sink -camel-kubernetes-pods-source -camel-kubernetes-pods-sink -camel-kubernetes-replication-controllers-source -camel-kubernetes-replication-controllers-sink -camel-kubernetes-resources-quota-sink -camel-kubernetes-secrets-sink -camel-kubernetes-service-accounts-sink -camel-kubernetes-services-source -camel-kubernetes-services-sink -camel-kudu-sink -camel-language-sink -camel-ldap-sink -camel-ldif-sink -camel-log-sink -camel-lpr-sink -camel-lucene-sink -camel-lumberjack-source -camel-master-source -camel-metrics-sink -camel-micrometer-sink -camel-microprofile-metrics-sink -camel-milo-client-source -camel-milo-client-sink -camel-milo-server-source -camel-milo-server-sink -camel-mina-source -camel-mina-sink -camel-minio-source -camel-minio-sink -camel-mllp-source -camel-mllp-sink -camel-mongodb-gridfs-source -camel-mongodb-gridfs-sink -camel-mongodb-source -camel-mongodb-sink -camel-msv-sink -camel-mustache-sink -camel-mvel-sink -camel-mybatis-bean-sink -camel-mybatis-source -camel-mybatis-sink -camel-nagios-sink -camel-nats-source -camel-nats-sink -camel-netty-http-source -camel-netty-http-sink -camel-netty-source -camel-netty-sink -camel-nitrite-source -camel-nitrite-sink -camel-nsq-source -camel-nsq-sink -camel-oaipmh-source -camel-oaipmh-sink -camel-olingo2-source -camel-olingo2-sink camel-olingo4-source camel-olingo4-sink -camel-openshift-build-configs-sink -camel-openshift-builds-sink -camel-openstack-cinder-sink -camel-openstack-glance-sink -camel-openstack-keystone-sink -camel-openstack-neutron-sink -camel-openstack-nova-sink -camel-openstack-swift-sink -camel-optaplanner-source -camel-optaplanner-sink -camel-paho-source -camel-paho-sink +camel-atomix-map-source +camel-atomix-map-sink +camel-aws-ecs-sink +camel-aws-kinesis-source +camel-aws-kinesis-sink +camel-kubernetes-pods-source +camel-kubernetes-pods-sink +camel-hazelcast-set-source +camel-hazelcast-set-sink +camel-google-bigquery-sql-sink +camel-aws-kms-sink camel-pdf-sink -camel-pg-replication-slot-source -camel-pgevent-source -camel-pgevent-sink -camel-platform-http-source -camel-pop3-source -camel-pop3-sink -camel-pop3s-source -camel-pop3s-sink -camel-pubnub-source -camel-pubnub-sink -camel-pulsar-source -camel-pulsar-sink -camel-quartz-source -camel-quickfix-source -camel-quickfix-sink -camel-rabbitmq-source -camel-rabbitmq-sink -camel-reactive-streams-source -camel-reactive-streams-sink -camel-rest-api-source -camel-rest-source -camel-rest-sink -camel-rest-openapi-sink camel-rest-swagger-sink -camel-resteasy-source -camel-resteasy-sink -camel-rss-source -camel-saga-sink +camel-mllp-source +camel-mllp-sink +camel-elasticsearch-rest-sink +camel-aws2-ecs-sink +camel-sftp-source +camel-sftp-sink +camel-milo-server-source +camel-milo-server-sink +camel-metrics-sink +camel-xslt-sink +camel-iec60870-client-source +camel-iec60870-client-sink camel-salesforce-source camel-salesforce-sink -camel-sap-netweaver-sink -camel-scheduler-source -camel-schematron-sink -camel-scp-sink +camel-azure-eventhubs-source +camel-azure-eventhubs-sink +camel-consul-source +camel-consul-sink camel-seda-source camel-seda-sink -camel-service-source +camel-aws2-translate-sink +camel-atomix-messaging-source +camel-atomix-messaging-sink +camel-atomix-set-source +camel-atomix-set-sink +camel-scheduler-source +camel-freemarker-sink +camel-cxf-source +camel-cxf-sink +camel-ignite-cache-source +camel-ignite-cache-sink +camel-arangodb-sink +camel-stub-source +camel-stub-sink +camel-asterisk-source +camel-asterisk-sink +camel-aws2-sqs-source +camel-aws2-sqs-sink +camel-zookeeper-master-source camel-servicenow-sink -camel-servlet-source -camel-sftp-source -camel-sftp-sink -camel-sip-source -camel-sip-sink -camel-sips-source -camel-sips-sink +camel-aws2-athena-sink camel-sjms-batch-source -camel-sjms-source -camel-sjms-sink +camel-grpc-source +camel-grpc-sink +camel-ironmq-source +camel-ironmq-sink +camel-timer-source +camel-soroush-source +camel-soroush-sink +camel-json-validator-sink +camel-fop-sink camel-sjms2-source camel-sjms2-sink -camel-slack-source -camel-slack-sink -camel-smpp-source -camel-smpp-sink -camel-smpps-source -camel-smpps-sink -camel-smtp-source -camel-smtp-sink +camel-twitter-directmessage-source +camel-twitter-directmessage-sink +camel-kubernetes-resources-quota-sink +camel-xslt-saxon-sink +camel-google-bigquery-sink +camel-rest-source +camel-rest-sink +camel-http-sink +camel-mybatis-source +camel-mybatis-sink +camel-imap-source +camel-imap-sink +camel-netty-source +camel-netty-sink +camel-pulsar-source +camel-pulsar-sink +camel-ignite-messaging-source +camel-ignite-messaging-sink +camel-lucene-sink +camel-couchdb-source +camel-couchdb-sink +camel-jms-source +camel-jms-sink +camel-openstack-glance-sink +camel-aws-iam-sink +camel-validator-sink +camel-kubernetes-deployments-source +camel-kubernetes-deployments-sink camel-smtps-source camel-smtps-sink -camel-snmp-source -camel-snmp-sink -camel-solr-sink -camel-solrCloud-sink -camel-solrs-sink -camel-soroush-source -camel-soroush-sink -camel-spark-sink -camel-splunk-hec-sink -camel-splunk-source -camel-splunk-sink -camel-spring-batch-sink -camel-spring-event-source -camel-spring-event-sink -camel-spring-integration-source -camel-spring-integration-sink -camel-spring-ldap-sink -camel-spring-redis-source -camel-spring-redis-sink -camel-spring-ws-source -camel-spring-ws-sink -camel-sql-source -camel-sql-sink -camel-sql-stored-sink +camel-vertx-source +camel-vertx-sink +camel-smpps-source +camel-smpps-sink +camel-vertx-http-sink +camel-aws2-sns-sink +camel-ahc-ws-source +camel-ahc-ws-sink +camel-mvel-sink +camel-ignite-compute-sink +camel-kubernetes-namespaces-source +camel-kubernetes-namespaces-sink +camel-github-source +camel-github-sink +camel-aws2-lambda-sink +camel-etcd-stats-source +camel-etcd-stats-sink +camel-avro-source +camel-avro-sink +camel-aws-sdb-sink +camel-jbpm-source +camel-jbpm-sink camel-ssh-source camel-ssh-sink -camel-stax-sink -camel-stomp-source -camel-stomp-sink -camel-stream-source -camel-stream-sink -camel-string-template-sink -camel-stub-source -camel-stub-sink -camel-telegram-source -camel-telegram-sink -camel-thrift-source -camel-thrift-sink -camel-tika-sink -camel-timer-source -camel-twilio-source -camel-twilio-sink -camel-twitter-directmessage-source -camel-twitter-directmessage-sink camel-twitter-search-source camel-twitter-search-sink -camel-twitter-timeline-source -camel-twitter-timeline-sink -camel-undertow-source -camel-undertow-sink -camel-validator-sink -camel-velocity-sink -camel-vertx-http-sink -camel-vertx-source -camel-vertx-sink +camel-braintree-source +camel-braintree-sink +camel-hazelcast-atomicvalue-sink +camel-rabbitmq-source +camel-rabbitmq-sink +camel-dns-sink +camel-openstack-keystone-sink +camel-hazelcast-ringbuffer-sink +camel-rest-api-source +camel-aws-msk-sink +camel-kubernetes-hpa-source +camel-kubernetes-hpa-sink +camel-jooq-source +camel-jooq-sink +camel-dropbox-source +camel-dropbox-sink +camel-cometds-source +camel-cometds-sink +camel-servlet-source +camel-as2-source +camel-as2-sink +camel-direct-source +camel-direct-sink +camel-scp-sink +camel-ldif-sink +camel-caffeine-loadcache-sink +camel-file-watch-source +camel-cm-sms-sink +camel-rss-source +camel-kubernetes-persistent-volumes-sink +camel-solrs-sink +camel-drill-sink +camel-mina-source +camel-mina-sink +camel-sql-stored-sink +camel-ignite-idgen-sink +camel-aws2-ec2-sink +camel-kubernetes-service-accounts-sink +camel-stomp-source +camel-stomp-sink +camel-weka-sink +camel-google-calendar-stream-source +camel-atmos-source +camel-atmos-sink +camel-iota-sink camel-vertx-websocket-source camel-vertx-websocket-sink -camel-vm-source -camel-vm-sink -camel-weather-source -camel-weather-sink -camel-web3j-source -camel-web3j-sink +camel-jing-sink +camel-solrCloud-sink +camel-atmosphere-websocket-source +camel-atmosphere-websocket-sink +camel-kubernetes-services-source +camel-kubernetes-services-sink +camel-stream-source +camel-stream-sink +camel-imaps-source +camel-imaps-sink +camel-kubernetes-persistent-volumes-claims-sink +camel-resteasy-source +camel-resteasy-sink +camel-aws-ddb-sink +camel-mongodb-gridfs-source +camel-mongodb-gridfs-sink camel-webhook-source -camel-websocket-jsr356-source -camel-websocket-jsr356-sink -camel-websocket-source -camel-websocket-sink -camel-weka-sink -camel-wordpress-source -camel-wordpress-sink -camel-workday-sink -camel-xchange-sink -camel-xj-sink -camel-xmlsecurity-sign-sink -camel-xmlsecurity-verify-sink -camel-xmpp-source -camel-xmpp-sink -camel-xquery-source -camel-xquery-sink -camel-xslt-sink -camel-xslt-saxon-sink -camel-yammer-source -camel-yammer-sink -camel-zendesk-source -camel-zendesk-sink -camel-zookeeper-source -camel-zookeeper-sink -camel-zookeeper-master-source -camel-aws-ec2-sink -camel-aws-ecs-sink -camel-aws-eks-sink -camel-aws-iam-sink -camel-aws-kms-sink -camel-aws-mq-sink -camel-aws-msk-sink -camel-aws2-ec2-sink -camel-aws2-ecs-sink -camel-aws2-eks-sink -camel-aws2-iam-sink -camel-aws2-kms-sink -camel-aws2-mq-sink -camel-aws2-msk-sink -camel-kafka-source -camel-kafka-sink -camel-aws2-eventbridge-sink +camel-sql-source +camel-sql-sink +camel-ignite-queue-sink +camel-kudu-sink +camel-openstack-cinder-sink +camel-msv-sink +camel-crypto-cms-sink +camel-openshift-build-configs-sink +camel-ehcache-source +camel-ehcache-sink +camel-spark-sink +camel-splunk-hec-sink +camel-sjms-source +camel-sjms-sink +camel-exec-sink +camel-hazelcast-list-source +camel-hazelcast-list-sink +camel-cql-source +camel-cql-sink +camel-velocity-sink +camel-ipfs-sink +camel-spring-ldap-sink diff --git a/connectors/camel-atlasmap-kafka-connector/pom.xml b/connectors/camel-atlasmap-kafka-connector/pom.xml new file mode 100644 index 0000000..fd5b428 --- /dev/null +++ b/connectors/camel-atlasmap-kafka-connector/pom.xml @@ -0,0 +1,135 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + + 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. + +--> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + <modelVersion>4.0.0</modelVersion> + <parent> + <groupId>org.apache.camel.kafkaconnector</groupId> + <artifactId>connectors</artifactId> + <version>0.6.0-SNAPSHOT</version> + </parent> + <artifactId>camel-atlasmap-kafka-connector</artifactId> + <name>Camel-Kafka-Connector :: atlasmap</name> + <description>Camel Kafka Connector for atlasmap</description> + <dependencies> + <!-- Kafka --> + <dependency> + <groupId>org.apache.kafka</groupId> + <artifactId>connect-api</artifactId> + <scope>provided</scope> + </dependency> + <dependency> + <groupId>org.apache.kafka</groupId> + <artifactId>connect-transforms</artifactId> + <scope>provided</scope> + </dependency> + <!-- Camel --> + <dependency> + <groupId>org.apache.camel</groupId> + <artifactId>camel-atlasmap</artifactId> + </dependency> + <!--START OF GENERATED CODE--> + <dependency> + <groupId>org.apache.camel.kafkaconnector</groupId> + <artifactId>camel-kafka-connector</artifactId> + </dependency> + <!--END OF GENERATED CODE--> + </dependencies> + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-surefire-plugin</artifactId> + <version>${version.maven.surefire.plugin}</version> + <configuration> + <failIfNoTests>false</failIfNoTests> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-jar-plugin</artifactId> + <version>${version.maven.jar}</version> + <configuration> + <archive> + <manifest> + <addDefaultImplementationEntries>true</addDefaultImplementationEntries> + <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries> + </manifest> + </archive> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-compiler-plugin</artifactId> + <version>2.5.1</version> + <inherited>true</inherited> + <configuration> + <source>1.8</source> + <target>1.8</target> + </configuration> + </plugin> + <plugin> + <artifactId>maven-assembly-plugin</artifactId> + <version>2.5.3</version> + <configuration> + <descriptors> + <descriptor>src/main/assembly/package.xml</descriptor> + </descriptors> + </configuration> + <executions> + <execution> + <id>make-assembly</id> + <phase>package</phase> + <goals> + <goal>single</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </build> + <!--START OF GENERATED CODE--> + <repositories> + <!-- camel-jira --> + <repository> + <id>atlassian-public</id> + <url>https://packages.atlassian.com/maven-external</url> + <name>Atlassian Public Repo</name> + <snapshots> + <enabled>false</enabled> + </snapshots> + <releases> + <enabled>true</enabled> + </releases> + </repository> + <!-- camel-ipfs and camel-weka --> + <repository> + <id>jboss.thirdparty</id> + <name>JBoss Thirdparty Repository</name> + <url>https://repository.jboss.org/nexus/service/local/repositories/thirdparty-releases/content/</url> + <snapshots> + <enabled>false</enabled> + </snapshots> + <releases> + <enabled>true</enabled> + </releases> + </repository> + </repositories> + <!--END OF GENERATED CODE--> +</project> diff --git a/connectors/camel-atlasmap-kafka-connector/src/generated/descriptors/connector-sink.properties b/connectors/camel-atlasmap-kafka-connector/src/generated/descriptors/connector-sink.properties new file mode 100644 index 0000000..43d1b55 --- /dev/null +++ b/connectors/camel-atlasmap-kafka-connector/src/generated/descriptors/connector-sink.properties @@ -0,0 +1 @@ +camel-atlasmap-sink \ No newline at end of file diff --git a/connectors/camel-atlasmap-kafka-connector/src/generated/resources/camel-atlasmap-sink.json b/connectors/camel-atlasmap-kafka-connector/src/generated/resources/camel-atlasmap-sink.json new file mode 100644 index 0000000..9e1576e --- /dev/null +++ b/connectors/camel-atlasmap-kafka-connector/src/generated/resources/camel-atlasmap-sink.json @@ -0,0 +1,85 @@ +{ + "connector": { + "class": "org.apache.camel.kafkaconnector.atlasmap.CamelAtlasmapSinkConnector", + "artifactId": "camel-atlasmap-kafka-connector", + "groupId": "org.apache.camel.kafkaconnector", + "id": "camel-atlasmap-sink", + "type": "sink", + "version": "0.6.0-SNAPSHOT" + }, + "properties": { + "camel.sink.path.resourceUri": { + "name": "camel.sink.path.resourceUri", + "description": "Path to the resource. You can prefix with: classpath, file, http, ref, or bean. classpath, file and http loads the resource using these protocols (classpath is default). ref will lookup the resource in the registry. bean will call a method on a bean to be used as the resource. For bean you can specify the method name after dot, eg bean:myBean.myMethod.", + "priority": "HIGH" + }, + "camel.sink.endpoint.allowContextMapAll": { + "name": "camel.sink.endpoint.allowContextMapAll", + "description": "Sets whether the context map should allow access to all details. By default only the message body and headers can be accessed. This option can be enabled for full access to the current Exchange and CamelContext. Doing so impose a potential security risk as this opens access to the full power of CamelContext API.", + "defaultValue": "false", + "priority": "MEDIUM" + }, + "camel.sink.endpoint.contentCache": { + "name": "camel.sink.endpoint.contentCache", + "description": "Sets whether to use resource content cache or not", + "defaultValue": "false", + "priority": "MEDIUM" + }, + "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" + }, + "camel.sink.endpoint.sourceMapName": { + "name": "camel.sink.endpoint.sourceMapName", + "description": "The Exchange property name for a source message map which hold java.util.Map<String, Message> where the key is AtlasMap Document ID. AtlasMap consumes Message bodies as source documents, as well as message headers as source properties where the scope equals to Document ID.", + "priority": "MEDIUM" + }, + "camel.sink.endpoint.targetMapMode": { + "name": "camel.sink.endpoint.targetMapMode", + "description": "TargetMapMode enum value to specify how multiple target documents are delivered if exist. 'MAP': Stores them into a java.util.Map, and the java.util.Map is set to an exchange property if 'targetMapName' is specified, otherwise message body. 'MESSAGE_HEADER': Stores them into message headers. 'EXCHANGE_PROPERTY': Stores them into exchange properties. ) One of: [MAP] [MESSAGE_HEADER] [EXCHANGE_PROPERTY]", + "defaultValue": "\"MAP\"", + "priority": "MEDIUM" + }, + "camel.sink.endpoint.targetMapName": { + "name": "camel.sink.endpoint.targetMapName", + "description": "The Exchange property name for a target document map which hold java.util.Map<String, Object> where the key is AtlasMap Document ID. AtlasMap populates multiple target documents into this map.", + "priority": "MEDIUM" + }, + "camel.sink.endpoint.basicPropertyBinding": { + "name": "camel.sink.endpoint.basicPropertyBinding", + "description": "Whether the endpoint should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities", + "defaultValue": "false", + "priority": "MEDIUM" + }, + "camel.sink.endpoint.propertiesFile": { + "name": "camel.sink.endpoint.propertiesFile", + "description": "The URI of the properties file which is used for AtlasContextFactory initialization.", + "priority": "MEDIUM" + }, + "camel.sink.endpoint.synchronous": { + "name": "camel.sink.endpoint.synchronous", + "description": "Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported).", + "defaultValue": "false", + "priority": "MEDIUM" + }, + "camel.component.atlasmap.lazyStartProducer": { + "name": "camel.component.atlasmap.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" + }, + "camel.component.atlasmap.atlasContextFactory": { + "name": "camel.component.atlasmap.atlasContextFactory", + "description": "To use the AtlasContextFactory otherwise a new engine is created.", + "priority": "MEDIUM" + }, + "camel.component.atlasmap.basicPropertyBinding": { + "name": "camel.component.atlasmap.basicPropertyBinding", + "description": "Whether the component should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities", + "defaultValue": "false", + "priority": "LOW" + } + } +} diff --git a/connectors/camel-atlasmap-kafka-connector/src/main/assembly/package.xml b/connectors/camel-atlasmap-kafka-connector/src/main/assembly/package.xml new file mode 100644 index 0000000..4fd2529 --- /dev/null +++ b/connectors/camel-atlasmap-kafka-connector/src/main/assembly/package.xml @@ -0,0 +1,57 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- + + 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. + +--> +<assembly> + <!-- Assembles a packaged version targeting OS installation. --> + <id>package</id> + <formats> + <format>zip</format> + <format>tar.gz</format> + </formats> + <includeBaseDirectory>false</includeBaseDirectory> + <fileSets> + <fileSet> + <directory>${project.basedir}/../..</directory> + <outputDirectory>${project.artifactId}/</outputDirectory> + <includes> + <include>README*</include> + <include>LICENSE*</include> + <include>NOTICE*</include> + <include>licenses/</include> + </includes> + </fileSet> + <fileSet> + <directory>${project.basedir}/src/main/docs</directory> + <outputDirectory>docs/</outputDirectory> + <includes> + <include>**/*</include> + </includes> + </fileSet> + </fileSets> + <dependencySets> + <dependencySet> + <outputDirectory>${project.artifactId}/</outputDirectory> + <useProjectArtifact>true</useProjectArtifact> + <useTransitiveFiltering>true</useTransitiveFiltering> + <excludes> + <exclude>org.apache.kafka:connect-api</exclude> + </excludes> + </dependencySet> + </dependencySets> +</assembly> diff --git a/connectors/camel-atlasmap-kafka-connector/src/main/docs/camel-atlasmap-kafka-sink-connector.adoc b/connectors/camel-atlasmap-kafka-connector/src/main/docs/camel-atlasmap-kafka-sink-connector.adoc new file mode 100644 index 0000000..ad5ee9a --- /dev/null +++ b/connectors/camel-atlasmap-kafka-connector/src/main/docs/camel-atlasmap-kafka-sink-connector.adoc @@ -0,0 +1,66 @@ +// kafka-connector options: START +[[camel-atlasmap-kafka-connector-sink]] += camel-atlasmap-kafka-connector sink configuration + +When using camel-atlasmap-kafka-connector as sink make sure to use the following Maven dependency to have support for the connector: + +[source,xml] +---- +<dependency> + <groupId>org.apache.camel.kafkaconnector</groupId> + <artifactId>camel-atlasmap-kafka-connector</artifactId> + <version>x.x.x</version> + <!-- use the same version as your Camel Kafka connector version --> +</dependency> +---- + +To use this Sink connector in Kafka connect you'll need to set the following connector.class + +[source,java] +---- +connector.class=org.apache.camel.kafkaconnector.atlasmap.CamelAtlasmapSinkConnector +---- + + +The camel-atlasmap sink connector supports 13 options, which are listed below. + + + +[width="100%",cols="2,5,^1,2",options="header"] +|=== +| Name | Description | Default | Priority +| *camel.sink.path.resourceUri* | Path to the resource. You can prefix with: classpath, file, http, ref, or bean. classpath, file and http loads the resource using these protocols (classpath is default). ref will lookup the resource in the registry. bean will call a method on a bean to be used as the resource. For bean you can specify the method name after dot, eg bean:myBean.myMethod. | null | HIGH +| *camel.sink.endpoint.allowContextMapAll* | Sets whether the context map should allow access to all details. By default only the message body and headers can be accessed. This option can be enabled for full access to the current Exchange and CamelContext. Doing so impose a potential security risk as this opens access to the full power of CamelContext API. | false | MEDIUM +| *camel.sink.endpoint.contentCache* | Sets whether to use resource content cache or not | false | MEDIUM +| *camel.sink.endpoint.lazyStartProducer* | 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 cre [...] +| *camel.sink.endpoint.sourceMapName* | The Exchange property name for a source message map which hold java.util.Map<String, Message> where the key is AtlasMap Document ID. AtlasMap consumes Message bodies as source documents, as well as message headers as source properties where the scope equals to Document ID. | null | MEDIUM +| *camel.sink.endpoint.targetMapMode* | TargetMapMode enum value to specify how multiple target documents are delivered if exist. 'MAP': Stores them into a java.util.Map, and the java.util.Map is set to an exchange property if 'targetMapName' is specified, otherwise message body. 'MESSAGE_HEADER': Stores them into message headers. 'EXCHANGE_PROPERTY': Stores them into exchange properties. ) One of: [MAP] [MESSAGE_HEADER] [EXCHANGE_PROPERTY] | "MAP" | MEDIUM +| *camel.sink.endpoint.targetMapName* | The Exchange property name for a target document map which hold java.util.Map<String, Object> where the key is AtlasMap Document ID. AtlasMap populates multiple target documents into this map. | null | MEDIUM +| *camel.sink.endpoint.basicPropertyBinding* | Whether the endpoint should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities | false | MEDIUM +| *camel.sink.endpoint.propertiesFile* | The URI of the properties file which is used for AtlasContextFactory initialization. | null | MEDIUM +| *camel.sink.endpoint.synchronous* | Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported). | false | MEDIUM +| *camel.component.atlasmap.lazyStartProducer* | 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 the [...] +| *camel.component.atlasmap.atlasContextFactory* | To use the AtlasContextFactory otherwise a new engine is created. | null | MEDIUM +| *camel.component.atlasmap.basicPropertyBinding* | Whether the component should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities | false | LOW +|=== + + + +The camel-atlasmap sink connector has no converters out of the box. + + + + + +The camel-atlasmap sink connector has no transforms out of the box. + + + + + +The camel-atlasmap sink connector has no aggregation strategies out of the box. + + + + +// kafka-connector options: END diff --git a/connectors/camel-couchbase-kafka-connector/src/main/docs/examples/CamelCouchbaseSinkConnector.properties b/connectors/camel-atlasmap-kafka-connector/src/main/docs/examples/CamelAtlasmapSinkConnector.properties similarity index 72% copy from connectors/camel-couchbase-kafka-connector/src/main/docs/examples/CamelCouchbaseSinkConnector.properties copy to connectors/camel-atlasmap-kafka-connector/src/main/docs/examples/CamelAtlasmapSinkConnector.properties index fdebdc2..7edb47ce 100644 --- a/connectors/camel-couchbase-kafka-connector/src/main/docs/examples/CamelCouchbaseSinkConnector.properties +++ b/connectors/camel-atlasmap-kafka-connector/src/main/docs/examples/CamelAtlasmapSinkConnector.properties @@ -15,8 +15,8 @@ ## limitations under the License. ## --------------------------------------------------------------------------- -name=CamelCouchbaseSinkConnector -connector.class=org.apache.camel.kafkaconnector.couchbase.CamelCouchbaseSinkConnector +name=CamelAtlasmapSinkConnector +connector.class=org.apache.camel.kafkaconnector.atlasmap.CamelAtlasmapSinkConnector tasks.max=1 # use the kafka converters that better suit your needs, these are just defaults: @@ -28,8 +28,6 @@ topics= # mandatory properties (for a complete properties list see the connector documentation): -# The hostname to use -camel.sink.path.hostname= -# The protocol to use -camel.sink.path.protocol= +# Path to the resource. You can prefix with: classpath, file, http, ref, or bean. classpath, file and http loads the resource using these protocols (classpath is default). ref will lookup the resource in the registry. bean will call a method on a bean to be used as the resource. For bean you can specify the method name after dot, eg bean:myBean.myMethod. +camel.sink.path.resourceUri= diff --git a/connectors/camel-atlasmap-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/atlasmap/CamelAtlasmapSinkConnector.java b/connectors/camel-atlasmap-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/atlasmap/CamelAtlasmapSinkConnector.java new file mode 100644 index 0000000..68ba548 --- /dev/null +++ b/connectors/camel-atlasmap-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/atlasmap/CamelAtlasmapSinkConnector.java @@ -0,0 +1,35 @@ +/* + * 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.atlasmap; + +import javax.annotation.Generated; +import org.apache.camel.kafkaconnector.CamelSinkConnector; +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 CamelAtlasmapSinkConnector extends CamelSinkConnector { + + @Override + public ConfigDef config() { + return CamelAtlasmapSinkConnectorConfig.conf(); + } + @Override + public Class<? extends Task> taskClass() { + return CamelAtlasmapSinkTask.class; + } +} \ No newline at end of file diff --git a/connectors/camel-atlasmap-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/atlasmap/CamelAtlasmapSinkConnectorConfig.java b/connectors/camel-atlasmap-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/atlasmap/CamelAtlasmapSinkConnectorConfig.java new file mode 100644 index 0000000..1e0a715 --- /dev/null +++ b/connectors/camel-atlasmap-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/atlasmap/CamelAtlasmapSinkConnectorConfig.java @@ -0,0 +1,96 @@ +/* + * 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.atlasmap; + +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 CamelAtlasmapSinkConnectorConfig + extends + CamelSinkConnectorConfig { + + public static final String CAMEL_SINK_ATLASMAP_PATH_RESOURCE_URI_CONF = "camel.sink.path.resourceUri"; + public static final String CAMEL_SINK_ATLASMAP_PATH_RESOURCE_URI_DOC = "Path to the resource. You can prefix with: classpath, file, http, ref, or bean. classpath, file and http loads the resource using these protocols (classpath is default). ref will lookup the resource in the registry. bean will call a method on a bean to be used as the resource. For bean you can specify the method name after dot, eg bean:myBean.myMethod."; + public static final String CAMEL_SINK_ATLASMAP_PATH_RESOURCE_URI_DEFAULT = null; + public static final String CAMEL_SINK_ATLASMAP_ENDPOINT_ALLOW_CONTEXT_MAP_ALL_CONF = "camel.sink.endpoint.allowContextMapAll"; + public static final String CAMEL_SINK_ATLASMAP_ENDPOINT_ALLOW_CONTEXT_MAP_ALL_DOC = "Sets whether the context map should allow access to all details. By default only the message body and headers can be accessed. This option can be enabled for full access to the current Exchange and CamelContext. Doing so impose a potential security risk as this opens access to the full power of CamelContext API."; + public static final Boolean CAMEL_SINK_ATLASMAP_ENDPOINT_ALLOW_CONTEXT_MAP_ALL_DEFAULT = false; + public static final String CAMEL_SINK_ATLASMAP_ENDPOINT_CONTENT_CACHE_CONF = "camel.sink.endpoint.contentCache"; + public static final String CAMEL_SINK_ATLASMAP_ENDPOINT_CONTENT_CACHE_DOC = "Sets whether to use resource content cache or not"; + public static final Boolean CAMEL_SINK_ATLASMAP_ENDPOINT_CONTENT_CACHE_DEFAULT = false; + public static final String CAMEL_SINK_ATLASMAP_ENDPOINT_LAZY_START_PRODUCER_CONF = "camel.sink.endpoint.lazyStartProducer"; + public static final String CAMEL_SINK_ATLASMAP_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 w [...] + public static final Boolean CAMEL_SINK_ATLASMAP_ENDPOINT_LAZY_START_PRODUCER_DEFAULT = false; + public static final String CAMEL_SINK_ATLASMAP_ENDPOINT_SOURCE_MAP_NAME_CONF = "camel.sink.endpoint.sourceMapName"; + public static final String CAMEL_SINK_ATLASMAP_ENDPOINT_SOURCE_MAP_NAME_DOC = "The Exchange property name for a source message map which hold java.util.Map<String, Message> where the key is AtlasMap Document ID. AtlasMap consumes Message bodies as source documents, as well as message headers as source properties where the scope equals to Document ID."; + public static final String CAMEL_SINK_ATLASMAP_ENDPOINT_SOURCE_MAP_NAME_DEFAULT = null; + public static final String CAMEL_SINK_ATLASMAP_ENDPOINT_TARGET_MAP_MODE_CONF = "camel.sink.endpoint.targetMapMode"; + public static final String CAMEL_SINK_ATLASMAP_ENDPOINT_TARGET_MAP_MODE_DOC = "TargetMapMode enum value to specify how multiple target documents are delivered if exist. 'MAP': Stores them into a java.util.Map, and the java.util.Map is set to an exchange property if 'targetMapName' is specified, otherwise message body. 'MESSAGE_HEADER': Stores them into message headers. 'EXCHANGE_PROPERTY': Stores them into exchange properties. ) One of: [MAP] [MESSAGE_HEADER] [EXCHANGE_PROPERTY]"; + public static final String CAMEL_SINK_ATLASMAP_ENDPOINT_TARGET_MAP_MODE_DEFAULT = "MAP"; + public static final String CAMEL_SINK_ATLASMAP_ENDPOINT_TARGET_MAP_NAME_CONF = "camel.sink.endpoint.targetMapName"; + public static final String CAMEL_SINK_ATLASMAP_ENDPOINT_TARGET_MAP_NAME_DOC = "The Exchange property name for a target document map which hold java.util.Map<String, Object> where the key is AtlasMap Document ID. AtlasMap populates multiple target documents into this map."; + public static final String CAMEL_SINK_ATLASMAP_ENDPOINT_TARGET_MAP_NAME_DEFAULT = null; + public static final String CAMEL_SINK_ATLASMAP_ENDPOINT_BASIC_PROPERTY_BINDING_CONF = "camel.sink.endpoint.basicPropertyBinding"; + public static final String CAMEL_SINK_ATLASMAP_ENDPOINT_BASIC_PROPERTY_BINDING_DOC = "Whether the endpoint should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities"; + public static final Boolean CAMEL_SINK_ATLASMAP_ENDPOINT_BASIC_PROPERTY_BINDING_DEFAULT = false; + public static final String CAMEL_SINK_ATLASMAP_ENDPOINT_PROPERTIES_FILE_CONF = "camel.sink.endpoint.propertiesFile"; + public static final String CAMEL_SINK_ATLASMAP_ENDPOINT_PROPERTIES_FILE_DOC = "The URI of the properties file which is used for AtlasContextFactory initialization."; + public static final String CAMEL_SINK_ATLASMAP_ENDPOINT_PROPERTIES_FILE_DEFAULT = null; + public static final String CAMEL_SINK_ATLASMAP_ENDPOINT_SYNCHRONOUS_CONF = "camel.sink.endpoint.synchronous"; + public static final String CAMEL_SINK_ATLASMAP_ENDPOINT_SYNCHRONOUS_DOC = "Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported)."; + public static final Boolean CAMEL_SINK_ATLASMAP_ENDPOINT_SYNCHRONOUS_DEFAULT = false; + public static final String CAMEL_SINK_ATLASMAP_COMPONENT_LAZY_START_PRODUCER_CONF = "camel.component.atlasmap.lazyStartProducer"; + public static final String CAMEL_SINK_ATLASMAP_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 [...] + public static final Boolean CAMEL_SINK_ATLASMAP_COMPONENT_LAZY_START_PRODUCER_DEFAULT = false; + public static final String CAMEL_SINK_ATLASMAP_COMPONENT_ATLAS_CONTEXT_FACTORY_CONF = "camel.component.atlasmap.atlasContextFactory"; + public static final String CAMEL_SINK_ATLASMAP_COMPONENT_ATLAS_CONTEXT_FACTORY_DOC = "To use the AtlasContextFactory otherwise a new engine is created."; + public static final String CAMEL_SINK_ATLASMAP_COMPONENT_ATLAS_CONTEXT_FACTORY_DEFAULT = null; + public static final String CAMEL_SINK_ATLASMAP_COMPONENT_BASIC_PROPERTY_BINDING_CONF = "camel.component.atlasmap.basicPropertyBinding"; + public static final String CAMEL_SINK_ATLASMAP_COMPONENT_BASIC_PROPERTY_BINDING_DOC = "Whether the component should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities"; + public static final Boolean CAMEL_SINK_ATLASMAP_COMPONENT_BASIC_PROPERTY_BINDING_DEFAULT = false; + + public CamelAtlasmapSinkConnectorConfig( + ConfigDef config, + Map<String, String> parsedConfig) { + super(config, parsedConfig); + } + + public CamelAtlasmapSinkConnectorConfig(Map<String, String> parsedConfig) { + this(conf(), parsedConfig); + } + + public static ConfigDef conf() { + ConfigDef conf = new ConfigDef(CamelSinkConnectorConfig.conf()); + conf.define(CAMEL_SINK_ATLASMAP_PATH_RESOURCE_URI_CONF, ConfigDef.Type.STRING, CAMEL_SINK_ATLASMAP_PATH_RESOURCE_URI_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_ATLASMAP_PATH_RESOURCE_URI_DOC); + conf.define(CAMEL_SINK_ATLASMAP_ENDPOINT_ALLOW_CONTEXT_MAP_ALL_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_ATLASMAP_ENDPOINT_ALLOW_CONTEXT_MAP_ALL_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_ATLASMAP_ENDPOINT_ALLOW_CONTEXT_MAP_ALL_DOC); + conf.define(CAMEL_SINK_ATLASMAP_ENDPOINT_CONTENT_CACHE_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_ATLASMAP_ENDPOINT_CONTENT_CACHE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_ATLASMAP_ENDPOINT_CONTENT_CACHE_DOC); + conf.define(CAMEL_SINK_ATLASMAP_ENDPOINT_LAZY_START_PRODUCER_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_ATLASMAP_ENDPOINT_LAZY_START_PRODUCER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_ATLASMAP_ENDPOINT_LAZY_START_PRODUCER_DOC); + conf.define(CAMEL_SINK_ATLASMAP_ENDPOINT_SOURCE_MAP_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SINK_ATLASMAP_ENDPOINT_SOURCE_MAP_NAME_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_ATLASMAP_ENDPOINT_SOURCE_MAP_NAME_DOC); + conf.define(CAMEL_SINK_ATLASMAP_ENDPOINT_TARGET_MAP_MODE_CONF, ConfigDef.Type.STRING, CAMEL_SINK_ATLASMAP_ENDPOINT_TARGET_MAP_MODE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_ATLASMAP_ENDPOINT_TARGET_MAP_MODE_DOC); + conf.define(CAMEL_SINK_ATLASMAP_ENDPOINT_TARGET_MAP_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SINK_ATLASMAP_ENDPOINT_TARGET_MAP_NAME_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_ATLASMAP_ENDPOINT_TARGET_MAP_NAME_DOC); + conf.define(CAMEL_SINK_ATLASMAP_ENDPOINT_BASIC_PROPERTY_BINDING_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_ATLASMAP_ENDPOINT_BASIC_PROPERTY_BINDING_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_ATLASMAP_ENDPOINT_BASIC_PROPERTY_BINDING_DOC); + conf.define(CAMEL_SINK_ATLASMAP_ENDPOINT_PROPERTIES_FILE_CONF, ConfigDef.Type.STRING, CAMEL_SINK_ATLASMAP_ENDPOINT_PROPERTIES_FILE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_ATLASMAP_ENDPOINT_PROPERTIES_FILE_DOC); + conf.define(CAMEL_SINK_ATLASMAP_ENDPOINT_SYNCHRONOUS_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_ATLASMAP_ENDPOINT_SYNCHRONOUS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_ATLASMAP_ENDPOINT_SYNCHRONOUS_DOC); + conf.define(CAMEL_SINK_ATLASMAP_COMPONENT_LAZY_START_PRODUCER_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_ATLASMAP_COMPONENT_LAZY_START_PRODUCER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_ATLASMAP_COMPONENT_LAZY_START_PRODUCER_DOC); + conf.define(CAMEL_SINK_ATLASMAP_COMPONENT_ATLAS_CONTEXT_FACTORY_CONF, ConfigDef.Type.STRING, CAMEL_SINK_ATLASMAP_COMPONENT_ATLAS_CONTEXT_FACTORY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_ATLASMAP_COMPONENT_ATLAS_CONTEXT_FACTORY_DOC); + conf.define(CAMEL_SINK_ATLASMAP_COMPONENT_BASIC_PROPERTY_BINDING_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_ATLASMAP_COMPONENT_BASIC_PROPERTY_BINDING_DEFAULT, ConfigDef.Importance.LOW, CAMEL_SINK_ATLASMAP_COMPONENT_BASIC_PROPERTY_BINDING_DOC); + return conf; + } +} \ No newline at end of file diff --git a/connectors/camel-atlasmap-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/atlasmap/CamelAtlasmapSinkTask.java b/connectors/camel-atlasmap-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/atlasmap/CamelAtlasmapSinkTask.java new file mode 100644 index 0000000..a729f9d --- /dev/null +++ b/connectors/camel-atlasmap-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/atlasmap/CamelAtlasmapSinkTask.java @@ -0,0 +1,39 @@ +/* + * 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.atlasmap; + +import java.util.HashMap; +import java.util.Map; +import javax.annotation.Generated; +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 CamelAtlasmapSinkTask extends CamelSinkTask { + + @Override + protected CamelSinkConnectorConfig getCamelSinkConnectorConfig( + Map<String, String> props) { + return new CamelAtlasmapSinkConnectorConfig(props); + } + @Override + protected Map<String, String> getDefaultConfig() { + return new HashMap<String, String>() {{ + put(CamelSinkConnectorConfig.CAMEL_SINK_COMPONENT_CONF, "atlasmap"); + }}; + } +} \ No newline at end of file diff --git a/connectors/camel-atlasmap-kafka-connector/src/main/resources/META-INF/LICENSE.txt b/connectors/camel-atlasmap-kafka-connector/src/main/resources/META-INF/LICENSE.txt new file mode 100644 index 0000000..6b0b127 --- /dev/null +++ b/connectors/camel-atlasmap-kafka-connector/src/main/resources/META-INF/LICENSE.txt @@ -0,0 +1,203 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed 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. + diff --git a/connectors/camel-atlasmap-kafka-connector/src/main/resources/META-INF/NOTICE.txt b/connectors/camel-atlasmap-kafka-connector/src/main/resources/META-INF/NOTICE.txt new file mode 100644 index 0000000..2e215bf --- /dev/null +++ b/connectors/camel-atlasmap-kafka-connector/src/main/resources/META-INF/NOTICE.txt @@ -0,0 +1,11 @@ + ========================================================================= + == NOTICE file corresponding to the section 4 d of == + == the Apache License, Version 2.0, == + == in this case for the Apache Camel distribution. == + ========================================================================= + + This product includes software developed by + The Apache Software Foundation (http://www.apache.org/). + + Please read the different LICENSE files present in the licenses directory of + this distribution. diff --git a/connectors/camel-azure-storage-blob-kafka-connector/src/generated/resources/camel-azure-storage-blob-sink.json b/connectors/camel-azure-storage-blob-kafka-connector/src/generated/resources/camel-azure-storage-blob-sink.json index 26bb597..3ec438a 100644 --- a/connectors/camel-azure-storage-blob-kafka-connector/src/generated/resources/camel-azure-storage-blob-sink.json +++ b/connectors/camel-azure-storage-blob-kafka-connector/src/generated/resources/camel-azure-storage-blob-sink.json @@ -83,6 +83,11 @@ "description": "Filters the results to return only blobs whose names begin with the specified prefix. May be null to return all blobs.", "priority": "MEDIUM" }, + "camel.sink.endpoint.regex": { + "name": "camel.sink.endpoint.regex", + "description": "Filters the results to return only blobs whose names match the specified regular expression. May be null to return all if both prefix and regex are set, regex takes the priority and prefix is ignored.", + "priority": "MEDIUM" + }, "camel.sink.endpoint.serviceClient": { "name": "camel.sink.endpoint.serviceClient", "description": "Client to a storage account. This client does not hold any state about a particular storage account but is instead a convenient way of sending off appropriate requests to the resource on the service. It may also be used to construct URLs to blobs and containers. This client contains operations on a service account. Operations on a container are available on BlobContainerClient through BlobServiceClient#getBlobContainerClient(String), and operations on a blob are availa [...] @@ -234,6 +239,11 @@ "description": "Filters the results to return only blobs whose names begin with the specified prefix. May be null to return all blobs.", "priority": "MEDIUM" }, + "camel.component.azure-storage-blob.regex": { + "name": "camel.component.azure-storage-blob.regex", + "description": "Filters the results to return only blobs whose names match the specified regular expression. May be null to return all if both prefix and regex are set, regex takes the priority and prefix is ignored.", + "priority": "MEDIUM" + }, "camel.component.azure-storage-blob.serviceClient": { "name": "camel.component.azure-storage-blob.serviceClient", "description": "Client to a storage account. This client does not hold any state about a particular storage account but is instead a convenient way of sending off appropriate requests to the resource on the service. It may also be used to construct URLs to blobs and containers. This client contains operations on a service account. Operations on a container are available on BlobContainerClient through BlobServiceClient#getBlobContainerClient(String), and operations on a blob are availa [...] diff --git a/connectors/camel-azure-storage-blob-kafka-connector/src/generated/resources/camel-azure-storage-blob-source.json b/connectors/camel-azure-storage-blob-kafka-connector/src/generated/resources/camel-azure-storage-blob-source.json index a4e12bc..d25e4de 100644 --- a/connectors/camel-azure-storage-blob-kafka-connector/src/generated/resources/camel-azure-storage-blob-source.json +++ b/connectors/camel-azure-storage-blob-kafka-connector/src/generated/resources/camel-azure-storage-blob-source.json @@ -83,6 +83,11 @@ "description": "Filters the results to return only blobs whose names begin with the specified prefix. May be null to return all blobs.", "priority": "MEDIUM" }, + "camel.source.endpoint.regex": { + "name": "camel.source.endpoint.regex", + "description": "Filters the results to return only blobs whose names match the specified regular expression. May be null to return all if both prefix and regex are set, regex takes the priority and prefix is ignored.", + "priority": "MEDIUM" + }, "camel.source.endpoint.serviceClient": { "name": "camel.source.endpoint.serviceClient", "description": "Client to a storage account. This client does not hold any state about a particular storage account but is instead a convenient way of sending off appropriate requests to the resource on the service. It may also be used to construct URLs to blobs and containers. This client contains operations on a service account. Operations on a container are available on BlobContainerClient through BlobServiceClient#getBlobContainerClient(String), and operations on a blob are availa [...] @@ -191,6 +196,11 @@ "description": "Filters the results to return only blobs whose names begin with the specified prefix. May be null to return all blobs.", "priority": "MEDIUM" }, + "camel.component.azure-storage-blob.regex": { + "name": "camel.component.azure-storage-blob.regex", + "description": "Filters the results to return only blobs whose names match the specified regular expression. May be null to return all if both prefix and regex are set, regex takes the priority and prefix is ignored.", + "priority": "MEDIUM" + }, "camel.component.azure-storage-blob.serviceClient": { "name": "camel.component.azure-storage-blob.serviceClient", "description": "Client to a storage account. This client does not hold any state about a particular storage account but is instead a convenient way of sending off appropriate requests to the resource on the service. It may also be used to construct URLs to blobs and containers. This client contains operations on a service account. Operations on a container are available on BlobContainerClient through BlobServiceClient#getBlobContainerClient(String), and operations on a blob are availa [...] diff --git a/connectors/camel-azure-storage-blob-kafka-connector/src/main/docs/camel-azure-storage-blob-kafka-sink-connector.adoc b/connectors/camel-azure-storage-blob-kafka-connector/src/main/docs/camel-azure-storage-blob-kafka-sink-connector.adoc index 1c03d7f..603f166 100644 --- a/connectors/camel-azure-storage-blob-kafka-connector/src/main/docs/camel-azure-storage-blob-kafka-sink-connector.adoc +++ b/connectors/camel-azure-storage-blob-kafka-connector/src/main/docs/camel-azure-storage-blob-kafka-sink-connector.adoc @@ -22,7 +22,7 @@ connector.class=org.apache.camel.kafkaconnector.azurestorageblob.CamelAzurestora ---- -The camel-azure-storage-blob sink connector supports 55 options, which are listed below. +The camel-azure-storage-blob sink connector supports 57 options, which are listed below. @@ -43,6 +43,7 @@ The camel-azure-storage-blob sink connector supports 55 options, which are liste | *camel.sink.endpoint.maxResultsPerPage* | Specifies the maximum number of blobs to return, including all BlobPrefix elements. If the request does not specify maxResultsPerPage or specifies a value greater than 5,000, the server will return up to 5,000 items. | null | MEDIUM | *camel.sink.endpoint.maxRetryRequests* | Specifies the maximum number of additional HTTP Get requests that will be made while reading the data from a response body. | 0 | MEDIUM | *camel.sink.endpoint.prefix* | Filters the results to return only blobs whose names begin with the specified prefix. May be null to return all blobs. | null | MEDIUM +| *camel.sink.endpoint.regex* | Filters the results to return only blobs whose names match the specified regular expression. May be null to return all if both prefix and regex are set, regex takes the priority and prefix is ignored. | null | MEDIUM | *camel.sink.endpoint.serviceClient* | Client to a storage account. This client does not hold any state about a particular storage account but is instead a convenient way of sending off appropriate requests to the resource on the service. It may also be used to construct URLs to blobs and containers. This client contains operations on a service account. Operations on a container are available on BlobContainerClient through BlobServiceClient#getBlobContainerClient(String), and operations [...] | *camel.sink.endpoint.timeout* | An optional timeout value beyond which a RuntimeException will be raised. | null | MEDIUM | *camel.sink.endpoint.blobSequenceNumber* | A user-controlled value that you can use to track requests. The value of the sequence number must be between 0 and 263 - 1.The default value is 0. | "0" | MEDIUM @@ -70,6 +71,7 @@ The camel-azure-storage-blob sink connector supports 55 options, which are liste | *camel.component.azure-storage-blob.maxResultsPer Page* | Specifies the maximum number of blobs to return, including all BlobPrefix elements. If the request does not specify maxResultsPerPage or specifies a value greater than 5,000, the server will return up to 5,000 items. | null | MEDIUM | *camel.component.azure-storage-blob.maxRetry Requests* | Specifies the maximum number of additional HTTP Get requests that will be made while reading the data from a response body. | 0 | MEDIUM | *camel.component.azure-storage-blob.prefix* | Filters the results to return only blobs whose names begin with the specified prefix. May be null to return all blobs. | null | MEDIUM +| *camel.component.azure-storage-blob.regex* | Filters the results to return only blobs whose names match the specified regular expression. May be null to return all if both prefix and regex are set, regex takes the priority and prefix is ignored. | null | MEDIUM | *camel.component.azure-storage-blob.serviceClient* | Client to a storage account. This client does not hold any state about a particular storage account but is instead a convenient way of sending off appropriate requests to the resource on the service. It may also be used to construct URLs to blobs and containers. This client contains operations on a service account. Operations on a container are available on BlobContainerClient through BlobServiceClient#getBlobContainerClient(String), [...] | *camel.component.azure-storage-blob.timeout* | An optional timeout value beyond which a RuntimeException will be raised. | null | MEDIUM | *camel.component.azure-storage-blob.blobSequence Number* | A user-controlled value that you can use to track requests. The value of the sequence number must be between 0 and 263 - 1.The default value is 0. | "0" | MEDIUM diff --git a/connectors/camel-azure-storage-blob-kafka-connector/src/main/docs/camel-azure-storage-blob-kafka-source-connector.adoc b/connectors/camel-azure-storage-blob-kafka-connector/src/main/docs/camel-azure-storage-blob-kafka-source-connector.adoc index dfe80bc..b9cfa39 100644 --- a/connectors/camel-azure-storage-blob-kafka-connector/src/main/docs/camel-azure-storage-blob-kafka-source-connector.adoc +++ b/connectors/camel-azure-storage-blob-kafka-connector/src/main/docs/camel-azure-storage-blob-kafka-source-connector.adoc @@ -22,7 +22,7 @@ connector.class=org.apache.camel.kafkaconnector.azurestorageblob.CamelAzurestora ---- -The camel-azure-storage-blob source connector supports 39 options, which are listed below. +The camel-azure-storage-blob source connector supports 41 options, which are listed below. @@ -43,6 +43,7 @@ The camel-azure-storage-blob source connector supports 39 options, which are lis | *camel.source.endpoint.maxResultsPerPage* | Specifies the maximum number of blobs to return, including all BlobPrefix elements. If the request does not specify maxResultsPerPage or specifies a value greater than 5,000, the server will return up to 5,000 items. | null | MEDIUM | *camel.source.endpoint.maxRetryRequests* | Specifies the maximum number of additional HTTP Get requests that will be made while reading the data from a response body. | 0 | MEDIUM | *camel.source.endpoint.prefix* | Filters the results to return only blobs whose names begin with the specified prefix. May be null to return all blobs. | null | MEDIUM +| *camel.source.endpoint.regex* | Filters the results to return only blobs whose names match the specified regular expression. May be null to return all if both prefix and regex are set, regex takes the priority and prefix is ignored. | null | MEDIUM | *camel.source.endpoint.serviceClient* | Client to a storage account. This client does not hold any state about a particular storage account but is instead a convenient way of sending off appropriate requests to the resource on the service. It may also be used to construct URLs to blobs and containers. This client contains operations on a service account. Operations on a container are available on BlobContainerClient through BlobServiceClient#getBlobContainerClient(String), and operatio [...] | *camel.source.endpoint.timeout* | An optional timeout value beyond which a RuntimeException will be raised. | null | MEDIUM | *camel.source.endpoint.bridgeErrorHandler* | Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN or ERROR level and ignored. | false | MEDIUM @@ -63,6 +64,7 @@ The camel-azure-storage-blob source connector supports 39 options, which are lis | *camel.component.azure-storage-blob.maxResultsPer Page* | Specifies the maximum number of blobs to return, including all BlobPrefix elements. If the request does not specify maxResultsPerPage or specifies a value greater than 5,000, the server will return up to 5,000 items. | null | MEDIUM | *camel.component.azure-storage-blob.maxRetry Requests* | Specifies the maximum number of additional HTTP Get requests that will be made while reading the data from a response body. | 0 | MEDIUM | *camel.component.azure-storage-blob.prefix* | Filters the results to return only blobs whose names begin with the specified prefix. May be null to return all blobs. | null | MEDIUM +| *camel.component.azure-storage-blob.regex* | Filters the results to return only blobs whose names match the specified regular expression. May be null to return all if both prefix and regex are set, regex takes the priority and prefix is ignored. | null | MEDIUM | *camel.component.azure-storage-blob.serviceClient* | Client to a storage account. This client does not hold any state about a particular storage account but is instead a convenient way of sending off appropriate requests to the resource on the service. It may also be used to construct URLs to blobs and containers. This client contains operations on a service account. Operations on a container are available on BlobContainerClient through BlobServiceClient#getBlobContainerClient(String), [...] | *camel.component.azure-storage-blob.timeout* | An optional timeout value beyond which a RuntimeException will be raised. | null | MEDIUM | *camel.component.azure-storage-blob.bridgeError Handler* | Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN or ERROR level and ignored. | false | MEDIUM diff --git a/connectors/camel-azure-storage-blob-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/azurestorageblob/CamelAzurestorageblobSinkConnectorConfig.java b/connectors/camel-azure-storage-blob-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/azurestorageblob/CamelAzurestorageblobSinkConnectorConfig.java index 2c16eba..96d5949 100644 --- a/connectors/camel-azure-storage-blob-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/azurestorageblob/CamelAzurestorageblobSinkConnectorConfig.java +++ b/connectors/camel-azure-storage-blob-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/azurestorageblob/CamelAzurestorageblobSinkConnectorConfig.java @@ -68,6 +68,9 @@ public class CamelAzurestorageblobSinkConnectorConfig public static final String CAMEL_SINK_AZURESTORAGEBLOB_ENDPOINT_PREFIX_CONF = "camel.sink.endpoint.prefix"; public static final String CAMEL_SINK_AZURESTORAGEBLOB_ENDPOINT_PREFIX_DOC = "Filters the results to return only blobs whose names begin with the specified prefix. May be null to return all blobs."; public static final String CAMEL_SINK_AZURESTORAGEBLOB_ENDPOINT_PREFIX_DEFAULT = null; + public static final String CAMEL_SINK_AZURESTORAGEBLOB_ENDPOINT_REGEX_CONF = "camel.sink.endpoint.regex"; + public static final String CAMEL_SINK_AZURESTORAGEBLOB_ENDPOINT_REGEX_DOC = "Filters the results to return only blobs whose names match the specified regular expression. May be null to return all if both prefix and regex are set, regex takes the priority and prefix is ignored."; + public static final String CAMEL_SINK_AZURESTORAGEBLOB_ENDPOINT_REGEX_DEFAULT = null; public static final String CAMEL_SINK_AZURESTORAGEBLOB_ENDPOINT_SERVICE_CLIENT_CONF = "camel.sink.endpoint.serviceClient"; public static final String CAMEL_SINK_AZURESTORAGEBLOB_ENDPOINT_SERVICE_CLIENT_DOC = "Client to a storage account. This client does not hold any state about a particular storage account but is instead a convenient way of sending off appropriate requests to the resource on the service. It may also be used to construct URLs to blobs and containers. This client contains operations on a service account. Operations on a container are available on BlobContainerClient through BlobServiceCli [...] public static final String CAMEL_SINK_AZURESTORAGEBLOB_ENDPOINT_SERVICE_CLIENT_DEFAULT = null; @@ -149,6 +152,9 @@ public class CamelAzurestorageblobSinkConnectorConfig public static final String CAMEL_SINK_AZURESTORAGEBLOB_COMPONENT_PREFIX_CONF = "camel.component.azure-storage-blob.prefix"; public static final String CAMEL_SINK_AZURESTORAGEBLOB_COMPONENT_PREFIX_DOC = "Filters the results to return only blobs whose names begin with the specified prefix. May be null to return all blobs."; public static final String CAMEL_SINK_AZURESTORAGEBLOB_COMPONENT_PREFIX_DEFAULT = null; + public static final String CAMEL_SINK_AZURESTORAGEBLOB_COMPONENT_REGEX_CONF = "camel.component.azure-storage-blob.regex"; + public static final String CAMEL_SINK_AZURESTORAGEBLOB_COMPONENT_REGEX_DOC = "Filters the results to return only blobs whose names match the specified regular expression. May be null to return all if both prefix and regex are set, regex takes the priority and prefix is ignored."; + public static final String CAMEL_SINK_AZURESTORAGEBLOB_COMPONENT_REGEX_DEFAULT = null; public static final String CAMEL_SINK_AZURESTORAGEBLOB_COMPONENT_SERVICE_CLIENT_CONF = "camel.component.azure-storage-blob.serviceClient"; public static final String CAMEL_SINK_AZURESTORAGEBLOB_COMPONENT_SERVICE_CLIENT_DOC = "Client to a storage account. This client does not hold any state about a particular storage account but is instead a convenient way of sending off appropriate requests to the resource on the service. It may also be used to construct URLs to blobs and containers. This client contains operations on a service account. Operations on a container are available on BlobContainerClient through BlobServiceCl [...] public static final String CAMEL_SINK_AZURESTORAGEBLOB_COMPONENT_SERVICE_CLIENT_DEFAULT = null; @@ -219,6 +225,7 @@ public class CamelAzurestorageblobSinkConnectorConfig conf.define(CAMEL_SINK_AZURESTORAGEBLOB_ENDPOINT_MAX_RESULTS_PER_PAGE_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AZURESTORAGEBLOB_ENDPOINT_MAX_RESULTS_PER_PAGE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AZURESTORAGEBLOB_ENDPOINT_MAX_RESULTS_PER_PAGE_DOC); conf.define(CAMEL_SINK_AZURESTORAGEBLOB_ENDPOINT_MAX_RETRY_REQUESTS_CONF, ConfigDef.Type.INT, CAMEL_SINK_AZURESTORAGEBLOB_ENDPOINT_MAX_RETRY_REQUESTS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AZURESTORAGEBLOB_ENDPOINT_MAX_RETRY_REQUESTS_DOC); conf.define(CAMEL_SINK_AZURESTORAGEBLOB_ENDPOINT_PREFIX_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AZURESTORAGEBLOB_ENDPOINT_PREFIX_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AZURESTORAGEBLOB_ENDPOINT_PREFIX_DOC); + conf.define(CAMEL_SINK_AZURESTORAGEBLOB_ENDPOINT_REGEX_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AZURESTORAGEBLOB_ENDPOINT_REGEX_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AZURESTORAGEBLOB_ENDPOINT_REGEX_DOC); conf.define(CAMEL_SINK_AZURESTORAGEBLOB_ENDPOINT_SERVICE_CLIENT_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AZURESTORAGEBLOB_ENDPOINT_SERVICE_CLIENT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AZURESTORAGEBLOB_ENDPOINT_SERVICE_CLIENT_DOC); conf.define(CAMEL_SINK_AZURESTORAGEBLOB_ENDPOINT_TIMEOUT_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AZURESTORAGEBLOB_ENDPOINT_TIMEOUT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AZURESTORAGEBLOB_ENDPOINT_TIMEOUT_DOC); conf.define(CAMEL_SINK_AZURESTORAGEBLOB_ENDPOINT_BLOB_SEQUENCE_NUMBER_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AZURESTORAGEBLOB_ENDPOINT_BLOB_SEQUENCE_NUMBER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AZURESTORAGEBLOB_ENDPOINT_BLOB_SEQUENCE_NUMBER_DOC); @@ -246,6 +253,7 @@ public class CamelAzurestorageblobSinkConnectorConfig conf.define(CAMEL_SINK_AZURESTORAGEBLOB_COMPONENT_MAX_RESULTS_PER_PAGE_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AZURESTORAGEBLOB_COMPONENT_MAX_RESULTS_PER_PAGE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AZURESTORAGEBLOB_COMPONENT_MAX_RESULTS_PER_PAGE_DOC); conf.define(CAMEL_SINK_AZURESTORAGEBLOB_COMPONENT_MAX_RETRY_REQUESTS_CONF, ConfigDef.Type.INT, CAMEL_SINK_AZURESTORAGEBLOB_COMPONENT_MAX_RETRY_REQUESTS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AZURESTORAGEBLOB_COMPONENT_MAX_RETRY_REQUESTS_DOC); conf.define(CAMEL_SINK_AZURESTORAGEBLOB_COMPONENT_PREFIX_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AZURESTORAGEBLOB_COMPONENT_PREFIX_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AZURESTORAGEBLOB_COMPONENT_PREFIX_DOC); + conf.define(CAMEL_SINK_AZURESTORAGEBLOB_COMPONENT_REGEX_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AZURESTORAGEBLOB_COMPONENT_REGEX_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AZURESTORAGEBLOB_COMPONENT_REGEX_DOC); conf.define(CAMEL_SINK_AZURESTORAGEBLOB_COMPONENT_SERVICE_CLIENT_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AZURESTORAGEBLOB_COMPONENT_SERVICE_CLIENT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AZURESTORAGEBLOB_COMPONENT_SERVICE_CLIENT_DOC); conf.define(CAMEL_SINK_AZURESTORAGEBLOB_COMPONENT_TIMEOUT_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AZURESTORAGEBLOB_COMPONENT_TIMEOUT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AZURESTORAGEBLOB_COMPONENT_TIMEOUT_DOC); conf.define(CAMEL_SINK_AZURESTORAGEBLOB_COMPONENT_BLOB_SEQUENCE_NUMBER_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AZURESTORAGEBLOB_COMPONENT_BLOB_SEQUENCE_NUMBER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AZURESTORAGEBLOB_COMPONENT_BLOB_SEQUENCE_NUMBER_DOC); diff --git a/connectors/camel-azure-storage-blob-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/azurestorageblob/CamelAzurestorageblobSourceConnectorConfig.java b/connectors/camel-azure-storage-blob-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/azurestorageblob/CamelAzurestorageblobSourceConnectorConfig.java index dcf272e..d2125f2 100644 --- a/connectors/camel-azure-storage-blob-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/azurestorageblob/CamelAzurestorageblobSourceConnectorConfig.java +++ b/connectors/camel-azure-storage-blob-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/azurestorageblob/CamelAzurestorageblobSourceConnectorConfig.java @@ -68,6 +68,9 @@ public class CamelAzurestorageblobSourceConnectorConfig public static final String CAMEL_SOURCE_AZURESTORAGEBLOB_ENDPOINT_PREFIX_CONF = "camel.source.endpoint.prefix"; public static final String CAMEL_SOURCE_AZURESTORAGEBLOB_ENDPOINT_PREFIX_DOC = "Filters the results to return only blobs whose names begin with the specified prefix. May be null to return all blobs."; public static final String CAMEL_SOURCE_AZURESTORAGEBLOB_ENDPOINT_PREFIX_DEFAULT = null; + public static final String CAMEL_SOURCE_AZURESTORAGEBLOB_ENDPOINT_REGEX_CONF = "camel.source.endpoint.regex"; + public static final String CAMEL_SOURCE_AZURESTORAGEBLOB_ENDPOINT_REGEX_DOC = "Filters the results to return only blobs whose names match the specified regular expression. May be null to return all if both prefix and regex are set, regex takes the priority and prefix is ignored."; + public static final String CAMEL_SOURCE_AZURESTORAGEBLOB_ENDPOINT_REGEX_DEFAULT = null; public static final String CAMEL_SOURCE_AZURESTORAGEBLOB_ENDPOINT_SERVICE_CLIENT_CONF = "camel.source.endpoint.serviceClient"; public static final String CAMEL_SOURCE_AZURESTORAGEBLOB_ENDPOINT_SERVICE_CLIENT_DOC = "Client to a storage account. This client does not hold any state about a particular storage account but is instead a convenient way of sending off appropriate requests to the resource on the service. It may also be used to construct URLs to blobs and containers. This client contains operations on a service account. Operations on a container are available on BlobContainerClient through BlobServiceC [...] public static final String CAMEL_SOURCE_AZURESTORAGEBLOB_ENDPOINT_SERVICE_CLIENT_DEFAULT = null; @@ -128,6 +131,9 @@ public class CamelAzurestorageblobSourceConnectorConfig public static final String CAMEL_SOURCE_AZURESTORAGEBLOB_COMPONENT_PREFIX_CONF = "camel.component.azure-storage-blob.prefix"; public static final String CAMEL_SOURCE_AZURESTORAGEBLOB_COMPONENT_PREFIX_DOC = "Filters the results to return only blobs whose names begin with the specified prefix. May be null to return all blobs."; public static final String CAMEL_SOURCE_AZURESTORAGEBLOB_COMPONENT_PREFIX_DEFAULT = null; + public static final String CAMEL_SOURCE_AZURESTORAGEBLOB_COMPONENT_REGEX_CONF = "camel.component.azure-storage-blob.regex"; + public static final String CAMEL_SOURCE_AZURESTORAGEBLOB_COMPONENT_REGEX_DOC = "Filters the results to return only blobs whose names match the specified regular expression. May be null to return all if both prefix and regex are set, regex takes the priority and prefix is ignored."; + public static final String CAMEL_SOURCE_AZURESTORAGEBLOB_COMPONENT_REGEX_DEFAULT = null; public static final String CAMEL_SOURCE_AZURESTORAGEBLOB_COMPONENT_SERVICE_CLIENT_CONF = "camel.component.azure-storage-blob.serviceClient"; public static final String CAMEL_SOURCE_AZURESTORAGEBLOB_COMPONENT_SERVICE_CLIENT_DOC = "Client to a storage account. This client does not hold any state about a particular storage account but is instead a convenient way of sending off appropriate requests to the resource on the service. It may also be used to construct URLs to blobs and containers. This client contains operations on a service account. Operations on a container are available on BlobContainerClient through BlobService [...] public static final String CAMEL_SOURCE_AZURESTORAGEBLOB_COMPONENT_SERVICE_CLIENT_DEFAULT = null; @@ -171,6 +177,7 @@ public class CamelAzurestorageblobSourceConnectorConfig conf.define(CAMEL_SOURCE_AZURESTORAGEBLOB_ENDPOINT_MAX_RESULTS_PER_PAGE_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_AZURESTORAGEBLOB_ENDPOINT_MAX_RESULTS_PER_PAGE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AZURESTORAGEBLOB_ENDPOINT_MAX_RESULTS_PER_PAGE_DOC); conf.define(CAMEL_SOURCE_AZURESTORAGEBLOB_ENDPOINT_MAX_RETRY_REQUESTS_CONF, ConfigDef.Type.INT, CAMEL_SOURCE_AZURESTORAGEBLOB_ENDPOINT_MAX_RETRY_REQUESTS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AZURESTORAGEBLOB_ENDPOINT_MAX_RETRY_REQUESTS_DOC); conf.define(CAMEL_SOURCE_AZURESTORAGEBLOB_ENDPOINT_PREFIX_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_AZURESTORAGEBLOB_ENDPOINT_PREFIX_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AZURESTORAGEBLOB_ENDPOINT_PREFIX_DOC); + conf.define(CAMEL_SOURCE_AZURESTORAGEBLOB_ENDPOINT_REGEX_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_AZURESTORAGEBLOB_ENDPOINT_REGEX_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AZURESTORAGEBLOB_ENDPOINT_REGEX_DOC); conf.define(CAMEL_SOURCE_AZURESTORAGEBLOB_ENDPOINT_SERVICE_CLIENT_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_AZURESTORAGEBLOB_ENDPOINT_SERVICE_CLIENT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AZURESTORAGEBLOB_ENDPOINT_SERVICE_CLIENT_DOC); conf.define(CAMEL_SOURCE_AZURESTORAGEBLOB_ENDPOINT_TIMEOUT_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_AZURESTORAGEBLOB_ENDPOINT_TIMEOUT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AZURESTORAGEBLOB_ENDPOINT_TIMEOUT_DOC); conf.define(CAMEL_SOURCE_AZURESTORAGEBLOB_ENDPOINT_BRIDGE_ERROR_HANDLER_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_AZURESTORAGEBLOB_ENDPOINT_BRIDGE_ERROR_HANDLER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AZURESTORAGEBLOB_ENDPOINT_BRIDGE_ERROR_HANDLER_DOC); @@ -191,6 +198,7 @@ public class CamelAzurestorageblobSourceConnectorConfig conf.define(CAMEL_SOURCE_AZURESTORAGEBLOB_COMPONENT_MAX_RESULTS_PER_PAGE_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_AZURESTORAGEBLOB_COMPONENT_MAX_RESULTS_PER_PAGE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AZURESTORAGEBLOB_COMPONENT_MAX_RESULTS_PER_PAGE_DOC); conf.define(CAMEL_SOURCE_AZURESTORAGEBLOB_COMPONENT_MAX_RETRY_REQUESTS_CONF, ConfigDef.Type.INT, CAMEL_SOURCE_AZURESTORAGEBLOB_COMPONENT_MAX_RETRY_REQUESTS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AZURESTORAGEBLOB_COMPONENT_MAX_RETRY_REQUESTS_DOC); conf.define(CAMEL_SOURCE_AZURESTORAGEBLOB_COMPONENT_PREFIX_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_AZURESTORAGEBLOB_COMPONENT_PREFIX_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AZURESTORAGEBLOB_COMPONENT_PREFIX_DOC); + conf.define(CAMEL_SOURCE_AZURESTORAGEBLOB_COMPONENT_REGEX_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_AZURESTORAGEBLOB_COMPONENT_REGEX_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AZURESTORAGEBLOB_COMPONENT_REGEX_DOC); conf.define(CAMEL_SOURCE_AZURESTORAGEBLOB_COMPONENT_SERVICE_CLIENT_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_AZURESTORAGEBLOB_COMPONENT_SERVICE_CLIENT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AZURESTORAGEBLOB_COMPONENT_SERVICE_CLIENT_DOC); conf.define(CAMEL_SOURCE_AZURESTORAGEBLOB_COMPONENT_TIMEOUT_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_AZURESTORAGEBLOB_COMPONENT_TIMEOUT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AZURESTORAGEBLOB_COMPONENT_TIMEOUT_DOC); conf.define(CAMEL_SOURCE_AZURESTORAGEBLOB_COMPONENT_BRIDGE_ERROR_HANDLER_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_AZURESTORAGEBLOB_COMPONENT_BRIDGE_ERROR_HANDLER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AZURESTORAGEBLOB_COMPONENT_BRIDGE_ERROR_HANDLER_DOC); diff --git a/connectors/camel-couchbase-kafka-connector/src/generated/resources/camel-couchbase-sink.json b/connectors/camel-couchbase-kafka-connector/src/generated/resources/camel-couchbase-sink.json index e80a9f0..0484177 100644 --- a/connectors/camel-couchbase-kafka-connector/src/generated/resources/camel-couchbase-sink.json +++ b/connectors/camel-couchbase-kafka-connector/src/generated/resources/camel-couchbase-sink.json @@ -27,7 +27,7 @@ "camel.sink.endpoint.bucket": { "name": "camel.sink.endpoint.bucket", "description": "The bucket to use", - "priority": "MEDIUM" + "priority": "HIGH" }, "camel.sink.endpoint.collection": { "name": "camel.sink.endpoint.collection", diff --git a/connectors/camel-couchbase-kafka-connector/src/generated/resources/camel-couchbase-source.json b/connectors/camel-couchbase-kafka-connector/src/generated/resources/camel-couchbase-source.json index 8466b3e..e43e210 100644 --- a/connectors/camel-couchbase-kafka-connector/src/generated/resources/camel-couchbase-source.json +++ b/connectors/camel-couchbase-kafka-connector/src/generated/resources/camel-couchbase-source.json @@ -27,7 +27,7 @@ "camel.source.endpoint.bucket": { "name": "camel.source.endpoint.bucket", "description": "The bucket to use", - "priority": "MEDIUM" + "priority": "HIGH" }, "camel.source.endpoint.collection": { "name": "camel.source.endpoint.collection", diff --git a/connectors/camel-couchbase-kafka-connector/src/main/docs/camel-couchbase-kafka-sink-connector.adoc b/connectors/camel-couchbase-kafka-connector/src/main/docs/camel-couchbase-kafka-sink-connector.adoc index a86c7df..d764759 100644 --- a/connectors/camel-couchbase-kafka-connector/src/main/docs/camel-couchbase-kafka-sink-connector.adoc +++ b/connectors/camel-couchbase-kafka-connector/src/main/docs/camel-couchbase-kafka-sink-connector.adoc @@ -32,7 +32,7 @@ The camel-couchbase sink connector supports 23 options, which are listed below. | *camel.sink.path.protocol* | The protocol to use | null | HIGH | *camel.sink.path.hostname* | The hostname to use | null | HIGH | *camel.sink.path.port* | The port number to use | 8091 | MEDIUM -| *camel.sink.endpoint.bucket* | The bucket to use | null | MEDIUM +| *camel.sink.endpoint.bucket* | The bucket to use | null | HIGH | *camel.sink.endpoint.collection* | The collection to use | null | MEDIUM | *camel.sink.endpoint.key* | The key to use | null | MEDIUM | *camel.sink.endpoint.scope* | The scope to use | null | MEDIUM diff --git a/connectors/camel-couchbase-kafka-connector/src/main/docs/camel-couchbase-kafka-source-connector.adoc b/connectors/camel-couchbase-kafka-connector/src/main/docs/camel-couchbase-kafka-source-connector.adoc index 1a173dd..16ec9f9 100644 --- a/connectors/camel-couchbase-kafka-connector/src/main/docs/camel-couchbase-kafka-source-connector.adoc +++ b/connectors/camel-couchbase-kafka-connector/src/main/docs/camel-couchbase-kafka-source-connector.adoc @@ -32,7 +32,7 @@ The camel-couchbase source connector supports 42 options, which are listed below | *camel.source.path.protocol* | The protocol to use | null | HIGH | *camel.source.path.hostname* | The hostname to use | null | HIGH | *camel.source.path.port* | The port number to use | 8091 | MEDIUM -| *camel.source.endpoint.bucket* | The bucket to use | null | MEDIUM +| *camel.source.endpoint.bucket* | The bucket to use | null | HIGH | *camel.source.endpoint.collection* | The collection to use | null | MEDIUM | *camel.source.endpoint.key* | The key to use | null | MEDIUM | *camel.source.endpoint.scope* | The scope to use | null | MEDIUM diff --git a/connectors/camel-couchbase-kafka-connector/src/main/docs/examples/CamelCouchbaseSinkConnector.properties b/connectors/camel-couchbase-kafka-connector/src/main/docs/examples/CamelCouchbaseSinkConnector.properties index fdebdc2..3bd291f 100644 --- a/connectors/camel-couchbase-kafka-connector/src/main/docs/examples/CamelCouchbaseSinkConnector.properties +++ b/connectors/camel-couchbase-kafka-connector/src/main/docs/examples/CamelCouchbaseSinkConnector.properties @@ -28,6 +28,8 @@ topics= # mandatory properties (for a complete properties list see the connector documentation): +# The bucket to use +camel.sink.endpoint.bucket= # The hostname to use camel.sink.path.hostname= # The protocol to use diff --git a/connectors/camel-couchbase-kafka-connector/src/main/docs/examples/CamelCouchbaseSourceConnector.properties b/connectors/camel-couchbase-kafka-connector/src/main/docs/examples/CamelCouchbaseSourceConnector.properties index 142739b..3b55af7 100644 --- a/connectors/camel-couchbase-kafka-connector/src/main/docs/examples/CamelCouchbaseSourceConnector.properties +++ b/connectors/camel-couchbase-kafka-connector/src/main/docs/examples/CamelCouchbaseSourceConnector.properties @@ -28,6 +28,8 @@ topics= # mandatory properties (for a complete properties list see the connector documentation): +# The bucket to use +camel.source.endpoint.bucket= # The hostname to use camel.source.path.hostname= # The protocol to use diff --git a/connectors/camel-couchbase-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/couchbase/CamelCouchbaseSinkConnectorConfig.java b/connectors/camel-couchbase-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/couchbase/CamelCouchbaseSinkConnectorConfig.java index 3e62553..b3e77c2 100644 --- a/connectors/camel-couchbase-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/couchbase/CamelCouchbaseSinkConnectorConfig.java +++ b/connectors/camel-couchbase-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/couchbase/CamelCouchbaseSinkConnectorConfig.java @@ -111,7 +111,7 @@ public class CamelCouchbaseSinkConnectorConfig conf.define(CAMEL_SINK_COUCHBASE_PATH_PROTOCOL_CONF, ConfigDef.Type.STRING, CAMEL_SINK_COUCHBASE_PATH_PROTOCOL_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_COUCHBASE_PATH_PROTOCOL_DOC); conf.define(CAMEL_SINK_COUCHBASE_PATH_HOSTNAME_CONF, ConfigDef.Type.STRING, CAMEL_SINK_COUCHBASE_PATH_HOSTNAME_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_COUCHBASE_PATH_HOSTNAME_DOC); conf.define(CAMEL_SINK_COUCHBASE_PATH_PORT_CONF, ConfigDef.Type.INT, CAMEL_SINK_COUCHBASE_PATH_PORT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_COUCHBASE_PATH_PORT_DOC); - conf.define(CAMEL_SINK_COUCHBASE_ENDPOINT_BUCKET_CONF, ConfigDef.Type.STRING, CAMEL_SINK_COUCHBASE_ENDPOINT_BUCKET_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_COUCHBASE_ENDPOINT_BUCKET_DOC); + conf.define(CAMEL_SINK_COUCHBASE_ENDPOINT_BUCKET_CONF, ConfigDef.Type.STRING, CAMEL_SINK_COUCHBASE_ENDPOINT_BUCKET_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_COUCHBASE_ENDPOINT_BUCKET_DOC); conf.define(CAMEL_SINK_COUCHBASE_ENDPOINT_COLLECTION_CONF, ConfigDef.Type.STRING, CAMEL_SINK_COUCHBASE_ENDPOINT_COLLECTION_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_COUCHBASE_ENDPOINT_COLLECTION_DOC); conf.define(CAMEL_SINK_COUCHBASE_ENDPOINT_KEY_CONF, ConfigDef.Type.STRING, CAMEL_SINK_COUCHBASE_ENDPOINT_KEY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_COUCHBASE_ENDPOINT_KEY_DOC); conf.define(CAMEL_SINK_COUCHBASE_ENDPOINT_SCOPE_CONF, ConfigDef.Type.STRING, CAMEL_SINK_COUCHBASE_ENDPOINT_SCOPE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_COUCHBASE_ENDPOINT_SCOPE_DOC); diff --git a/connectors/camel-couchbase-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/couchbase/CamelCouchbaseSourceConnectorConfig.java b/connectors/camel-couchbase-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/couchbase/CamelCouchbaseSourceConnectorConfig.java index 140003e..6ea88ab 100644 --- a/connectors/camel-couchbase-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/couchbase/CamelCouchbaseSourceConnectorConfig.java +++ b/connectors/camel-couchbase-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/couchbase/CamelCouchbaseSourceConnectorConfig.java @@ -168,7 +168,7 @@ public class CamelCouchbaseSourceConnectorConfig conf.define(CAMEL_SOURCE_COUCHBASE_PATH_PROTOCOL_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_COUCHBASE_PATH_PROTOCOL_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_COUCHBASE_PATH_PROTOCOL_DOC); conf.define(CAMEL_SOURCE_COUCHBASE_PATH_HOSTNAME_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_COUCHBASE_PATH_HOSTNAME_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_COUCHBASE_PATH_HOSTNAME_DOC); conf.define(CAMEL_SOURCE_COUCHBASE_PATH_PORT_CONF, ConfigDef.Type.INT, CAMEL_SOURCE_COUCHBASE_PATH_PORT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_COUCHBASE_PATH_PORT_DOC); - conf.define(CAMEL_SOURCE_COUCHBASE_ENDPOINT_BUCKET_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_COUCHBASE_ENDPOINT_BUCKET_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_COUCHBASE_ENDPOINT_BUCKET_DOC); + conf.define(CAMEL_SOURCE_COUCHBASE_ENDPOINT_BUCKET_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_COUCHBASE_ENDPOINT_BUCKET_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_COUCHBASE_ENDPOINT_BUCKET_DOC); conf.define(CAMEL_SOURCE_COUCHBASE_ENDPOINT_COLLECTION_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_COUCHBASE_ENDPOINT_COLLECTION_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_COUCHBASE_ENDPOINT_COLLECTION_DOC); conf.define(CAMEL_SOURCE_COUCHBASE_ENDPOINT_KEY_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_COUCHBASE_ENDPOINT_KEY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_COUCHBASE_ENDPOINT_KEY_DOC); conf.define(CAMEL_SOURCE_COUCHBASE_ENDPOINT_SCOPE_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_COUCHBASE_ENDPOINT_SCOPE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_COUCHBASE_ENDPOINT_SCOPE_DOC); diff --git a/connectors/pom.xml b/connectors/pom.xml index 394bed2..bef151d 100644 --- a/connectors/pom.xml +++ b/connectors/pom.xml @@ -216,6 +216,7 @@ <module>camel-arangodb-kafka-connector</module> <module>camel-as2-kafka-connector</module> <module>camel-asterisk-kafka-connector</module> + <module>camel-atlasmap-kafka-connector</module> <module>camel-atmos-kafka-connector</module> <module>camel-atmosphere-websocket-kafka-connector</module> <module>camel-atom-kafka-connector</module> diff --git a/docs/modules/ROOT/pages/connectors.adoc b/docs/modules/ROOT/pages/connectors.adoc index 5f449d9..ceaac87 100644 --- a/docs/modules/ROOT/pages/connectors.adoc +++ b/docs/modules/ROOT/pages/connectors.adoc @@ -16,6 +16,7 @@ Number of Camel Kafka connectors: 347 | *camel-arangodb-kafka-connector* | true | false | xref:connectors/camel-arangodb-kafka-sink-connector.adoc[Sink Docs] | | https://repo.maven.apache.org/maven2/org/apache/camel/kafkaconnector/camel-arangodb-kafka-connector/0.5.0/camel-arangodb-kafka-connector-0.5.0-package.zip[Download Zip] | https://repo.maven.apache.org/maven2/org/apache/camel/kafkaconnector/camel-arangodb-kafka-connector/0.5.0/camel-arangodb-kafka-connector-0.5.0-package.tar.gz[Download Tar.gz] | *camel-as2-kafka-connector* | true | true | xref:connectors/camel-as2-kafka-sink-connector.adoc[Sink Docs] | xref:connectors/camel-as2-kafka-source-connector.adoc[Source Docs] | https://repo.maven.apache.org/maven2/org/apache/camel/kafkaconnector/camel-as2-kafka-connector/0.5.0/camel-as2-kafka-connector-0.5.0-package.zip[Download Zip] | https://repo.maven.apache.org/maven2/org/apache/camel/kafkaconnector/camel-as2-kafka-connector/0.5.0/camel-as2-kafka-connector-0.5.0-package.tar.gz[Dow [...] | *camel-asterisk-kafka-connector* | true | true | xref:connectors/camel-asterisk-kafka-sink-connector.adoc[Sink Docs] | xref:connectors/camel-asterisk-kafka-source-connector.adoc[Source Docs] | https://repo.maven.apache.org/maven2/org/apache/camel/kafkaconnector/camel-asterisk-kafka-connector/0.5.0/camel-asterisk-kafka-connector-0.5.0-package.zip[Download Zip] | https://repo.maven.apache.org/maven2/org/apache/camel/kafkaconnector/camel-asterisk-kafka-connector/0.5.0/camel-asterisk-kafka [...] +| *camel-atlasmap-kafka-connector* | true | false | xref:connectors/camel-atlasmap-kafka-sink-connector.adoc[Sink Docs] | | https://repo.maven.apache.org/maven2/org/apache/camel/kafkaconnector/camel-atlasmap-kafka-connector/0.5.0/camel-atlasmap-kafka-connector-0.5.0-package.zip[Download Zip] | https://repo.maven.apache.org/maven2/org/apache/camel/kafkaconnector/camel-atlasmap-kafka-connector/0.5.0/camel-atlasmap-kafka-connector-0.5.0-package.tar.gz[Download Tar.gz] | *camel-atmos-kafka-connector* | true | true | xref:connectors/camel-atmos-kafka-sink-connector.adoc[Sink Docs] | xref:connectors/camel-atmos-kafka-source-connector.adoc[Source Docs] | https://repo.maven.apache.org/maven2/org/apache/camel/kafkaconnector/camel-atmos-kafka-connector/0.5.0/camel-atmos-kafka-connector-0.5.0-package.zip[Download Zip] | https://repo.maven.apache.org/maven2/org/apache/camel/kafkaconnector/camel-atmos-kafka-connector/0.5.0/camel-atmos-kafka-connector-0.5.0-pack [...] | *camel-atmosphere-websocket-kafka-connector* | true | true | xref:connectors/camel-atmosphere-websocket-kafka-sink-connector.adoc[Sink Docs] | xref:connectors/camel-atmosphere-websocket-kafka-source-connector.adoc[Source Docs] | https://repo.maven.apache.org/maven2/org/apache/camel/kafkaconnector/camel-atmosphere-websocket-kafka-connector/0.5.0/camel-atmosphere-websocket-kafka-connector-0.5.0-package.zip[Download Zip] | https://repo.maven.apache.org/maven2/org/apache/camel/kafkaconnect [...] | *camel-atom-kafka-connector* | false | true | | xref:connectors/camel-atom-kafka-source-connector.adoc[Source Docs] | https://repo.maven.apache.org/maven2/org/apache/camel/kafkaconnector/camel-atom-kafka-connector/0.5.0/camel-atom-kafka-connector-0.5.0-package.zip[Download Zip] | https://repo.maven.apache.org/maven2/org/apache/camel/kafkaconnector/camel-atom-kafka-connector/0.5.0/camel-atom-kafka-connector-0.5.0-package.tar.gz[Download Tar.gz] @@ -160,7 +161,6 @@ Number of Camel Kafka connectors: 347 | *camel-hazelcast-topic-kafka-connector* | true | true | xref:connectors/camel-hazelcast-topic-kafka-sink-connector.adoc[Sink Docs] | xref:connectors/camel-hazelcast-topic-kafka-source-connector.adoc[Source Docs] | https://repo.maven.apache.org/maven2/org/apache/camel/kafkaconnector/camel-hazelcast-topic-kafka-connector/0.5.0/camel-hazelcast-topic-kafka-connector-0.5.0-package.zip[Download Zip] | https://repo.maven.apache.org/maven2/org/apache/camel/kafkaconnector/camel-hazelcast-topic- [...] | *camel-hbase-kafka-connector* | true | true | xref:connectors/camel-hbase-kafka-sink-connector.adoc[Sink Docs] | xref:connectors/camel-hbase-kafka-source-connector.adoc[Source Docs] | https://repo.maven.apache.org/maven2/org/apache/camel/kafkaconnector/camel-hbase-kafka-connector/0.5.0/camel-hbase-kafka-connector-0.5.0-package.zip[Download Zip] | https://repo.maven.apache.org/maven2/org/apache/camel/kafkaconnector/camel-hbase-kafka-connector/0.5.0/camel-hbase-kafka-connector-0.5.0-pack [...] | *camel-hdfs-kafka-connector* | true | true | xref:connectors/camel-hdfs-kafka-sink-connector.adoc[Sink Docs] | xref:connectors/camel-hdfs-kafka-source-connector.adoc[Source Docs] | https://repo.maven.apache.org/maven2/org/apache/camel/kafkaconnector/camel-hdfs-kafka-connector/0.5.0/camel-hdfs-kafka-connector-0.5.0-package.zip[Download Zip] | https://repo.maven.apache.org/maven2/org/apache/camel/kafkaconnector/camel-hdfs-kafka-connector/0.5.0/camel-hdfs-kafka-connector-0.5.0-package.tar [...] -| *camel-hipchat-kafka-connector* | true | true | xref:connectors/camel-hipchat-kafka-sink-connector.adoc[Sink Docs] | xref:connectors/camel-hipchat-kafka-source-connector.adoc[Source Docs] | https://repo.maven.apache.org/maven2/org/apache/camel/kafkaconnector/camel-hipchat-kafka-connector/0.5.0/camel-hipchat-kafka-connector-0.5.0-package.zip[Download Zip] | https://repo.maven.apache.org/maven2/org/apache/camel/kafkaconnector/camel-hipchat-kafka-connector/0.5.0/camel-hipchat-kafka-connec [...] | *camel-http-kafka-connector* | true | false | xref:connectors/camel-http-kafka-sink-connector.adoc[Sink Docs] | | https://repo.maven.apache.org/maven2/org/apache/camel/kafkaconnector/camel-http-kafka-connector/0.5.0/camel-http-kafka-connector-0.5.0-package.zip[Download Zip] | https://repo.maven.apache.org/maven2/org/apache/camel/kafkaconnector/camel-http-kafka-connector/0.5.0/camel-http-kafka-connector-0.5.0-package.tar.gz[Download Tar.gz] | *camel-https-kafka-connector* | true | false | xref:connectors/camel-https-kafka-sink-connector.adoc[Sink Docs] | | https://repo.maven.apache.org/maven2/org/apache/camel/kafkaconnector/camel-https-kafka-connector/0.5.0/camel-https-kafka-connector-0.5.0-package.zip[Download Zip] | https://repo.maven.apache.org/maven2/org/apache/camel/kafkaconnector/camel-https-kafka-connector/0.5.0/camel-https-kafka-connector-0.5.0-package.tar.gz[Download Tar.gz] | *camel-iec60870-client-kafka-connector* | true | true | xref:connectors/camel-iec60870-client-kafka-sink-connector.adoc[Sink Docs] | xref:connectors/camel-iec60870-client-kafka-source-connector.adoc[Source Docs] | https://repo.maven.apache.org/maven2/org/apache/camel/kafkaconnector/camel-iec60870-client-kafka-connector/0.5.0/camel-iec60870-client-kafka-connector-0.5.0-package.zip[Download Zip] | https://repo.maven.apache.org/maven2/org/apache/camel/kafkaconnector/camel-iec60870-client- [...] diff --git a/docs/modules/ROOT/pages/connectors/camel-atlasmap-kafka-sink-connector.adoc b/docs/modules/ROOT/pages/connectors/camel-atlasmap-kafka-sink-connector.adoc new file mode 100644 index 0000000..ad5ee9a --- /dev/null +++ b/docs/modules/ROOT/pages/connectors/camel-atlasmap-kafka-sink-connector.adoc @@ -0,0 +1,66 @@ +// kafka-connector options: START +[[camel-atlasmap-kafka-connector-sink]] += camel-atlasmap-kafka-connector sink configuration + +When using camel-atlasmap-kafka-connector as sink make sure to use the following Maven dependency to have support for the connector: + +[source,xml] +---- +<dependency> + <groupId>org.apache.camel.kafkaconnector</groupId> + <artifactId>camel-atlasmap-kafka-connector</artifactId> + <version>x.x.x</version> + <!-- use the same version as your Camel Kafka connector version --> +</dependency> +---- + +To use this Sink connector in Kafka connect you'll need to set the following connector.class + +[source,java] +---- +connector.class=org.apache.camel.kafkaconnector.atlasmap.CamelAtlasmapSinkConnector +---- + + +The camel-atlasmap sink connector supports 13 options, which are listed below. + + + +[width="100%",cols="2,5,^1,2",options="header"] +|=== +| Name | Description | Default | Priority +| *camel.sink.path.resourceUri* | Path to the resource. You can prefix with: classpath, file, http, ref, or bean. classpath, file and http loads the resource using these protocols (classpath is default). ref will lookup the resource in the registry. bean will call a method on a bean to be used as the resource. For bean you can specify the method name after dot, eg bean:myBean.myMethod. | null | HIGH +| *camel.sink.endpoint.allowContextMapAll* | Sets whether the context map should allow access to all details. By default only the message body and headers can be accessed. This option can be enabled for full access to the current Exchange and CamelContext. Doing so impose a potential security risk as this opens access to the full power of CamelContext API. | false | MEDIUM +| *camel.sink.endpoint.contentCache* | Sets whether to use resource content cache or not | false | MEDIUM +| *camel.sink.endpoint.lazyStartProducer* | 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 cre [...] +| *camel.sink.endpoint.sourceMapName* | The Exchange property name for a source message map which hold java.util.Map<String, Message> where the key is AtlasMap Document ID. AtlasMap consumes Message bodies as source documents, as well as message headers as source properties where the scope equals to Document ID. | null | MEDIUM +| *camel.sink.endpoint.targetMapMode* | TargetMapMode enum value to specify how multiple target documents are delivered if exist. 'MAP': Stores them into a java.util.Map, and the java.util.Map is set to an exchange property if 'targetMapName' is specified, otherwise message body. 'MESSAGE_HEADER': Stores them into message headers. 'EXCHANGE_PROPERTY': Stores them into exchange properties. ) One of: [MAP] [MESSAGE_HEADER] [EXCHANGE_PROPERTY] | "MAP" | MEDIUM +| *camel.sink.endpoint.targetMapName* | The Exchange property name for a target document map which hold java.util.Map<String, Object> where the key is AtlasMap Document ID. AtlasMap populates multiple target documents into this map. | null | MEDIUM +| *camel.sink.endpoint.basicPropertyBinding* | Whether the endpoint should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities | false | MEDIUM +| *camel.sink.endpoint.propertiesFile* | The URI of the properties file which is used for AtlasContextFactory initialization. | null | MEDIUM +| *camel.sink.endpoint.synchronous* | Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported). | false | MEDIUM +| *camel.component.atlasmap.lazyStartProducer* | 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 the [...] +| *camel.component.atlasmap.atlasContextFactory* | To use the AtlasContextFactory otherwise a new engine is created. | null | MEDIUM +| *camel.component.atlasmap.basicPropertyBinding* | Whether the component should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities | false | LOW +|=== + + + +The camel-atlasmap sink connector has no converters out of the box. + + + + + +The camel-atlasmap sink connector has no transforms out of the box. + + + + + +The camel-atlasmap sink connector has no aggregation strategies out of the box. + + + + +// kafka-connector options: END diff --git a/docs/modules/ROOT/pages/connectors/camel-azure-storage-blob-kafka-sink-connector.adoc b/docs/modules/ROOT/pages/connectors/camel-azure-storage-blob-kafka-sink-connector.adoc index 1c03d7f..603f166 100644 --- a/docs/modules/ROOT/pages/connectors/camel-azure-storage-blob-kafka-sink-connector.adoc +++ b/docs/modules/ROOT/pages/connectors/camel-azure-storage-blob-kafka-sink-connector.adoc @@ -22,7 +22,7 @@ connector.class=org.apache.camel.kafkaconnector.azurestorageblob.CamelAzurestora ---- -The camel-azure-storage-blob sink connector supports 55 options, which are listed below. +The camel-azure-storage-blob sink connector supports 57 options, which are listed below. @@ -43,6 +43,7 @@ The camel-azure-storage-blob sink connector supports 55 options, which are liste | *camel.sink.endpoint.maxResultsPerPage* | Specifies the maximum number of blobs to return, including all BlobPrefix elements. If the request does not specify maxResultsPerPage or specifies a value greater than 5,000, the server will return up to 5,000 items. | null | MEDIUM | *camel.sink.endpoint.maxRetryRequests* | Specifies the maximum number of additional HTTP Get requests that will be made while reading the data from a response body. | 0 | MEDIUM | *camel.sink.endpoint.prefix* | Filters the results to return only blobs whose names begin with the specified prefix. May be null to return all blobs. | null | MEDIUM +| *camel.sink.endpoint.regex* | Filters the results to return only blobs whose names match the specified regular expression. May be null to return all if both prefix and regex are set, regex takes the priority and prefix is ignored. | null | MEDIUM | *camel.sink.endpoint.serviceClient* | Client to a storage account. This client does not hold any state about a particular storage account but is instead a convenient way of sending off appropriate requests to the resource on the service. It may also be used to construct URLs to blobs and containers. This client contains operations on a service account. Operations on a container are available on BlobContainerClient through BlobServiceClient#getBlobContainerClient(String), and operations [...] | *camel.sink.endpoint.timeout* | An optional timeout value beyond which a RuntimeException will be raised. | null | MEDIUM | *camel.sink.endpoint.blobSequenceNumber* | A user-controlled value that you can use to track requests. The value of the sequence number must be between 0 and 263 - 1.The default value is 0. | "0" | MEDIUM @@ -70,6 +71,7 @@ The camel-azure-storage-blob sink connector supports 55 options, which are liste | *camel.component.azure-storage-blob.maxResultsPer Page* | Specifies the maximum number of blobs to return, including all BlobPrefix elements. If the request does not specify maxResultsPerPage or specifies a value greater than 5,000, the server will return up to 5,000 items. | null | MEDIUM | *camel.component.azure-storage-blob.maxRetry Requests* | Specifies the maximum number of additional HTTP Get requests that will be made while reading the data from a response body. | 0 | MEDIUM | *camel.component.azure-storage-blob.prefix* | Filters the results to return only blobs whose names begin with the specified prefix. May be null to return all blobs. | null | MEDIUM +| *camel.component.azure-storage-blob.regex* | Filters the results to return only blobs whose names match the specified regular expression. May be null to return all if both prefix and regex are set, regex takes the priority and prefix is ignored. | null | MEDIUM | *camel.component.azure-storage-blob.serviceClient* | Client to a storage account. This client does not hold any state about a particular storage account but is instead a convenient way of sending off appropriate requests to the resource on the service. It may also be used to construct URLs to blobs and containers. This client contains operations on a service account. Operations on a container are available on BlobContainerClient through BlobServiceClient#getBlobContainerClient(String), [...] | *camel.component.azure-storage-blob.timeout* | An optional timeout value beyond which a RuntimeException will be raised. | null | MEDIUM | *camel.component.azure-storage-blob.blobSequence Number* | A user-controlled value that you can use to track requests. The value of the sequence number must be between 0 and 263 - 1.The default value is 0. | "0" | MEDIUM diff --git a/docs/modules/ROOT/pages/connectors/camel-azure-storage-blob-kafka-source-connector.adoc b/docs/modules/ROOT/pages/connectors/camel-azure-storage-blob-kafka-source-connector.adoc index dfe80bc..b9cfa39 100644 --- a/docs/modules/ROOT/pages/connectors/camel-azure-storage-blob-kafka-source-connector.adoc +++ b/docs/modules/ROOT/pages/connectors/camel-azure-storage-blob-kafka-source-connector.adoc @@ -22,7 +22,7 @@ connector.class=org.apache.camel.kafkaconnector.azurestorageblob.CamelAzurestora ---- -The camel-azure-storage-blob source connector supports 39 options, which are listed below. +The camel-azure-storage-blob source connector supports 41 options, which are listed below. @@ -43,6 +43,7 @@ The camel-azure-storage-blob source connector supports 39 options, which are lis | *camel.source.endpoint.maxResultsPerPage* | Specifies the maximum number of blobs to return, including all BlobPrefix elements. If the request does not specify maxResultsPerPage or specifies a value greater than 5,000, the server will return up to 5,000 items. | null | MEDIUM | *camel.source.endpoint.maxRetryRequests* | Specifies the maximum number of additional HTTP Get requests that will be made while reading the data from a response body. | 0 | MEDIUM | *camel.source.endpoint.prefix* | Filters the results to return only blobs whose names begin with the specified prefix. May be null to return all blobs. | null | MEDIUM +| *camel.source.endpoint.regex* | Filters the results to return only blobs whose names match the specified regular expression. May be null to return all if both prefix and regex are set, regex takes the priority and prefix is ignored. | null | MEDIUM | *camel.source.endpoint.serviceClient* | Client to a storage account. This client does not hold any state about a particular storage account but is instead a convenient way of sending off appropriate requests to the resource on the service. It may also be used to construct URLs to blobs and containers. This client contains operations on a service account. Operations on a container are available on BlobContainerClient through BlobServiceClient#getBlobContainerClient(String), and operatio [...] | *camel.source.endpoint.timeout* | An optional timeout value beyond which a RuntimeException will be raised. | null | MEDIUM | *camel.source.endpoint.bridgeErrorHandler* | Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN or ERROR level and ignored. | false | MEDIUM @@ -63,6 +64,7 @@ The camel-azure-storage-blob source connector supports 39 options, which are lis | *camel.component.azure-storage-blob.maxResultsPer Page* | Specifies the maximum number of blobs to return, including all BlobPrefix elements. If the request does not specify maxResultsPerPage or specifies a value greater than 5,000, the server will return up to 5,000 items. | null | MEDIUM | *camel.component.azure-storage-blob.maxRetry Requests* | Specifies the maximum number of additional HTTP Get requests that will be made while reading the data from a response body. | 0 | MEDIUM | *camel.component.azure-storage-blob.prefix* | Filters the results to return only blobs whose names begin with the specified prefix. May be null to return all blobs. | null | MEDIUM +| *camel.component.azure-storage-blob.regex* | Filters the results to return only blobs whose names match the specified regular expression. May be null to return all if both prefix and regex are set, regex takes the priority and prefix is ignored. | null | MEDIUM | *camel.component.azure-storage-blob.serviceClient* | Client to a storage account. This client does not hold any state about a particular storage account but is instead a convenient way of sending off appropriate requests to the resource on the service. It may also be used to construct URLs to blobs and containers. This client contains operations on a service account. Operations on a container are available on BlobContainerClient through BlobServiceClient#getBlobContainerClient(String), [...] | *camel.component.azure-storage-blob.timeout* | An optional timeout value beyond which a RuntimeException will be raised. | null | MEDIUM | *camel.component.azure-storage-blob.bridgeError Handler* | Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN or ERROR level and ignored. | false | MEDIUM diff --git a/docs/modules/ROOT/pages/connectors/camel-couchbase-kafka-sink-connector.adoc b/docs/modules/ROOT/pages/connectors/camel-couchbase-kafka-sink-connector.adoc index a86c7df..d764759 100644 --- a/docs/modules/ROOT/pages/connectors/camel-couchbase-kafka-sink-connector.adoc +++ b/docs/modules/ROOT/pages/connectors/camel-couchbase-kafka-sink-connector.adoc @@ -32,7 +32,7 @@ The camel-couchbase sink connector supports 23 options, which are listed below. | *camel.sink.path.protocol* | The protocol to use | null | HIGH | *camel.sink.path.hostname* | The hostname to use | null | HIGH | *camel.sink.path.port* | The port number to use | 8091 | MEDIUM -| *camel.sink.endpoint.bucket* | The bucket to use | null | MEDIUM +| *camel.sink.endpoint.bucket* | The bucket to use | null | HIGH | *camel.sink.endpoint.collection* | The collection to use | null | MEDIUM | *camel.sink.endpoint.key* | The key to use | null | MEDIUM | *camel.sink.endpoint.scope* | The scope to use | null | MEDIUM diff --git a/docs/modules/ROOT/pages/connectors/camel-couchbase-kafka-source-connector.adoc b/docs/modules/ROOT/pages/connectors/camel-couchbase-kafka-source-connector.adoc index 1a173dd..16ec9f9 100644 --- a/docs/modules/ROOT/pages/connectors/camel-couchbase-kafka-source-connector.adoc +++ b/docs/modules/ROOT/pages/connectors/camel-couchbase-kafka-source-connector.adoc @@ -32,7 +32,7 @@ The camel-couchbase source connector supports 42 options, which are listed below | *camel.source.path.protocol* | The protocol to use | null | HIGH | *camel.source.path.hostname* | The hostname to use | null | HIGH | *camel.source.path.port* | The port number to use | 8091 | MEDIUM -| *camel.source.endpoint.bucket* | The bucket to use | null | MEDIUM +| *camel.source.endpoint.bucket* | The bucket to use | null | HIGH | *camel.source.endpoint.collection* | The collection to use | null | MEDIUM | *camel.source.endpoint.key* | The key to use | null | MEDIUM | *camel.source.endpoint.scope* | The scope to use | null | MEDIUM