This is an automated email from the ASF dual-hosted git repository. acosentino 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 f54af80 [create-pull-request] automated change f54af80 is described below commit f54af804f85b4588096657296c4a8210856f2844 Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> AuthorDate: Sat Mar 13 03:42:01 2021 +0000 [create-pull-request] automated change --- .../camel-google-mail-stream-source.json | 4 +- .../connectors/camel-vertx-kafka-source.json | 20 ++ .../resources/descriptors/connectors.properties | 1 + .../pom.xml | 139 ++++++++++++++ .../descriptors/connector-sink.properties | 1 + .../resources/camel-aws-secrets-manager-sink.json | 212 +++++++++++++++++++++ .../src/main/assembly/package.xml | 56 ++++++ ...l-aws-secrets-manager-kafka-sink-connector.adoc | 84 ++++++++ .../CamelAwssecretsmanagerSinkConnector.properties | 37 ++++ .../CamelAwssecretsmanagerSinkConnector.java | 35 ++++ .../CamelAwssecretsmanagerSinkConnectorConfig.java | 161 ++++++++++++++++ .../CamelAwssecretsmanagerSinkTask.java | 39 ++++ .../src/main/resources/META-INF/LICENSE.txt | 203 ++++++++++++++++++++ .../src/main/resources/META-INF/NOTICE.txt | 11 ++ .../resources/camel-google-mail-stream-source.json | 4 +- ...-google-mail-stream-kafka-source-connector.adoc | 4 +- ...CamelGooglemailstreamSourceConnectorConfig.java | 4 +- .../resources/camel-vertx-kafka-source.json | 20 ++ .../camel-vertx-kafka-kafka-source-connector.adoc | 5 +- .../CamelVertxkafkaSourceConnectorConfig.java | 12 ++ connectors/pom.xml | 1 + docs/modules/ROOT/nav.adoc | 52 +---- docs/modules/ROOT/pages/connectors.adoc | 25 +-- ...l-aws-secrets-manager-kafka-sink-connector.adoc | 84 ++++++++ ...-google-mail-stream-kafka-source-connector.adoc | 4 +- .../camel-vertx-kafka-kafka-source-connector.adoc | 5 +- 26 files changed, 1138 insertions(+), 85 deletions(-) diff --git a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-google-mail-stream-source.json b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-google-mail-stream-source.json index a5baa63..dc63bee 100644 --- a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-google-mail-stream-source.json +++ b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-google-mail-stream-source.json @@ -43,7 +43,7 @@ "camel.source.endpoint.markAsRead": { "name": "camel.source.endpoint.markAsRead", "description": "Mark the message as read once it has been consumed", - "defaultValue": "false", + "defaultValue": "true", "priority": "MEDIUM", "required": "false" }, @@ -247,7 +247,7 @@ "camel.component.google-mail-stream.markAsRead": { "name": "camel.component.google-mail-stream.markAsRead", "description": "Mark the message as read once it has been consumed", - "defaultValue": "false", + "defaultValue": "true", "priority": "MEDIUM", "required": "false" }, diff --git a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-vertx-kafka-source.json b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-vertx-kafka-source.json index bc3d44b..70dba68 100644 --- a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-vertx-kafka-source.json +++ b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-vertx-kafka-source.json @@ -172,6 +172,13 @@ "priority": "MEDIUM", "required": "false" }, + "camel.source.endpoint.allowManualCommit": { + "name": "camel.source.endpoint.allowManualCommit", + "description": "Whether to allow doing manual commits via org.apache.camel.component.vertx.kafka.offset.VertxKafkaManualCommit. If this option is enabled then an instance of org.apache.camel.component.vertx.kafka.offset.VertxKafkaManualCommit is stored on the Exchange message header, which allows end users to access this API and perform manual offset commits via the Kafka consumer. Note: To take full control of the offset committing, you may need to disable the Kafka Consumer default [...] + "defaultValue": "false", + "priority": "MEDIUM", + "required": "false" + }, "camel.source.endpoint.autoCommitIntervalMs": { "name": "camel.source.endpoint.autoCommitIntervalMs", "description": "The frequency in milliseconds that the consumer offsets are auto-committed to Kafka if enable.auto.commit is set to true.", @@ -755,6 +762,13 @@ "priority": "MEDIUM", "required": "false" }, + "camel.component.vertx-kafka.allowManualCommit": { + "name": "camel.component.vertx-kafka.allowManualCommit", + "description": "Whether to allow doing manual commits via org.apache.camel.component.vertx.kafka.offset.VertxKafkaManualCommit. If this option is enabled then an instance of org.apache.camel.component.vertx.kafka.offset.VertxKafkaManualCommit is stored on the Exchange message header, which allows end users to access this API and perform manual offset commits via the Kafka consumer. Note: To take full control of the offset committing, you may need to disable the Kafka Consumer default [...] + "defaultValue": "false", + "priority": "MEDIUM", + "required": "false" + }, "camel.component.vertx-kafka.autoCommitIntervalMs": { "name": "camel.component.vertx-kafka.autoCommitIntervalMs", "description": "The frequency in milliseconds that the consumer offsets are auto-committed to Kafka if enable.auto.commit is set to true.", @@ -931,6 +945,12 @@ "priority": "MEDIUM", "required": "false" }, + "camel.component.vertx-kafka.kafkaManualCommitFactory": { + "name": "camel.component.vertx-kafka.kafkaManualCommitFactory", + "description": "Factory to use for creating org.apache.camel.component.vertx.kafka.offset.VertxKafkaManualCommit instances. This allows to plugin a custom factory to create custom org.apache.camel.component.vertx.kafka.offset.VertxKafkaManualCommit instances in case special logic is needed when doing manual commits that deviates from the default implementation that comes out of the box.", + "priority": "MEDIUM", + "required": "false" + }, "camel.component.vertx-kafka.autowiredEnabled": { "name": "camel.component.vertx-kafka.autowiredEnabled", "description": "Whether autowiring is enabled. This is used for automatic autowiring options (the option must be marked as autowired) by looking up in the registry to find if there is a single instance of matching type, which then gets configured on the component. This can be used for automatic configuring JDBC data sources, JMS connection factories, AWS Clients, etc.", 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 06de0ee..f92a0fd 100644 --- a/camel-kafka-connector-catalog/src/generated/resources/descriptors/connectors.properties +++ b/camel-kafka-connector-catalog/src/generated/resources/descriptors/connectors.properties @@ -33,6 +33,7 @@ camel-atomix-value-source camel-atomix-value-sink camel-avro-source camel-avro-sink +camel-aws-secrets-manager-sink camel-aws2-athena-sink camel-aws2-cw-sink camel-aws2-ddb-sink diff --git a/connectors/camel-aws-secrets-manager-kafka-connector/pom.xml b/connectors/camel-aws-secrets-manager-kafka-connector/pom.xml new file mode 100644 index 0000000..4c24583 --- /dev/null +++ b/connectors/camel-aws-secrets-manager-kafka-connector/pom.xml @@ -0,0 +1,139 @@ +<?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.9.0-SNAPSHOT</version> + </parent> + <artifactId>camel-aws-secrets-manager-kafka-connector</artifactId> + <name>Camel-Kafka-Connector :: aws-secrets-manager</name> + <description>Camel Kafka Connector for aws-secrets-manager</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-aws-secrets-manager</artifactId> + </dependency> + <!--START OF GENERATED CODE--> + <dependency> + <groupId>org.apache.camel.kafkaconnector</groupId> + <artifactId>camel-kafka-connector</artifactId> + </dependency> + <dependency> + <groupId>org.apache.camel</groupId> + <artifactId>camel-jackson</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-aws-secrets-manager-kafka-connector/src/generated/descriptors/connector-sink.properties b/connectors/camel-aws-secrets-manager-kafka-connector/src/generated/descriptors/connector-sink.properties new file mode 100644 index 0000000..bf8c526 --- /dev/null +++ b/connectors/camel-aws-secrets-manager-kafka-connector/src/generated/descriptors/connector-sink.properties @@ -0,0 +1 @@ +camel-aws-secrets-manager-sink \ No newline at end of file diff --git a/connectors/camel-aws-secrets-manager-kafka-connector/src/generated/resources/camel-aws-secrets-manager-sink.json b/connectors/camel-aws-secrets-manager-kafka-connector/src/generated/resources/camel-aws-secrets-manager-sink.json new file mode 100644 index 0000000..9a52526 --- /dev/null +++ b/connectors/camel-aws-secrets-manager-kafka-connector/src/generated/resources/camel-aws-secrets-manager-sink.json @@ -0,0 +1,212 @@ +{ + "connector": { + "class": "org.apache.camel.kafkaconnector.awssecretsmanager.CamelAwssecretsmanagerSinkConnector", + "artifactId": "camel-aws-secrets-manager-kafka-connector", + "groupId": "org.apache.camel.kafkaconnector", + "id": "camel-aws-secrets-manager-sink", + "type": "sink", + "version": "0.9.0-SNAPSHOT", + "description": "Manage AWS Secrets Manager services using AWS SDK version 2.x." + }, + "properties": { + "camel.sink.path.label": { + "name": "camel.sink.path.label", + "description": "Logical name", + "priority": "HIGH", + "required": "true" + }, + "camel.sink.endpoint.lazyStartProducer": { + "name": "camel.sink.endpoint.lazyStartProducer", + "description": "Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the pr [...] + "defaultValue": "false", + "priority": "MEDIUM", + "required": "false" + }, + "camel.sink.endpoint.operation": { + "name": "camel.sink.endpoint.operation", + "description": "The operation to perform One of: [listSecrets]", + "priority": "HIGH", + "required": "true", + "enum": [ + "listSecrets" + ] + }, + "camel.sink.endpoint.overrideEndpoint": { + "name": "camel.sink.endpoint.overrideEndpoint", + "description": "Set the need for overidding the endpoint. This option needs to be used in combination with uriEndpointOverride option", + "defaultValue": "false", + "priority": "MEDIUM", + "required": "false" + }, + "camel.sink.endpoint.pojoRequest": { + "name": "camel.sink.endpoint.pojoRequest", + "description": "If we want to use a POJO request as body or not", + "defaultValue": "false", + "priority": "MEDIUM", + "required": "false" + }, + "camel.sink.endpoint.proxyHost": { + "name": "camel.sink.endpoint.proxyHost", + "description": "To define a proxy host when instantiating the Secrets Manager client", + "priority": "MEDIUM", + "required": "false" + }, + "camel.sink.endpoint.proxyPort": { + "name": "camel.sink.endpoint.proxyPort", + "description": "To define a proxy port when instantiating the Secrets Manager client", + "priority": "MEDIUM", + "required": "false" + }, + "camel.sink.endpoint.proxyProtocol": { + "name": "camel.sink.endpoint.proxyProtocol", + "description": "To define a proxy protocol when instantiating the Secrets Manager client One of: [HTTP] [HTTPS]", + "defaultValue": "\"HTTPS\"", + "priority": "MEDIUM", + "required": "false", + "enum": [ + "HTTP", + "HTTPS" + ] + }, + "camel.sink.endpoint.region": { + "name": "camel.sink.endpoint.region", + "description": "The region in which Secrets Manager client needs to work. When using this parameter, the configuration will expect the lowercase name of the region (for example ap-east-1) You'll need to use the name Region.EU_WEST_1.id()", + "priority": "MEDIUM", + "required": "false" + }, + "camel.sink.endpoint.secretsManagerClient": { + "name": "camel.sink.endpoint.secretsManagerClient", + "description": "To use a existing configured AWS Secrets Manager as client", + "priority": "MEDIUM", + "required": "false" + }, + "camel.sink.endpoint.trustAllCertificates": { + "name": "camel.sink.endpoint.trustAllCertificates", + "description": "If we want to trust all certificates in case of overriding the endpoint", + "defaultValue": "false", + "priority": "MEDIUM", + "required": "false" + }, + "camel.sink.endpoint.uriEndpointOverride": { + "name": "camel.sink.endpoint.uriEndpointOverride", + "description": "Set the overriding uri endpoint. This option needs to be used in combination with overrideEndpoint option", + "priority": "MEDIUM", + "required": "false" + }, + "camel.sink.endpoint.accessKey": { + "name": "camel.sink.endpoint.accessKey", + "description": "Amazon AWS Access Key", + "priority": "MEDIUM", + "required": "false" + }, + "camel.sink.endpoint.secretKey": { + "name": "camel.sink.endpoint.secretKey", + "description": "Amazon AWS Secret Key", + "priority": "MEDIUM", + "required": "false" + }, + "camel.component.aws-secrets-manager.configuration": { + "name": "camel.component.aws-secrets-manager.configuration", + "description": "Component configuration", + "priority": "MEDIUM", + "required": "false" + }, + "camel.component.aws-secrets-manager.lazyStartProducer": { + "name": "camel.component.aws-secrets-manager.lazyStartProducer", + "description": "Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the pr [...] + "defaultValue": "false", + "priority": "MEDIUM", + "required": "false" + }, + "camel.component.aws-secrets-manager.operation": { + "name": "camel.component.aws-secrets-manager.operation", + "description": "The operation to perform One of: [listSecrets]", + "priority": "HIGH", + "required": "true", + "enum": [ + "listSecrets" + ] + }, + "camel.component.aws-secrets-manager.overrideEndpoint": { + "name": "camel.component.aws-secrets-manager.overrideEndpoint", + "description": "Set the need for overidding the endpoint. This option needs to be used in combination with uriEndpointOverride option", + "defaultValue": "false", + "priority": "MEDIUM", + "required": "false" + }, + "camel.component.aws-secrets-manager.pojoRequest": { + "name": "camel.component.aws-secrets-manager.pojoRequest", + "description": "If we want to use a POJO request as body or not", + "defaultValue": "false", + "priority": "MEDIUM", + "required": "false" + }, + "camel.component.aws-secrets-manager.proxyHost": { + "name": "camel.component.aws-secrets-manager.proxyHost", + "description": "To define a proxy host when instantiating the Secrets Manager client", + "priority": "MEDIUM", + "required": "false" + }, + "camel.component.aws-secrets-manager.proxyPort": { + "name": "camel.component.aws-secrets-manager.proxyPort", + "description": "To define a proxy port when instantiating the Secrets Manager client", + "priority": "MEDIUM", + "required": "false" + }, + "camel.component.aws-secrets-manager.proxyProtocol": { + "name": "camel.component.aws-secrets-manager.proxyProtocol", + "description": "To define a proxy protocol when instantiating the Secrets Manager client One of: [HTTP] [HTTPS]", + "defaultValue": "\"HTTPS\"", + "priority": "MEDIUM", + "required": "false", + "enum": [ + "HTTP", + "HTTPS" + ] + }, + "camel.component.aws-secrets-manager.region": { + "name": "camel.component.aws-secrets-manager.region", + "description": "The region in which Secrets Manager client needs to work. When using this parameter, the configuration will expect the lowercase name of the region (for example ap-east-1) You'll need to use the name Region.EU_WEST_1.id()", + "priority": "MEDIUM", + "required": "false" + }, + "camel.component.aws-secrets-manager.secretsManagerClient": { + "name": "camel.component.aws-secrets-manager.secretsManagerClient", + "description": "To use a existing configured AWS Secrets Manager as client", + "priority": "MEDIUM", + "required": "false" + }, + "camel.component.aws-secrets-manager.trustAllCertificates": { + "name": "camel.component.aws-secrets-manager.trustAllCertificates", + "description": "If we want to trust all certificates in case of overriding the endpoint", + "defaultValue": "false", + "priority": "MEDIUM", + "required": "false" + }, + "camel.component.aws-secrets-manager.uriEndpointOverride": { + "name": "camel.component.aws-secrets-manager.uriEndpointOverride", + "description": "Set the overriding uri endpoint. This option needs to be used in combination with overrideEndpoint option", + "priority": "MEDIUM", + "required": "false" + }, + "camel.component.aws-secrets-manager.autowiredEnabled": { + "name": "camel.component.aws-secrets-manager.autowiredEnabled", + "description": "Whether autowiring is enabled. This is used for automatic autowiring options (the option must be marked as autowired) by looking up in the registry to find if there is a single instance of matching type, which then gets configured on the component. This can be used for automatic configuring JDBC data sources, JMS connection factories, AWS Clients, etc.", + "defaultValue": "true", + "priority": "MEDIUM", + "required": "false" + }, + "camel.component.aws-secrets-manager.accessKey": { + "name": "camel.component.aws-secrets-manager.accessKey", + "description": "Amazon AWS Access Key", + "priority": "MEDIUM", + "required": "false" + }, + "camel.component.aws-secrets-manager.secretKey": { + "name": "camel.component.aws-secrets-manager.secretKey", + "description": "Amazon AWS Secret Key", + "priority": "MEDIUM", + "required": "false" + } + } +} diff --git a/connectors/camel-aws-secrets-manager-kafka-connector/src/main/assembly/package.xml b/connectors/camel-aws-secrets-manager-kafka-connector/src/main/assembly/package.xml new file mode 100644 index 0000000..05f0b1a --- /dev/null +++ b/connectors/camel-aws-secrets-manager-kafka-connector/src/main/assembly/package.xml @@ -0,0 +1,56 @@ +<?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>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-aws-secrets-manager-kafka-connector/src/main/docs/camel-aws-secrets-manager-kafka-sink-connector.adoc b/connectors/camel-aws-secrets-manager-kafka-connector/src/main/docs/camel-aws-secrets-manager-kafka-sink-connector.adoc new file mode 100644 index 0000000..55d400c --- /dev/null +++ b/connectors/camel-aws-secrets-manager-kafka-connector/src/main/docs/camel-aws-secrets-manager-kafka-sink-connector.adoc @@ -0,0 +1,84 @@ +// kafka-connector options: START +[[camel-aws-secrets-manager-kafka-connector-sink]] += camel-aws-secrets-manager-kafka-connector sink configuration + +Connector Description: Manage AWS Secrets Manager services using AWS SDK version 2.x. + +When using camel-aws-secrets-manager-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-aws-secrets-manager-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.awssecretsmanager.CamelAwssecretsmanagerSinkConnector +---- + + +The camel-aws-secrets-manager sink connector supports 29 options, which are listed below. + + + +[width="100%",cols="2,5,^1,1,1",options="header"] +|=== +| Name | Description | Default | Required | Priority +| *camel.sink.path.label* | Logical name | null | true | HIGH +| *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.operation* | The operation to perform One of: [listSecrets] | null | true | HIGH +| *camel.sink.endpoint.overrideEndpoint* | Set the need for overidding the endpoint. This option needs to be used in combination with uriEndpointOverride option | false | false | MEDIUM +| *camel.sink.endpoint.pojoRequest* | If we want to use a POJO request as body or not | false | false | MEDIUM +| *camel.sink.endpoint.proxyHost* | To define a proxy host when instantiating the Secrets Manager client | null | false | MEDIUM +| *camel.sink.endpoint.proxyPort* | To define a proxy port when instantiating the Secrets Manager client | null | false | MEDIUM +| *camel.sink.endpoint.proxyProtocol* | To define a proxy protocol when instantiating the Secrets Manager client One of: [HTTP] [HTTPS] | "HTTPS" | false | MEDIUM +| *camel.sink.endpoint.region* | The region in which Secrets Manager client needs to work. When using this parameter, the configuration will expect the lowercase name of the region (for example ap-east-1) You'll need to use the name Region.EU_WEST_1.id() | null | false | MEDIUM +| *camel.sink.endpoint.secretsManagerClient* | To use a existing configured AWS Secrets Manager as client | null | false | MEDIUM +| *camel.sink.endpoint.trustAllCertificates* | If we want to trust all certificates in case of overriding the endpoint | false | false | MEDIUM +| *camel.sink.endpoint.uriEndpointOverride* | Set the overriding uri endpoint. This option needs to be used in combination with overrideEndpoint option | null | false | MEDIUM +| *camel.sink.endpoint.accessKey* | Amazon AWS Access Key | null | false | MEDIUM +| *camel.sink.endpoint.secretKey* | Amazon AWS Secret Key | null | false | MEDIUM +| *camel.component.aws-secrets-manager.configuration* | Component configuration | null | false | MEDIUM +| *camel.component.aws-secrets-manager.lazyStart Producer* | 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 p [...] +| *camel.component.aws-secrets-manager.operation* | The operation to perform One of: [listSecrets] | null | true | HIGH +| *camel.component.aws-secrets-manager.override Endpoint* | Set the need for overidding the endpoint. This option needs to be used in combination with uriEndpointOverride option | false | false | MEDIUM +| *camel.component.aws-secrets-manager.pojoRequest* | If we want to use a POJO request as body or not | false | false | MEDIUM +| *camel.component.aws-secrets-manager.proxyHost* | To define a proxy host when instantiating the Secrets Manager client | null | false | MEDIUM +| *camel.component.aws-secrets-manager.proxyPort* | To define a proxy port when instantiating the Secrets Manager client | null | false | MEDIUM +| *camel.component.aws-secrets-manager.proxyProtocol* | To define a proxy protocol when instantiating the Secrets Manager client One of: [HTTP] [HTTPS] | "HTTPS" | false | MEDIUM +| *camel.component.aws-secrets-manager.region* | The region in which Secrets Manager client needs to work. When using this parameter, the configuration will expect the lowercase name of the region (for example ap-east-1) You'll need to use the name Region.EU_WEST_1.id() | null | false | MEDIUM +| *camel.component.aws-secrets-manager.secretsManager Client* | To use a existing configured AWS Secrets Manager as client | null | false | MEDIUM +| *camel.component.aws-secrets-manager.trustAll Certificates* | If we want to trust all certificates in case of overriding the endpoint | false | false | MEDIUM +| *camel.component.aws-secrets-manager.uriEndpoint Override* | Set the overriding uri endpoint. This option needs to be used in combination with overrideEndpoint option | null | false | MEDIUM +| *camel.component.aws-secrets-manager.autowired Enabled* | Whether autowiring is enabled. This is used for automatic autowiring options (the option must be marked as autowired) by looking up in the registry to find if there is a single instance of matching type, which then gets configured on the component. This can be used for automatic configuring JDBC data sources, JMS connection factories, AWS Clients, etc. | true | false | MEDIUM +| *camel.component.aws-secrets-manager.accessKey* | Amazon AWS Access Key | null | false | MEDIUM +| *camel.component.aws-secrets-manager.secretKey* | Amazon AWS Secret Key | null | false | MEDIUM +|=== + + + +The camel-aws-secrets-manager sink connector has no converters out of the box. + + + + + +The camel-aws-secrets-manager sink connector has no transforms out of the box. + + + + + +The camel-aws-secrets-manager sink connector has no aggregation strategies out of the box. + + + + +// kafka-connector options: END diff --git a/connectors/camel-aws-secrets-manager-kafka-connector/src/main/docs/examples/CamelAwssecretsmanagerSinkConnector.properties b/connectors/camel-aws-secrets-manager-kafka-connector/src/main/docs/examples/CamelAwssecretsmanagerSinkConnector.properties new file mode 100644 index 0000000..4de6322 --- /dev/null +++ b/connectors/camel-aws-secrets-manager-kafka-connector/src/main/docs/examples/CamelAwssecretsmanagerSinkConnector.properties @@ -0,0 +1,37 @@ +## --------------------------------------------------------------------------- +## 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. +## --------------------------------------------------------------------------- + +name=CamelAws-secrets-managerSinkConnector +connector.class=org.apache.camel.kafkaconnector.awssecretsmanager.CamelAwssecretsmanagerSinkConnector +tasks.max=1 + +# use the kafka converters that better suit your needs, these are just defaults: +key.converter=org.apache.kafka.connect.storage.StringConverter +value.converter=org.apache.kafka.connect.storage.StringConverter + +# comma separated topics to get messages from +topics= + +# mandatory properties (for a complete properties list see the connector documentation): + +# The operation to perform One of: [listSecrets] +camel.component.aws-secrets-manager.operation= +# The operation to perform One of: [listSecrets] +camel.sink.endpoint.operation= +# Logical name +camel.sink.path.label= + diff --git a/connectors/camel-aws-secrets-manager-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/awssecretsmanager/CamelAwssecretsmanagerSinkConnector.java b/connectors/camel-aws-secrets-manager-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/awssecretsmanager/CamelAwssecretsmanagerSinkConnector.java new file mode 100644 index 0000000..945e46f --- /dev/null +++ b/connectors/camel-aws-secrets-manager-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/awssecretsmanager/CamelAwssecretsmanagerSinkConnector.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.awssecretsmanager; + +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 CamelAwssecretsmanagerSinkConnector extends CamelSinkConnector { + + @Override + public ConfigDef config() { + return CamelAwssecretsmanagerSinkConnectorConfig.conf(); + } + @Override + public Class<? extends Task> taskClass() { + return CamelAwssecretsmanagerSinkTask.class; + } +} \ No newline at end of file diff --git a/connectors/camel-aws-secrets-manager-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/awssecretsmanager/CamelAwssecretsmanagerSinkConnectorConfig.java b/connectors/camel-aws-secrets-manager-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/awssecretsmanager/CamelAwssecretsmanagerSinkConnectorConfig.java new file mode 100644 index 0000000..c658dd3 --- /dev/null +++ b/connectors/camel-aws-secrets-manager-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/awssecretsmanager/CamelAwssecretsmanagerSinkConnectorConfig.java @@ -0,0 +1,161 @@ +/* + * 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.awssecretsmanager; + +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 CamelAwssecretsmanagerSinkConnectorConfig + extends + CamelSinkConnectorConfig { + + public static final String CAMEL_SINK_AWSSECRETSMANAGER_PATH_LABEL_CONF = "camel.sink.path.label"; + public static final String CAMEL_SINK_AWSSECRETSMANAGER_PATH_LABEL_DOC = "Logical name"; + public static final String CAMEL_SINK_AWSSECRETSMANAGER_PATH_LABEL_DEFAULT = null; + public static final String CAMEL_SINK_AWSSECRETSMANAGER_ENDPOINT_LAZY_START_PRODUCER_CONF = "camel.sink.endpoint.lazyStartProducer"; + public static final String CAMEL_SINK_AWSSECRETSMANAGER_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. Bewa [...] + public static final Boolean CAMEL_SINK_AWSSECRETSMANAGER_ENDPOINT_LAZY_START_PRODUCER_DEFAULT = false; + public static final String CAMEL_SINK_AWSSECRETSMANAGER_ENDPOINT_OPERATION_CONF = "camel.sink.endpoint.operation"; + public static final String CAMEL_SINK_AWSSECRETSMANAGER_ENDPOINT_OPERATION_DOC = "The operation to perform One of: [listSecrets]"; + public static final String CAMEL_SINK_AWSSECRETSMANAGER_ENDPOINT_OPERATION_DEFAULT = null; + public static final String CAMEL_SINK_AWSSECRETSMANAGER_ENDPOINT_OVERRIDE_ENDPOINT_CONF = "camel.sink.endpoint.overrideEndpoint"; + public static final String CAMEL_SINK_AWSSECRETSMANAGER_ENDPOINT_OVERRIDE_ENDPOINT_DOC = "Set the need for overidding the endpoint. This option needs to be used in combination with uriEndpointOverride option"; + public static final Boolean CAMEL_SINK_AWSSECRETSMANAGER_ENDPOINT_OVERRIDE_ENDPOINT_DEFAULT = false; + public static final String CAMEL_SINK_AWSSECRETSMANAGER_ENDPOINT_POJO_REQUEST_CONF = "camel.sink.endpoint.pojoRequest"; + public static final String CAMEL_SINK_AWSSECRETSMANAGER_ENDPOINT_POJO_REQUEST_DOC = "If we want to use a POJO request as body or not"; + public static final Boolean CAMEL_SINK_AWSSECRETSMANAGER_ENDPOINT_POJO_REQUEST_DEFAULT = false; + public static final String CAMEL_SINK_AWSSECRETSMANAGER_ENDPOINT_PROXY_HOST_CONF = "camel.sink.endpoint.proxyHost"; + public static final String CAMEL_SINK_AWSSECRETSMANAGER_ENDPOINT_PROXY_HOST_DOC = "To define a proxy host when instantiating the Secrets Manager client"; + public static final String CAMEL_SINK_AWSSECRETSMANAGER_ENDPOINT_PROXY_HOST_DEFAULT = null; + public static final String CAMEL_SINK_AWSSECRETSMANAGER_ENDPOINT_PROXY_PORT_CONF = "camel.sink.endpoint.proxyPort"; + public static final String CAMEL_SINK_AWSSECRETSMANAGER_ENDPOINT_PROXY_PORT_DOC = "To define a proxy port when instantiating the Secrets Manager client"; + public static final String CAMEL_SINK_AWSSECRETSMANAGER_ENDPOINT_PROXY_PORT_DEFAULT = null; + public static final String CAMEL_SINK_AWSSECRETSMANAGER_ENDPOINT_PROXY_PROTOCOL_CONF = "camel.sink.endpoint.proxyProtocol"; + public static final String CAMEL_SINK_AWSSECRETSMANAGER_ENDPOINT_PROXY_PROTOCOL_DOC = "To define a proxy protocol when instantiating the Secrets Manager client One of: [HTTP] [HTTPS]"; + public static final String CAMEL_SINK_AWSSECRETSMANAGER_ENDPOINT_PROXY_PROTOCOL_DEFAULT = "HTTPS"; + public static final String CAMEL_SINK_AWSSECRETSMANAGER_ENDPOINT_REGION_CONF = "camel.sink.endpoint.region"; + public static final String CAMEL_SINK_AWSSECRETSMANAGER_ENDPOINT_REGION_DOC = "The region in which Secrets Manager client needs to work. When using this parameter, the configuration will expect the lowercase name of the region (for example ap-east-1) You'll need to use the name Region.EU_WEST_1.id()"; + public static final String CAMEL_SINK_AWSSECRETSMANAGER_ENDPOINT_REGION_DEFAULT = null; + public static final String CAMEL_SINK_AWSSECRETSMANAGER_ENDPOINT_SECRETS_MANAGER_CLIENT_CONF = "camel.sink.endpoint.secretsManagerClient"; + public static final String CAMEL_SINK_AWSSECRETSMANAGER_ENDPOINT_SECRETS_MANAGER_CLIENT_DOC = "To use a existing configured AWS Secrets Manager as client"; + public static final String CAMEL_SINK_AWSSECRETSMANAGER_ENDPOINT_SECRETS_MANAGER_CLIENT_DEFAULT = null; + public static final String CAMEL_SINK_AWSSECRETSMANAGER_ENDPOINT_TRUST_ALL_CERTIFICATES_CONF = "camel.sink.endpoint.trustAllCertificates"; + public static final String CAMEL_SINK_AWSSECRETSMANAGER_ENDPOINT_TRUST_ALL_CERTIFICATES_DOC = "If we want to trust all certificates in case of overriding the endpoint"; + public static final Boolean CAMEL_SINK_AWSSECRETSMANAGER_ENDPOINT_TRUST_ALL_CERTIFICATES_DEFAULT = false; + public static final String CAMEL_SINK_AWSSECRETSMANAGER_ENDPOINT_URI_ENDPOINT_OVERRIDE_CONF = "camel.sink.endpoint.uriEndpointOverride"; + public static final String CAMEL_SINK_AWSSECRETSMANAGER_ENDPOINT_URI_ENDPOINT_OVERRIDE_DOC = "Set the overriding uri endpoint. This option needs to be used in combination with overrideEndpoint option"; + public static final String CAMEL_SINK_AWSSECRETSMANAGER_ENDPOINT_URI_ENDPOINT_OVERRIDE_DEFAULT = null; + public static final String CAMEL_SINK_AWSSECRETSMANAGER_ENDPOINT_ACCESS_KEY_CONF = "camel.sink.endpoint.accessKey"; + public static final String CAMEL_SINK_AWSSECRETSMANAGER_ENDPOINT_ACCESS_KEY_DOC = "Amazon AWS Access Key"; + public static final String CAMEL_SINK_AWSSECRETSMANAGER_ENDPOINT_ACCESS_KEY_DEFAULT = null; + public static final String CAMEL_SINK_AWSSECRETSMANAGER_ENDPOINT_SECRET_KEY_CONF = "camel.sink.endpoint.secretKey"; + public static final String CAMEL_SINK_AWSSECRETSMANAGER_ENDPOINT_SECRET_KEY_DOC = "Amazon AWS Secret Key"; + public static final String CAMEL_SINK_AWSSECRETSMANAGER_ENDPOINT_SECRET_KEY_DEFAULT = null; + public static final String CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_CONFIGURATION_CONF = "camel.component.aws-secrets-manager.configuration"; + public static final String CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_CONFIGURATION_DOC = "Component configuration"; + public static final String CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_CONFIGURATION_DEFAULT = null; + public static final String CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_LAZY_START_PRODUCER_CONF = "camel.component.aws-secrets-manager.lazyStartProducer"; + public static final String CAMEL_SINK_AWSSECRETSMANAGER_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. Bew [...] + public static final Boolean CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_LAZY_START_PRODUCER_DEFAULT = false; + public static final String CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_OPERATION_CONF = "camel.component.aws-secrets-manager.operation"; + public static final String CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_OPERATION_DOC = "The operation to perform One of: [listSecrets]"; + public static final String CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_OPERATION_DEFAULT = null; + public static final String CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_OVERRIDE_ENDPOINT_CONF = "camel.component.aws-secrets-manager.overrideEndpoint"; + public static final String CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_OVERRIDE_ENDPOINT_DOC = "Set the need for overidding the endpoint. This option needs to be used in combination with uriEndpointOverride option"; + public static final Boolean CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_OVERRIDE_ENDPOINT_DEFAULT = false; + public static final String CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_POJO_REQUEST_CONF = "camel.component.aws-secrets-manager.pojoRequest"; + public static final String CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_POJO_REQUEST_DOC = "If we want to use a POJO request as body or not"; + public static final Boolean CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_POJO_REQUEST_DEFAULT = false; + public static final String CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_PROXY_HOST_CONF = "camel.component.aws-secrets-manager.proxyHost"; + public static final String CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_PROXY_HOST_DOC = "To define a proxy host when instantiating the Secrets Manager client"; + public static final String CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_PROXY_HOST_DEFAULT = null; + public static final String CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_PROXY_PORT_CONF = "camel.component.aws-secrets-manager.proxyPort"; + public static final String CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_PROXY_PORT_DOC = "To define a proxy port when instantiating the Secrets Manager client"; + public static final String CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_PROXY_PORT_DEFAULT = null; + public static final String CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_PROXY_PROTOCOL_CONF = "camel.component.aws-secrets-manager.proxyProtocol"; + public static final String CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_PROXY_PROTOCOL_DOC = "To define a proxy protocol when instantiating the Secrets Manager client One of: [HTTP] [HTTPS]"; + public static final String CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_PROXY_PROTOCOL_DEFAULT = "HTTPS"; + public static final String CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_REGION_CONF = "camel.component.aws-secrets-manager.region"; + public static final String CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_REGION_DOC = "The region in which Secrets Manager client needs to work. When using this parameter, the configuration will expect the lowercase name of the region (for example ap-east-1) You'll need to use the name Region.EU_WEST_1.id()"; + public static final String CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_REGION_DEFAULT = null; + public static final String CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_SECRETS_MANAGER_CLIENT_CONF = "camel.component.aws-secrets-manager.secretsManagerClient"; + public static final String CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_SECRETS_MANAGER_CLIENT_DOC = "To use a existing configured AWS Secrets Manager as client"; + public static final String CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_SECRETS_MANAGER_CLIENT_DEFAULT = null; + public static final String CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_TRUST_ALL_CERTIFICATES_CONF = "camel.component.aws-secrets-manager.trustAllCertificates"; + public static final String CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_TRUST_ALL_CERTIFICATES_DOC = "If we want to trust all certificates in case of overriding the endpoint"; + public static final Boolean CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_TRUST_ALL_CERTIFICATES_DEFAULT = false; + public static final String CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_URI_ENDPOINT_OVERRIDE_CONF = "camel.component.aws-secrets-manager.uriEndpointOverride"; + public static final String CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_URI_ENDPOINT_OVERRIDE_DOC = "Set the overriding uri endpoint. This option needs to be used in combination with overrideEndpoint option"; + public static final String CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_URI_ENDPOINT_OVERRIDE_DEFAULT = null; + public static final String CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_AUTOWIRED_ENABLED_CONF = "camel.component.aws-secrets-manager.autowiredEnabled"; + public static final String CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_AUTOWIRED_ENABLED_DOC = "Whether autowiring is enabled. This is used for automatic autowiring options (the option must be marked as autowired) by looking up in the registry to find if there is a single instance of matching type, which then gets configured on the component. This can be used for automatic configuring JDBC data sources, JMS connection factories, AWS Clients, etc."; + public static final Boolean CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_AUTOWIRED_ENABLED_DEFAULT = true; + public static final String CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_ACCESS_KEY_CONF = "camel.component.aws-secrets-manager.accessKey"; + public static final String CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_ACCESS_KEY_DOC = "Amazon AWS Access Key"; + public static final String CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_ACCESS_KEY_DEFAULT = null; + public static final String CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_SECRET_KEY_CONF = "camel.component.aws-secrets-manager.secretKey"; + public static final String CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_SECRET_KEY_DOC = "Amazon AWS Secret Key"; + public static final String CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_SECRET_KEY_DEFAULT = null; + + public CamelAwssecretsmanagerSinkConnectorConfig( + ConfigDef config, + Map<String, String> parsedConfig) { + super(config, parsedConfig); + } + + public CamelAwssecretsmanagerSinkConnectorConfig( + Map<String, String> parsedConfig) { + this(conf(), parsedConfig); + } + + public static ConfigDef conf() { + ConfigDef conf = new ConfigDef(CamelSinkConnectorConfig.conf()); + conf.define(CAMEL_SINK_AWSSECRETSMANAGER_PATH_LABEL_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AWSSECRETSMANAGER_PATH_LABEL_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_AWSSECRETSMANAGER_PATH_LABEL_DOC); + conf.define(CAMEL_SINK_AWSSECRETSMANAGER_ENDPOINT_LAZY_START_PRODUCER_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_AWSSECRETSMANAGER_ENDPOINT_LAZY_START_PRODUCER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWSSECRETSMANAGER_ENDPOINT_LAZY_START_PRODUCER_DOC); + conf.define(CAMEL_SINK_AWSSECRETSMANAGER_ENDPOINT_OPERATION_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AWSSECRETSMANAGER_ENDPOINT_OPERATION_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_AWSSECRETSMANAGER_ENDPOINT_OPERATION_DOC); + conf.define(CAMEL_SINK_AWSSECRETSMANAGER_ENDPOINT_OVERRIDE_ENDPOINT_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_AWSSECRETSMANAGER_ENDPOINT_OVERRIDE_ENDPOINT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWSSECRETSMANAGER_ENDPOINT_OVERRIDE_ENDPOINT_DOC); + conf.define(CAMEL_SINK_AWSSECRETSMANAGER_ENDPOINT_POJO_REQUEST_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_AWSSECRETSMANAGER_ENDPOINT_POJO_REQUEST_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWSSECRETSMANAGER_ENDPOINT_POJO_REQUEST_DOC); + conf.define(CAMEL_SINK_AWSSECRETSMANAGER_ENDPOINT_PROXY_HOST_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AWSSECRETSMANAGER_ENDPOINT_PROXY_HOST_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWSSECRETSMANAGER_ENDPOINT_PROXY_HOST_DOC); + conf.define(CAMEL_SINK_AWSSECRETSMANAGER_ENDPOINT_PROXY_PORT_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AWSSECRETSMANAGER_ENDPOINT_PROXY_PORT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWSSECRETSMANAGER_ENDPOINT_PROXY_PORT_DOC); + conf.define(CAMEL_SINK_AWSSECRETSMANAGER_ENDPOINT_PROXY_PROTOCOL_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AWSSECRETSMANAGER_ENDPOINT_PROXY_PROTOCOL_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWSSECRETSMANAGER_ENDPOINT_PROXY_PROTOCOL_DOC); + conf.define(CAMEL_SINK_AWSSECRETSMANAGER_ENDPOINT_REGION_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AWSSECRETSMANAGER_ENDPOINT_REGION_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWSSECRETSMANAGER_ENDPOINT_REGION_DOC); + conf.define(CAMEL_SINK_AWSSECRETSMANAGER_ENDPOINT_SECRETS_MANAGER_CLIENT_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AWSSECRETSMANAGER_ENDPOINT_SECRETS_MANAGER_CLIENT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWSSECRETSMANAGER_ENDPOINT_SECRETS_MANAGER_CLIENT_DOC); + conf.define(CAMEL_SINK_AWSSECRETSMANAGER_ENDPOINT_TRUST_ALL_CERTIFICATES_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_AWSSECRETSMANAGER_ENDPOINT_TRUST_ALL_CERTIFICATES_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWSSECRETSMANAGER_ENDPOINT_TRUST_ALL_CERTIFICATES_DOC); + conf.define(CAMEL_SINK_AWSSECRETSMANAGER_ENDPOINT_URI_ENDPOINT_OVERRIDE_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AWSSECRETSMANAGER_ENDPOINT_URI_ENDPOINT_OVERRIDE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWSSECRETSMANAGER_ENDPOINT_URI_ENDPOINT_OVERRIDE_DOC); + conf.define(CAMEL_SINK_AWSSECRETSMANAGER_ENDPOINT_ACCESS_KEY_CONF, ConfigDef.Type.PASSWORD, CAMEL_SINK_AWSSECRETSMANAGER_ENDPOINT_ACCESS_KEY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWSSECRETSMANAGER_ENDPOINT_ACCESS_KEY_DOC); + conf.define(CAMEL_SINK_AWSSECRETSMANAGER_ENDPOINT_SECRET_KEY_CONF, ConfigDef.Type.PASSWORD, CAMEL_SINK_AWSSECRETSMANAGER_ENDPOINT_SECRET_KEY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWSSECRETSMANAGER_ENDPOINT_SECRET_KEY_DOC); + conf.define(CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_CONFIGURATION_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_CONFIGURATION_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_CONFIGURATION_DOC); + conf.define(CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_LAZY_START_PRODUCER_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_LAZY_START_PRODUCER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_LAZY_START_PRODUCER_DOC); + conf.define(CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_OPERATION_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_OPERATION_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_OPERATION_DOC); + conf.define(CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_OVERRIDE_ENDPOINT_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_OVERRIDE_ENDPOINT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_OVERRIDE_ENDPOINT_DOC); + conf.define(CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_POJO_REQUEST_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_POJO_REQUEST_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_POJO_REQUEST_DOC); + conf.define(CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_PROXY_HOST_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_PROXY_HOST_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_PROXY_HOST_DOC); + conf.define(CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_PROXY_PORT_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_PROXY_PORT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_PROXY_PORT_DOC); + conf.define(CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_PROXY_PROTOCOL_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_PROXY_PROTOCOL_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_PROXY_PROTOCOL_DOC); + conf.define(CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_REGION_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_REGION_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_REGION_DOC); + conf.define(CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_SECRETS_MANAGER_CLIENT_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_SECRETS_MANAGER_CLIENT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_SECRETS_MANAGER_CLIENT_DOC); + conf.define(CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_TRUST_ALL_CERTIFICATES_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_TRUST_ALL_CERTIFICATES_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_TRUST_ALL_CERTIFICATES_DOC); + conf.define(CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_URI_ENDPOINT_OVERRIDE_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_URI_ENDPOINT_OVERRIDE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_URI_ENDPOINT_OVERRIDE_DOC); + conf.define(CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_AUTOWIRED_ENABLED_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_AUTOWIRED_ENABLED_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_AUTOWIRED_ENABLED_DOC); + conf.define(CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_ACCESS_KEY_CONF, ConfigDef.Type.PASSWORD, CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_ACCESS_KEY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_ACCESS_KEY_DOC); + conf.define(CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_SECRET_KEY_CONF, ConfigDef.Type.PASSWORD, CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_SECRET_KEY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_SECRET_KEY_DOC); + return conf; + } +} \ No newline at end of file diff --git a/connectors/camel-aws-secrets-manager-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/awssecretsmanager/CamelAwssecretsmanagerSinkTask.java b/connectors/camel-aws-secrets-manager-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/awssecretsmanager/CamelAwssecretsmanagerSinkTask.java new file mode 100644 index 0000000..1123819 --- /dev/null +++ b/connectors/camel-aws-secrets-manager-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/awssecretsmanager/CamelAwssecretsmanagerSinkTask.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.awssecretsmanager; + +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 CamelAwssecretsmanagerSinkTask extends CamelSinkTask { + + @Override + protected CamelSinkConnectorConfig getCamelSinkConnectorConfig( + Map<String, String> props) { + return new CamelAwssecretsmanagerSinkConnectorConfig(props); + } + @Override + protected Map<String, String> getDefaultConfig() { + return new HashMap<String, String>() {{ + put(CamelSinkConnectorConfig.CAMEL_SINK_COMPONENT_CONF, "aws-secrets-manager"); + }}; + } +} \ No newline at end of file diff --git a/connectors/camel-aws-secrets-manager-kafka-connector/src/main/resources/META-INF/LICENSE.txt b/connectors/camel-aws-secrets-manager-kafka-connector/src/main/resources/META-INF/LICENSE.txt new file mode 100644 index 0000000..6b0b127 --- /dev/null +++ b/connectors/camel-aws-secrets-manager-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-aws-secrets-manager-kafka-connector/src/main/resources/META-INF/NOTICE.txt b/connectors/camel-aws-secrets-manager-kafka-connector/src/main/resources/META-INF/NOTICE.txt new file mode 100644 index 0000000..2e215bf --- /dev/null +++ b/connectors/camel-aws-secrets-manager-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-google-mail-stream-kafka-connector/src/generated/resources/camel-google-mail-stream-source.json b/connectors/camel-google-mail-stream-kafka-connector/src/generated/resources/camel-google-mail-stream-source.json index a5baa63..dc63bee 100644 --- a/connectors/camel-google-mail-stream-kafka-connector/src/generated/resources/camel-google-mail-stream-source.json +++ b/connectors/camel-google-mail-stream-kafka-connector/src/generated/resources/camel-google-mail-stream-source.json @@ -43,7 +43,7 @@ "camel.source.endpoint.markAsRead": { "name": "camel.source.endpoint.markAsRead", "description": "Mark the message as read once it has been consumed", - "defaultValue": "false", + "defaultValue": "true", "priority": "MEDIUM", "required": "false" }, @@ -247,7 +247,7 @@ "camel.component.google-mail-stream.markAsRead": { "name": "camel.component.google-mail-stream.markAsRead", "description": "Mark the message as read once it has been consumed", - "defaultValue": "false", + "defaultValue": "true", "priority": "MEDIUM", "required": "false" }, diff --git a/connectors/camel-google-mail-stream-kafka-connector/src/main/docs/camel-google-mail-stream-kafka-source-connector.adoc b/connectors/camel-google-mail-stream-kafka-connector/src/main/docs/camel-google-mail-stream-kafka-source-connector.adoc index ecad553..fe3d5df 100644 --- a/connectors/camel-google-mail-stream-kafka-connector/src/main/docs/camel-google-mail-stream-kafka-source-connector.adoc +++ b/connectors/camel-google-mail-stream-kafka-connector/src/main/docs/camel-google-mail-stream-kafka-source-connector.adoc @@ -36,7 +36,7 @@ The camel-google-mail-stream source connector supports 42 options, which are lis | *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 | false | MEDIUM | *camel.source.endpoint.clientId* | Client ID of the mail application | null | false | MEDIUM | *camel.source.endpoint.labels* | Comma separated list of labels to take into account | null | false | MEDIUM -| *camel.source.endpoint.markAsRead* | Mark the message as read once it has been consumed | false | false | MEDIUM +| *camel.source.endpoint.markAsRead* | Mark the message as read once it has been consumed | true | false | MEDIUM | *camel.source.endpoint.maxResults* | Max results to be returned | 10L | false | MEDIUM | *camel.source.endpoint.query* | The query to execute on gmail box | "is:unread" | false | MEDIUM | *camel.source.endpoint.sendEmptyMessageWhenIdle* | If the polling consumer did not poll any files, you can enable this option to send an empty message (no body) instead. | false | false | MEDIUM @@ -64,7 +64,7 @@ The camel-google-mail-stream source connector supports 42 options, which are lis | *camel.component.google-mail-stream.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 | false | MEDIUM | *camel.component.google-mail-stream.clientId* | Client ID of the mail application | null | false | MEDIUM | *camel.component.google-mail-stream.labels* | Comma separated list of labels to take into account | null | false | MEDIUM -| *camel.component.google-mail-stream.markAsRead* | Mark the message as read once it has been consumed | false | false | MEDIUM +| *camel.component.google-mail-stream.markAsRead* | Mark the message as read once it has been consumed | true | false | MEDIUM | *camel.component.google-mail-stream.maxResults* | Max results to be returned | 10L | false | MEDIUM | *camel.component.google-mail-stream.query* | The query to execute on gmail box | "is:unread" | false | MEDIUM | *camel.component.google-mail-stream.autowired Enabled* | Whether autowiring is enabled. This is used for automatic autowiring options (the option must be marked as autowired) by looking up in the registry to find if there is a single instance of matching type, which then gets configured on the component. This can be used for automatic configuring JDBC data sources, JMS connection factories, AWS Clients, etc. | true | false | MEDIUM diff --git a/connectors/camel-google-mail-stream-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/googlemailstream/CamelGooglemailstreamSourceConnectorConfig.java b/connectors/camel-google-mail-stream-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/googlemailstream/CamelGooglemailstreamSourceConnectorConfig.java index 3018733..b639ab3 100644 --- a/connectors/camel-google-mail-stream-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/googlemailstream/CamelGooglemailstreamSourceConnectorConfig.java +++ b/connectors/camel-google-mail-stream-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/googlemailstream/CamelGooglemailstreamSourceConnectorConfig.java @@ -43,7 +43,7 @@ public class CamelGooglemailstreamSourceConnectorConfig public static final String CAMEL_SOURCE_GOOGLEMAILSTREAM_ENDPOINT_LABELS_DEFAULT = null; public static final String CAMEL_SOURCE_GOOGLEMAILSTREAM_ENDPOINT_MARK_AS_READ_CONF = "camel.source.endpoint.markAsRead"; public static final String CAMEL_SOURCE_GOOGLEMAILSTREAM_ENDPOINT_MARK_AS_READ_DOC = "Mark the message as read once it has been consumed"; - public static final Boolean CAMEL_SOURCE_GOOGLEMAILSTREAM_ENDPOINT_MARK_AS_READ_DEFAULT = false; + public static final Boolean CAMEL_SOURCE_GOOGLEMAILSTREAM_ENDPOINT_MARK_AS_READ_DEFAULT = true; public static final String CAMEL_SOURCE_GOOGLEMAILSTREAM_ENDPOINT_MAX_RESULTS_CONF = "camel.source.endpoint.maxResults"; public static final String CAMEL_SOURCE_GOOGLEMAILSTREAM_ENDPOINT_MAX_RESULTS_DOC = "Max results to be returned"; public static final Long CAMEL_SOURCE_GOOGLEMAILSTREAM_ENDPOINT_MAX_RESULTS_DEFAULT = 10L; @@ -127,7 +127,7 @@ public class CamelGooglemailstreamSourceConnectorConfig public static final String CAMEL_SOURCE_GOOGLEMAILSTREAM_COMPONENT_LABELS_DEFAULT = null; public static final String CAMEL_SOURCE_GOOGLEMAILSTREAM_COMPONENT_MARK_AS_READ_CONF = "camel.component.google-mail-stream.markAsRead"; public static final String CAMEL_SOURCE_GOOGLEMAILSTREAM_COMPONENT_MARK_AS_READ_DOC = "Mark the message as read once it has been consumed"; - public static final Boolean CAMEL_SOURCE_GOOGLEMAILSTREAM_COMPONENT_MARK_AS_READ_DEFAULT = false; + public static final Boolean CAMEL_SOURCE_GOOGLEMAILSTREAM_COMPONENT_MARK_AS_READ_DEFAULT = true; public static final String CAMEL_SOURCE_GOOGLEMAILSTREAM_COMPONENT_MAX_RESULTS_CONF = "camel.component.google-mail-stream.maxResults"; public static final String CAMEL_SOURCE_GOOGLEMAILSTREAM_COMPONENT_MAX_RESULTS_DOC = "Max results to be returned"; public static final Long CAMEL_SOURCE_GOOGLEMAILSTREAM_COMPONENT_MAX_RESULTS_DEFAULT = 10L; diff --git a/connectors/camel-vertx-kafka-kafka-connector/src/generated/resources/camel-vertx-kafka-source.json b/connectors/camel-vertx-kafka-kafka-connector/src/generated/resources/camel-vertx-kafka-source.json index bc3d44b..70dba68 100644 --- a/connectors/camel-vertx-kafka-kafka-connector/src/generated/resources/camel-vertx-kafka-source.json +++ b/connectors/camel-vertx-kafka-kafka-connector/src/generated/resources/camel-vertx-kafka-source.json @@ -172,6 +172,13 @@ "priority": "MEDIUM", "required": "false" }, + "camel.source.endpoint.allowManualCommit": { + "name": "camel.source.endpoint.allowManualCommit", + "description": "Whether to allow doing manual commits via org.apache.camel.component.vertx.kafka.offset.VertxKafkaManualCommit. If this option is enabled then an instance of org.apache.camel.component.vertx.kafka.offset.VertxKafkaManualCommit is stored on the Exchange message header, which allows end users to access this API and perform manual offset commits via the Kafka consumer. Note: To take full control of the offset committing, you may need to disable the Kafka Consumer default [...] + "defaultValue": "false", + "priority": "MEDIUM", + "required": "false" + }, "camel.source.endpoint.autoCommitIntervalMs": { "name": "camel.source.endpoint.autoCommitIntervalMs", "description": "The frequency in milliseconds that the consumer offsets are auto-committed to Kafka if enable.auto.commit is set to true.", @@ -755,6 +762,13 @@ "priority": "MEDIUM", "required": "false" }, + "camel.component.vertx-kafka.allowManualCommit": { + "name": "camel.component.vertx-kafka.allowManualCommit", + "description": "Whether to allow doing manual commits via org.apache.camel.component.vertx.kafka.offset.VertxKafkaManualCommit. If this option is enabled then an instance of org.apache.camel.component.vertx.kafka.offset.VertxKafkaManualCommit is stored on the Exchange message header, which allows end users to access this API and perform manual offset commits via the Kafka consumer. Note: To take full control of the offset committing, you may need to disable the Kafka Consumer default [...] + "defaultValue": "false", + "priority": "MEDIUM", + "required": "false" + }, "camel.component.vertx-kafka.autoCommitIntervalMs": { "name": "camel.component.vertx-kafka.autoCommitIntervalMs", "description": "The frequency in milliseconds that the consumer offsets are auto-committed to Kafka if enable.auto.commit is set to true.", @@ -931,6 +945,12 @@ "priority": "MEDIUM", "required": "false" }, + "camel.component.vertx-kafka.kafkaManualCommitFactory": { + "name": "camel.component.vertx-kafka.kafkaManualCommitFactory", + "description": "Factory to use for creating org.apache.camel.component.vertx.kafka.offset.VertxKafkaManualCommit instances. This allows to plugin a custom factory to create custom org.apache.camel.component.vertx.kafka.offset.VertxKafkaManualCommit instances in case special logic is needed when doing manual commits that deviates from the default implementation that comes out of the box.", + "priority": "MEDIUM", + "required": "false" + }, "camel.component.vertx-kafka.autowiredEnabled": { "name": "camel.component.vertx-kafka.autowiredEnabled", "description": "Whether autowiring is enabled. This is used for automatic autowiring options (the option must be marked as autowired) by looking up in the registry to find if there is a single instance of matching type, which then gets configured on the component. This can be used for automatic configuring JDBC data sources, JMS connection factories, AWS Clients, etc.", diff --git a/connectors/camel-vertx-kafka-kafka-connector/src/main/docs/camel-vertx-kafka-kafka-source-connector.adoc b/connectors/camel-vertx-kafka-kafka-connector/src/main/docs/camel-vertx-kafka-kafka-source-connector.adoc index b12a000..cba0535 100644 --- a/connectors/camel-vertx-kafka-kafka-connector/src/main/docs/camel-vertx-kafka-kafka-source-connector.adoc +++ b/connectors/camel-vertx-kafka-kafka-connector/src/main/docs/camel-vertx-kafka-kafka-source-connector.adoc @@ -24,7 +24,7 @@ connector.class=org.apache.camel.kafkaconnector.vertxkafka.CamelVertxkafkaSource ---- -The camel-vertx-kafka source connector supports 170 options, which are listed below. +The camel-vertx-kafka source connector supports 173 options, which are listed below. @@ -54,6 +54,7 @@ The camel-vertx-kafka source connector supports 170 options, which are listed be | *camel.source.endpoint.socketConnectionSetupTimeout MaxMs* | The maximum amount of time the client will wait for the socket connection to be established. The connection setup timeout will increase exponentially for each consecutive connection failure up to this maximum. To avoid connection storms, a randomization factor of 0.2 will be applied to the timeout resulting in a random range between 20% below and 20% above the computed value. | 127000L | false | MEDIUM | *camel.source.endpoint.socketConnectionSetupTimeout Ms* | The amount of time the client will wait for the socket connection to be established. If the connection is not built before the timeout elapses, clients will close the socket channel. | 10000L | false | MEDIUM | *camel.source.endpoint.allowAutoCreateTopics* | Allow automatic topic creation on the broker when subscribing to or assigning a topic. A topic being subscribed to will be automatically created only if the broker allows for it using auto.create.topics.enable broker configuration. This configuration must be set to false when using brokers older than 0.11.0 | true | false | MEDIUM +| *camel.source.endpoint.allowManualCommit* | Whether to allow doing manual commits via org.apache.camel.component.vertx.kafka.offset.VertxKafkaManualCommit. If this option is enabled then an instance of org.apache.camel.component.vertx.kafka.offset.VertxKafkaManualCommit is stored on the Exchange message header, which allows end users to access this API and perform manual offset commits via the Kafka consumer. Note: To take full control of the offset committing, you may need to disable [...] | *camel.source.endpoint.autoCommitIntervalMs* | The frequency in milliseconds that the consumer offsets are auto-committed to Kafka if enable.auto.commit is set to true. | 5000 | false | MEDIUM | *camel.source.endpoint.autoOffsetReset* | What to do when there is no initial offset in Kafka or if the current offset does not exist any more on the server (e.g. because that data has been deleted): earliest: automatically reset the offset to the earliest offsetlatest: automatically reset the offset to the latest offsetnone: throw exception to the consumer if no previous offset is found for the consumer's groupanything else: throw exception to the consumer. One of: [latest] [earliest] [...] | *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 | false | MEDIUM @@ -138,6 +139,7 @@ The camel-vertx-kafka source connector supports 170 options, which are listed be | *camel.component.vertx-kafka.socketConnectionSetup TimeoutMaxMs* | The maximum amount of time the client will wait for the socket connection to be established. The connection setup timeout will increase exponentially for each consecutive connection failure up to this maximum. To avoid connection storms, a randomization factor of 0.2 will be applied to the timeout resulting in a random range between 20% below and 20% above the computed value. | 127000L | false | MEDIUM | *camel.component.vertx-kafka.socketConnectionSetup TimeoutMs* | The amount of time the client will wait for the socket connection to be established. If the connection is not built before the timeout elapses, clients will close the socket channel. | 10000L | false | MEDIUM | *camel.component.vertx-kafka.allowAutoCreateTopics* | Allow automatic topic creation on the broker when subscribing to or assigning a topic. A topic being subscribed to will be automatically created only if the broker allows for it using auto.create.topics.enable broker configuration. This configuration must be set to false when using brokers older than 0.11.0 | true | false | MEDIUM +| *camel.component.vertx-kafka.allowManualCommit* | Whether to allow doing manual commits via org.apache.camel.component.vertx.kafka.offset.VertxKafkaManualCommit. If this option is enabled then an instance of org.apache.camel.component.vertx.kafka.offset.VertxKafkaManualCommit is stored on the Exchange message header, which allows end users to access this API and perform manual offset commits via the Kafka consumer. Note: To take full control of the offset committing, you may need to di [...] | *camel.component.vertx-kafka.autoCommitIntervalMs* | The frequency in milliseconds that the consumer offsets are auto-committed to Kafka if enable.auto.commit is set to true. | 5000 | false | MEDIUM | *camel.component.vertx-kafka.autoOffsetReset* | What to do when there is no initial offset in Kafka or if the current offset does not exist any more on the server (e.g. because that data has been deleted): earliest: automatically reset the offset to the earliest offsetlatest: automatically reset the offset to the latest offsetnone: throw exception to the consumer if no previous offset is found for the consumer's groupanything else: throw exception to the consumer. One of: [latest] [ear [...] | *camel.component.vertx-kafka.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 | false | MEDIUM @@ -162,6 +164,7 @@ The camel-vertx-kafka source connector supports 170 options, which are listed be | *camel.component.vertx-kafka.seekToPosition* | Set if KafkaConsumer will read from beginning or end on startup: beginning : read from beginning end : read from end. One of: [beginning] [end] | null | false | MEDIUM | *camel.component.vertx-kafka.sessionTimeoutMs* | The timeout used to detect client failures when using Kafka's group management facility. The client sends periodic heartbeats to indicate its liveness to the broker. If no heartbeats are received by the broker before the expiration of this session timeout, then the broker will remove this client from the group and initiate a rebalance. Note that the value must be in the allowable range as configured in the broker configuration by group.m [...] | *camel.component.vertx-kafka.valueDeserializer* | Deserializer class for value that implements the org.apache.kafka.common.serialization.Deserializer interface. | "org.apache.kafka.common.serialization.StringDeserializer" | false | MEDIUM +| *camel.component.vertx-kafka.kafkaManualCommit Factory* | Factory to use for creating org.apache.camel.component.vertx.kafka.offset.VertxKafkaManualCommit instances. This allows to plugin a custom factory to create custom org.apache.camel.component.vertx.kafka.offset.VertxKafkaManualCommit instances in case special logic is needed when doing manual commits that deviates from the default implementation that comes out of the box. | null | false | MEDIUM | *camel.component.vertx-kafka.autowiredEnabled* | Whether autowiring is enabled. This is used for automatic autowiring options (the option must be marked as autowired) by looking up in the registry to find if there is a single instance of matching type, which then gets configured on the component. This can be used for automatic configuring JDBC data sources, JMS connection factories, AWS Clients, etc. | true | false | MEDIUM | *camel.component.vertx-kafka.vertx* | To use an existing vertx instead of creating a new instance | null | false | MEDIUM | *camel.component.vertx-kafka.vertxKafkaClient Factory* | Factory to use for creating io.vertx.kafka.client.consumer.KafkaConsumer and io.vertx.kafka.client.consumer.KafkaProducer instances. This allows to configure a custom factory to create custom KafkaConsumer and KafkaProducer instances with logic that extends the vanilla VertX Kafka clients. | null | false | MEDIUM diff --git a/connectors/camel-vertx-kafka-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/vertxkafka/CamelVertxkafkaSourceConnectorConfig.java b/connectors/camel-vertx-kafka-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/vertxkafka/CamelVertxkafkaSourceConnectorConfig.java index c91d7c6..47eca9c 100644 --- a/connectors/camel-vertx-kafka-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/vertxkafka/CamelVertxkafkaSourceConnectorConfig.java +++ b/connectors/camel-vertx-kafka-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/vertxkafka/CamelVertxkafkaSourceConnectorConfig.java @@ -95,6 +95,9 @@ public class CamelVertxkafkaSourceConnectorConfig public static final String CAMEL_SOURCE_VERTXKAFKA_ENDPOINT_ALLOW_AUTO_CREATE_TOPICS_CONF = "camel.source.endpoint.allowAutoCreateTopics"; public static final String CAMEL_SOURCE_VERTXKAFKA_ENDPOINT_ALLOW_AUTO_CREATE_TOPICS_DOC = "Allow automatic topic creation on the broker when subscribing to or assigning a topic. A topic being subscribed to will be automatically created only if the broker allows for it using auto.create.topics.enable broker configuration. This configuration must be set to false when using brokers older than 0.11.0"; public static final Boolean CAMEL_SOURCE_VERTXKAFKA_ENDPOINT_ALLOW_AUTO_CREATE_TOPICS_DEFAULT = true; + public static final String CAMEL_SOURCE_VERTXKAFKA_ENDPOINT_ALLOW_MANUAL_COMMIT_CONF = "camel.source.endpoint.allowManualCommit"; + public static final String CAMEL_SOURCE_VERTXKAFKA_ENDPOINT_ALLOW_MANUAL_COMMIT_DOC = "Whether to allow doing manual commits via org.apache.camel.component.vertx.kafka.offset.VertxKafkaManualCommit. If this option is enabled then an instance of org.apache.camel.component.vertx.kafka.offset.VertxKafkaManualCommit is stored on the Exchange message header, which allows end users to access this API and perform manual offset commits via the Kafka consumer. Note: To take full control of th [...] + public static final Boolean CAMEL_SOURCE_VERTXKAFKA_ENDPOINT_ALLOW_MANUAL_COMMIT_DEFAULT = false; public static final String CAMEL_SOURCE_VERTXKAFKA_ENDPOINT_AUTO_COMMIT_INTERVAL_MS_CONF = "camel.source.endpoint.autoCommitIntervalMs"; public static final String CAMEL_SOURCE_VERTXKAFKA_ENDPOINT_AUTO_COMMIT_INTERVAL_MS_DOC = "The frequency in milliseconds that the consumer offsets are auto-committed to Kafka if enable.auto.commit is set to true."; public static final Integer CAMEL_SOURCE_VERTXKAFKA_ENDPOINT_AUTO_COMMIT_INTERVAL_MS_DEFAULT = 5000; @@ -347,6 +350,9 @@ public class CamelVertxkafkaSourceConnectorConfig public static final String CAMEL_SOURCE_VERTXKAFKA_COMPONENT_ALLOW_AUTO_CREATE_TOPICS_CONF = "camel.component.vertx-kafka.allowAutoCreateTopics"; public static final String CAMEL_SOURCE_VERTXKAFKA_COMPONENT_ALLOW_AUTO_CREATE_TOPICS_DOC = "Allow automatic topic creation on the broker when subscribing to or assigning a topic. A topic being subscribed to will be automatically created only if the broker allows for it using auto.create.topics.enable broker configuration. This configuration must be set to false when using brokers older than 0.11.0"; public static final Boolean CAMEL_SOURCE_VERTXKAFKA_COMPONENT_ALLOW_AUTO_CREATE_TOPICS_DEFAULT = true; + public static final String CAMEL_SOURCE_VERTXKAFKA_COMPONENT_ALLOW_MANUAL_COMMIT_CONF = "camel.component.vertx-kafka.allowManualCommit"; + public static final String CAMEL_SOURCE_VERTXKAFKA_COMPONENT_ALLOW_MANUAL_COMMIT_DOC = "Whether to allow doing manual commits via org.apache.camel.component.vertx.kafka.offset.VertxKafkaManualCommit. If this option is enabled then an instance of org.apache.camel.component.vertx.kafka.offset.VertxKafkaManualCommit is stored on the Exchange message header, which allows end users to access this API and perform manual offset commits via the Kafka consumer. Note: To take full control of t [...] + public static final Boolean CAMEL_SOURCE_VERTXKAFKA_COMPONENT_ALLOW_MANUAL_COMMIT_DEFAULT = false; public static final String CAMEL_SOURCE_VERTXKAFKA_COMPONENT_AUTO_COMMIT_INTERVAL_MS_CONF = "camel.component.vertx-kafka.autoCommitIntervalMs"; public static final String CAMEL_SOURCE_VERTXKAFKA_COMPONENT_AUTO_COMMIT_INTERVAL_MS_DOC = "The frequency in milliseconds that the consumer offsets are auto-committed to Kafka if enable.auto.commit is set to true."; public static final Integer CAMEL_SOURCE_VERTXKAFKA_COMPONENT_AUTO_COMMIT_INTERVAL_MS_DEFAULT = 5000; @@ -419,6 +425,9 @@ public class CamelVertxkafkaSourceConnectorConfig public static final String CAMEL_SOURCE_VERTXKAFKA_COMPONENT_VALUE_DESERIALIZER_CONF = "camel.component.vertx-kafka.valueDeserializer"; public static final String CAMEL_SOURCE_VERTXKAFKA_COMPONENT_VALUE_DESERIALIZER_DOC = "Deserializer class for value that implements the org.apache.kafka.common.serialization.Deserializer interface."; public static final String CAMEL_SOURCE_VERTXKAFKA_COMPONENT_VALUE_DESERIALIZER_DEFAULT = "org.apache.kafka.common.serialization.StringDeserializer"; + public static final String CAMEL_SOURCE_VERTXKAFKA_COMPONENT_KAFKA_MANUAL_COMMIT_FACTORY_CONF = "camel.component.vertx-kafka.kafkaManualCommitFactory"; + public static final String CAMEL_SOURCE_VERTXKAFKA_COMPONENT_KAFKA_MANUAL_COMMIT_FACTORY_DOC = "Factory to use for creating org.apache.camel.component.vertx.kafka.offset.VertxKafkaManualCommit instances. This allows to plugin a custom factory to create custom org.apache.camel.component.vertx.kafka.offset.VertxKafkaManualCommit instances in case special logic is needed when doing manual commits that deviates from the default implementation that comes out of the box."; + public static final String CAMEL_SOURCE_VERTXKAFKA_COMPONENT_KAFKA_MANUAL_COMMIT_FACTORY_DEFAULT = null; public static final String CAMEL_SOURCE_VERTXKAFKA_COMPONENT_AUTOWIRED_ENABLED_CONF = "camel.component.vertx-kafka.autowiredEnabled"; public static final String CAMEL_SOURCE_VERTXKAFKA_COMPONENT_AUTOWIRED_ENABLED_DOC = "Whether autowiring is enabled. This is used for automatic autowiring options (the option must be marked as autowired) by looking up in the registry to find if there is a single instance of matching type, which then gets configured on the component. This can be used for automatic configuring JDBC data sources, JMS connection factories, AWS Clients, etc."; public static final Boolean CAMEL_SOURCE_VERTXKAFKA_COMPONENT_AUTOWIRED_ENABLED_DEFAULT = true; @@ -572,6 +581,7 @@ public class CamelVertxkafkaSourceConnectorConfig conf.define(CAMEL_SOURCE_VERTXKAFKA_ENDPOINT_SOCKET_CONNECTION_SETUP_TIMEOUT_MAX_MS_CONF, ConfigDef.Type.LONG, CAMEL_SOURCE_VERTXKAFKA_ENDPOINT_SOCKET_CONNECTION_SETUP_TIMEOUT_MAX_MS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_VERTXKAFKA_ENDPOINT_SOCKET_CONNECTION_SETUP_TIMEOUT_MAX_MS_DOC); conf.define(CAMEL_SOURCE_VERTXKAFKA_ENDPOINT_SOCKET_CONNECTION_SETUP_TIMEOUT_MS_CONF, ConfigDef.Type.LONG, CAMEL_SOURCE_VERTXKAFKA_ENDPOINT_SOCKET_CONNECTION_SETUP_TIMEOUT_MS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_VERTXKAFKA_ENDPOINT_SOCKET_CONNECTION_SETUP_TIMEOUT_MS_DOC); conf.define(CAMEL_SOURCE_VERTXKAFKA_ENDPOINT_ALLOW_AUTO_CREATE_TOPICS_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_VERTXKAFKA_ENDPOINT_ALLOW_AUTO_CREATE_TOPICS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_VERTXKAFKA_ENDPOINT_ALLOW_AUTO_CREATE_TOPICS_DOC); + conf.define(CAMEL_SOURCE_VERTXKAFKA_ENDPOINT_ALLOW_MANUAL_COMMIT_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_VERTXKAFKA_ENDPOINT_ALLOW_MANUAL_COMMIT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_VERTXKAFKA_ENDPOINT_ALLOW_MANUAL_COMMIT_DOC); conf.define(CAMEL_SOURCE_VERTXKAFKA_ENDPOINT_AUTO_COMMIT_INTERVAL_MS_CONF, ConfigDef.Type.INT, CAMEL_SOURCE_VERTXKAFKA_ENDPOINT_AUTO_COMMIT_INTERVAL_MS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_VERTXKAFKA_ENDPOINT_AUTO_COMMIT_INTERVAL_MS_DOC); conf.define(CAMEL_SOURCE_VERTXKAFKA_ENDPOINT_AUTO_OFFSET_RESET_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_VERTXKAFKA_ENDPOINT_AUTO_OFFSET_RESET_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_VERTXKAFKA_ENDPOINT_AUTO_OFFSET_RESET_DOC); conf.define(CAMEL_SOURCE_VERTXKAFKA_ENDPOINT_BRIDGE_ERROR_HANDLER_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_VERTXKAFKA_ENDPOINT_BRIDGE_ERROR_HANDLER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_VERTXKAFKA_ENDPOINT_BRIDGE_ERROR_HANDLER_DOC); @@ -656,6 +666,7 @@ public class CamelVertxkafkaSourceConnectorConfig conf.define(CAMEL_SOURCE_VERTXKAFKA_COMPONENT_SOCKET_CONNECTION_SETUP_TIMEOUT_MAX_MS_CONF, ConfigDef.Type.LONG, CAMEL_SOURCE_VERTXKAFKA_COMPONENT_SOCKET_CONNECTION_SETUP_TIMEOUT_MAX_MS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_VERTXKAFKA_COMPONENT_SOCKET_CONNECTION_SETUP_TIMEOUT_MAX_MS_DOC); conf.define(CAMEL_SOURCE_VERTXKAFKA_COMPONENT_SOCKET_CONNECTION_SETUP_TIMEOUT_MS_CONF, ConfigDef.Type.LONG, CAMEL_SOURCE_VERTXKAFKA_COMPONENT_SOCKET_CONNECTION_SETUP_TIMEOUT_MS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_VERTXKAFKA_COMPONENT_SOCKET_CONNECTION_SETUP_TIMEOUT_MS_DOC); conf.define(CAMEL_SOURCE_VERTXKAFKA_COMPONENT_ALLOW_AUTO_CREATE_TOPICS_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_VERTXKAFKA_COMPONENT_ALLOW_AUTO_CREATE_TOPICS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_VERTXKAFKA_COMPONENT_ALLOW_AUTO_CREATE_TOPICS_DOC); + conf.define(CAMEL_SOURCE_VERTXKAFKA_COMPONENT_ALLOW_MANUAL_COMMIT_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_VERTXKAFKA_COMPONENT_ALLOW_MANUAL_COMMIT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_VERTXKAFKA_COMPONENT_ALLOW_MANUAL_COMMIT_DOC); conf.define(CAMEL_SOURCE_VERTXKAFKA_COMPONENT_AUTO_COMMIT_INTERVAL_MS_CONF, ConfigDef.Type.INT, CAMEL_SOURCE_VERTXKAFKA_COMPONENT_AUTO_COMMIT_INTERVAL_MS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_VERTXKAFKA_COMPONENT_AUTO_COMMIT_INTERVAL_MS_DOC); conf.define(CAMEL_SOURCE_VERTXKAFKA_COMPONENT_AUTO_OFFSET_RESET_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_VERTXKAFKA_COMPONENT_AUTO_OFFSET_RESET_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_VERTXKAFKA_COMPONENT_AUTO_OFFSET_RESET_DOC); conf.define(CAMEL_SOURCE_VERTXKAFKA_COMPONENT_BRIDGE_ERROR_HANDLER_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_VERTXKAFKA_COMPONENT_BRIDGE_ERROR_HANDLER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_VERTXKAFKA_COMPONENT_BRIDGE_ERROR_HANDLER_DOC); @@ -680,6 +691,7 @@ public class CamelVertxkafkaSourceConnectorConfig conf.define(CAMEL_SOURCE_VERTXKAFKA_COMPONENT_SEEK_TO_POSITION_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_VERTXKAFKA_COMPONENT_SEEK_TO_POSITION_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_VERTXKAFKA_COMPONENT_SEEK_TO_POSITION_DOC); conf.define(CAMEL_SOURCE_VERTXKAFKA_COMPONENT_SESSION_TIMEOUT_MS_CONF, ConfigDef.Type.INT, CAMEL_SOURCE_VERTXKAFKA_COMPONENT_SESSION_TIMEOUT_MS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_VERTXKAFKA_COMPONENT_SESSION_TIMEOUT_MS_DOC); conf.define(CAMEL_SOURCE_VERTXKAFKA_COMPONENT_VALUE_DESERIALIZER_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_VERTXKAFKA_COMPONENT_VALUE_DESERIALIZER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_VERTXKAFKA_COMPONENT_VALUE_DESERIALIZER_DOC); + conf.define(CAMEL_SOURCE_VERTXKAFKA_COMPONENT_KAFKA_MANUAL_COMMIT_FACTORY_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_VERTXKAFKA_COMPONENT_KAFKA_MANUAL_COMMIT_FACTORY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_VERTXKAFKA_COMPONENT_KAFKA_MANUAL_COMMIT_FACTORY_DOC); conf.define(CAMEL_SOURCE_VERTXKAFKA_COMPONENT_AUTOWIRED_ENABLED_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_VERTXKAFKA_COMPONENT_AUTOWIRED_ENABLED_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_VERTXKAFKA_COMPONENT_AUTOWIRED_ENABLED_DOC); conf.define(CAMEL_SOURCE_VERTXKAFKA_COMPONENT_VERTX_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_VERTXKAFKA_COMPONENT_VERTX_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_VERTXKAFKA_COMPONENT_VERTX_DOC); conf.define(CAMEL_SOURCE_VERTXKAFKA_COMPONENT_VERTX_KAFKA_CLIENT_FACTORY_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_VERTXKAFKA_COMPONENT_VERTX_KAFKA_CLIENT_FACTORY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_VERTXKAFKA_COMPONENT_VERTX_KAFKA_CLIENT_FACTORY_DOC); diff --git a/connectors/pom.xml b/connectors/pom.xml index 1451463..a427325 100644 --- a/connectors/pom.xml +++ b/connectors/pom.xml @@ -213,6 +213,7 @@ <module>camel-atomix-set-kafka-connector</module> <module>camel-atomix-value-kafka-connector</module> <module>camel-avro-kafka-connector</module> + <module>camel-aws-secrets-manager-kafka-connector</module> <module>camel-aws2-athena-kafka-connector</module> <module>camel-aws2-cw-kafka-connector</module> <module>camel-aws2-ddb-kafka-connector</module> diff --git a/docs/modules/ROOT/nav.adoc b/docs/modules/ROOT/nav.adoc index dbaeb55..b416065 100644 --- a/docs/modules/ROOT/nav.adoc +++ b/docs/modules/ROOT/nav.adoc @@ -70,50 +70,8 @@ ** camel-avro-kafka-connector *** xref:connectors/camel-avro-kafka-source-connector.adoc[Source Docs] *** xref:connectors/camel-avro-kafka-sink-connector.adoc[Sink Docs] -** camel-aws-cw-kafka-connector -*** xref:connectors/camel-aws-cw-kafka-sink-connector.adoc[Sink Docs] -** camel-aws-ddb-kafka-connector -*** xref:connectors/camel-aws-ddb-kafka-sink-connector.adoc[Sink Docs] -** camel-aws-ddbstream-kafka-connector -*** xref:connectors/camel-aws-ddbstream-kafka-source-connector.adoc[Source Docs] -** camel-aws-ec2-kafka-connector -*** xref:connectors/camel-aws-ec2-kafka-sink-connector.adoc[Sink Docs] -** camel-aws-ecs-kafka-connector -*** xref:connectors/camel-aws-ecs-kafka-sink-connector.adoc[Sink Docs] -** camel-aws-eks-kafka-connector -*** xref:connectors/camel-aws-eks-kafka-sink-connector.adoc[Sink Docs] -** camel-aws-iam-kafka-connector -*** xref:connectors/camel-aws-iam-kafka-sink-connector.adoc[Sink Docs] -** camel-aws-kinesis-firehose-kafka-connector -*** xref:connectors/camel-aws-kinesis-firehose-kafka-sink-connector.adoc[Sink Docs] -** camel-aws-kinesis-kafka-connector -*** xref:connectors/camel-aws-kinesis-kafka-source-connector.adoc[Source Docs] -*** xref:connectors/camel-aws-kinesis-kafka-sink-connector.adoc[Sink Docs] -** camel-aws-kms-kafka-connector -*** xref:connectors/camel-aws-kms-kafka-sink-connector.adoc[Sink Docs] -** camel-aws-lambda-kafka-connector -*** xref:connectors/camel-aws-lambda-kafka-sink-connector.adoc[Sink Docs] -** camel-aws-mq-kafka-connector -*** xref:connectors/camel-aws-mq-kafka-sink-connector.adoc[Sink Docs] -** camel-aws-msk-kafka-connector -*** xref:connectors/camel-aws-msk-kafka-sink-connector.adoc[Sink Docs] -** camel-aws-s3-kafka-connector -*** xref:connectors/camel-aws-s3-kafka-source-connector.adoc[Source Docs] -*** xref:connectors/camel-aws-s3-kafka-sink-connector.adoc[Sink Docs] -** camel-aws-sdb-kafka-connector -*** xref:connectors/camel-aws-sdb-kafka-sink-connector.adoc[Sink Docs] -** camel-aws-ses-kafka-connector -*** xref:connectors/camel-aws-ses-kafka-sink-connector.adoc[Sink Docs] -** camel-aws-sns-kafka-connector -*** xref:connectors/camel-aws-sns-kafka-sink-connector.adoc[Sink Docs] -** camel-aws-sqs-kafka-connector -*** xref:connectors/camel-aws-sqs-kafka-source-connector.adoc[Source Docs] -*** xref:connectors/camel-aws-sqs-kafka-sink-connector.adoc[Sink Docs] -** camel-aws-swf-kafka-connector -*** xref:connectors/camel-aws-swf-kafka-source-connector.adoc[Source Docs] -*** xref:connectors/camel-aws-swf-kafka-sink-connector.adoc[Sink Docs] -** camel-aws-translate-kafka-connector -*** xref:connectors/camel-aws-translate-kafka-sink-connector.adoc[Sink Docs] +** camel-aws-secrets-manager-kafka-connector +*** xref:connectors/camel-aws-secrets-manager-kafka-sink-connector.adoc[Sink Docs] ** camel-aws2-athena-kafka-connector *** xref:connectors/camel-aws2-athena-kafka-sink-connector.adoc[Sink Docs] ** camel-aws2-cw-kafka-connector @@ -159,15 +117,9 @@ *** xref:connectors/camel-aws2-sts-kafka-sink-connector.adoc[Sink Docs] ** camel-aws2-translate-kafka-connector *** xref:connectors/camel-aws2-translate-kafka-sink-connector.adoc[Sink Docs] -** camel-azure-blob-kafka-connector -*** xref:connectors/camel-azure-blob-kafka-source-connector.adoc[Source Docs] -*** xref:connectors/camel-azure-blob-kafka-sink-connector.adoc[Sink Docs] ** camel-azure-eventhubs-kafka-connector *** xref:connectors/camel-azure-eventhubs-kafka-source-connector.adoc[Source Docs] *** xref:connectors/camel-azure-eventhubs-kafka-sink-connector.adoc[Sink Docs] -** camel-azure-queue-kafka-connector -*** xref:connectors/camel-azure-queue-kafka-source-connector.adoc[Source Docs] -*** xref:connectors/camel-azure-queue-kafka-sink-connector.adoc[Sink Docs] ** camel-azure-storage-blob-kafka-connector *** xref:connectors/camel-azure-storage-blob-kafka-source-connector.adoc[Source Docs] *** xref:connectors/camel-azure-storage-blob-kafka-sink-connector.adoc[Sink Docs] diff --git a/docs/modules/ROOT/pages/connectors.adoc b/docs/modules/ROOT/pages/connectors.adoc index 2e11eaf..33b43fc 100644 --- a/docs/modules/ROOT/pages/connectors.adoc +++ b/docs/modules/ROOT/pages/connectors.adoc @@ -2,7 +2,7 @@ = Supported connectors and documentation // kafka-connectors list: START -Number of Camel Kafka connectors: 357 +Number of Camel Kafka connectors: 336 [width="100%",cols="4,1,1,1,1,1",options="header"] |=== @@ -27,26 +27,7 @@ Number of Camel Kafka connectors: 357 | *camel-atomix-set-kafka-connector* | true | true | xref:connectors/camel-atomix-set-kafka-sink-connector.adoc[Sink Docs] | xref:connectors/camel-atomix-set-kafka-source-connector.adoc[Source Docs] | https://repo.maven.apache.org/maven2/org/apache/camel/kafkaconnector/camel-atomix-set-kafka-connector/0.7.2/camel-atomix-set-kafka-connector-0.7.2-package.tar.gz[Download] | *camel-atomix-value-kafka-connector* | true | true | xref:connectors/camel-atomix-value-kafka-sink-connector.adoc[Sink Docs] | xref:connectors/camel-atomix-value-kafka-source-connector.adoc[Source Docs] | https://repo.maven.apache.org/maven2/org/apache/camel/kafkaconnector/camel-atomix-value-kafka-connector/0.7.2/camel-atomix-value-kafka-connector-0.7.2-package.tar.gz[Download] | *camel-avro-kafka-connector* | true | true | xref:connectors/camel-avro-kafka-sink-connector.adoc[Sink Docs] | xref:connectors/camel-avro-kafka-source-connector.adoc[Source Docs] | https://repo.maven.apache.org/maven2/org/apache/camel/kafkaconnector/camel-avro-kafka-connector/0.7.2/camel-avro-kafka-connector-0.7.2-package.tar.gz[Download] -| *camel-aws-cw-kafka-connector* | true | false | xref:connectors/camel-aws-cw-kafka-sink-connector.adoc[Sink Docs] | | https://repo.maven.apache.org/maven2/org/apache/camel/kafkaconnector/camel-aws-cw-kafka-connector/0.7.2/camel-aws-cw-kafka-connector-0.7.2-package.tar.gz[Download] -| *camel-aws-ddb-kafka-connector* | true | false | xref:connectors/camel-aws-ddb-kafka-sink-connector.adoc[Sink Docs] | | https://repo.maven.apache.org/maven2/org/apache/camel/kafkaconnector/camel-aws-ddb-kafka-connector/0.7.2/camel-aws-ddb-kafka-connector-0.7.2-package.tar.gz[Download] -| *camel-aws-ddbstream-kafka-connector* | false | true | | xref:connectors/camel-aws-ddbstream-kafka-source-connector.adoc[Source Docs] | https://repo.maven.apache.org/maven2/org/apache/camel/kafkaconnector/camel-aws-ddbstream-kafka-connector/0.7.2/camel-aws-ddbstream-kafka-connector-0.7.2-package.tar.gz[Download] -| *camel-aws-ec2-kafka-connector* | true | false | xref:connectors/camel-aws-ec2-kafka-sink-connector.adoc[Sink Docs] | | https://repo.maven.apache.org/maven2/org/apache/camel/kafkaconnector/camel-aws-ec2-kafka-connector/0.7.2/camel-aws-ec2-kafka-connector-0.7.2-package.tar.gz[Download] -| *camel-aws-ecs-kafka-connector* | true | false | xref:connectors/camel-aws-ecs-kafka-sink-connector.adoc[Sink Docs] | | https://repo.maven.apache.org/maven2/org/apache/camel/kafkaconnector/camel-aws-ecs-kafka-connector/0.7.2/camel-aws-ecs-kafka-connector-0.7.2-package.tar.gz[Download] -| *camel-aws-eks-kafka-connector* | true | false | xref:connectors/camel-aws-eks-kafka-sink-connector.adoc[Sink Docs] | | https://repo.maven.apache.org/maven2/org/apache/camel/kafkaconnector/camel-aws-eks-kafka-connector/0.7.2/camel-aws-eks-kafka-connector-0.7.2-package.tar.gz[Download] -| *camel-aws-iam-kafka-connector* | true | false | xref:connectors/camel-aws-iam-kafka-sink-connector.adoc[Sink Docs] | | https://repo.maven.apache.org/maven2/org/apache/camel/kafkaconnector/camel-aws-iam-kafka-connector/0.7.2/camel-aws-iam-kafka-connector-0.7.2-package.tar.gz[Download] -| *camel-aws-kinesis-firehose-kafka-connector* | true | false | xref:connectors/camel-aws-kinesis-firehose-kafka-sink-connector.adoc[Sink Docs] | | https://repo.maven.apache.org/maven2/org/apache/camel/kafkaconnector/camel-aws-kinesis-firehose-kafka-connector/0.7.2/camel-aws-kinesis-firehose-kafka-connector-0.7.2-package.tar.gz[Download] -| *camel-aws-kinesis-kafka-connector* | true | true | xref:connectors/camel-aws-kinesis-kafka-sink-connector.adoc[Sink Docs] | xref:connectors/camel-aws-kinesis-kafka-source-connector.adoc[Source Docs] | https://repo.maven.apache.org/maven2/org/apache/camel/kafkaconnector/camel-aws-kinesis-kafka-connector/0.7.2/camel-aws-kinesis-kafka-connector-0.7.2-package.tar.gz[Download] -| *camel-aws-kms-kafka-connector* | true | false | xref:connectors/camel-aws-kms-kafka-sink-connector.adoc[Sink Docs] | | https://repo.maven.apache.org/maven2/org/apache/camel/kafkaconnector/camel-aws-kms-kafka-connector/0.7.2/camel-aws-kms-kafka-connector-0.7.2-package.tar.gz[Download] -| *camel-aws-lambda-kafka-connector* | true | false | xref:connectors/camel-aws-lambda-kafka-sink-connector.adoc[Sink Docs] | | https://repo.maven.apache.org/maven2/org/apache/camel/kafkaconnector/camel-aws-lambda-kafka-connector/0.7.2/camel-aws-lambda-kafka-connector-0.7.2-package.tar.gz[Download] -| *camel-aws-mq-kafka-connector* | true | false | xref:connectors/camel-aws-mq-kafka-sink-connector.adoc[Sink Docs] | | https://repo.maven.apache.org/maven2/org/apache/camel/kafkaconnector/camel-aws-mq-kafka-connector/0.7.2/camel-aws-mq-kafka-connector-0.7.2-package.tar.gz[Download] -| *camel-aws-msk-kafka-connector* | true | false | xref:connectors/camel-aws-msk-kafka-sink-connector.adoc[Sink Docs] | | https://repo.maven.apache.org/maven2/org/apache/camel/kafkaconnector/camel-aws-msk-kafka-connector/0.7.2/camel-aws-msk-kafka-connector-0.7.2-package.tar.gz[Download] -| *camel-aws-s3-kafka-connector* | true | true | xref:connectors/camel-aws-s3-kafka-sink-connector.adoc[Sink Docs] | xref:connectors/camel-aws-s3-kafka-source-connector.adoc[Source Docs] | https://repo.maven.apache.org/maven2/org/apache/camel/kafkaconnector/camel-aws-s3-kafka-connector/0.7.2/camel-aws-s3-kafka-connector-0.7.2-package.tar.gz[Download] -| *camel-aws-sdb-kafka-connector* | true | false | xref:connectors/camel-aws-sdb-kafka-sink-connector.adoc[Sink Docs] | | https://repo.maven.apache.org/maven2/org/apache/camel/kafkaconnector/camel-aws-sdb-kafka-connector/0.7.2/camel-aws-sdb-kafka-connector-0.7.2-package.tar.gz[Download] -| *camel-aws-ses-kafka-connector* | true | false | xref:connectors/camel-aws-ses-kafka-sink-connector.adoc[Sink Docs] | | https://repo.maven.apache.org/maven2/org/apache/camel/kafkaconnector/camel-aws-ses-kafka-connector/0.7.2/camel-aws-ses-kafka-connector-0.7.2-package.tar.gz[Download] -| *camel-aws-sns-kafka-connector* | true | false | xref:connectors/camel-aws-sns-kafka-sink-connector.adoc[Sink Docs] | | https://repo.maven.apache.org/maven2/org/apache/camel/kafkaconnector/camel-aws-sns-kafka-connector/0.7.2/camel-aws-sns-kafka-connector-0.7.2-package.tar.gz[Download] -| *camel-aws-sqs-kafka-connector* | true | true | xref:connectors/camel-aws-sqs-kafka-sink-connector.adoc[Sink Docs] | xref:connectors/camel-aws-sqs-kafka-source-connector.adoc[Source Docs] | https://repo.maven.apache.org/maven2/org/apache/camel/kafkaconnector/camel-aws-sqs-kafka-connector/0.7.2/camel-aws-sqs-kafka-connector-0.7.2-package.tar.gz[Download] -| *camel-aws-swf-kafka-connector* | true | true | xref:connectors/camel-aws-swf-kafka-sink-connector.adoc[Sink Docs] | xref:connectors/camel-aws-swf-kafka-source-connector.adoc[Source Docs] | https://repo.maven.apache.org/maven2/org/apache/camel/kafkaconnector/camel-aws-swf-kafka-connector/0.7.2/camel-aws-swf-kafka-connector-0.7.2-package.tar.gz[Download] -| *camel-aws-translate-kafka-connector* | true | false | xref:connectors/camel-aws-translate-kafka-sink-connector.adoc[Sink Docs] | | https://repo.maven.apache.org/maven2/org/apache/camel/kafkaconnector/camel-aws-translate-kafka-connector/0.7.2/camel-aws-translate-kafka-connector-0.7.2-package.tar.gz[Download] +| *camel-aws-secrets-manager-kafka-connector* | true | false | xref:connectors/camel-aws-secrets-manager-kafka-sink-connector.adoc[Sink Docs] | | https://repo.maven.apache.org/maven2/org/apache/camel/kafkaconnector/camel-aws-secrets-manager-kafka-connector/0.7.2/camel-aws-secrets-manager-kafka-connector-0.7.2-package.tar.gz[Download] | *camel-aws2-athena-kafka-connector* | true | false | xref:connectors/camel-aws2-athena-kafka-sink-connector.adoc[Sink Docs] | | https://repo.maven.apache.org/maven2/org/apache/camel/kafkaconnector/camel-aws2-athena-kafka-connector/0.7.2/camel-aws2-athena-kafka-connector-0.7.2-package.tar.gz[Download] | *camel-aws2-cw-kafka-connector* | true | false | xref:connectors/camel-aws2-cw-kafka-sink-connector.adoc[Sink Docs] | | https://repo.maven.apache.org/maven2/org/apache/camel/kafkaconnector/camel-aws2-cw-kafka-connector/0.7.2/camel-aws2-cw-kafka-connector-0.7.2-package.tar.gz[Download] | *camel-aws2-ddb-kafka-connector* | true | false | xref:connectors/camel-aws2-ddb-kafka-sink-connector.adoc[Sink Docs] | | https://repo.maven.apache.org/maven2/org/apache/camel/kafkaconnector/camel-aws2-ddb-kafka-connector/0.7.2/camel-aws2-ddb-kafka-connector-0.7.2-package.tar.gz[Download] @@ -68,9 +49,7 @@ Number of Camel Kafka connectors: 357 | *camel-aws2-sqs-kafka-connector* | true | true | xref:connectors/camel-aws2-sqs-kafka-sink-connector.adoc[Sink Docs] | xref:connectors/camel-aws2-sqs-kafka-source-connector.adoc[Source Docs] | https://repo.maven.apache.org/maven2/org/apache/camel/kafkaconnector/camel-aws2-sqs-kafka-connector/0.7.2/camel-aws2-sqs-kafka-connector-0.7.2-package.tar.gz[Download] | *camel-aws2-sts-kafka-connector* | true | false | xref:connectors/camel-aws2-sts-kafka-sink-connector.adoc[Sink Docs] | | https://repo.maven.apache.org/maven2/org/apache/camel/kafkaconnector/camel-aws2-sts-kafka-connector/0.7.2/camel-aws2-sts-kafka-connector-0.7.2-package.tar.gz[Download] | *camel-aws2-translate-kafka-connector* | true | false | xref:connectors/camel-aws2-translate-kafka-sink-connector.adoc[Sink Docs] | | https://repo.maven.apache.org/maven2/org/apache/camel/kafkaconnector/camel-aws2-translate-kafka-connector/0.7.2/camel-aws2-translate-kafka-connector-0.7.2-package.tar.gz[Download] -| *camel-azure-blob-kafka-connector* | true | true | xref:connectors/camel-azure-blob-kafka-sink-connector.adoc[Sink Docs] | xref:connectors/camel-azure-blob-kafka-source-connector.adoc[Source Docs] | https://repo.maven.apache.org/maven2/org/apache/camel/kafkaconnector/camel-azure-blob-kafka-connector/0.7.2/camel-azure-blob-kafka-connector-0.7.2-package.tar.gz[Download] | *camel-azure-eventhubs-kafka-connector* | true | true | xref:connectors/camel-azure-eventhubs-kafka-sink-connector.adoc[Sink Docs] | xref:connectors/camel-azure-eventhubs-kafka-source-connector.adoc[Source Docs] | https://repo.maven.apache.org/maven2/org/apache/camel/kafkaconnector/camel-azure-eventhubs-kafka-connector/0.7.2/camel-azure-eventhubs-kafka-connector-0.7.2-package.tar.gz[Download] -| *camel-azure-queue-kafka-connector* | true | true | xref:connectors/camel-azure-queue-kafka-sink-connector.adoc[Sink Docs] | xref:connectors/camel-azure-queue-kafka-source-connector.adoc[Source Docs] | https://repo.maven.apache.org/maven2/org/apache/camel/kafkaconnector/camel-azure-queue-kafka-connector/0.7.2/camel-azure-queue-kafka-connector-0.7.2-package.tar.gz[Download] | *camel-azure-storage-blob-kafka-connector* | true | true | xref:connectors/camel-azure-storage-blob-kafka-sink-connector.adoc[Sink Docs] | xref:connectors/camel-azure-storage-blob-kafka-source-connector.adoc[Source Docs] | https://repo.maven.apache.org/maven2/org/apache/camel/kafkaconnector/camel-azure-storage-blob-kafka-connector/0.7.2/camel-azure-storage-blob-kafka-connector-0.7.2-package.tar.gz[Download] | *camel-azure-storage-datalake-kafka-connector* | true | true | xref:connectors/camel-azure-storage-datalake-kafka-sink-connector.adoc[Sink Docs] | xref:connectors/camel-azure-storage-datalake-kafka-source-connector.adoc[Source Docs] | https://repo.maven.apache.org/maven2/org/apache/camel/kafkaconnector/camel-azure-storage-datalake-kafka-connector/0.7.2/camel-azure-storage-datalake-kafka-connector-0.7.2-package.tar.gz[Download] | *camel-azure-storage-queue-kafka-connector* | true | true | xref:connectors/camel-azure-storage-queue-kafka-sink-connector.adoc[Sink Docs] | xref:connectors/camel-azure-storage-queue-kafka-source-connector.adoc[Source Docs] | https://repo.maven.apache.org/maven2/org/apache/camel/kafkaconnector/camel-azure-storage-queue-kafka-connector/0.7.2/camel-azure-storage-queue-kafka-connector-0.7.2-package.tar.gz[Download] diff --git a/docs/modules/ROOT/pages/connectors/camel-aws-secrets-manager-kafka-sink-connector.adoc b/docs/modules/ROOT/pages/connectors/camel-aws-secrets-manager-kafka-sink-connector.adoc new file mode 100644 index 0000000..55d400c --- /dev/null +++ b/docs/modules/ROOT/pages/connectors/camel-aws-secrets-manager-kafka-sink-connector.adoc @@ -0,0 +1,84 @@ +// kafka-connector options: START +[[camel-aws-secrets-manager-kafka-connector-sink]] += camel-aws-secrets-manager-kafka-connector sink configuration + +Connector Description: Manage AWS Secrets Manager services using AWS SDK version 2.x. + +When using camel-aws-secrets-manager-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-aws-secrets-manager-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.awssecretsmanager.CamelAwssecretsmanagerSinkConnector +---- + + +The camel-aws-secrets-manager sink connector supports 29 options, which are listed below. + + + +[width="100%",cols="2,5,^1,1,1",options="header"] +|=== +| Name | Description | Default | Required | Priority +| *camel.sink.path.label* | Logical name | null | true | HIGH +| *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.operation* | The operation to perform One of: [listSecrets] | null | true | HIGH +| *camel.sink.endpoint.overrideEndpoint* | Set the need for overidding the endpoint. This option needs to be used in combination with uriEndpointOverride option | false | false | MEDIUM +| *camel.sink.endpoint.pojoRequest* | If we want to use a POJO request as body or not | false | false | MEDIUM +| *camel.sink.endpoint.proxyHost* | To define a proxy host when instantiating the Secrets Manager client | null | false | MEDIUM +| *camel.sink.endpoint.proxyPort* | To define a proxy port when instantiating the Secrets Manager client | null | false | MEDIUM +| *camel.sink.endpoint.proxyProtocol* | To define a proxy protocol when instantiating the Secrets Manager client One of: [HTTP] [HTTPS] | "HTTPS" | false | MEDIUM +| *camel.sink.endpoint.region* | The region in which Secrets Manager client needs to work. When using this parameter, the configuration will expect the lowercase name of the region (for example ap-east-1) You'll need to use the name Region.EU_WEST_1.id() | null | false | MEDIUM +| *camel.sink.endpoint.secretsManagerClient* | To use a existing configured AWS Secrets Manager as client | null | false | MEDIUM +| *camel.sink.endpoint.trustAllCertificates* | If we want to trust all certificates in case of overriding the endpoint | false | false | MEDIUM +| *camel.sink.endpoint.uriEndpointOverride* | Set the overriding uri endpoint. This option needs to be used in combination with overrideEndpoint option | null | false | MEDIUM +| *camel.sink.endpoint.accessKey* | Amazon AWS Access Key | null | false | MEDIUM +| *camel.sink.endpoint.secretKey* | Amazon AWS Secret Key | null | false | MEDIUM +| *camel.component.aws-secrets-manager.configuration* | Component configuration | null | false | MEDIUM +| *camel.component.aws-secrets-manager.lazyStart Producer* | 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 p [...] +| *camel.component.aws-secrets-manager.operation* | The operation to perform One of: [listSecrets] | null | true | HIGH +| *camel.component.aws-secrets-manager.override Endpoint* | Set the need for overidding the endpoint. This option needs to be used in combination with uriEndpointOverride option | false | false | MEDIUM +| *camel.component.aws-secrets-manager.pojoRequest* | If we want to use a POJO request as body or not | false | false | MEDIUM +| *camel.component.aws-secrets-manager.proxyHost* | To define a proxy host when instantiating the Secrets Manager client | null | false | MEDIUM +| *camel.component.aws-secrets-manager.proxyPort* | To define a proxy port when instantiating the Secrets Manager client | null | false | MEDIUM +| *camel.component.aws-secrets-manager.proxyProtocol* | To define a proxy protocol when instantiating the Secrets Manager client One of: [HTTP] [HTTPS] | "HTTPS" | false | MEDIUM +| *camel.component.aws-secrets-manager.region* | The region in which Secrets Manager client needs to work. When using this parameter, the configuration will expect the lowercase name of the region (for example ap-east-1) You'll need to use the name Region.EU_WEST_1.id() | null | false | MEDIUM +| *camel.component.aws-secrets-manager.secretsManager Client* | To use a existing configured AWS Secrets Manager as client | null | false | MEDIUM +| *camel.component.aws-secrets-manager.trustAll Certificates* | If we want to trust all certificates in case of overriding the endpoint | false | false | MEDIUM +| *camel.component.aws-secrets-manager.uriEndpoint Override* | Set the overriding uri endpoint. This option needs to be used in combination with overrideEndpoint option | null | false | MEDIUM +| *camel.component.aws-secrets-manager.autowired Enabled* | Whether autowiring is enabled. This is used for automatic autowiring options (the option must be marked as autowired) by looking up in the registry to find if there is a single instance of matching type, which then gets configured on the component. This can be used for automatic configuring JDBC data sources, JMS connection factories, AWS Clients, etc. | true | false | MEDIUM +| *camel.component.aws-secrets-manager.accessKey* | Amazon AWS Access Key | null | false | MEDIUM +| *camel.component.aws-secrets-manager.secretKey* | Amazon AWS Secret Key | null | false | MEDIUM +|=== + + + +The camel-aws-secrets-manager sink connector has no converters out of the box. + + + + + +The camel-aws-secrets-manager sink connector has no transforms out of the box. + + + + + +The camel-aws-secrets-manager sink connector has no aggregation strategies out of the box. + + + + +// kafka-connector options: END diff --git a/docs/modules/ROOT/pages/connectors/camel-google-mail-stream-kafka-source-connector.adoc b/docs/modules/ROOT/pages/connectors/camel-google-mail-stream-kafka-source-connector.adoc index ecad553..fe3d5df 100644 --- a/docs/modules/ROOT/pages/connectors/camel-google-mail-stream-kafka-source-connector.adoc +++ b/docs/modules/ROOT/pages/connectors/camel-google-mail-stream-kafka-source-connector.adoc @@ -36,7 +36,7 @@ The camel-google-mail-stream source connector supports 42 options, which are lis | *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 | false | MEDIUM | *camel.source.endpoint.clientId* | Client ID of the mail application | null | false | MEDIUM | *camel.source.endpoint.labels* | Comma separated list of labels to take into account | null | false | MEDIUM -| *camel.source.endpoint.markAsRead* | Mark the message as read once it has been consumed | false | false | MEDIUM +| *camel.source.endpoint.markAsRead* | Mark the message as read once it has been consumed | true | false | MEDIUM | *camel.source.endpoint.maxResults* | Max results to be returned | 10L | false | MEDIUM | *camel.source.endpoint.query* | The query to execute on gmail box | "is:unread" | false | MEDIUM | *camel.source.endpoint.sendEmptyMessageWhenIdle* | If the polling consumer did not poll any files, you can enable this option to send an empty message (no body) instead. | false | false | MEDIUM @@ -64,7 +64,7 @@ The camel-google-mail-stream source connector supports 42 options, which are lis | *camel.component.google-mail-stream.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 | false | MEDIUM | *camel.component.google-mail-stream.clientId* | Client ID of the mail application | null | false | MEDIUM | *camel.component.google-mail-stream.labels* | Comma separated list of labels to take into account | null | false | MEDIUM -| *camel.component.google-mail-stream.markAsRead* | Mark the message as read once it has been consumed | false | false | MEDIUM +| *camel.component.google-mail-stream.markAsRead* | Mark the message as read once it has been consumed | true | false | MEDIUM | *camel.component.google-mail-stream.maxResults* | Max results to be returned | 10L | false | MEDIUM | *camel.component.google-mail-stream.query* | The query to execute on gmail box | "is:unread" | false | MEDIUM | *camel.component.google-mail-stream.autowired Enabled* | Whether autowiring is enabled. This is used for automatic autowiring options (the option must be marked as autowired) by looking up in the registry to find if there is a single instance of matching type, which then gets configured on the component. This can be used for automatic configuring JDBC data sources, JMS connection factories, AWS Clients, etc. | true | false | MEDIUM diff --git a/docs/modules/ROOT/pages/connectors/camel-vertx-kafka-kafka-source-connector.adoc b/docs/modules/ROOT/pages/connectors/camel-vertx-kafka-kafka-source-connector.adoc index b12a000..cba0535 100644 --- a/docs/modules/ROOT/pages/connectors/camel-vertx-kafka-kafka-source-connector.adoc +++ b/docs/modules/ROOT/pages/connectors/camel-vertx-kafka-kafka-source-connector.adoc @@ -24,7 +24,7 @@ connector.class=org.apache.camel.kafkaconnector.vertxkafka.CamelVertxkafkaSource ---- -The camel-vertx-kafka source connector supports 170 options, which are listed below. +The camel-vertx-kafka source connector supports 173 options, which are listed below. @@ -54,6 +54,7 @@ The camel-vertx-kafka source connector supports 170 options, which are listed be | *camel.source.endpoint.socketConnectionSetupTimeout MaxMs* | The maximum amount of time the client will wait for the socket connection to be established. The connection setup timeout will increase exponentially for each consecutive connection failure up to this maximum. To avoid connection storms, a randomization factor of 0.2 will be applied to the timeout resulting in a random range between 20% below and 20% above the computed value. | 127000L | false | MEDIUM | *camel.source.endpoint.socketConnectionSetupTimeout Ms* | The amount of time the client will wait for the socket connection to be established. If the connection is not built before the timeout elapses, clients will close the socket channel. | 10000L | false | MEDIUM | *camel.source.endpoint.allowAutoCreateTopics* | Allow automatic topic creation on the broker when subscribing to or assigning a topic. A topic being subscribed to will be automatically created only if the broker allows for it using auto.create.topics.enable broker configuration. This configuration must be set to false when using brokers older than 0.11.0 | true | false | MEDIUM +| *camel.source.endpoint.allowManualCommit* | Whether to allow doing manual commits via org.apache.camel.component.vertx.kafka.offset.VertxKafkaManualCommit. If this option is enabled then an instance of org.apache.camel.component.vertx.kafka.offset.VertxKafkaManualCommit is stored on the Exchange message header, which allows end users to access this API and perform manual offset commits via the Kafka consumer. Note: To take full control of the offset committing, you may need to disable [...] | *camel.source.endpoint.autoCommitIntervalMs* | The frequency in milliseconds that the consumer offsets are auto-committed to Kafka if enable.auto.commit is set to true. | 5000 | false | MEDIUM | *camel.source.endpoint.autoOffsetReset* | What to do when there is no initial offset in Kafka or if the current offset does not exist any more on the server (e.g. because that data has been deleted): earliest: automatically reset the offset to the earliest offsetlatest: automatically reset the offset to the latest offsetnone: throw exception to the consumer if no previous offset is found for the consumer's groupanything else: throw exception to the consumer. One of: [latest] [earliest] [...] | *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 | false | MEDIUM @@ -138,6 +139,7 @@ The camel-vertx-kafka source connector supports 170 options, which are listed be | *camel.component.vertx-kafka.socketConnectionSetup TimeoutMaxMs* | The maximum amount of time the client will wait for the socket connection to be established. The connection setup timeout will increase exponentially for each consecutive connection failure up to this maximum. To avoid connection storms, a randomization factor of 0.2 will be applied to the timeout resulting in a random range between 20% below and 20% above the computed value. | 127000L | false | MEDIUM | *camel.component.vertx-kafka.socketConnectionSetup TimeoutMs* | The amount of time the client will wait for the socket connection to be established. If the connection is not built before the timeout elapses, clients will close the socket channel. | 10000L | false | MEDIUM | *camel.component.vertx-kafka.allowAutoCreateTopics* | Allow automatic topic creation on the broker when subscribing to or assigning a topic. A topic being subscribed to will be automatically created only if the broker allows for it using auto.create.topics.enable broker configuration. This configuration must be set to false when using brokers older than 0.11.0 | true | false | MEDIUM +| *camel.component.vertx-kafka.allowManualCommit* | Whether to allow doing manual commits via org.apache.camel.component.vertx.kafka.offset.VertxKafkaManualCommit. If this option is enabled then an instance of org.apache.camel.component.vertx.kafka.offset.VertxKafkaManualCommit is stored on the Exchange message header, which allows end users to access this API and perform manual offset commits via the Kafka consumer. Note: To take full control of the offset committing, you may need to di [...] | *camel.component.vertx-kafka.autoCommitIntervalMs* | The frequency in milliseconds that the consumer offsets are auto-committed to Kafka if enable.auto.commit is set to true. | 5000 | false | MEDIUM | *camel.component.vertx-kafka.autoOffsetReset* | What to do when there is no initial offset in Kafka or if the current offset does not exist any more on the server (e.g. because that data has been deleted): earliest: automatically reset the offset to the earliest offsetlatest: automatically reset the offset to the latest offsetnone: throw exception to the consumer if no previous offset is found for the consumer's groupanything else: throw exception to the consumer. One of: [latest] [ear [...] | *camel.component.vertx-kafka.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 | false | MEDIUM @@ -162,6 +164,7 @@ The camel-vertx-kafka source connector supports 170 options, which are listed be | *camel.component.vertx-kafka.seekToPosition* | Set if KafkaConsumer will read from beginning or end on startup: beginning : read from beginning end : read from end. One of: [beginning] [end] | null | false | MEDIUM | *camel.component.vertx-kafka.sessionTimeoutMs* | The timeout used to detect client failures when using Kafka's group management facility. The client sends periodic heartbeats to indicate its liveness to the broker. If no heartbeats are received by the broker before the expiration of this session timeout, then the broker will remove this client from the group and initiate a rebalance. Note that the value must be in the allowable range as configured in the broker configuration by group.m [...] | *camel.component.vertx-kafka.valueDeserializer* | Deserializer class for value that implements the org.apache.kafka.common.serialization.Deserializer interface. | "org.apache.kafka.common.serialization.StringDeserializer" | false | MEDIUM +| *camel.component.vertx-kafka.kafkaManualCommit Factory* | Factory to use for creating org.apache.camel.component.vertx.kafka.offset.VertxKafkaManualCommit instances. This allows to plugin a custom factory to create custom org.apache.camel.component.vertx.kafka.offset.VertxKafkaManualCommit instances in case special logic is needed when doing manual commits that deviates from the default implementation that comes out of the box. | null | false | MEDIUM | *camel.component.vertx-kafka.autowiredEnabled* | Whether autowiring is enabled. This is used for automatic autowiring options (the option must be marked as autowired) by looking up in the registry to find if there is a single instance of matching type, which then gets configured on the component. This can be used for automatic configuring JDBC data sources, JMS connection factories, AWS Clients, etc. | true | false | MEDIUM | *camel.component.vertx-kafka.vertx* | To use an existing vertx instead of creating a new instance | null | false | MEDIUM | *camel.component.vertx-kafka.vertxKafkaClient Factory* | Factory to use for creating io.vertx.kafka.client.consumer.KafkaConsumer and io.vertx.kafka.client.consumer.KafkaProducer instances. This allows to configure a custom factory to create custom KafkaConsumer and KafkaProducer instances with logic that extends the vanilla VertX Kafka clients. | null | false | MEDIUM