You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by va...@apache.org on 2021/10/30 15:24:32 UTC
[camel-kafka-connector] 02/04: chore: regen.
This is an automated email from the ASF dual-hosted git repository.
valdar pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-kafka-connector.git
commit 9355af975db89e528129c34228156e4d5605b474
Author: Andrea Tarocchi <an...@gmail.com>
AuthorDate: Thu Oct 28 00:14:55 2021 +0200
chore: regen.
---
.../resources/connectors/camel-activemq-sink.json | 8 +-
.../connectors/camel-activemq-source.json | 8 +-
.../resources/connectors/camel-amqp-sink.json | 8 +-
.../resources/connectors/camel-amqp-source.json | 8 +-
.../resources/connectors/camel-as2-sink.json | 6 +
.../resources/connectors/camel-as2-source.json | 6 +
.../connectors/camel-aws-secrets-manager-sink.json | 6 +-
.../connectors/camel-aws2-ddbstream-source.json | 54 ++--
.../resources/connectors/camel-file-source.json | 2 +-
.../resources/connectors/camel-ftps-source.json | 2 +-
.../connectors/camel-google-pubsub-sink.json | 44 +---
.../connectors/camel-google-pubsub-source.json | 56 +++--
.../camel-google-sheets-stream-source.json | 18 +-
.../resources/connectors/camel-graphql-sink.json | 12 +
.../resources/connectors/camel-https-sink.json | 22 +-
.../camel-hwcloud-functiongraph-sink.json | 8 +-
.../connectors/camel-hwcloud-iam-sink.json | 8 +-
.../connectors/camel-hwcloud-smn-sink.json | 8 +-
.../resources/connectors/camel-influxdb-sink.json | 14 ++
.../connectors/camel-json-validator-sink.json | 6 +-
.../resources/connectors/camel-log-sink.json | 9 +-
.../resources/connectors/camel-netty-sink.json | 2 +-
.../resources/connectors/camel-netty-source.json | 2 +-
.../connectors/camel-paho-mqtt5-sink.json | 14 ++
.../connectors/camel-paho-mqtt5-source.json | 14 ++
.../resources/connectors/camel-pulsar-sink.json | 36 +++
.../resources/connectors/camel-pulsar-source.json | 64 +++++
.../resources/connectors/camel-resteasy-sink.json | 6 +
.../resources/connectors/camel-sftp-source.json | 2 +-
.../resources/connectors/camel-sjms2-source.json | 6 +-
.../resources/connectors/camel-stitch-sink.json | 2 +-
.../resources/connectors/camel-websocket-sink.json | 7 +
.../connectors/camel-websocket-source.json | 14 ++
.../resources/descriptors/connectors.properties | 5 +
.../generated/resources/camel-activemq-sink.json | 8 +-
.../generated/resources/camel-activemq-source.json | 8 +-
.../docs/camel-activemq-kafka-sink-connector.adoc | 4 +-
.../camel-activemq-kafka-source-connector.adoc | 4 +-
.../activemq/CamelActivemqSinkConnectorConfig.java | 8 +-
.../CamelActivemqSourceConnectorConfig.java | 8 +-
.../src/generated/resources/camel-amqp-sink.json | 8 +-
.../src/generated/resources/camel-amqp-source.json | 8 +-
.../main/docs/camel-amqp-kafka-sink-connector.adoc | 4 +-
.../docs/camel-amqp-kafka-source-connector.adoc | 4 +-
.../amqp/CamelAmqpSinkConnectorConfig.java | 8 +-
.../amqp/CamelAmqpSourceConnectorConfig.java | 8 +-
.../src/generated/resources/camel-as2-sink.json | 6 +
.../src/generated/resources/camel-as2-source.json | 6 +
.../main/docs/camel-as2-kafka-sink-connector.adoc | 3 +-
.../docs/camel-as2-kafka-source-connector.adoc | 3 +-
.../as2/CamelAs2SinkConnectorConfig.java | 4 +
.../as2/CamelAs2SourceConnectorConfig.java | 4 +
.../resources/camel-aws-secrets-manager-sink.json | 6 +-
...l-aws-secrets-manager-kafka-sink-connector.adoc | 4 +-
.../CamelAwssecretsmanagerSinkConnector.properties | 4 +-
.../CamelAwssecretsmanagerSinkConnectorConfig.java | 4 +-
.../resources/camel-aws2-ddbstream-source.json | 54 ++--
...amel-aws2-ddbstream-kafka-source-connector.adoc | 8 +-
.../CamelAws2ddbstreamSourceConnectorConfig.java | 24 +-
.../src/generated/resources/camel-file-source.json | 2 +-
.../docs/camel-file-kafka-source-connector.adoc | 2 +-
.../file/CamelFileSourceConnectorConfig.java | 2 +-
.../src/generated/resources/camel-ftps-source.json | 2 +-
.../docs/camel-ftps-kafka-source-connector.adoc | 2 +-
.../ftps/CamelFtpsSourceConnectorConfig.java | 2 +-
.../resources/camel-google-pubsub-sink.json | 44 +---
.../resources/camel-google-pubsub-source.json | 56 +++--
.../camel-google-pubsub-kafka-sink-connector.adoc | 12 +-
...camel-google-pubsub-kafka-source-connector.adoc | 12 +-
.../CamelGooglepubsubSinkConnector.properties | 4 -
.../CamelGooglepubsubSourceConnector.properties | 4 -
.../CamelGooglepubsubSinkConnectorConfig.java | 28 +--
.../CamelGooglepubsubSourceConnectorConfig.java | 34 ++-
.../camel-google-sheets-stream-source.json | 18 +-
...oogle-sheets-stream-kafka-source-connector.adoc | 6 +-
...melGooglesheetsstreamSourceConnector.properties | 4 +-
...melGooglesheetsstreamSourceConnectorConfig.java | 16 +-
.../generated/resources/camel-graphql-sink.json | 12 +
.../docs/camel-graphql-kafka-sink-connector.adoc | 4 +-
.../graphql/CamelGraphqlSinkConnectorConfig.java | 8 +
.../src/generated/resources/camel-https-sink.json | 22 +-
.../docs/camel-https-kafka-sink-connector.adoc | 9 +-
.../https/CamelHttpsSinkConnectorConfig.java | 12 +-
.../camel-hwcloud-dms-kafka-connector/pom.xml | 139 +++++++++++
.../descriptors/connector-sink.properties | 1 +
.../resources/camel-hwcloud-dms-sink.json | 213 ++++++++++++++++
.../src/main/assembly/package.xml | 56 +++++
.../camel-hwcloud-dms-kafka-sink-connector.adoc | 87 +++++++
.../CamelHwclouddmsSinkConnector.properties} | 12 +-
.../hwclouddms/CamelHwclouddmsSinkConnector.java | 35 +++
.../CamelHwclouddmsSinkConnectorConfig.java | 172 +++++++++++++
.../hwclouddms/CamelHwclouddmsSinkTask.java | 39 +++
.../src/main/resources/META-INF/LICENSE.txt | 203 +++++++++++++++
.../src/main/resources/META-INF/NOTICE.txt | 11 +
.../camel-hwcloud-functiongraph-sink.json | 8 +-
...hwcloud-functiongraph-kafka-sink-connector.adoc | 6 +-
...melHwcloudfunctiongraphSinkConnector.properties | 4 +-
...melHwcloudfunctiongraphSinkConnectorConfig.java | 8 +-
.../resources/camel-hwcloud-iam-sink.json | 8 +-
.../camel-hwcloud-iam-kafka-sink-connector.adoc | 6 +-
.../CamelHwcloudiamSinkConnector.properties | 4 +-
.../CamelHwcloudiamSinkConnectorConfig.java | 8 +-
.../pom.xml | 139 +++++++++++
.../descriptors/connector-sink.properties | 1 +
.../camel-hwcloud-imagerecognition-sink.json | 95 ++++---
.../src/main/assembly/package.xml | 56 +++++
...loud-imagerecognition-kafka-sink-connector.adoc | 75 ++++++
...wcloudimagerecognitionSinkConnector.properties} | 12 +-
.../CamelHwcloudimagerecognitionSinkConnector.java | 37 +++
...HwcloudimagerecognitionSinkConnectorConfig.java | 125 ++++++++++
.../CamelHwcloudimagerecognitionSinkTask.java | 39 +++
.../src/main/resources/META-INF/LICENSE.txt | 203 +++++++++++++++
.../src/main/resources/META-INF/NOTICE.txt | 11 +
.../camel-hwcloud-obs-kafka-connector/pom.xml | 139 +++++++++++
.../descriptors/connector-sink.properties | 1 +
.../descriptors/connector-source.properties | 1 +
.../resources/camel-hwcloud-obs-sink.json} | 64 ++---
.../resources/camel-hwcloud-obs-source.json} | 273 +++++++--------------
.../src/main/assembly/package.xml | 56 +++++
.../camel-hwcloud-obs-kafka-sink-connector.adoc | 35 +--
.../camel-hwcloud-obs-kafka-source-connector.adoc | 95 +++++++
.../CamelHwcloudobsSinkConnector.properties} | 10 +-
.../CamelHwcloudobsSourceConnector.properties} | 12 +-
.../hwcloudobs/CamelHwcloudobsSinkConnector.java | 35 +++
.../CamelHwcloudobsSinkConnectorConfig.java | 108 ++++++++
.../hwcloudobs/CamelHwcloudobsSinkTask.java | 39 +++
.../hwcloudobs/CamelHwcloudobsSourceConnector.java | 35 +++
.../CamelHwcloudobsSourceConnectorConfig.java | 204 +++++++++++++++
.../hwcloudobs/CamelHwcloudobsSourceTask.java | 39 +++
.../src/main/resources/META-INF/LICENSE.txt | 203 +++++++++++++++
.../src/main/resources/META-INF/NOTICE.txt | 11 +
.../resources/camel-hwcloud-smn-sink.json | 8 +-
.../camel-hwcloud-smn-kafka-sink-connector.adoc | 6 +-
.../CamelHwcloudsmnSinkConnector.properties | 4 +-
.../CamelHwcloudsmnSinkConnectorConfig.java | 8 +-
.../generated/resources/camel-influxdb-sink.json | 14 ++
.../docs/camel-influxdb-kafka-sink-connector.adoc | 4 +-
.../influxdb/CamelInfluxdbSinkConnectorConfig.java | 8 +
.../camel-json-patch-kafka-connector/pom.xml | 139 +++++++++++
.../descriptors/connector-sink.properties | 1 +
.../generated/resources/camel-json-patch-sink.json | 50 +---
.../src/main/assembly/package.xml | 56 +++++
.../camel-json-patch-kafka-sink-connector.adoc | 61 +++++
.../CamelJsonpatchSinkConnector.properties} | 14 +-
.../jsonpatch/CamelJsonpatchSinkConnector.java | 35 +++
.../CamelJsonpatchSinkConnectorConfig.java | 68 +++++
.../jsonpatch/CamelJsonpatchSinkTask.java | 39 +++
.../src/main/resources/META-INF/LICENSE.txt | 203 +++++++++++++++
.../src/main/resources/META-INF/NOTICE.txt | 11 +
.../resources/camel-json-validator-sink.json | 6 +-
.../camel-json-validator-kafka-sink-connector.adoc | 2 +-
.../CamelJsonvalidatorSinkConnectorConfig.java | 8 +-
.../src/generated/resources/camel-log-sink.json | 9 +-
.../main/docs/camel-log-kafka-sink-connector.adoc | 5 +-
.../log/CamelLogSinkConnectorConfig.java | 6 +-
.../src/generated/resources/camel-netty-sink.json | 2 +-
.../generated/resources/camel-netty-source.json | 2 +-
.../docs/camel-netty-kafka-sink-connector.adoc | 2 +-
.../docs/camel-netty-kafka-source-connector.adoc | 2 +-
.../generated/resources/camel-paho-mqtt5-sink.json | 14 ++
.../resources/camel-paho-mqtt5-source.json | 14 ++
.../camel-paho-mqtt5-kafka-sink-connector.adoc | 4 +-
.../camel-paho-mqtt5-kafka-source-connector.adoc | 4 +-
.../CamelPahomqtt5SinkConnectorConfig.java | 8 +
.../CamelPahomqtt5SourceConnectorConfig.java | 8 +
.../src/generated/resources/camel-pulsar-sink.json | 36 +++
.../generated/resources/camel-pulsar-source.json | 64 +++++
.../docs/camel-pulsar-kafka-sink-connector.adoc | 8 +-
.../docs/camel-pulsar-kafka-source-connector.adoc | 12 +-
.../pulsar/CamelPulsarSinkConnectorConfig.java | 24 ++
.../pulsar/CamelPulsarSourceConnectorConfig.java | 40 +++
.../generated/resources/camel-resteasy-sink.json | 6 +
.../docs/camel-resteasy-kafka-sink-connector.adoc | 3 +-
.../resteasy/CamelResteasySinkConnectorConfig.java | 4 +
.../src/generated/resources/camel-sftp-source.json | 2 +-
.../docs/camel-sftp-kafka-source-connector.adoc | 2 +-
.../sftp/CamelSftpSourceConnectorConfig.java | 2 +-
.../generated/resources/camel-sjms2-source.json | 6 +-
.../docs/camel-sjms2-kafka-source-connector.adoc | 6 +-
.../sjms2/CamelSjms2SourceConnectorConfig.java | 6 +-
.../src/generated/resources/camel-stitch-sink.json | 2 +-
.../docs/camel-stitch-kafka-sink-connector.adoc | 2 +-
.../stitch/CamelStitchSinkConnectorConfig.java | 2 +-
.../generated/resources/camel-websocket-sink.json | 7 +
.../resources/camel-websocket-source.json | 14 ++
.../docs/camel-websocket-kafka-sink-connector.adoc | 3 +-
.../camel-websocket-kafka-source-connector.adoc | 4 +-
.../CamelWebsocketSinkConnectorConfig.java | 4 +
.../CamelWebsocketSourceConnectorConfig.java | 8 +
connectors/pom.xml | 4 +
docs/modules/ROOT/nav.adoc | 121 +++++++++
.../camel-activemq-kafka-sink-connector.adoc | 8 +-
.../camel-activemq-kafka-source-connector.adoc | 8 +-
.../camel-amqp-kafka-sink-connector.adoc | 8 +-
.../camel-amqp-kafka-source-connector.adoc | 8 +-
.../connectors/camel-as2-kafka-sink-connector.adoc | 7 +-
.../camel-as2-kafka-source-connector.adoc | 7 +-
...l-aws-secrets-manager-kafka-sink-connector.adoc | 8 +-
...amel-aws2-ddbstream-kafka-source-connector.adoc | 12 +-
.../camel-file-kafka-source-connector.adoc | 6 +-
.../camel-ftps-kafka-source-connector.adoc | 6 +-
.../camel-google-pubsub-kafka-sink-connector.adoc | 16 +-
...camel-google-pubsub-kafka-source-connector.adoc | 16 +-
...oogle-sheets-stream-kafka-source-connector.adoc | 10 +-
.../camel-graphql-kafka-sink-connector.adoc | 8 +-
.../camel-https-kafka-sink-connector.adoc | 9 +-
.../camel-hwcloud-dms-kafka-sink-connector.adoc | 87 +++++++
...hwcloud-functiongraph-kafka-sink-connector.adoc | 6 +-
.../camel-hwcloud-iam-kafka-sink-connector.adoc | 6 +-
...loud-imagerecognition-kafka-sink-connector.adoc | 75 ++++++
...=> camel-hwcloud-obs-kafka-sink-connector.adoc} | 35 +--
.../camel-hwcloud-obs-kafka-source-connector.adoc | 95 +++++++
.../camel-hwcloud-smn-kafka-sink-connector.adoc | 6 +-
.../camel-influxdb-kafka-sink-connector.adoc | 8 +-
.../camel-json-patch-kafka-sink-connector.adoc | 61 +++++
.../camel-json-validator-kafka-sink-connector.adoc | 6 +-
.../connectors/camel-log-kafka-sink-connector.adoc | 9 +-
.../camel-netty-kafka-sink-connector.adoc | 6 +-
.../camel-netty-kafka-source-connector.adoc | 6 +-
.../camel-paho-mqtt5-kafka-sink-connector.adoc | 8 +-
.../camel-paho-mqtt5-kafka-source-connector.adoc | 8 +-
.../camel-pulsar-kafka-sink-connector.adoc | 12 +-
.../camel-pulsar-kafka-source-connector.adoc | 16 +-
.../camel-resteasy-kafka-sink-connector.adoc | 7 +-
.../camel-sftp-kafka-source-connector.adoc | 6 +-
.../camel-sjms2-kafka-source-connector.adoc | 10 +-
.../camel-stitch-kafka-sink-connector.adoc | 6 +-
.../camel-websocket-kafka-sink-connector.adoc | 7 +-
.../camel-websocket-kafka-source-connector.adoc | 8 +-
docs/modules/ROOT/pages/reference/index.adoc | 48 +++-
230 files changed, 5030 insertions(+), 1053 deletions(-)
diff --git a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-activemq-sink.json b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-activemq-sink.json
index c65913b..eb0a852 100644
--- a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-activemq-sink.json
+++ b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-activemq-sink.json
@@ -282,8 +282,8 @@
},
"camel.sink.endpoint.artemisStreamingEnabled": {
"name": "camel.sink.endpoint.artemisStreamingEnabled",
- "description": "Whether optimizing for Apache Artemis streaming mode.",
- "defaultValue": "true",
+ "description": "Whether optimizing for Apache Artemis streaming mode. This can reduce memory overhead when using Artemis with JMS StreamMessage types. This option must only be enabled if Apache Artemis is being used.",
+ "defaultValue": "false",
"priority": "MEDIUM",
"required": "false"
},
@@ -812,8 +812,8 @@
},
"camel.component.activemq.artemisStreamingEnabled": {
"name": "camel.component.activemq.artemisStreamingEnabled",
- "description": "Whether optimizing for Apache Artemis streaming mode.",
- "defaultValue": "true",
+ "description": "Whether optimizing for Apache Artemis streaming mode. This can reduce memory overhead when using Artemis with JMS StreamMessage types. This option must only be enabled if Apache Artemis is being used.",
+ "defaultValue": "false",
"priority": "MEDIUM",
"required": "false"
},
diff --git a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-activemq-source.json b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-activemq-source.json
index dbda9bb..e867e95 100644
--- a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-activemq-source.json
+++ b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-activemq-source.json
@@ -280,8 +280,8 @@
},
"camel.source.endpoint.artemisStreamingEnabled": {
"name": "camel.source.endpoint.artemisStreamingEnabled",
- "description": "Whether optimizing for Apache Artemis streaming mode.",
- "defaultValue": "true",
+ "description": "Whether optimizing for Apache Artemis streaming mode. This can reduce memory overhead when using Artemis with JMS StreamMessage types. This option must only be enabled if Apache Artemis is being used.",
+ "defaultValue": "false",
"priority": "MEDIUM",
"required": "false"
},
@@ -807,8 +807,8 @@
},
"camel.component.activemq.artemisStreamingEnabled": {
"name": "camel.component.activemq.artemisStreamingEnabled",
- "description": "Whether optimizing for Apache Artemis streaming mode.",
- "defaultValue": "true",
+ "description": "Whether optimizing for Apache Artemis streaming mode. This can reduce memory overhead when using Artemis with JMS StreamMessage types. This option must only be enabled if Apache Artemis is being used.",
+ "defaultValue": "false",
"priority": "MEDIUM",
"required": "false"
},
diff --git a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-amqp-sink.json b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-amqp-sink.json
index 3aeb952..d7cc48b 100644
--- a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-amqp-sink.json
+++ b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-amqp-sink.json
@@ -282,8 +282,8 @@
},
"camel.sink.endpoint.artemisStreamingEnabled": {
"name": "camel.sink.endpoint.artemisStreamingEnabled",
- "description": "Whether optimizing for Apache Artemis streaming mode.",
- "defaultValue": "true",
+ "description": "Whether optimizing for Apache Artemis streaming mode. This can reduce memory overhead when using Artemis with JMS StreamMessage types. This option must only be enabled if Apache Artemis is being used.",
+ "defaultValue": "false",
"priority": "MEDIUM",
"required": "false"
},
@@ -799,8 +799,8 @@
},
"camel.component.amqp.artemisStreamingEnabled": {
"name": "camel.component.amqp.artemisStreamingEnabled",
- "description": "Whether optimizing for Apache Artemis streaming mode.",
- "defaultValue": "true",
+ "description": "Whether optimizing for Apache Artemis streaming mode. This can reduce memory overhead when using Artemis with JMS StreamMessage types. This option must only be enabled if Apache Artemis is being used.",
+ "defaultValue": "false",
"priority": "MEDIUM",
"required": "false"
},
diff --git a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-amqp-source.json b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-amqp-source.json
index f975731..1457270 100644
--- a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-amqp-source.json
+++ b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-amqp-source.json
@@ -274,8 +274,8 @@
},
"camel.source.endpoint.artemisStreamingEnabled": {
"name": "camel.source.endpoint.artemisStreamingEnabled",
- "description": "Whether optimizing for Apache Artemis streaming mode.",
- "defaultValue": "true",
+ "description": "Whether optimizing for Apache Artemis streaming mode. This can reduce memory overhead when using Artemis with JMS StreamMessage types. This option must only be enabled if Apache Artemis is being used.",
+ "defaultValue": "false",
"priority": "MEDIUM",
"required": "false"
},
@@ -788,8 +788,8 @@
},
"camel.component.amqp.artemisStreamingEnabled": {
"name": "camel.component.amqp.artemisStreamingEnabled",
- "description": "Whether optimizing for Apache Artemis streaming mode.",
- "defaultValue": "true",
+ "description": "Whether optimizing for Apache Artemis streaming mode. This can reduce memory overhead when using Artemis with JMS StreamMessage types. This option must only be enabled if Apache Artemis is being used.",
+ "defaultValue": "false",
"priority": "MEDIUM",
"required": "false"
},
diff --git a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-as2-sink.json b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-as2-sink.json
index ec8f7c0..0847fcc 100644
--- a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-as2-sink.json
+++ b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-as2-sink.json
@@ -64,6 +64,12 @@
"1.1"
]
},
+ "camel.sink.endpoint.attachedFileName": {
+ "name": "camel.sink.endpoint.attachedFileName",
+ "description": "The name of the attached file",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
"camel.sink.endpoint.clientFqdn": {
"name": "camel.sink.endpoint.clientFqdn",
"description": "The Client Fully Qualified Domain Name (FQDN). Used in message ids sent by endpoint.",
diff --git a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-as2-source.json b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-as2-source.json
index 897ba3f..5fd5b34 100644
--- a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-as2-source.json
+++ b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-as2-source.json
@@ -64,6 +64,12 @@
"1.1"
]
},
+ "camel.source.endpoint.attachedFileName": {
+ "name": "camel.source.endpoint.attachedFileName",
+ "description": "The name of the attached file",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
"camel.source.endpoint.clientFqdn": {
"name": "camel.source.endpoint.clientFqdn",
"description": "The Client Fully Qualified Domain Name (FQDN). Used in message ids sent by endpoint.",
diff --git a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-aws-secrets-manager-sink.json b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-aws-secrets-manager-sink.json
index afacf86..5e0b8c7 100644
--- a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-aws-secrets-manager-sink.json
+++ b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-aws-secrets-manager-sink.json
@@ -31,7 +31,7 @@
},
"camel.sink.endpoint.operation": {
"name": "camel.sink.endpoint.operation",
- "description": "The operation to perform One of: [listSecrets] [createSecret] [getSecret] [describeSecret] [deleteSecret] [rotateSecret] [updateSecret] [replicateSecretToRegions]",
+ "description": "The operation to perform One of: [listSecrets] [createSecret] [getSecret] [describeSecret] [deleteSecret] [rotateSecret] [updateSecret] [restoreSecret] [replicateSecretToRegions]",
"priority": "HIGH",
"required": "true",
"enum": [
@@ -42,6 +42,7 @@
"deleteSecret",
"rotateSecret",
"updateSecret",
+ "restoreSecret",
"replicateSecretToRegions"
]
},
@@ -148,7 +149,7 @@
},
"camel.component.aws-secrets-manager.operation": {
"name": "camel.component.aws-secrets-manager.operation",
- "description": "The operation to perform One of: [listSecrets] [createSecret] [getSecret] [describeSecret] [deleteSecret] [rotateSecret] [updateSecret] [replicateSecretToRegions]",
+ "description": "The operation to perform One of: [listSecrets] [createSecret] [getSecret] [describeSecret] [deleteSecret] [rotateSecret] [updateSecret] [restoreSecret] [replicateSecretToRegions]",
"priority": "HIGH",
"required": "true",
"enum": [
@@ -159,6 +160,7 @@
"deleteSecret",
"rotateSecret",
"updateSecret",
+ "restoreSecret",
"replicateSecretToRegions"
]
},
diff --git a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-aws2-ddbstream-source.json b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-aws2-ddbstream-source.json
index ac4185f..34c25bb 100644
--- a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-aws2-ddbstream-source.json
+++ b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-aws2-ddbstream-source.json
@@ -28,20 +28,6 @@
"priority": "MEDIUM",
"required": "false"
},
- "camel.source.endpoint.iteratorType": {
- "name": "camel.source.endpoint.iteratorType",
- "description": "Defines where in the DynaboDB stream to start getting records. Note that using TRIM_HORIZON can cause a significant delay before the stream has caught up to real-time. if {AT,AFTER}_SEQUENCE_NUMBER are used, then a sequenceNumberProvider MUST be supplied. One of: [TRIM_HORIZON] [LATEST] [AT_SEQUENCE_NUMBER] [AFTER_SEQUENCE_NUMBER] [null]",
- "defaultValue": "\"LATEST\"",
- "priority": "MEDIUM",
- "required": "false",
- "enum": [
- "TRIM_HORIZON",
- "LATEST",
- "AT_SEQUENCE_NUMBER",
- "AFTER_SEQUENCE_NUMBER",
- "null"
- ]
- },
"camel.source.endpoint.maxResultsPerRequest": {
"name": "camel.source.endpoint.maxResultsPerRequest",
"description": "Maximum number of records that will be fetched in each poll",
@@ -91,11 +77,16 @@
"priority": "MEDIUM",
"required": "false"
},
- "camel.source.endpoint.sequenceNumberProvider": {
- "name": "camel.source.endpoint.sequenceNumberProvider",
- "description": "Provider for the sequence number when using one of the two ShardIteratorType.{AT,AFTER}_SEQUENCE_NUMBER iterator types. Can be a registry reference or a literal sequence number.",
+ "camel.source.endpoint.streamIteratorType": {
+ "name": "camel.source.endpoint.streamIteratorType",
+ "description": "Defines where in the DynamoDB stream to start getting records. Note that using FROM_START can cause a significant delay before the stream has caught up to real-time. One of: [FROM_LATEST] [FROM_START]",
+ "defaultValue": "\"FROM_LATEST\"",
"priority": "MEDIUM",
- "required": "false"
+ "required": "false",
+ "enum": [
+ "FROM_LATEST",
+ "FROM_START"
+ ]
},
"camel.source.endpoint.trustAllCertificates": {
"name": "camel.source.endpoint.trustAllCertificates",
@@ -281,20 +272,6 @@
"priority": "MEDIUM",
"required": "false"
},
- "camel.component.aws2-ddbstream.iteratorType": {
- "name": "camel.component.aws2-ddbstream.iteratorType",
- "description": "Defines where in the DynaboDB stream to start getting records. Note that using TRIM_HORIZON can cause a significant delay before the stream has caught up to real-time. if {AT,AFTER}_SEQUENCE_NUMBER are used, then a sequenceNumberProvider MUST be supplied. One of: [TRIM_HORIZON] [LATEST] [AT_SEQUENCE_NUMBER] [AFTER_SEQUENCE_NUMBER] [null]",
- "defaultValue": "\"LATEST\"",
- "priority": "MEDIUM",
- "required": "false",
- "enum": [
- "TRIM_HORIZON",
- "LATEST",
- "AT_SEQUENCE_NUMBER",
- "AFTER_SEQUENCE_NUMBER",
- "null"
- ]
- },
"camel.component.aws2-ddbstream.maxResultsPerRequest": {
"name": "camel.component.aws2-ddbstream.maxResultsPerRequest",
"description": "Maximum number of records that will be fetched in each poll",
@@ -337,11 +314,16 @@
"priority": "MEDIUM",
"required": "false"
},
- "camel.component.aws2-ddbstream.sequenceNumberProvider": {
- "name": "camel.component.aws2-ddbstream.sequenceNumberProvider",
- "description": "Provider for the sequence number when using one of the two ShardIteratorType.{AT,AFTER}_SEQUENCE_NUMBER iterator types. Can be a registry reference or a literal sequence number.",
+ "camel.component.aws2-ddbstream.streamIteratorType": {
+ "name": "camel.component.aws2-ddbstream.streamIteratorType",
+ "description": "Defines where in the DynamoDB stream to start getting records. Note that using FROM_START can cause a significant delay before the stream has caught up to real-time. One of: [FROM_LATEST] [FROM_START]",
+ "defaultValue": "\"FROM_LATEST\"",
"priority": "MEDIUM",
- "required": "false"
+ "required": "false",
+ "enum": [
+ "FROM_LATEST",
+ "FROM_START"
+ ]
},
"camel.component.aws2-ddbstream.trustAllCertificates": {
"name": "camel.component.aws2-ddbstream.trustAllCertificates",
diff --git a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-file-source.json b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-file-source.json
index 1c72b7f..b5618ed 100644
--- a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-file-source.json
+++ b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-file-source.json
@@ -274,7 +274,7 @@
},
"camel.source.endpoint.idempotentRepository": {
"name": "camel.source.endpoint.idempotentRepository",
- "description": "A pluggable repository org.apache.camel.spi.IdempotentRepository which by default use MemoryMessageIdRepository if none is specified and idempotent is true.",
+ "description": "A pluggable repository org.apache.camel.spi.IdempotentRepository which by default use MemoryIdempotentRepository if none is specified and idempotent is true.",
"priority": "MEDIUM",
"required": "false"
},
diff --git a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-ftps-source.json b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-ftps-source.json
index 885a73a..2e8ed9c 100644
--- a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-ftps-source.json
+++ b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-ftps-source.json
@@ -432,7 +432,7 @@
},
"camel.source.endpoint.idempotentRepository": {
"name": "camel.source.endpoint.idempotentRepository",
- "description": "A pluggable repository org.apache.camel.spi.IdempotentRepository which by default use MemoryMessageIdRepository if none is specified and idempotent is true.",
+ "description": "A pluggable repository org.apache.camel.spi.IdempotentRepository which by default use MemoryIdempotentRepository if none is specified and idempotent is true.",
"priority": "MEDIUM",
"required": "false"
},
diff --git a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-google-pubsub-sink.json b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-google-pubsub-sink.json
index bacf914..402ccea 100644
--- a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-google-pubsub-sink.json
+++ b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-google-pubsub-sink.json
@@ -21,21 +21,10 @@
"priority": "HIGH",
"required": "true"
},
- "camel.sink.endpoint.ackMode": {
- "name": "camel.sink.endpoint.ackMode",
- "description": "AUTO = exchange gets ack'ed\/nack'ed on completion. NONE = downstream process has to ack\/nack explicitly One of: [AUTO] [NONE]",
- "defaultValue": "\"AUTO\"",
- "priority": "MEDIUM",
- "required": "false",
- "enum": [
- "AUTO",
- "NONE"
- ]
- },
- "camel.sink.endpoint.concurrentConsumers": {
- "name": "camel.sink.endpoint.concurrentConsumers",
- "description": "The number of parallel streams consuming from the subscription",
- "defaultValue": "\"1\"",
+ "camel.sink.endpoint.authenticate": {
+ "name": "camel.sink.endpoint.authenticate",
+ "description": "Use Credentials when interacting with PubSub service (no authentication is required when using emulator).",
+ "defaultValue": "true",
"priority": "MEDIUM",
"required": "false"
},
@@ -45,23 +34,9 @@
"priority": "MEDIUM",
"required": "false"
},
- "camel.sink.endpoint.maxMessagesPerPoll": {
- "name": "camel.sink.endpoint.maxMessagesPerPoll",
- "description": "The max number of messages to receive from the server in a single API call",
- "defaultValue": "\"1\"",
- "priority": "MEDIUM",
- "required": "false"
- },
"camel.sink.endpoint.serviceAccountKey": {
"name": "camel.sink.endpoint.serviceAccountKey",
"description": "The Service account key that can be used as credentials for the PubSub publisher\/subscriber. It can be loaded by default from classpath, but you can prefix with classpath:, file:, or http: to load the resource from different systems.",
- "priority": "HIGH",
- "required": "true"
- },
- "camel.sink.endpoint.synchronousPull": {
- "name": "camel.sink.endpoint.synchronousPull",
- "description": "Synchronously pull batches of messages",
- "defaultValue": "false",
"priority": "MEDIUM",
"required": "false"
},
@@ -91,6 +66,13 @@
"priority": "MEDIUM",
"required": "false"
},
+ "camel.component.google-pubsub.authenticate": {
+ "name": "camel.component.google-pubsub.authenticate",
+ "description": "Use Credentials when interacting with PubSub service (no authentication is required when using emulator).",
+ "defaultValue": "true",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
"camel.component.google-pubsub.endpoint": {
"name": "camel.component.google-pubsub.endpoint",
"description": "Endpoint to use with local Pub\/Sub emulator.",
@@ -100,8 +82,8 @@
"camel.component.google-pubsub.serviceAccountKey": {
"name": "camel.component.google-pubsub.serviceAccountKey",
"description": "The Service account key that can be used as credentials for the PubSub publisher\/subscriber. It can be loaded by default from classpath, but you can prefix with classpath:, file:, or http: to load the resource from different systems.",
- "priority": "HIGH",
- "required": "true"
+ "priority": "MEDIUM",
+ "required": "false"
},
"camel.component.google-pubsub.lazyStartProducer": {
"name": "camel.component.google-pubsub.lazyStartProducer",
diff --git a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-google-pubsub-source.json b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-google-pubsub-source.json
index 857b95e..246d9f5 100644
--- a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-google-pubsub-source.json
+++ b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-google-pubsub-source.json
@@ -21,6 +21,25 @@
"priority": "HIGH",
"required": "true"
},
+ "camel.source.endpoint.authenticate": {
+ "name": "camel.source.endpoint.authenticate",
+ "description": "Use Credentials when interacting with PubSub service (no authentication is required when using emulator).",
+ "defaultValue": "true",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
+ "camel.source.endpoint.loggerId": {
+ "name": "camel.source.endpoint.loggerId",
+ "description": "Logger ID to use when a match to the parent route required",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
+ "camel.source.endpoint.serviceAccountKey": {
+ "name": "camel.source.endpoint.serviceAccountKey",
+ "description": "The Service account key that can be used as credentials for the PubSub publisher\/subscriber. It can be loaded by default from classpath, but you can prefix with classpath:, file:, or http: to load the resource from different systems.",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
"camel.source.endpoint.ackMode": {
"name": "camel.source.endpoint.ackMode",
"description": "AUTO = exchange gets ack'ed\/nack'ed on completion. NONE = downstream process has to ack\/nack explicitly One of: [AUTO] [NONE]",
@@ -32,6 +51,13 @@
"NONE"
]
},
+ "camel.source.endpoint.bridgeErrorHandler": {
+ "name": "camel.source.endpoint.bridgeErrorHandler",
+ "description": "Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions 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.",
+ "defaultValue": "false",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
"camel.source.endpoint.concurrentConsumers": {
"name": "camel.source.endpoint.concurrentConsumers",
"description": "The number of parallel streams consuming from the subscription",
@@ -39,12 +65,6 @@
"priority": "MEDIUM",
"required": "false"
},
- "camel.source.endpoint.loggerId": {
- "name": "camel.source.endpoint.loggerId",
- "description": "Logger ID to use when a match to the parent route required",
- "priority": "MEDIUM",
- "required": "false"
- },
"camel.source.endpoint.maxMessagesPerPoll": {
"name": "camel.source.endpoint.maxMessagesPerPoll",
"description": "The max number of messages to receive from the server in a single API call",
@@ -52,12 +72,6 @@
"priority": "MEDIUM",
"required": "false"
},
- "camel.source.endpoint.serviceAccountKey": {
- "name": "camel.source.endpoint.serviceAccountKey",
- "description": "The Service account key that can be used as credentials for the PubSub publisher\/subscriber. It can be loaded by default from classpath, but you can prefix with classpath:, file:, or http: to load the resource from different systems.",
- "priority": "HIGH",
- "required": "true"
- },
"camel.source.endpoint.synchronousPull": {
"name": "camel.source.endpoint.synchronousPull",
"description": "Synchronously pull batches of messages",
@@ -65,13 +79,6 @@
"priority": "MEDIUM",
"required": "false"
},
- "camel.source.endpoint.bridgeErrorHandler": {
- "name": "camel.source.endpoint.bridgeErrorHandler",
- "description": "Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions 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.",
- "defaultValue": "false",
- "priority": "MEDIUM",
- "required": "false"
- },
"camel.source.endpoint.exceptionHandler": {
"name": "camel.source.endpoint.exceptionHandler",
"description": "To let the consumer use a custom ExceptionHandler. Notice if the option bridgeErrorHandler is enabled then this option is not in use. By default the consumer will deal with exceptions, that will be logged at WARN or ERROR level and ignored.",
@@ -89,6 +96,13 @@
"InOptionalOut"
]
},
+ "camel.component.google-pubsub.authenticate": {
+ "name": "camel.component.google-pubsub.authenticate",
+ "description": "Use Credentials when interacting with PubSub service (no authentication is required when using emulator).",
+ "defaultValue": "true",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
"camel.component.google-pubsub.endpoint": {
"name": "camel.component.google-pubsub.endpoint",
"description": "Endpoint to use with local Pub\/Sub emulator.",
@@ -98,8 +112,8 @@
"camel.component.google-pubsub.serviceAccountKey": {
"name": "camel.component.google-pubsub.serviceAccountKey",
"description": "The Service account key that can be used as credentials for the PubSub publisher\/subscriber. It can be loaded by default from classpath, but you can prefix with classpath:, file:, or http: to load the resource from different systems.",
- "priority": "HIGH",
- "required": "true"
+ "priority": "MEDIUM",
+ "required": "false"
},
"camel.component.google-pubsub.bridgeErrorHandler": {
"name": "camel.component.google-pubsub.bridgeErrorHandler",
diff --git a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-google-sheets-stream-source.json b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-google-sheets-stream-source.json
index 5671d53..040d5a8 100644
--- a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-google-sheets-stream-source.json
+++ b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-google-sheets-stream-source.json
@@ -9,9 +9,9 @@
"description": "Poll for changes in Google Sheets."
},
"properties": {
- "camel.source.path.apiName": {
- "name": "camel.source.path.apiName",
- "description": "Sets the apiName.",
+ "camel.source.path.spreadsheetId": {
+ "name": "camel.source.path.spreadsheetId",
+ "description": "Specifies the spreadsheet identifier that is used to identify the target to obtain.",
"priority": "HIGH",
"required": "true"
},
@@ -85,12 +85,6 @@
"priority": "MEDIUM",
"required": "false"
},
- "camel.source.endpoint.spreadsheetId": {
- "name": "camel.source.endpoint.spreadsheetId",
- "description": "Specifies the spreadsheet identifier that is used to identify the target to obtain.",
- "priority": "MEDIUM",
- "required": "false"
- },
"camel.source.endpoint.valueRenderOption": {
"name": "camel.source.endpoint.valueRenderOption",
"description": "Determines how values should be rendered in the output. One of: [FORMATTED_VALUE] [UNFORMATTED_VALUE] [FORMULA]",
@@ -323,12 +317,6 @@
"priority": "MEDIUM",
"required": "false"
},
- "camel.component.google-sheets-stream.spreadsheetId": {
- "name": "camel.component.google-sheets-stream.spreadsheetId",
- "description": "Specifies the spreadsheet identifier that is used to identify the target to obtain.",
- "priority": "MEDIUM",
- "required": "false"
- },
"camel.component.google-sheets-stream.valueRenderOption": {
"name": "camel.component.google-sheets-stream.valueRenderOption",
"description": "Determines how values should be rendered in the output. One of: [FORMATTED_VALUE] [UNFORMATTED_VALUE] [FORMULA]",
diff --git a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-graphql-sink.json b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-graphql-sink.json
index ffaf3dc..bc69542 100644
--- a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-graphql-sink.json
+++ b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-graphql-sink.json
@@ -46,12 +46,24 @@
"priority": "MEDIUM",
"required": "false"
},
+ "camel.sink.endpoint.queryHeader": {
+ "name": "camel.sink.endpoint.queryHeader",
+ "description": "The name of a header containing the GraphQL query.",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
"camel.sink.endpoint.variables": {
"name": "camel.sink.endpoint.variables",
"description": "The JsonObject instance containing the operation variables.",
"priority": "MEDIUM",
"required": "false"
},
+ "camel.sink.endpoint.variablesHeader": {
+ "name": "camel.sink.endpoint.variablesHeader",
+ "description": "The name of a header containing a JsonObject instance containing the operation variables.",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
"camel.sink.endpoint.accessToken": {
"name": "camel.sink.endpoint.accessToken",
"description": "The access token sent in the Authorization header.",
diff --git a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-https-sink.json b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-https-sink.json
index aa0328f..b68dfde 100644
--- a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-https-sink.json
+++ b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-https-sink.json
@@ -15,6 +15,13 @@
"priority": "HIGH",
"required": "true"
},
+ "camel.sink.endpoint.chunked": {
+ "name": "camel.sink.endpoint.chunked",
+ "description": "If this option is false the Servlet will disable the HTTP streaming and set the content-length header on the response",
+ "defaultValue": "true",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
"camel.sink.endpoint.disableStreamCache": {
"name": "camel.sink.endpoint.disableStreamCache",
"description": "Determines whether or not the raw input stream from Servlet is cached or not (Camel will read the stream into a in memory\/overflow to file, Stream caching) cache. By default Camel will cache the Servlet input stream to support reading it multiple times to ensure it Camel can retrieve all data from the stream. However you can set this option to true when you for example need to access the raw stream, such as streaming it directly to a file or other persistent store. De [...]
@@ -41,13 +48,6 @@
"priority": "MEDIUM",
"required": "false"
},
- "camel.sink.endpoint.chunked": {
- "name": "camel.sink.endpoint.chunked",
- "description": "If this option is false the Servlet will disable the HTTP streaming and set the content-length header on the response",
- "defaultValue": "true",
- "priority": "MEDIUM",
- "required": "false"
- },
"camel.sink.endpoint.clearExpiredCookies": {
"name": "camel.sink.endpoint.clearExpiredCookies",
"description": "Whether to clear expired cookies before sending the HTTP request. This ensures the cookies store does not keep growing by adding new cookies which is newer removed when they are expired. If the component has disabled cookie management then this option is disabled too.",
@@ -173,6 +173,12 @@
"priority": "MEDIUM",
"required": "false"
},
+ "camel.sink.endpoint.userAgent": {
+ "name": "camel.sink.endpoint.userAgent",
+ "description": "To set a custom HTTP User-Agent request header",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
"camel.sink.endpoint.clientBuilder": {
"name": "camel.sink.endpoint.clientBuilder",
"description": "Provide access to the http client request parameters used on new RequestConfig instances used by producers or consumers of this endpoint.",
@@ -607,4 +613,4 @@
"required": "false"
}
}
-}
+}
\ No newline at end of file
diff --git a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-hwcloud-functiongraph-sink.json b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-hwcloud-functiongraph-sink.json
index 686df15..216868b 100644
--- a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-hwcloud-functiongraph-sink.json
+++ b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-hwcloud-functiongraph-sink.json
@@ -83,9 +83,9 @@
"priority": "MEDIUM",
"required": "false"
},
- "camel.sink.endpoint.authenticationKey": {
- "name": "camel.sink.endpoint.authenticationKey",
- "description": "Authentication key for the cloud user",
+ "camel.sink.endpoint.accessKey": {
+ "name": "camel.sink.endpoint.accessKey",
+ "description": "Access key for the cloud user",
"priority": "HIGH",
"required": "true"
},
@@ -117,4 +117,4 @@
"required": "false"
}
}
-}
+}
\ No newline at end of file
diff --git a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-hwcloud-iam-sink.json b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-hwcloud-iam-sink.json
index 17ea2e5..3dd4167 100644
--- a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-hwcloud-iam-sink.json
+++ b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-hwcloud-iam-sink.json
@@ -15,9 +15,9 @@
"priority": "HIGH",
"required": "true"
},
- "camel.sink.endpoint.authenticationKey": {
- "name": "camel.sink.endpoint.authenticationKey",
- "description": "Authentication key for the cloud user",
+ "camel.sink.endpoint.accessKey": {
+ "name": "camel.sink.endpoint.accessKey",
+ "description": "Access key for the cloud user",
"priority": "HIGH",
"required": "true"
},
@@ -104,4 +104,4 @@
"required": "false"
}
}
-}
+}
\ No newline at end of file
diff --git a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-hwcloud-smn-sink.json b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-hwcloud-smn-sink.json
index d25b406..8c7a90a 100644
--- a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-hwcloud-smn-sink.json
+++ b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-hwcloud-smn-sink.json
@@ -15,9 +15,9 @@
"priority": "HIGH",
"required": "true"
},
- "camel.sink.endpoint.authKey": {
- "name": "camel.sink.endpoint.authKey",
- "description": "Authentication key for the cloud user",
+ "camel.sink.endpoint.accessKey": {
+ "name": "camel.sink.endpoint.accessKey",
+ "description": "Access key for the cloud user",
"priority": "HIGH",
"required": "true"
},
@@ -117,4 +117,4 @@
"required": "false"
}
}
-}
+}
\ No newline at end of file
diff --git a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-influxdb-sink.json b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-influxdb-sink.json
index ae3a90c..18bf96a 100644
--- a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-influxdb-sink.json
+++ b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-influxdb-sink.json
@@ -15,6 +15,13 @@
"priority": "HIGH",
"required": "true"
},
+ "camel.sink.endpoint.autoCreateDatabase": {
+ "name": "camel.sink.endpoint.autoCreateDatabase",
+ "description": "Define if we want to auto create the database if it's not present",
+ "defaultValue": "false",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
"camel.sink.endpoint.batch": {
"name": "camel.sink.endpoint.batch",
"description": "Define if this operation is a batch operation or not",
@@ -22,6 +29,13 @@
"priority": "MEDIUM",
"required": "false"
},
+ "camel.sink.endpoint.checkDatabaseExistence": {
+ "name": "camel.sink.endpoint.checkDatabaseExistence",
+ "description": "Define if we want to check the database existence while starting the endpoint",
+ "defaultValue": "false",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
"camel.sink.endpoint.databaseName": {
"name": "camel.sink.endpoint.databaseName",
"description": "The name of the database where the time series will be stored",
diff --git a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-json-validator-sink.json b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-json-validator-sink.json
index 9a400a7..194c366 100644
--- a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-json-validator-sink.json
+++ b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-json-validator-sink.json
@@ -62,9 +62,9 @@
"priority": "MEDIUM",
"required": "false"
},
- "camel.sink.endpoint.schemaLoader": {
- "name": "camel.sink.endpoint.schemaLoader",
- "description": "To use a custom schema loader allowing for adding custom format validation. The default implementation will create a schema loader with draft v4 support.",
+ "camel.sink.endpoint.uriSchemaLoader": {
+ "name": "camel.sink.endpoint.uriSchemaLoader",
+ "description": "To use a custom schema loader allowing for adding custom format validation. The default implementation will create a schema loader that tries to determine the schema version from the $schema property of the specified schema.",
"priority": "MEDIUM",
"required": "false"
},
diff --git a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-log-sink.json b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-log-sink.json
index 83b4ea0..c5cbc0a 100644
--- a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-log-sink.json
+++ b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-log-sink.json
@@ -101,6 +101,13 @@
"priority": "MEDIUM",
"required": "false"
},
+ "camel.sink.endpoint.showAllProperties": {
+ "name": "camel.sink.endpoint.showAllProperties",
+ "description": "Show all of the exchange properties (both internal and custom).",
+ "defaultValue": "false",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
"camel.sink.endpoint.showBody": {
"name": "camel.sink.endpoint.showBody",
"description": "Show the message body.",
@@ -166,7 +173,7 @@
},
"camel.sink.endpoint.showProperties": {
"name": "camel.sink.endpoint.showProperties",
- "description": "Show the exchange properties.",
+ "description": "Show the exchange properties (only custom). Use showAllProperties to show both internal and custom properties.",
"defaultValue": "false",
"priority": "MEDIUM",
"required": "false"
diff --git a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-netty-sink.json b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-netty-sink.json
index 83c4c02..1064578 100644
--- a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-netty-sink.json
+++ b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-netty-sink.json
@@ -6,7 +6,7 @@
"id": "camel-netty-sink",
"type": "sink",
"version": "0.12.0-SNAPSHOT",
- "description": "Socket level networking using TCP or UDP with the Netty 4.x."
+ "description": "Socket level networking using TCP or UDP with Netty 4.x."
},
"properties": {
"camel.sink.path.protocol": {
diff --git a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-netty-source.json b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-netty-source.json
index 5986ab6..60b8827 100644
--- a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-netty-source.json
+++ b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-netty-source.json
@@ -6,7 +6,7 @@
"id": "camel-netty-source",
"type": "source",
"version": "0.12.0-SNAPSHOT",
- "description": "Socket level networking using TCP or UDP with the Netty 4.x."
+ "description": "Socket level networking using TCP or UDP with Netty 4.x."
},
"properties": {
"camel.source.path.protocol": {
diff --git a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-paho-mqtt5-sink.json b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-paho-mqtt5-sink.json
index 0684845..96b3de9 100644
--- a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-paho-mqtt5-sink.json
+++ b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-paho-mqtt5-sink.json
@@ -107,6 +107,13 @@
"priority": "MEDIUM",
"required": "false"
},
+ "camel.sink.endpoint.sessionExpiryInterval": {
+ "name": "camel.sink.endpoint.sessionExpiryInterval",
+ "description": "Sets the Session Expiry Interval. This value, measured in seconds, defines the maximum time that the broker will maintain the session for once the client disconnects. Clients should only connect with a long Session Expiry interval if they intend to connect to the server at some later point in time. By default this value is -1 and so will not be sent, in this case, the session will not expire. If a 0 is sent, the session will end immediately once the Network Connection [...]
+ "defaultValue": "-1L",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
"camel.sink.endpoint.willMqttProperties": {
"name": "camel.sink.endpoint.willMqttProperties",
"description": "Sets the Last Will and Testament (LWT) for the connection. In the event that this client unexpectedly loses its connection to the server, the server will publish a message to itself using the supplied details. The MQTT properties set for the message.",
@@ -300,6 +307,13 @@
"priority": "MEDIUM",
"required": "false"
},
+ "camel.component.paho-mqtt5.sessionExpiryInterval": {
+ "name": "camel.component.paho-mqtt5.sessionExpiryInterval",
+ "description": "Sets the Session Expiry Interval. This value, measured in seconds, defines the maximum time that the broker will maintain the session for once the client disconnects. Clients should only connect with a long Session Expiry interval if they intend to connect to the server at some later point in time. By default this value is -1 and so will not be sent, in this case, the session will not expire. If a 0 is sent, the session will end immediately once the Network Connection [...]
+ "defaultValue": "-1L",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
"camel.component.paho-mqtt5.willMqttProperties": {
"name": "camel.component.paho-mqtt5.willMqttProperties",
"description": "Sets the Last Will and Testament (LWT) for the connection. In the event that this client unexpectedly loses its connection to the server, the server will publish a message to itself using the supplied details. The MQTT properties set for the message.",
diff --git a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-paho-mqtt5-source.json b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-paho-mqtt5-source.json
index 98bd85f..18c95c4 100644
--- a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-paho-mqtt5-source.json
+++ b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-paho-mqtt5-source.json
@@ -107,6 +107,13 @@
"priority": "MEDIUM",
"required": "false"
},
+ "camel.source.endpoint.sessionExpiryInterval": {
+ "name": "camel.source.endpoint.sessionExpiryInterval",
+ "description": "Sets the Session Expiry Interval. This value, measured in seconds, defines the maximum time that the broker will maintain the session for once the client disconnects. Clients should only connect with a long Session Expiry interval if they intend to connect to the server at some later point in time. By default this value is -1 and so will not be sent, in this case, the session will not expire. If a 0 is sent, the session will end immediately once the Network Connection [...]
+ "defaultValue": "-1L",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
"camel.source.endpoint.willMqttProperties": {
"name": "camel.source.endpoint.willMqttProperties",
"description": "Sets the Last Will and Testament (LWT) for the connection. In the event that this client unexpectedly loses its connection to the server, the server will publish a message to itself using the supplied details. The MQTT properties set for the message.",
@@ -317,6 +324,13 @@
"priority": "MEDIUM",
"required": "false"
},
+ "camel.component.paho-mqtt5.sessionExpiryInterval": {
+ "name": "camel.component.paho-mqtt5.sessionExpiryInterval",
+ "description": "Sets the Session Expiry Interval. This value, measured in seconds, defines the maximum time that the broker will maintain the session for once the client disconnects. Clients should only connect with a long Session Expiry interval if they intend to connect to the server at some later point in time. By default this value is -1 and so will not be sent, in this case, the session will not expire. If a 0 is sent, the session will end immediately once the Network Connection [...]
+ "defaultValue": "-1L",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
"camel.component.paho-mqtt5.willMqttProperties": {
"name": "camel.component.paho-mqtt5.willMqttProperties",
"description": "Sets the Last Will and Testament (LWT) for the connection. In the event that this client unexpectedly loses its connection to the server, the server will publish a message to itself using the supplied details. The MQTT properties set for the message.",
diff --git a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-pulsar-sink.json b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-pulsar-sink.json
index 25ef09f..7e37d19 100644
--- a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-pulsar-sink.json
+++ b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-pulsar-sink.json
@@ -37,6 +37,24 @@
"priority": "HIGH",
"required": "true"
},
+ "camel.sink.endpoint.authenticationClass": {
+ "name": "camel.sink.endpoint.authenticationClass",
+ "description": "The Authentication FQCN to be used while creating the client from URI",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
+ "camel.sink.endpoint.authenticationParams": {
+ "name": "camel.sink.endpoint.authenticationParams",
+ "description": "The Authentication Parameters to be used while creating the client from URI",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
+ "camel.sink.endpoint.serviceUrl": {
+ "name": "camel.sink.endpoint.serviceUrl",
+ "description": "The Pulsar Service URL to point while creating the client from URI",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
"camel.sink.endpoint.batcherBuilder": {
"name": "camel.sink.endpoint.batcherBuilder",
"description": "Control batching method used by the producer.",
@@ -145,12 +163,30 @@
"priority": "MEDIUM",
"required": "false"
},
+ "camel.component.pulsar.authenticationClass": {
+ "name": "camel.component.pulsar.authenticationClass",
+ "description": "The Authentication FQCN to be used while creating the client from URI",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
+ "camel.component.pulsar.authenticationParams": {
+ "name": "camel.component.pulsar.authenticationParams",
+ "description": "The Authentication Parameters to be used while creating the client from URI",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
"camel.component.pulsar.configuration": {
"name": "camel.component.pulsar.configuration",
"description": "Allows to pre-configure the Pulsar component with common options that the endpoints will reuse.",
"priority": "MEDIUM",
"required": "false"
},
+ "camel.component.pulsar.serviceUrl": {
+ "name": "camel.component.pulsar.serviceUrl",
+ "description": "The Pulsar Service URL to point while creating the client from URI",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
"camel.component.pulsar.batcherBuilder": {
"name": "camel.component.pulsar.batcherBuilder",
"description": "Control batching method used by the producer.",
diff --git a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-pulsar-source.json b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-pulsar-source.json
index da57b8c..0e57f58 100644
--- a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-pulsar-source.json
+++ b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-pulsar-source.json
@@ -37,6 +37,24 @@
"priority": "HIGH",
"required": "true"
},
+ "camel.source.endpoint.authenticationClass": {
+ "name": "camel.source.endpoint.authenticationClass",
+ "description": "The Authentication FQCN to be used while creating the client from URI",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
+ "camel.source.endpoint.authenticationParams": {
+ "name": "camel.source.endpoint.authenticationParams",
+ "description": "The Authentication Parameters to be used while creating the client from URI",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
+ "camel.source.endpoint.serviceUrl": {
+ "name": "camel.source.endpoint.serviceUrl",
+ "description": "The Pulsar Service URL to point while creating the client from URI",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
"camel.source.endpoint.ackGroupTimeMillis": {
"name": "camel.source.endpoint.ackGroupTimeMillis",
"description": "Group the consumer acknowledgments for the specified time in milliseconds - defaults to 100",
@@ -98,6 +116,13 @@
"priority": "MEDIUM",
"required": "false"
},
+ "camel.source.endpoint.messageListener": {
+ "name": "camel.source.endpoint.messageListener",
+ "description": "Whether to use the messageListener interface, or to receive messages using a separate thread pool",
+ "defaultValue": "true",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
"camel.source.endpoint.negativeAckRedeliveryDelayMicros": {
"name": "camel.source.endpoint.negativeAckRedeliveryDelayMicros",
"description": "Set the negative acknowledgement delay",
@@ -112,6 +137,13 @@
"priority": "MEDIUM",
"required": "false"
},
+ "camel.source.endpoint.numberOfConsumerThreads": {
+ "name": "camel.source.endpoint.numberOfConsumerThreads",
+ "description": "Number of threads to receive and handle messages when using a separate thread pool",
+ "defaultValue": "1",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
"camel.source.endpoint.readCompacted": {
"name": "camel.source.endpoint.readCompacted",
"description": "Enable compacted topic reading.",
@@ -186,12 +218,30 @@
"InOptionalOut"
]
},
+ "camel.component.pulsar.authenticationClass": {
+ "name": "camel.component.pulsar.authenticationClass",
+ "description": "The Authentication FQCN to be used while creating the client from URI",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
+ "camel.component.pulsar.authenticationParams": {
+ "name": "camel.component.pulsar.authenticationParams",
+ "description": "The Authentication Parameters to be used while creating the client from URI",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
"camel.component.pulsar.configuration": {
"name": "camel.component.pulsar.configuration",
"description": "Allows to pre-configure the Pulsar component with common options that the endpoints will reuse.",
"priority": "MEDIUM",
"required": "false"
},
+ "camel.component.pulsar.serviceUrl": {
+ "name": "camel.component.pulsar.serviceUrl",
+ "description": "The Pulsar Service URL to point while creating the client from URI",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
"camel.component.pulsar.ackGroupTimeMillis": {
"name": "camel.component.pulsar.ackGroupTimeMillis",
"description": "Group the consumer acknowledgments for the specified time in milliseconds - defaults to 100",
@@ -253,6 +303,13 @@
"priority": "MEDIUM",
"required": "false"
},
+ "camel.component.pulsar.messageListener": {
+ "name": "camel.component.pulsar.messageListener",
+ "description": "Whether to use the messageListener interface, or to receive messages using a separate thread pool",
+ "defaultValue": "true",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
"camel.component.pulsar.negativeAckRedeliveryDelayMicros": {
"name": "camel.component.pulsar.negativeAckRedeliveryDelayMicros",
"description": "Set the negative acknowledgement delay",
@@ -267,6 +324,13 @@
"priority": "MEDIUM",
"required": "false"
},
+ "camel.component.pulsar.numberOfConsumerThreads": {
+ "name": "camel.component.pulsar.numberOfConsumerThreads",
+ "description": "Number of threads to receive and handle messages when using a separate thread pool",
+ "defaultValue": "1",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
"camel.component.pulsar.readCompacted": {
"name": "camel.component.pulsar.readCompacted",
"description": "Enable compacted topic reading.",
diff --git a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-resteasy-sink.json b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-resteasy-sink.json
index 1155343..b9e021b 100644
--- a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-resteasy-sink.json
+++ b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-resteasy-sink.json
@@ -168,6 +168,12 @@
"priority": "MEDIUM",
"required": "false"
},
+ "camel.sink.endpoint.userAgent": {
+ "name": "camel.sink.endpoint.userAgent",
+ "description": "To set a custom HTTP User-Agent request header",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
"camel.sink.endpoint.headerFilterStrategy": {
"name": "camel.sink.endpoint.headerFilterStrategy",
"description": "To use a custom HeaderFilterStrategy to filter header to and from Camel message.",
diff --git a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-sftp-source.json b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-sftp-source.json
index 7d5ae65..55eeefd 100644
--- a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-sftp-source.json
+++ b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-sftp-source.json
@@ -405,7 +405,7 @@
},
"camel.source.endpoint.idempotentRepository": {
"name": "camel.source.endpoint.idempotentRepository",
- "description": "A pluggable repository org.apache.camel.spi.IdempotentRepository which by default use MemoryMessageIdRepository if none is specified and idempotent is true.",
+ "description": "A pluggable repository org.apache.camel.spi.IdempotentRepository which by default use MemoryIdempotentRepository if none is specified and idempotent is true.",
"priority": "MEDIUM",
"required": "false"
},
diff --git a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-sjms2-source.json b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-sjms2-source.json
index 663d316..5585cc6 100644
--- a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-sjms2-source.json
+++ b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-sjms2-source.json
@@ -101,7 +101,7 @@
},
"camel.source.endpoint.durable": {
"name": "camel.source.endpoint.durable",
- "description": "Sets topic consumer to durable.",
+ "description": "Sets the topic to be durable",
"defaultValue": "false",
"priority": "MEDIUM",
"required": "false"
@@ -121,14 +121,14 @@
},
"camel.source.endpoint.shared": {
"name": "camel.source.endpoint.shared",
- "description": "Sets the consumer to shared.",
+ "description": "Sets the topic to be shared",
"defaultValue": "false",
"priority": "MEDIUM",
"required": "false"
},
"camel.source.endpoint.subscriptionId": {
"name": "camel.source.endpoint.subscriptionId",
- "description": "Sets the subscription Id, required for durable or shared topics.",
+ "description": "Sets the topic subscription id, required for durable or shared topics.",
"priority": "MEDIUM",
"required": "false"
},
diff --git a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-stitch-sink.json b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-stitch-sink.json
index 3e79fdb..44ddc8d 100644
--- a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-stitch-sink.json
+++ b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-stitch-sink.json
@@ -11,7 +11,7 @@
"properties": {
"camel.sink.path.tableName": {
"name": "camel.sink.path.tableName",
- "description": "The name of the destination table the data is being pushed to. Table names must be unique in each destination schema, or loading issues will occur. Note: The number of characters in the table name should be within the destinations allowed limits or data will rejected.",
+ "description": "The name of the destination table the data is being pushed to. Table names must be unique in each destination schema, or loading issues will occur. Note: The number of characters in the table name should be within the destination's allowed limits or data will rejected.",
"priority": "MEDIUM",
"required": "false"
},
diff --git a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-websocket-sink.json b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-websocket-sink.json
index 679d6f8..8dcedbe 100644
--- a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-websocket-sink.json
+++ b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-websocket-sink.json
@@ -162,6 +162,13 @@
"priority": "MEDIUM",
"required": "false"
},
+ "camel.component.websocket.subprotocol": {
+ "name": "camel.component.websocket.subprotocol",
+ "description": "This is a comma-separated list of subprotocols that are supported by the application. The list is in priority order. The first subprotocol on this list that is proposed by the client is the one that will be accepted. If no subprotocol on this list is proposed by the client, then the websocket connection is refused. The special value 'any' means that any subprotocol is acceptable. 'any' can be used on its own, or as a failsafe at the end of a list of more specific proto [...]
+ "defaultValue": "\"any\"",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
"camel.component.websocket.threadPool": {
"name": "camel.component.websocket.threadPool",
"description": "To use a custom thread pool for the server. MaxThreads\/minThreads or threadPool fields are required due to switch to Jetty9.",
diff --git a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-websocket-source.json b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-websocket-source.json
index dc2228c..121aae3 100644
--- a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-websocket-source.json
+++ b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-websocket-source.json
@@ -56,6 +56,13 @@
"priority": "MEDIUM",
"required": "false"
},
+ "camel.source.endpoint.subprotocol": {
+ "name": "camel.source.endpoint.subprotocol",
+ "description": "This is a comma-separated list of subprotocols that are supported by the application. The list is in priority order. The first subprotocol on this list that is proposed by the client is the one that will be accepted. If no subprotocol on this list is proposed by the client, then the websocket connection is refused. The special value 'any' means that any subprotocol is acceptable. 'any' can be used on its own, or as a failsafe at the end of a list of more specific proto [...]
+ "defaultValue": "\"any\"",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
"camel.source.endpoint.exceptionHandler": {
"name": "camel.source.endpoint.exceptionHandler",
"description": "To let the consumer use a custom ExceptionHandler. Notice if the option bridgeErrorHandler is enabled then this option is not in use. By default the consumer will deal with exceptions, that will be logged at WARN or ERROR level and ignored.",
@@ -185,6 +192,13 @@
"priority": "MEDIUM",
"required": "false"
},
+ "camel.component.websocket.subprotocol": {
+ "name": "camel.component.websocket.subprotocol",
+ "description": "This is a comma-separated list of subprotocols that are supported by the application. The list is in priority order. The first subprotocol on this list that is proposed by the client is the one that will be accepted. If no subprotocol on this list is proposed by the client, then the websocket connection is refused. The special value 'any' means that any subprotocol is acceptable. 'any' can be used on its own, or as a failsafe at the end of a list of more specific proto [...]
+ "defaultValue": "\"any\"",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
"camel.component.websocket.threadPool": {
"name": "camel.component.websocket.threadPool",
"description": "To use a custom thread pool for the server. MaxThreads\/minThreads or threadPool fields are required due to switch to Jetty9.",
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 845fac5..7efd0d2 100644
--- a/camel-kafka-connector-catalog/src/generated/resources/descriptors/connectors.properties
+++ b/camel-kafka-connector-catalog/src/generated/resources/descriptors/connectors.properties
@@ -219,8 +219,12 @@ camel-http-secured-source-source
camel-http-sink-sink
camel-http-source-source
camel-https-sink
+camel-hwcloud-dms-sink
camel-hwcloud-functiongraph-sink
camel-hwcloud-iam-sink
+camel-hwcloud-imagerecognition-sink
+camel-hwcloud-obs-source
+camel-hwcloud-obs-sink
camel-hwcloud-smn-sink
camel-iec60870-client-source
camel-iec60870-client-sink
@@ -276,6 +280,7 @@ camel-jooq-sink
camel-jpa-source
camel-jpa-sink
camel-jslt-sink
+camel-json-patch-sink
camel-json-validator-sink
camel-jsonata-sink
camel-jt400-source
diff --git a/connectors/camel-activemq-kafka-connector/src/generated/resources/camel-activemq-sink.json b/connectors/camel-activemq-kafka-connector/src/generated/resources/camel-activemq-sink.json
index c65913b..eb0a852 100644
--- a/connectors/camel-activemq-kafka-connector/src/generated/resources/camel-activemq-sink.json
+++ b/connectors/camel-activemq-kafka-connector/src/generated/resources/camel-activemq-sink.json
@@ -282,8 +282,8 @@
},
"camel.sink.endpoint.artemisStreamingEnabled": {
"name": "camel.sink.endpoint.artemisStreamingEnabled",
- "description": "Whether optimizing for Apache Artemis streaming mode.",
- "defaultValue": "true",
+ "description": "Whether optimizing for Apache Artemis streaming mode. This can reduce memory overhead when using Artemis with JMS StreamMessage types. This option must only be enabled if Apache Artemis is being used.",
+ "defaultValue": "false",
"priority": "MEDIUM",
"required": "false"
},
@@ -812,8 +812,8 @@
},
"camel.component.activemq.artemisStreamingEnabled": {
"name": "camel.component.activemq.artemisStreamingEnabled",
- "description": "Whether optimizing for Apache Artemis streaming mode.",
- "defaultValue": "true",
+ "description": "Whether optimizing for Apache Artemis streaming mode. This can reduce memory overhead when using Artemis with JMS StreamMessage types. This option must only be enabled if Apache Artemis is being used.",
+ "defaultValue": "false",
"priority": "MEDIUM",
"required": "false"
},
diff --git a/connectors/camel-activemq-kafka-connector/src/generated/resources/camel-activemq-source.json b/connectors/camel-activemq-kafka-connector/src/generated/resources/camel-activemq-source.json
index dbda9bb..e867e95 100644
--- a/connectors/camel-activemq-kafka-connector/src/generated/resources/camel-activemq-source.json
+++ b/connectors/camel-activemq-kafka-connector/src/generated/resources/camel-activemq-source.json
@@ -280,8 +280,8 @@
},
"camel.source.endpoint.artemisStreamingEnabled": {
"name": "camel.source.endpoint.artemisStreamingEnabled",
- "description": "Whether optimizing for Apache Artemis streaming mode.",
- "defaultValue": "true",
+ "description": "Whether optimizing for Apache Artemis streaming mode. This can reduce memory overhead when using Artemis with JMS StreamMessage types. This option must only be enabled if Apache Artemis is being used.",
+ "defaultValue": "false",
"priority": "MEDIUM",
"required": "false"
},
@@ -807,8 +807,8 @@
},
"camel.component.activemq.artemisStreamingEnabled": {
"name": "camel.component.activemq.artemisStreamingEnabled",
- "description": "Whether optimizing for Apache Artemis streaming mode.",
- "defaultValue": "true",
+ "description": "Whether optimizing for Apache Artemis streaming mode. This can reduce memory overhead when using Artemis with JMS StreamMessage types. This option must only be enabled if Apache Artemis is being used.",
+ "defaultValue": "false",
"priority": "MEDIUM",
"required": "false"
},
diff --git a/connectors/camel-activemq-kafka-connector/src/main/docs/camel-activemq-kafka-sink-connector.adoc b/connectors/camel-activemq-kafka-connector/src/main/docs/camel-activemq-kafka-sink-connector.adoc
index 377f0bd..1d9bced 100644
--- a/connectors/camel-activemq-kafka-connector/src/main/docs/camel-activemq-kafka-sink-connector.adoc
+++ b/connectors/camel-activemq-kafka-connector/src/main/docs/camel-activemq-kafka-sink-connector.adoc
@@ -66,7 +66,7 @@ The camel-activemq sink connector supports 149 options, which are listed below.
| *camel.sink.endpoint.replyToDestinationSelectorName* | Sets the JMS Selector using the fixed name to be used so you can filter out your own replies from the others when using a shared queue (that is, if you are not using a temporary reply queue). | null | false | MEDIUM
| *camel.sink.endpoint.streamMessageTypeEnabled* | Sets whether StreamMessage type is enabled or not. Message payloads of streaming kind such as files, InputStream, etc will either by sent as BytesMessage or StreamMessage. This option controls which kind will be used. By default BytesMessage is used which enforces the entire message payload to be read into memory. By enabling this option the message payload is read into memory in chunks and each chunk is then written to the StreamMessage [...]
| *camel.sink.endpoint.allowSerializedHeaders* | Controls whether or not to include serialized headers. Applies only when transferExchange is true. This requires that the objects are serializable. Camel will exclude any non-serializable objects and log it at WARN level. | false | false | MEDIUM
-| *camel.sink.endpoint.artemisStreamingEnabled* | Whether optimizing for Apache Artemis streaming mode. | true | false | MEDIUM
+| *camel.sink.endpoint.artemisStreamingEnabled* | Whether optimizing for Apache Artemis streaming mode. This can reduce memory overhead when using Artemis with JMS StreamMessage types. This option must only be enabled if Apache Artemis is being used. | false | false | MEDIUM
| *camel.sink.endpoint.asyncStartListener* | Whether to startup the JmsConsumer message listener asynchronously, when starting a route. For example if a JmsConsumer cannot get a connection to a remote JMS broker, then it may block while retrying and/or failover. This will cause Camel to block while starting routes. By setting this option to true, you will let routes startup, while the JmsConsumer connects to the JMS broker using a dedicated thread in asynchronous mode. If this option is [...]
| *camel.sink.endpoint.asyncStopListener* | Whether to stop the JmsConsumer message listener asynchronously, when stopping a route. | false | false | MEDIUM
| *camel.sink.endpoint.destinationResolver* | A pluggable org.springframework.jms.support.destination.DestinationResolver that allows you to use your own resolver (for example, to lookup the real destination in a JNDI registry). | null | false | MEDIUM
@@ -140,7 +140,7 @@ The camel-activemq sink connector supports 149 options, which are listed below.
| *camel.component.activemq.allowAutoWiredConnection Factory* | Whether to auto-discover ConnectionFactory from the registry, if no connection factory has been configured. If only one instance of ConnectionFactory is found then it will be used. This is enabled by default. | true | false | MEDIUM
| *camel.component.activemq.allowAutoWiredDestination Resolver* | Whether to auto-discover DestinationResolver from the registry, if no destination resolver has been configured. If only one instance of DestinationResolver is found then it will be used. This is enabled by default. | true | false | MEDIUM
| *camel.component.activemq.allowSerializedHeaders* | Controls whether or not to include serialized headers. Applies only when transferExchange is true. This requires that the objects are serializable. Camel will exclude any non-serializable objects and log it at WARN level. | false | false | MEDIUM
-| *camel.component.activemq.artemisStreamingEnabled* | Whether optimizing for Apache Artemis streaming mode. | true | false | MEDIUM
+| *camel.component.activemq.artemisStreamingEnabled* | Whether optimizing for Apache Artemis streaming mode. This can reduce memory overhead when using Artemis with JMS StreamMessage types. This option must only be enabled if Apache Artemis is being used. | false | false | MEDIUM
| *camel.component.activemq.asyncStartListener* | Whether to startup the JmsConsumer message listener asynchronously, when starting a route. For example if a JmsConsumer cannot get a connection to a remote JMS broker, then it may block while retrying and/or failover. This will cause Camel to block while starting routes. By setting this option to true, you will let routes startup, while the JmsConsumer connects to the JMS broker using a dedicated thread in asynchronous mode. If this optio [...]
| *camel.component.activemq.asyncStopListener* | Whether to stop the JmsConsumer message listener asynchronously, when stopping a route. | false | false | MEDIUM
| *camel.component.activemq.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
diff --git a/connectors/camel-activemq-kafka-connector/src/main/docs/camel-activemq-kafka-source-connector.adoc b/connectors/camel-activemq-kafka-connector/src/main/docs/camel-activemq-kafka-source-connector.adoc
index 0e2a533..4a47482 100644
--- a/connectors/camel-activemq-kafka-connector/src/main/docs/camel-activemq-kafka-source-connector.adoc
+++ b/connectors/camel-activemq-kafka-connector/src/main/docs/camel-activemq-kafka-source-connector.adoc
@@ -66,7 +66,7 @@ The camel-activemq source connector supports 150 options, which are listed below
| *camel.source.endpoint.replyToSameDestination Allowed* | Whether a JMS consumer is allowed to send a reply message to the same destination that the consumer is using to consume from. This prevents an endless loop by consuming and sending back the same message to itself. | false | false | MEDIUM
| *camel.source.endpoint.taskExecutor* | Allows you to specify a custom task executor for consuming messages. | null | false | MEDIUM
| *camel.source.endpoint.allowSerializedHeaders* | Controls whether or not to include serialized headers. Applies only when transferExchange is true. This requires that the objects are serializable. Camel will exclude any non-serializable objects and log it at WARN level. | false | false | MEDIUM
-| *camel.source.endpoint.artemisStreamingEnabled* | Whether optimizing for Apache Artemis streaming mode. | true | false | MEDIUM
+| *camel.source.endpoint.artemisStreamingEnabled* | Whether optimizing for Apache Artemis streaming mode. This can reduce memory overhead when using Artemis with JMS StreamMessage types. This option must only be enabled if Apache Artemis is being used. | false | false | MEDIUM
| *camel.source.endpoint.asyncStartListener* | Whether to startup the JmsConsumer message listener asynchronously, when starting a route. For example if a JmsConsumer cannot get a connection to a remote JMS broker, then it may block while retrying and/or failover. This will cause Camel to block while starting routes. By setting this option to true, you will let routes startup, while the JmsConsumer connects to the JMS broker using a dedicated thread in asynchronous mode. If this option i [...]
| *camel.source.endpoint.asyncStopListener* | Whether to stop the JmsConsumer message listener asynchronously, when stopping a route. | false | false | MEDIUM
| *camel.source.endpoint.destinationResolver* | A pluggable org.springframework.jms.support.destination.DestinationResolver that allows you to use your own resolver (for example, to lookup the real destination in a JNDI registry). | null | false | MEDIUM
@@ -139,7 +139,7 @@ The camel-activemq source connector supports 150 options, which are listed below
| *camel.component.activemq.allowAutoWiredConnection Factory* | Whether to auto-discover ConnectionFactory from the registry, if no connection factory has been configured. If only one instance of ConnectionFactory is found then it will be used. This is enabled by default. | true | false | MEDIUM
| *camel.component.activemq.allowAutoWiredDestination Resolver* | Whether to auto-discover DestinationResolver from the registry, if no destination resolver has been configured. If only one instance of DestinationResolver is found then it will be used. This is enabled by default. | true | false | MEDIUM
| *camel.component.activemq.allowSerializedHeaders* | Controls whether or not to include serialized headers. Applies only when transferExchange is true. This requires that the objects are serializable. Camel will exclude any non-serializable objects and log it at WARN level. | false | false | MEDIUM
-| *camel.component.activemq.artemisStreamingEnabled* | Whether optimizing for Apache Artemis streaming mode. | true | false | MEDIUM
+| *camel.component.activemq.artemisStreamingEnabled* | Whether optimizing for Apache Artemis streaming mode. This can reduce memory overhead when using Artemis with JMS StreamMessage types. This option must only be enabled if Apache Artemis is being used. | false | false | MEDIUM
| *camel.component.activemq.asyncStartListener* | Whether to startup the JmsConsumer message listener asynchronously, when starting a route. For example if a JmsConsumer cannot get a connection to a remote JMS broker, then it may block while retrying and/or failover. This will cause Camel to block while starting routes. By setting this option to true, you will let routes startup, while the JmsConsumer connects to the JMS broker using a dedicated thread in asynchronous mode. If this optio [...]
| *camel.component.activemq.asyncStopListener* | Whether to stop the JmsConsumer message listener asynchronously, when stopping a route. | false | false | MEDIUM
| *camel.component.activemq.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
diff --git a/connectors/camel-activemq-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/activemq/CamelActivemqSinkConnectorConfig.java b/connectors/camel-activemq-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/activemq/CamelActivemqSinkConnectorConfig.java
index 29074ec..225cc83 100644
--- a/connectors/camel-activemq-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/activemq/CamelActivemqSinkConnectorConfig.java
+++ b/connectors/camel-activemq-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/activemq/CamelActivemqSinkConnectorConfig.java
@@ -132,8 +132,8 @@ public class CamelActivemqSinkConnectorConfig
public static final String CAMEL_SINK_ACTIVEMQ_ENDPOINT_ALLOW_SERIALIZED_HEADERS_DOC = "Controls whether or not to include serialized headers. Applies only when transferExchange is true. This requires that the objects are serializable. Camel will exclude any non-serializable objects and log it at WARN level.";
public static final Boolean CAMEL_SINK_ACTIVEMQ_ENDPOINT_ALLOW_SERIALIZED_HEADERS_DEFAULT = false;
public static final String CAMEL_SINK_ACTIVEMQ_ENDPOINT_ARTEMIS_STREAMING_ENABLED_CONF = "camel.sink.endpoint.artemisStreamingEnabled";
- public static final String CAMEL_SINK_ACTIVEMQ_ENDPOINT_ARTEMIS_STREAMING_ENABLED_DOC = "Whether optimizing for Apache Artemis streaming mode.";
- public static final Boolean CAMEL_SINK_ACTIVEMQ_ENDPOINT_ARTEMIS_STREAMING_ENABLED_DEFAULT = true;
+ public static final String CAMEL_SINK_ACTIVEMQ_ENDPOINT_ARTEMIS_STREAMING_ENABLED_DOC = "Whether optimizing for Apache Artemis streaming mode. This can reduce memory overhead when using Artemis with JMS StreamMessage types. This option must only be enabled if Apache Artemis is being used.";
+ public static final Boolean CAMEL_SINK_ACTIVEMQ_ENDPOINT_ARTEMIS_STREAMING_ENABLED_DEFAULT = false;
public static final String CAMEL_SINK_ACTIVEMQ_ENDPOINT_ASYNC_START_LISTENER_CONF = "camel.sink.endpoint.asyncStartListener";
public static final String CAMEL_SINK_ACTIVEMQ_ENDPOINT_ASYNC_START_LISTENER_DOC = "Whether to startup the JmsConsumer message listener asynchronously, when starting a route. For example if a JmsConsumer cannot get a connection to a remote JMS broker, then it may block while retrying and/or failover. This will cause Camel to block while starting routes. By setting this option to true, you will let routes startup, while the JmsConsumer connects to the JMS broker using a dedicated thre [...]
public static final Boolean CAMEL_SINK_ACTIVEMQ_ENDPOINT_ASYNC_START_LISTENER_DEFAULT = false;
@@ -354,8 +354,8 @@ public class CamelActivemqSinkConnectorConfig
public static final String CAMEL_SINK_ACTIVEMQ_COMPONENT_ALLOW_SERIALIZED_HEADERS_DOC = "Controls whether or not to include serialized headers. Applies only when transferExchange is true. This requires that the objects are serializable. Camel will exclude any non-serializable objects and log it at WARN level.";
public static final Boolean CAMEL_SINK_ACTIVEMQ_COMPONENT_ALLOW_SERIALIZED_HEADERS_DEFAULT = false;
public static final String CAMEL_SINK_ACTIVEMQ_COMPONENT_ARTEMIS_STREAMING_ENABLED_CONF = "camel.component.activemq.artemisStreamingEnabled";
- public static final String CAMEL_SINK_ACTIVEMQ_COMPONENT_ARTEMIS_STREAMING_ENABLED_DOC = "Whether optimizing for Apache Artemis streaming mode.";
- public static final Boolean CAMEL_SINK_ACTIVEMQ_COMPONENT_ARTEMIS_STREAMING_ENABLED_DEFAULT = true;
+ public static final String CAMEL_SINK_ACTIVEMQ_COMPONENT_ARTEMIS_STREAMING_ENABLED_DOC = "Whether optimizing for Apache Artemis streaming mode. This can reduce memory overhead when using Artemis with JMS StreamMessage types. This option must only be enabled if Apache Artemis is being used.";
+ public static final Boolean CAMEL_SINK_ACTIVEMQ_COMPONENT_ARTEMIS_STREAMING_ENABLED_DEFAULT = false;
public static final String CAMEL_SINK_ACTIVEMQ_COMPONENT_ASYNC_START_LISTENER_CONF = "camel.component.activemq.asyncStartListener";
public static final String CAMEL_SINK_ACTIVEMQ_COMPONENT_ASYNC_START_LISTENER_DOC = "Whether to startup the JmsConsumer message listener asynchronously, when starting a route. For example if a JmsConsumer cannot get a connection to a remote JMS broker, then it may block while retrying and/or failover. This will cause Camel to block while starting routes. By setting this option to true, you will let routes startup, while the JmsConsumer connects to the JMS broker using a dedicated thr [...]
public static final Boolean CAMEL_SINK_ACTIVEMQ_COMPONENT_ASYNC_START_LISTENER_DEFAULT = false;
diff --git a/connectors/camel-activemq-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/activemq/CamelActivemqSourceConnectorConfig.java b/connectors/camel-activemq-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/activemq/CamelActivemqSourceConnectorConfig.java
index 37be172..8d1136d 100644
--- a/connectors/camel-activemq-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/activemq/CamelActivemqSourceConnectorConfig.java
+++ b/connectors/camel-activemq-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/activemq/CamelActivemqSourceConnectorConfig.java
@@ -132,8 +132,8 @@ public class CamelActivemqSourceConnectorConfig
public static final String CAMEL_SOURCE_ACTIVEMQ_ENDPOINT_ALLOW_SERIALIZED_HEADERS_DOC = "Controls whether or not to include serialized headers. Applies only when transferExchange is true. This requires that the objects are serializable. Camel will exclude any non-serializable objects and log it at WARN level.";
public static final Boolean CAMEL_SOURCE_ACTIVEMQ_ENDPOINT_ALLOW_SERIALIZED_HEADERS_DEFAULT = false;
public static final String CAMEL_SOURCE_ACTIVEMQ_ENDPOINT_ARTEMIS_STREAMING_ENABLED_CONF = "camel.source.endpoint.artemisStreamingEnabled";
- public static final String CAMEL_SOURCE_ACTIVEMQ_ENDPOINT_ARTEMIS_STREAMING_ENABLED_DOC = "Whether optimizing for Apache Artemis streaming mode.";
- public static final Boolean CAMEL_SOURCE_ACTIVEMQ_ENDPOINT_ARTEMIS_STREAMING_ENABLED_DEFAULT = true;
+ public static final String CAMEL_SOURCE_ACTIVEMQ_ENDPOINT_ARTEMIS_STREAMING_ENABLED_DOC = "Whether optimizing for Apache Artemis streaming mode. This can reduce memory overhead when using Artemis with JMS StreamMessage types. This option must only be enabled if Apache Artemis is being used.";
+ public static final Boolean CAMEL_SOURCE_ACTIVEMQ_ENDPOINT_ARTEMIS_STREAMING_ENABLED_DEFAULT = false;
public static final String CAMEL_SOURCE_ACTIVEMQ_ENDPOINT_ASYNC_START_LISTENER_CONF = "camel.source.endpoint.asyncStartListener";
public static final String CAMEL_SOURCE_ACTIVEMQ_ENDPOINT_ASYNC_START_LISTENER_DOC = "Whether to startup the JmsConsumer message listener asynchronously, when starting a route. For example if a JmsConsumer cannot get a connection to a remote JMS broker, then it may block while retrying and/or failover. This will cause Camel to block while starting routes. By setting this option to true, you will let routes startup, while the JmsConsumer connects to the JMS broker using a dedicated th [...]
public static final Boolean CAMEL_SOURCE_ACTIVEMQ_ENDPOINT_ASYNC_START_LISTENER_DEFAULT = false;
@@ -351,8 +351,8 @@ public class CamelActivemqSourceConnectorConfig
public static final String CAMEL_SOURCE_ACTIVEMQ_COMPONENT_ALLOW_SERIALIZED_HEADERS_DOC = "Controls whether or not to include serialized headers. Applies only when transferExchange is true. This requires that the objects are serializable. Camel will exclude any non-serializable objects and log it at WARN level.";
public static final Boolean CAMEL_SOURCE_ACTIVEMQ_COMPONENT_ALLOW_SERIALIZED_HEADERS_DEFAULT = false;
public static final String CAMEL_SOURCE_ACTIVEMQ_COMPONENT_ARTEMIS_STREAMING_ENABLED_CONF = "camel.component.activemq.artemisStreamingEnabled";
- public static final String CAMEL_SOURCE_ACTIVEMQ_COMPONENT_ARTEMIS_STREAMING_ENABLED_DOC = "Whether optimizing for Apache Artemis streaming mode.";
- public static final Boolean CAMEL_SOURCE_ACTIVEMQ_COMPONENT_ARTEMIS_STREAMING_ENABLED_DEFAULT = true;
+ public static final String CAMEL_SOURCE_ACTIVEMQ_COMPONENT_ARTEMIS_STREAMING_ENABLED_DOC = "Whether optimizing for Apache Artemis streaming mode. This can reduce memory overhead when using Artemis with JMS StreamMessage types. This option must only be enabled if Apache Artemis is being used.";
+ public static final Boolean CAMEL_SOURCE_ACTIVEMQ_COMPONENT_ARTEMIS_STREAMING_ENABLED_DEFAULT = false;
public static final String CAMEL_SOURCE_ACTIVEMQ_COMPONENT_ASYNC_START_LISTENER_CONF = "camel.component.activemq.asyncStartListener";
public static final String CAMEL_SOURCE_ACTIVEMQ_COMPONENT_ASYNC_START_LISTENER_DOC = "Whether to startup the JmsConsumer message listener asynchronously, when starting a route. For example if a JmsConsumer cannot get a connection to a remote JMS broker, then it may block while retrying and/or failover. This will cause Camel to block while starting routes. By setting this option to true, you will let routes startup, while the JmsConsumer connects to the JMS broker using a dedicated t [...]
public static final Boolean CAMEL_SOURCE_ACTIVEMQ_COMPONENT_ASYNC_START_LISTENER_DEFAULT = false;
diff --git a/connectors/camel-amqp-kafka-connector/src/generated/resources/camel-amqp-sink.json b/connectors/camel-amqp-kafka-connector/src/generated/resources/camel-amqp-sink.json
index 3aeb952..d7cc48b 100644
--- a/connectors/camel-amqp-kafka-connector/src/generated/resources/camel-amqp-sink.json
+++ b/connectors/camel-amqp-kafka-connector/src/generated/resources/camel-amqp-sink.json
@@ -282,8 +282,8 @@
},
"camel.sink.endpoint.artemisStreamingEnabled": {
"name": "camel.sink.endpoint.artemisStreamingEnabled",
- "description": "Whether optimizing for Apache Artemis streaming mode.",
- "defaultValue": "true",
+ "description": "Whether optimizing for Apache Artemis streaming mode. This can reduce memory overhead when using Artemis with JMS StreamMessage types. This option must only be enabled if Apache Artemis is being used.",
+ "defaultValue": "false",
"priority": "MEDIUM",
"required": "false"
},
@@ -799,8 +799,8 @@
},
"camel.component.amqp.artemisStreamingEnabled": {
"name": "camel.component.amqp.artemisStreamingEnabled",
- "description": "Whether optimizing for Apache Artemis streaming mode.",
- "defaultValue": "true",
+ "description": "Whether optimizing for Apache Artemis streaming mode. This can reduce memory overhead when using Artemis with JMS StreamMessage types. This option must only be enabled if Apache Artemis is being used.",
+ "defaultValue": "false",
"priority": "MEDIUM",
"required": "false"
},
diff --git a/connectors/camel-amqp-kafka-connector/src/generated/resources/camel-amqp-source.json b/connectors/camel-amqp-kafka-connector/src/generated/resources/camel-amqp-source.json
index f975731..1457270 100644
--- a/connectors/camel-amqp-kafka-connector/src/generated/resources/camel-amqp-source.json
+++ b/connectors/camel-amqp-kafka-connector/src/generated/resources/camel-amqp-source.json
@@ -274,8 +274,8 @@
},
"camel.source.endpoint.artemisStreamingEnabled": {
"name": "camel.source.endpoint.artemisStreamingEnabled",
- "description": "Whether optimizing for Apache Artemis streaming mode.",
- "defaultValue": "true",
+ "description": "Whether optimizing for Apache Artemis streaming mode. This can reduce memory overhead when using Artemis with JMS StreamMessage types. This option must only be enabled if Apache Artemis is being used.",
+ "defaultValue": "false",
"priority": "MEDIUM",
"required": "false"
},
@@ -788,8 +788,8 @@
},
"camel.component.amqp.artemisStreamingEnabled": {
"name": "camel.component.amqp.artemisStreamingEnabled",
- "description": "Whether optimizing for Apache Artemis streaming mode.",
- "defaultValue": "true",
+ "description": "Whether optimizing for Apache Artemis streaming mode. This can reduce memory overhead when using Artemis with JMS StreamMessage types. This option must only be enabled if Apache Artemis is being used.",
+ "defaultValue": "false",
"priority": "MEDIUM",
"required": "false"
},
diff --git a/connectors/camel-amqp-kafka-connector/src/main/docs/camel-amqp-kafka-sink-connector.adoc b/connectors/camel-amqp-kafka-connector/src/main/docs/camel-amqp-kafka-sink-connector.adoc
index ef9a9cf..3ac32fa 100644
--- a/connectors/camel-amqp-kafka-connector/src/main/docs/camel-amqp-kafka-sink-connector.adoc
+++ b/connectors/camel-amqp-kafka-connector/src/main/docs/camel-amqp-kafka-sink-connector.adoc
@@ -66,7 +66,7 @@ The camel-amqp sink connector supports 146 options, which are listed below.
| *camel.sink.endpoint.replyToDestinationSelectorName* | Sets the JMS Selector using the fixed name to be used so you can filter out your own replies from the others when using a shared queue (that is, if you are not using a temporary reply queue). | null | false | MEDIUM
| *camel.sink.endpoint.streamMessageTypeEnabled* | Sets whether StreamMessage type is enabled or not. Message payloads of streaming kind such as files, InputStream, etc will either by sent as BytesMessage or StreamMessage. This option controls which kind will be used. By default BytesMessage is used which enforces the entire message payload to be read into memory. By enabling this option the message payload is read into memory in chunks and each chunk is then written to the StreamMessage [...]
| *camel.sink.endpoint.allowSerializedHeaders* | Controls whether or not to include serialized headers. Applies only when transferExchange is true. This requires that the objects are serializable. Camel will exclude any non-serializable objects and log it at WARN level. | false | false | MEDIUM
-| *camel.sink.endpoint.artemisStreamingEnabled* | Whether optimizing for Apache Artemis streaming mode. | true | false | MEDIUM
+| *camel.sink.endpoint.artemisStreamingEnabled* | Whether optimizing for Apache Artemis streaming mode. This can reduce memory overhead when using Artemis with JMS StreamMessage types. This option must only be enabled if Apache Artemis is being used. | false | false | MEDIUM
| *camel.sink.endpoint.asyncStartListener* | Whether to startup the JmsConsumer message listener asynchronously, when starting a route. For example if a JmsConsumer cannot get a connection to a remote JMS broker, then it may block while retrying and/or failover. This will cause Camel to block while starting routes. By setting this option to true, you will let routes startup, while the JmsConsumer connects to the JMS broker using a dedicated thread in asynchronous mode. If this option is [...]
| *camel.sink.endpoint.asyncStopListener* | Whether to stop the JmsConsumer message listener asynchronously, when stopping a route. | false | false | MEDIUM
| *camel.sink.endpoint.destinationResolver* | A pluggable org.springframework.jms.support.destination.DestinationResolver that allows you to use your own resolver (for example, to lookup the real destination in a JNDI registry). | null | false | MEDIUM
@@ -138,7 +138,7 @@ The camel-amqp sink connector supports 146 options, which are listed below.
| *camel.component.amqp.allowAutoWiredConnection Factory* | Whether to auto-discover ConnectionFactory from the registry, if no connection factory has been configured. If only one instance of ConnectionFactory is found then it will be used. This is enabled by default. | true | false | MEDIUM
| *camel.component.amqp.allowAutoWiredDestination Resolver* | Whether to auto-discover DestinationResolver from the registry, if no destination resolver has been configured. If only one instance of DestinationResolver is found then it will be used. This is enabled by default. | true | false | MEDIUM
| *camel.component.amqp.allowSerializedHeaders* | Controls whether or not to include serialized headers. Applies only when transferExchange is true. This requires that the objects are serializable. Camel will exclude any non-serializable objects and log it at WARN level. | false | false | MEDIUM
-| *camel.component.amqp.artemisStreamingEnabled* | Whether optimizing for Apache Artemis streaming mode. | true | false | MEDIUM
+| *camel.component.amqp.artemisStreamingEnabled* | Whether optimizing for Apache Artemis streaming mode. This can reduce memory overhead when using Artemis with JMS StreamMessage types. This option must only be enabled if Apache Artemis is being used. | false | false | MEDIUM
| *camel.component.amqp.asyncStartListener* | Whether to startup the JmsConsumer message listener asynchronously, when starting a route. For example if a JmsConsumer cannot get a connection to a remote JMS broker, then it may block while retrying and/or failover. This will cause Camel to block while starting routes. By setting this option to true, you will let routes startup, while the JmsConsumer connects to the JMS broker using a dedicated thread in asynchronous mode. If this option is [...]
| *camel.component.amqp.asyncStopListener* | Whether to stop the JmsConsumer message listener asynchronously, when stopping a route. | false | false | MEDIUM
| *camel.component.amqp.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
diff --git a/connectors/camel-amqp-kafka-connector/src/main/docs/camel-amqp-kafka-source-connector.adoc b/connectors/camel-amqp-kafka-connector/src/main/docs/camel-amqp-kafka-source-connector.adoc
index 689012f..dc20ea3 100644
--- a/connectors/camel-amqp-kafka-connector/src/main/docs/camel-amqp-kafka-source-connector.adoc
+++ b/connectors/camel-amqp-kafka-connector/src/main/docs/camel-amqp-kafka-source-connector.adoc
@@ -65,7 +65,7 @@ The camel-amqp source connector supports 146 options, which are listed below.
| *camel.source.endpoint.replyToSameDestination Allowed* | Whether a JMS consumer is allowed to send a reply message to the same destination that the consumer is using to consume from. This prevents an endless loop by consuming and sending back the same message to itself. | false | false | MEDIUM
| *camel.source.endpoint.taskExecutor* | Allows you to specify a custom task executor for consuming messages. | null | false | MEDIUM
| *camel.source.endpoint.allowSerializedHeaders* | Controls whether or not to include serialized headers. Applies only when transferExchange is true. This requires that the objects are serializable. Camel will exclude any non-serializable objects and log it at WARN level. | false | false | MEDIUM
-| *camel.source.endpoint.artemisStreamingEnabled* | Whether optimizing for Apache Artemis streaming mode. | true | false | MEDIUM
+| *camel.source.endpoint.artemisStreamingEnabled* | Whether optimizing for Apache Artemis streaming mode. This can reduce memory overhead when using Artemis with JMS StreamMessage types. This option must only be enabled if Apache Artemis is being used. | false | false | MEDIUM
| *camel.source.endpoint.asyncStartListener* | Whether to startup the JmsConsumer message listener asynchronously, when starting a route. For example if a JmsConsumer cannot get a connection to a remote JMS broker, then it may block while retrying and/or failover. This will cause Camel to block while starting routes. By setting this option to true, you will let routes startup, while the JmsConsumer connects to the JMS broker using a dedicated thread in asynchronous mode. If this option i [...]
| *camel.source.endpoint.asyncStopListener* | Whether to stop the JmsConsumer message listener asynchronously, when stopping a route. | false | false | MEDIUM
| *camel.source.endpoint.destinationResolver* | A pluggable org.springframework.jms.support.destination.DestinationResolver that allows you to use your own resolver (for example, to lookup the real destination in a JNDI registry). | null | false | MEDIUM
@@ -136,7 +136,7 @@ The camel-amqp source connector supports 146 options, which are listed below.
| *camel.component.amqp.allowAutoWiredConnection Factory* | Whether to auto-discover ConnectionFactory from the registry, if no connection factory has been configured. If only one instance of ConnectionFactory is found then it will be used. This is enabled by default. | true | false | MEDIUM
| *camel.component.amqp.allowAutoWiredDestination Resolver* | Whether to auto-discover DestinationResolver from the registry, if no destination resolver has been configured. If only one instance of DestinationResolver is found then it will be used. This is enabled by default. | true | false | MEDIUM
| *camel.component.amqp.allowSerializedHeaders* | Controls whether or not to include serialized headers. Applies only when transferExchange is true. This requires that the objects are serializable. Camel will exclude any non-serializable objects and log it at WARN level. | false | false | MEDIUM
-| *camel.component.amqp.artemisStreamingEnabled* | Whether optimizing for Apache Artemis streaming mode. | true | false | MEDIUM
+| *camel.component.amqp.artemisStreamingEnabled* | Whether optimizing for Apache Artemis streaming mode. This can reduce memory overhead when using Artemis with JMS StreamMessage types. This option must only be enabled if Apache Artemis is being used. | false | false | MEDIUM
| *camel.component.amqp.asyncStartListener* | Whether to startup the JmsConsumer message listener asynchronously, when starting a route. For example if a JmsConsumer cannot get a connection to a remote JMS broker, then it may block while retrying and/or failover. This will cause Camel to block while starting routes. By setting this option to true, you will let routes startup, while the JmsConsumer connects to the JMS broker using a dedicated thread in asynchronous mode. If this option is [...]
| *camel.component.amqp.asyncStopListener* | Whether to stop the JmsConsumer message listener asynchronously, when stopping a route. | false | false | MEDIUM
| *camel.component.amqp.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
diff --git a/connectors/camel-amqp-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/amqp/CamelAmqpSinkConnectorConfig.java b/connectors/camel-amqp-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/amqp/CamelAmqpSinkConnectorConfig.java
index 08ea14c..bd29f4e 100644
--- a/connectors/camel-amqp-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/amqp/CamelAmqpSinkConnectorConfig.java
+++ b/connectors/camel-amqp-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/amqp/CamelAmqpSinkConnectorConfig.java
@@ -130,8 +130,8 @@ public class CamelAmqpSinkConnectorConfig extends CamelSinkConnectorConfig {
public static final String CAMEL_SINK_AMQP_ENDPOINT_ALLOW_SERIALIZED_HEADERS_DOC = "Controls whether or not to include serialized headers. Applies only when transferExchange is true. This requires that the objects are serializable. Camel will exclude any non-serializable objects and log it at WARN level.";
public static final Boolean CAMEL_SINK_AMQP_ENDPOINT_ALLOW_SERIALIZED_HEADERS_DEFAULT = false;
public static final String CAMEL_SINK_AMQP_ENDPOINT_ARTEMIS_STREAMING_ENABLED_CONF = "camel.sink.endpoint.artemisStreamingEnabled";
- public static final String CAMEL_SINK_AMQP_ENDPOINT_ARTEMIS_STREAMING_ENABLED_DOC = "Whether optimizing for Apache Artemis streaming mode.";
- public static final Boolean CAMEL_SINK_AMQP_ENDPOINT_ARTEMIS_STREAMING_ENABLED_DEFAULT = true;
+ public static final String CAMEL_SINK_AMQP_ENDPOINT_ARTEMIS_STREAMING_ENABLED_DOC = "Whether optimizing for Apache Artemis streaming mode. This can reduce memory overhead when using Artemis with JMS StreamMessage types. This option must only be enabled if Apache Artemis is being used.";
+ public static final Boolean CAMEL_SINK_AMQP_ENDPOINT_ARTEMIS_STREAMING_ENABLED_DEFAULT = false;
public static final String CAMEL_SINK_AMQP_ENDPOINT_ASYNC_START_LISTENER_CONF = "camel.sink.endpoint.asyncStartListener";
public static final String CAMEL_SINK_AMQP_ENDPOINT_ASYNC_START_LISTENER_DOC = "Whether to startup the JmsConsumer message listener asynchronously, when starting a route. For example if a JmsConsumer cannot get a connection to a remote JMS broker, then it may block while retrying and/or failover. This will cause Camel to block while starting routes. By setting this option to true, you will let routes startup, while the JmsConsumer connects to the JMS broker using a dedicated thread i [...]
public static final Boolean CAMEL_SINK_AMQP_ENDPOINT_ASYNC_START_LISTENER_DEFAULT = false;
@@ -346,8 +346,8 @@ public class CamelAmqpSinkConnectorConfig extends CamelSinkConnectorConfig {
public static final String CAMEL_SINK_AMQP_COMPONENT_ALLOW_SERIALIZED_HEADERS_DOC = "Controls whether or not to include serialized headers. Applies only when transferExchange is true. This requires that the objects are serializable. Camel will exclude any non-serializable objects and log it at WARN level.";
public static final Boolean CAMEL_SINK_AMQP_COMPONENT_ALLOW_SERIALIZED_HEADERS_DEFAULT = false;
public static final String CAMEL_SINK_AMQP_COMPONENT_ARTEMIS_STREAMING_ENABLED_CONF = "camel.component.amqp.artemisStreamingEnabled";
- public static final String CAMEL_SINK_AMQP_COMPONENT_ARTEMIS_STREAMING_ENABLED_DOC = "Whether optimizing for Apache Artemis streaming mode.";
- public static final Boolean CAMEL_SINK_AMQP_COMPONENT_ARTEMIS_STREAMING_ENABLED_DEFAULT = true;
+ public static final String CAMEL_SINK_AMQP_COMPONENT_ARTEMIS_STREAMING_ENABLED_DOC = "Whether optimizing for Apache Artemis streaming mode. This can reduce memory overhead when using Artemis with JMS StreamMessage types. This option must only be enabled if Apache Artemis is being used.";
+ public static final Boolean CAMEL_SINK_AMQP_COMPONENT_ARTEMIS_STREAMING_ENABLED_DEFAULT = false;
public static final String CAMEL_SINK_AMQP_COMPONENT_ASYNC_START_LISTENER_CONF = "camel.component.amqp.asyncStartListener";
public static final String CAMEL_SINK_AMQP_COMPONENT_ASYNC_START_LISTENER_DOC = "Whether to startup the JmsConsumer message listener asynchronously, when starting a route. For example if a JmsConsumer cannot get a connection to a remote JMS broker, then it may block while retrying and/or failover. This will cause Camel to block while starting routes. By setting this option to true, you will let routes startup, while the JmsConsumer connects to the JMS broker using a dedicated thread [...]
public static final Boolean CAMEL_SINK_AMQP_COMPONENT_ASYNC_START_LISTENER_DEFAULT = false;
diff --git a/connectors/camel-amqp-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/amqp/CamelAmqpSourceConnectorConfig.java b/connectors/camel-amqp-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/amqp/CamelAmqpSourceConnectorConfig.java
index 3b1ec49..46b68eb 100644
--- a/connectors/camel-amqp-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/amqp/CamelAmqpSourceConnectorConfig.java
+++ b/connectors/camel-amqp-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/amqp/CamelAmqpSourceConnectorConfig.java
@@ -129,8 +129,8 @@ public class CamelAmqpSourceConnectorConfig
public static final String CAMEL_SOURCE_AMQP_ENDPOINT_ALLOW_SERIALIZED_HEADERS_DOC = "Controls whether or not to include serialized headers. Applies only when transferExchange is true. This requires that the objects are serializable. Camel will exclude any non-serializable objects and log it at WARN level.";
public static final Boolean CAMEL_SOURCE_AMQP_ENDPOINT_ALLOW_SERIALIZED_HEADERS_DEFAULT = false;
public static final String CAMEL_SOURCE_AMQP_ENDPOINT_ARTEMIS_STREAMING_ENABLED_CONF = "camel.source.endpoint.artemisStreamingEnabled";
- public static final String CAMEL_SOURCE_AMQP_ENDPOINT_ARTEMIS_STREAMING_ENABLED_DOC = "Whether optimizing for Apache Artemis streaming mode.";
- public static final Boolean CAMEL_SOURCE_AMQP_ENDPOINT_ARTEMIS_STREAMING_ENABLED_DEFAULT = true;
+ public static final String CAMEL_SOURCE_AMQP_ENDPOINT_ARTEMIS_STREAMING_ENABLED_DOC = "Whether optimizing for Apache Artemis streaming mode. This can reduce memory overhead when using Artemis with JMS StreamMessage types. This option must only be enabled if Apache Artemis is being used.";
+ public static final Boolean CAMEL_SOURCE_AMQP_ENDPOINT_ARTEMIS_STREAMING_ENABLED_DEFAULT = false;
public static final String CAMEL_SOURCE_AMQP_ENDPOINT_ASYNC_START_LISTENER_CONF = "camel.source.endpoint.asyncStartListener";
public static final String CAMEL_SOURCE_AMQP_ENDPOINT_ASYNC_START_LISTENER_DOC = "Whether to startup the JmsConsumer message listener asynchronously, when starting a route. For example if a JmsConsumer cannot get a connection to a remote JMS broker, then it may block while retrying and/or failover. This will cause Camel to block while starting routes. By setting this option to true, you will let routes startup, while the JmsConsumer connects to the JMS broker using a dedicated thread [...]
public static final Boolean CAMEL_SOURCE_AMQP_ENDPOINT_ASYNC_START_LISTENER_DEFAULT = false;
@@ -342,8 +342,8 @@ public class CamelAmqpSourceConnectorConfig
public static final String CAMEL_SOURCE_AMQP_COMPONENT_ALLOW_SERIALIZED_HEADERS_DOC = "Controls whether or not to include serialized headers. Applies only when transferExchange is true. This requires that the objects are serializable. Camel will exclude any non-serializable objects and log it at WARN level.";
public static final Boolean CAMEL_SOURCE_AMQP_COMPONENT_ALLOW_SERIALIZED_HEADERS_DEFAULT = false;
public static final String CAMEL_SOURCE_AMQP_COMPONENT_ARTEMIS_STREAMING_ENABLED_CONF = "camel.component.amqp.artemisStreamingEnabled";
- public static final String CAMEL_SOURCE_AMQP_COMPONENT_ARTEMIS_STREAMING_ENABLED_DOC = "Whether optimizing for Apache Artemis streaming mode.";
- public static final Boolean CAMEL_SOURCE_AMQP_COMPONENT_ARTEMIS_STREAMING_ENABLED_DEFAULT = true;
+ public static final String CAMEL_SOURCE_AMQP_COMPONENT_ARTEMIS_STREAMING_ENABLED_DOC = "Whether optimizing for Apache Artemis streaming mode. This can reduce memory overhead when using Artemis with JMS StreamMessage types. This option must only be enabled if Apache Artemis is being used.";
+ public static final Boolean CAMEL_SOURCE_AMQP_COMPONENT_ARTEMIS_STREAMING_ENABLED_DEFAULT = false;
public static final String CAMEL_SOURCE_AMQP_COMPONENT_ASYNC_START_LISTENER_CONF = "camel.component.amqp.asyncStartListener";
public static final String CAMEL_SOURCE_AMQP_COMPONENT_ASYNC_START_LISTENER_DOC = "Whether to startup the JmsConsumer message listener asynchronously, when starting a route. For example if a JmsConsumer cannot get a connection to a remote JMS broker, then it may block while retrying and/or failover. This will cause Camel to block while starting routes. By setting this option to true, you will let routes startup, while the JmsConsumer connects to the JMS broker using a dedicated threa [...]
public static final Boolean CAMEL_SOURCE_AMQP_COMPONENT_ASYNC_START_LISTENER_DEFAULT = false;
diff --git a/connectors/camel-as2-kafka-connector/src/generated/resources/camel-as2-sink.json b/connectors/camel-as2-kafka-connector/src/generated/resources/camel-as2-sink.json
index ec8f7c0..0847fcc 100644
--- a/connectors/camel-as2-kafka-connector/src/generated/resources/camel-as2-sink.json
+++ b/connectors/camel-as2-kafka-connector/src/generated/resources/camel-as2-sink.json
@@ -64,6 +64,12 @@
"1.1"
]
},
+ "camel.sink.endpoint.attachedFileName": {
+ "name": "camel.sink.endpoint.attachedFileName",
+ "description": "The name of the attached file",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
"camel.sink.endpoint.clientFqdn": {
"name": "camel.sink.endpoint.clientFqdn",
"description": "The Client Fully Qualified Domain Name (FQDN). Used in message ids sent by endpoint.",
diff --git a/connectors/camel-as2-kafka-connector/src/generated/resources/camel-as2-source.json b/connectors/camel-as2-kafka-connector/src/generated/resources/camel-as2-source.json
index 897ba3f..5fd5b34 100644
--- a/connectors/camel-as2-kafka-connector/src/generated/resources/camel-as2-source.json
+++ b/connectors/camel-as2-kafka-connector/src/generated/resources/camel-as2-source.json
@@ -64,6 +64,12 @@
"1.1"
]
},
+ "camel.source.endpoint.attachedFileName": {
+ "name": "camel.source.endpoint.attachedFileName",
+ "description": "The name of the attached file",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
"camel.source.endpoint.clientFqdn": {
"name": "camel.source.endpoint.clientFqdn",
"description": "The Client Fully Qualified Domain Name (FQDN). Used in message ids sent by endpoint.",
diff --git a/connectors/camel-as2-kafka-connector/src/main/docs/camel-as2-kafka-sink-connector.adoc b/connectors/camel-as2-kafka-connector/src/main/docs/camel-as2-kafka-sink-connector.adoc
index 32f4ade..f152e91 100644
--- a/connectors/camel-as2-kafka-connector/src/main/docs/camel-as2-kafka-sink-connector.adoc
+++ b/connectors/camel-as2-kafka-connector/src/main/docs/camel-as2-kafka-sink-connector.adoc
@@ -24,7 +24,7 @@ connector.class=org.apache.camel.kafkaconnector.as2.CamelAs2SinkConnector
----
-The camel-as2 sink connector supports 33 options, which are listed below.
+The camel-as2 sink connector supports 34 options, which are listed below.
@@ -37,6 +37,7 @@ The camel-as2 sink connector supports 33 options, which are listed below.
| *camel.sink.endpoint.as2MessageStructure* | The structure of AS2 Message. One of: PLAIN - No encryption, no signature, SIGNED - No encryption, signature, ENCRYPTED - Encryption, no signature, ENCRYPTED_SIGNED - Encryption, signature One of: [PLAIN] [SIGNED] [ENCRYPTED] [SIGNED_ENCRYPTED] [PLAIN_COMPRESSED] [SIGNED_COMPRESSED] [ENCRYPTED_COMPRESSED] [ENCRYPTED_COMPRESSED_SIGNED] | null | false | MEDIUM
| *camel.sink.endpoint.as2To* | The value of the AS2To header of AS2 message. | null | false | MEDIUM
| *camel.sink.endpoint.as2Version* | The version of the AS2 protocol. One of: [1.0] [1.1] | "1.1" | false | MEDIUM
+| *camel.sink.endpoint.attachedFileName* | The name of the attached file | null | false | MEDIUM
| *camel.sink.endpoint.clientFqdn* | The Client Fully Qualified Domain Name (FQDN). Used in message ids sent by endpoint. | "camel.apache.org" | false | MEDIUM
| *camel.sink.endpoint.compressionAlgorithm* | The algorithm used to compress EDI message. One of: [ZLIB] | null | false | MEDIUM
| *camel.sink.endpoint.decryptingPrivateKey* | The key used to encrypt the EDI message. | null | false | MEDIUM
diff --git a/connectors/camel-as2-kafka-connector/src/main/docs/camel-as2-kafka-source-connector.adoc b/connectors/camel-as2-kafka-connector/src/main/docs/camel-as2-kafka-source-connector.adoc
index 53cb370..04ade41 100644
--- a/connectors/camel-as2-kafka-connector/src/main/docs/camel-as2-kafka-source-connector.adoc
+++ b/connectors/camel-as2-kafka-connector/src/main/docs/camel-as2-kafka-source-connector.adoc
@@ -24,7 +24,7 @@ connector.class=org.apache.camel.kafkaconnector.as2.CamelAs2SourceConnector
----
-The camel-as2 source connector supports 34 options, which are listed below.
+The camel-as2 source connector supports 35 options, which are listed below.
@@ -37,6 +37,7 @@ The camel-as2 source connector supports 34 options, which are listed below.
| *camel.source.endpoint.as2MessageStructure* | The structure of AS2 Message. One of: PLAIN - No encryption, no signature, SIGNED - No encryption, signature, ENCRYPTED - Encryption, no signature, ENCRYPTED_SIGNED - Encryption, signature One of: [PLAIN] [SIGNED] [ENCRYPTED] [SIGNED_ENCRYPTED] [PLAIN_COMPRESSED] [SIGNED_COMPRESSED] [ENCRYPTED_COMPRESSED] [ENCRYPTED_COMPRESSED_SIGNED] | null | false | MEDIUM
| *camel.source.endpoint.as2To* | The value of the AS2To header of AS2 message. | null | false | MEDIUM
| *camel.source.endpoint.as2Version* | The version of the AS2 protocol. One of: [1.0] [1.1] | "1.1" | false | MEDIUM
+| *camel.source.endpoint.attachedFileName* | The name of the attached file | null | false | MEDIUM
| *camel.source.endpoint.clientFqdn* | The Client Fully Qualified Domain Name (FQDN). Used in message ids sent by endpoint. | "camel.apache.org" | false | MEDIUM
| *camel.source.endpoint.compressionAlgorithm* | The algorithm used to compress EDI message. One of: [ZLIB] | null | false | MEDIUM
| *camel.source.endpoint.decryptingPrivateKey* | The key used to encrypt the EDI message. | null | false | MEDIUM
diff --git a/connectors/camel-as2-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/as2/CamelAs2SinkConnectorConfig.java b/connectors/camel-as2-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/as2/CamelAs2SinkConnectorConfig.java
index 9439e1b..4478ed4 100644
--- a/connectors/camel-as2-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/as2/CamelAs2SinkConnectorConfig.java
+++ b/connectors/camel-as2-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/as2/CamelAs2SinkConnectorConfig.java
@@ -42,6 +42,9 @@ public class CamelAs2SinkConnectorConfig extends CamelSinkConnectorConfig {
public static final String CAMEL_SINK_AS2_ENDPOINT_AS_2VERSION_CONF = "camel.sink.endpoint.as2Version";
public static final String CAMEL_SINK_AS2_ENDPOINT_AS_2VERSION_DOC = "The version of the AS2 protocol. One of: [1.0] [1.1]";
public static final String CAMEL_SINK_AS2_ENDPOINT_AS_2VERSION_DEFAULT = "1.1";
+ public static final String CAMEL_SINK_AS2_ENDPOINT_ATTACHED_FILE_NAME_CONF = "camel.sink.endpoint.attachedFileName";
+ public static final String CAMEL_SINK_AS2_ENDPOINT_ATTACHED_FILE_NAME_DOC = "The name of the attached file";
+ public static final String CAMEL_SINK_AS2_ENDPOINT_ATTACHED_FILE_NAME_DEFAULT = null;
public static final String CAMEL_SINK_AS2_ENDPOINT_CLIENT_FQDN_CONF = "camel.sink.endpoint.clientFqdn";
public static final String CAMEL_SINK_AS2_ENDPOINT_CLIENT_FQDN_DOC = "The Client Fully Qualified Domain Name (FQDN). Used in message ids sent by endpoint.";
public static final String CAMEL_SINK_AS2_ENDPOINT_CLIENT_FQDN_DEFAULT = "camel.apache.org";
@@ -142,6 +145,7 @@ public class CamelAs2SinkConnectorConfig extends CamelSinkConnectorConfig {
conf.define(CAMEL_SINK_AS2_ENDPOINT_AS_2MESSAGE_STRUCTURE_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AS2_ENDPOINT_AS_2MESSAGE_STRUCTURE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AS2_ENDPOINT_AS_2MESSAGE_STRUCTURE_DOC);
conf.define(CAMEL_SINK_AS2_ENDPOINT_AS_2TO_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AS2_ENDPOINT_AS_2TO_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AS2_ENDPOINT_AS_2TO_DOC);
conf.define(CAMEL_SINK_AS2_ENDPOINT_AS_2VERSION_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AS2_ENDPOINT_AS_2VERSION_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AS2_ENDPOINT_AS_2VERSION_DOC);
+ conf.define(CAMEL_SINK_AS2_ENDPOINT_ATTACHED_FILE_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AS2_ENDPOINT_ATTACHED_FILE_NAME_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AS2_ENDPOINT_ATTACHED_FILE_NAME_DOC);
conf.define(CAMEL_SINK_AS2_ENDPOINT_CLIENT_FQDN_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AS2_ENDPOINT_CLIENT_FQDN_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AS2_ENDPOINT_CLIENT_FQDN_DOC);
conf.define(CAMEL_SINK_AS2_ENDPOINT_COMPRESSION_ALGORITHM_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AS2_ENDPOINT_COMPRESSION_ALGORITHM_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AS2_ENDPOINT_COMPRESSION_ALGORITHM_DOC);
conf.define(CAMEL_SINK_AS2_ENDPOINT_DECRYPTING_PRIVATE_KEY_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AS2_ENDPOINT_DECRYPTING_PRIVATE_KEY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AS2_ENDPOINT_DECRYPTING_PRIVATE_KEY_DOC);
diff --git a/connectors/camel-as2-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/as2/CamelAs2SourceConnectorConfig.java b/connectors/camel-as2-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/as2/CamelAs2SourceConnectorConfig.java
index 91de664..50198d9 100644
--- a/connectors/camel-as2-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/as2/CamelAs2SourceConnectorConfig.java
+++ b/connectors/camel-as2-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/as2/CamelAs2SourceConnectorConfig.java
@@ -42,6 +42,9 @@ public class CamelAs2SourceConnectorConfig extends CamelSourceConnectorConfig {
public static final String CAMEL_SOURCE_AS2_ENDPOINT_AS_2VERSION_CONF = "camel.source.endpoint.as2Version";
public static final String CAMEL_SOURCE_AS2_ENDPOINT_AS_2VERSION_DOC = "The version of the AS2 protocol. One of: [1.0] [1.1]";
public static final String CAMEL_SOURCE_AS2_ENDPOINT_AS_2VERSION_DEFAULT = "1.1";
+ public static final String CAMEL_SOURCE_AS2_ENDPOINT_ATTACHED_FILE_NAME_CONF = "camel.source.endpoint.attachedFileName";
+ public static final String CAMEL_SOURCE_AS2_ENDPOINT_ATTACHED_FILE_NAME_DOC = "The name of the attached file";
+ public static final String CAMEL_SOURCE_AS2_ENDPOINT_ATTACHED_FILE_NAME_DEFAULT = null;
public static final String CAMEL_SOURCE_AS2_ENDPOINT_CLIENT_FQDN_CONF = "camel.source.endpoint.clientFqdn";
public static final String CAMEL_SOURCE_AS2_ENDPOINT_CLIENT_FQDN_DOC = "The Client Fully Qualified Domain Name (FQDN). Used in message ids sent by endpoint.";
public static final String CAMEL_SOURCE_AS2_ENDPOINT_CLIENT_FQDN_DEFAULT = "camel.apache.org";
@@ -145,6 +148,7 @@ public class CamelAs2SourceConnectorConfig extends CamelSourceConnectorConfig {
conf.define(CAMEL_SOURCE_AS2_ENDPOINT_AS_2MESSAGE_STRUCTURE_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_AS2_ENDPOINT_AS_2MESSAGE_STRUCTURE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AS2_ENDPOINT_AS_2MESSAGE_STRUCTURE_DOC);
conf.define(CAMEL_SOURCE_AS2_ENDPOINT_AS_2TO_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_AS2_ENDPOINT_AS_2TO_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AS2_ENDPOINT_AS_2TO_DOC);
conf.define(CAMEL_SOURCE_AS2_ENDPOINT_AS_2VERSION_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_AS2_ENDPOINT_AS_2VERSION_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AS2_ENDPOINT_AS_2VERSION_DOC);
+ conf.define(CAMEL_SOURCE_AS2_ENDPOINT_ATTACHED_FILE_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_AS2_ENDPOINT_ATTACHED_FILE_NAME_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AS2_ENDPOINT_ATTACHED_FILE_NAME_DOC);
conf.define(CAMEL_SOURCE_AS2_ENDPOINT_CLIENT_FQDN_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_AS2_ENDPOINT_CLIENT_FQDN_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AS2_ENDPOINT_CLIENT_FQDN_DOC);
conf.define(CAMEL_SOURCE_AS2_ENDPOINT_COMPRESSION_ALGORITHM_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_AS2_ENDPOINT_COMPRESSION_ALGORITHM_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AS2_ENDPOINT_COMPRESSION_ALGORITHM_DOC);
conf.define(CAMEL_SOURCE_AS2_ENDPOINT_DECRYPTING_PRIVATE_KEY_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_AS2_ENDPOINT_DECRYPTING_PRIVATE_KEY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AS2_ENDPOINT_DECRYPTING_PRIVATE_KEY_DOC);
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
index afacf86..5e0b8c7 100644
--- 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
@@ -31,7 +31,7 @@
},
"camel.sink.endpoint.operation": {
"name": "camel.sink.endpoint.operation",
- "description": "The operation to perform One of: [listSecrets] [createSecret] [getSecret] [describeSecret] [deleteSecret] [rotateSecret] [updateSecret] [replicateSecretToRegions]",
+ "description": "The operation to perform One of: [listSecrets] [createSecret] [getSecret] [describeSecret] [deleteSecret] [rotateSecret] [updateSecret] [restoreSecret] [replicateSecretToRegions]",
"priority": "HIGH",
"required": "true",
"enum": [
@@ -42,6 +42,7 @@
"deleteSecret",
"rotateSecret",
"updateSecret",
+ "restoreSecret",
"replicateSecretToRegions"
]
},
@@ -148,7 +149,7 @@
},
"camel.component.aws-secrets-manager.operation": {
"name": "camel.component.aws-secrets-manager.operation",
- "description": "The operation to perform One of: [listSecrets] [createSecret] [getSecret] [describeSecret] [deleteSecret] [rotateSecret] [updateSecret] [replicateSecretToRegions]",
+ "description": "The operation to perform One of: [listSecrets] [createSecret] [getSecret] [describeSecret] [deleteSecret] [rotateSecret] [updateSecret] [restoreSecret] [replicateSecretToRegions]",
"priority": "HIGH",
"required": "true",
"enum": [
@@ -159,6 +160,7 @@
"deleteSecret",
"rotateSecret",
"updateSecret",
+ "restoreSecret",
"replicateSecretToRegions"
]
},
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
index 9ae4964..d83c51e 100644
--- 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
@@ -34,7 +34,7 @@ The camel-aws-secrets-manager sink connector supports 33 options, which are list
| *camel.sink.path.label* | Logical name | null | true | HIGH
| *camel.sink.endpoint.binaryPayload* | Set if the secret is binary or not | false | false | MEDIUM
| *camel.sink.endpoint.lazyStartProducer* | Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then cre [...]
-| *camel.sink.endpoint.operation* | The operation to perform One of: [listSecrets] [createSecret] [getSecret] [describeSecret] [deleteSecret] [rotateSecret] [updateSecret] [replicateSecretToRegions] | null | true | HIGH
+| *camel.sink.endpoint.operation* | The operation to perform One of: [listSecrets] [createSecret] [getSecret] [describeSecret] [deleteSecret] [rotateSecret] [updateSecret] [restoreSecret] [replicateSecretToRegions] | 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
@@ -50,7 +50,7 @@ The camel-aws-secrets-manager sink connector supports 33 options, which are list
| *camel.component.aws-secrets-manager.binaryPayload* | Set if the secret is binary or not | false | 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] [createSecret] [getSecret] [describeSecret] [deleteSecret] [rotateSecret] [updateSecret] [replicateSecretToRegions] | null | true | HIGH
+| *camel.component.aws-secrets-manager.operation* | The operation to perform One of: [listSecrets] [createSecret] [getSecret] [describeSecret] [deleteSecret] [rotateSecret] [updateSecret] [restoreSecret] [replicateSecretToRegions] | 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
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
index 787213b..087354c 100644
--- 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
@@ -28,9 +28,9 @@ topics=
# mandatory properties (for a complete properties list see the connector documentation):
-# The operation to perform One of: [listSecrets] [createSecret] [getSecret] [describeSecret] [deleteSecret] [rotateSecret] [updateSecret] [replicateSecretToRegions]
+# The operation to perform One of: [listSecrets] [createSecret] [getSecret] [describeSecret] [deleteSecret] [rotateSecret] [updateSecret] [restoreSecret] [replicateSecretToRegions]
camel.component.aws-secrets-manager.operation=
-# The operation to perform One of: [listSecrets] [createSecret] [getSecret] [describeSecret] [deleteSecret] [rotateSecret] [updateSecret] [replicateSecretToRegions]
+# The operation to perform One of: [listSecrets] [createSecret] [getSecret] [describeSecret] [deleteSecret] [rotateSecret] [updateSecret] [restoreSecret] [replicateSecretToRegions]
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/CamelAwssecretsmanagerSinkConnectorConfig.java b/connectors/camel-aws-secrets-manager-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/awssecretsmanager/CamelAwssecretsmanagerSinkConnectorConfig.java
index 186ce05..d5b1a6c 100644
--- 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
@@ -36,7 +36,7 @@ public class CamelAwssecretsmanagerSinkConnectorConfig
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] [createSecret] [getSecret] [describeSecret] [deleteSecret] [rotateSecret] [updateSecret] [replicateSecretToRegions]";
+ public static final String CAMEL_SINK_AWSSECRETSMANAGER_ENDPOINT_OPERATION_DOC = "The operation to perform One of: [listSecrets] [createSecret] [getSecret] [describeSecret] [deleteSecret] [rotateSecret] [updateSecret] [restoreSecret] [replicateSecretToRegions]";
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";
@@ -84,7 +84,7 @@ public class CamelAwssecretsmanagerSinkConnectorConfig
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] [createSecret] [getSecret] [describeSecret] [deleteSecret] [rotateSecret] [updateSecret] [replicateSecretToRegions]";
+ public static final String CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_OPERATION_DOC = "The operation to perform One of: [listSecrets] [createSecret] [getSecret] [describeSecret] [deleteSecret] [rotateSecret] [updateSecret] [restoreSecret] [replicateSecretToRegions]";
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";
diff --git a/connectors/camel-aws2-ddbstream-kafka-connector/src/generated/resources/camel-aws2-ddbstream-source.json b/connectors/camel-aws2-ddbstream-kafka-connector/src/generated/resources/camel-aws2-ddbstream-source.json
index ac4185f..34c25bb 100644
--- a/connectors/camel-aws2-ddbstream-kafka-connector/src/generated/resources/camel-aws2-ddbstream-source.json
+++ b/connectors/camel-aws2-ddbstream-kafka-connector/src/generated/resources/camel-aws2-ddbstream-source.json
@@ -28,20 +28,6 @@
"priority": "MEDIUM",
"required": "false"
},
- "camel.source.endpoint.iteratorType": {
- "name": "camel.source.endpoint.iteratorType",
- "description": "Defines where in the DynaboDB stream to start getting records. Note that using TRIM_HORIZON can cause a significant delay before the stream has caught up to real-time. if {AT,AFTER}_SEQUENCE_NUMBER are used, then a sequenceNumberProvider MUST be supplied. One of: [TRIM_HORIZON] [LATEST] [AT_SEQUENCE_NUMBER] [AFTER_SEQUENCE_NUMBER] [null]",
- "defaultValue": "\"LATEST\"",
- "priority": "MEDIUM",
- "required": "false",
- "enum": [
- "TRIM_HORIZON",
- "LATEST",
- "AT_SEQUENCE_NUMBER",
- "AFTER_SEQUENCE_NUMBER",
- "null"
- ]
- },
"camel.source.endpoint.maxResultsPerRequest": {
"name": "camel.source.endpoint.maxResultsPerRequest",
"description": "Maximum number of records that will be fetched in each poll",
@@ -91,11 +77,16 @@
"priority": "MEDIUM",
"required": "false"
},
- "camel.source.endpoint.sequenceNumberProvider": {
- "name": "camel.source.endpoint.sequenceNumberProvider",
- "description": "Provider for the sequence number when using one of the two ShardIteratorType.{AT,AFTER}_SEQUENCE_NUMBER iterator types. Can be a registry reference or a literal sequence number.",
+ "camel.source.endpoint.streamIteratorType": {
+ "name": "camel.source.endpoint.streamIteratorType",
+ "description": "Defines where in the DynamoDB stream to start getting records. Note that using FROM_START can cause a significant delay before the stream has caught up to real-time. One of: [FROM_LATEST] [FROM_START]",
+ "defaultValue": "\"FROM_LATEST\"",
"priority": "MEDIUM",
- "required": "false"
+ "required": "false",
+ "enum": [
+ "FROM_LATEST",
+ "FROM_START"
+ ]
},
"camel.source.endpoint.trustAllCertificates": {
"name": "camel.source.endpoint.trustAllCertificates",
@@ -281,20 +272,6 @@
"priority": "MEDIUM",
"required": "false"
},
- "camel.component.aws2-ddbstream.iteratorType": {
- "name": "camel.component.aws2-ddbstream.iteratorType",
- "description": "Defines where in the DynaboDB stream to start getting records. Note that using TRIM_HORIZON can cause a significant delay before the stream has caught up to real-time. if {AT,AFTER}_SEQUENCE_NUMBER are used, then a sequenceNumberProvider MUST be supplied. One of: [TRIM_HORIZON] [LATEST] [AT_SEQUENCE_NUMBER] [AFTER_SEQUENCE_NUMBER] [null]",
- "defaultValue": "\"LATEST\"",
- "priority": "MEDIUM",
- "required": "false",
- "enum": [
- "TRIM_HORIZON",
- "LATEST",
- "AT_SEQUENCE_NUMBER",
- "AFTER_SEQUENCE_NUMBER",
- "null"
- ]
- },
"camel.component.aws2-ddbstream.maxResultsPerRequest": {
"name": "camel.component.aws2-ddbstream.maxResultsPerRequest",
"description": "Maximum number of records that will be fetched in each poll",
@@ -337,11 +314,16 @@
"priority": "MEDIUM",
"required": "false"
},
- "camel.component.aws2-ddbstream.sequenceNumberProvider": {
- "name": "camel.component.aws2-ddbstream.sequenceNumberProvider",
- "description": "Provider for the sequence number when using one of the two ShardIteratorType.{AT,AFTER}_SEQUENCE_NUMBER iterator types. Can be a registry reference or a literal sequence number.",
+ "camel.component.aws2-ddbstream.streamIteratorType": {
+ "name": "camel.component.aws2-ddbstream.streamIteratorType",
+ "description": "Defines where in the DynamoDB stream to start getting records. Note that using FROM_START can cause a significant delay before the stream has caught up to real-time. One of: [FROM_LATEST] [FROM_START]",
+ "defaultValue": "\"FROM_LATEST\"",
"priority": "MEDIUM",
- "required": "false"
+ "required": "false",
+ "enum": [
+ "FROM_LATEST",
+ "FROM_START"
+ ]
},
"camel.component.aws2-ddbstream.trustAllCertificates": {
"name": "camel.component.aws2-ddbstream.trustAllCertificates",
diff --git a/connectors/camel-aws2-ddbstream-kafka-connector/src/main/docs/camel-aws2-ddbstream-kafka-source-connector.adoc b/connectors/camel-aws2-ddbstream-kafka-connector/src/main/docs/camel-aws2-ddbstream-kafka-source-connector.adoc
index 492d75a..b3d6aed 100644
--- a/connectors/camel-aws2-ddbstream-kafka-connector/src/main/docs/camel-aws2-ddbstream-kafka-source-connector.adoc
+++ b/connectors/camel-aws2-ddbstream-kafka-connector/src/main/docs/camel-aws2-ddbstream-kafka-source-connector.adoc
@@ -24,7 +24,7 @@ connector.class=org.apache.camel.kafkaconnector.aws2ddbstream.CamelAws2ddbstream
----
-The camel-aws2-ddbstream source connector supports 51 options, which are listed below.
+The camel-aws2-ddbstream source connector supports 49 options, which are listed below.
@@ -34,7 +34,6 @@ The camel-aws2-ddbstream source connector supports 51 options, which are listed
| *camel.source.path.tableName* | Name of the dynamodb table | null | true | HIGH
| *camel.source.endpoint.amazonDynamoDbStreamsClient* | Amazon DynamoDB client to use for all requests for this endpoint | null | false | MEDIUM
| *camel.source.endpoint.bridgeErrorHandler* | Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN or ERROR level and ignored. | false | false | MEDIUM
-| *camel.source.endpoint.iteratorType* | Defines where in the DynaboDB stream to start getting records. Note that using TRIM_HORIZON can cause a significant delay before the stream has caught up to real-time. if {AT,AFTER}_SEQUENCE_NUMBER are used, then a sequenceNumberProvider MUST be supplied. One of: [TRIM_HORIZON] [LATEST] [AT_SEQUENCE_NUMBER] [AFTER_SEQUENCE_NUMBER] [null] | "LATEST" | false | MEDIUM
| *camel.source.endpoint.maxResultsPerRequest* | Maximum number of records that will be fetched in each poll | null | false | MEDIUM
| *camel.source.endpoint.overrideEndpoint* | Set the need for overidding the endpoint. This option needs to be used in combination with uriEndpointOverride option | false | false | MEDIUM
| *camel.source.endpoint.proxyHost* | To define a proxy host when instantiating the DDBStreams client | null | false | MEDIUM
@@ -42,7 +41,7 @@ The camel-aws2-ddbstream source connector supports 51 options, which are listed
| *camel.source.endpoint.proxyProtocol* | To define a proxy protocol when instantiating the DDBStreams client One of: [HTTP] [HTTPS] | "HTTPS" | false | MEDIUM
| *camel.source.endpoint.region* | The region in which DDBStreams client needs to work | null | 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
-| *camel.source.endpoint.sequenceNumberProvider* | Provider for the sequence number when using one of the two ShardIteratorType.{AT,AFTER}_SEQUENCE_NUMBER iterator types. Can be a registry reference or a literal sequence number. | null | false | MEDIUM
+| *camel.source.endpoint.streamIteratorType* | Defines where in the DynamoDB stream to start getting records. Note that using FROM_START can cause a significant delay before the stream has caught up to real-time. One of: [FROM_LATEST] [FROM_START] | "FROM_LATEST" | false | MEDIUM
| *camel.source.endpoint.trustAllCertificates* | If we want to trust all certificates in case of overriding the endpoint | false | false | MEDIUM
| *camel.source.endpoint.uriEndpointOverride* | Set the overriding uri endpoint. This option needs to be used in combination with overrideEndpoint option | null | false | MEDIUM
| *camel.source.endpoint.useDefaultCredentials Provider* | Set whether the DynamoDB Streams client should expect to load credentials through a default credentials provider or to expect static credentials to be passed in. | false | false | MEDIUM
@@ -68,14 +67,13 @@ The camel-aws2-ddbstream source connector supports 51 options, which are listed
| *camel.component.aws2-ddbstream.amazonDynamoDb StreamsClient* | Amazon DynamoDB client to use for all requests for this endpoint | null | false | MEDIUM
| *camel.component.aws2-ddbstream.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.component.aws2-ddbstream.configuration* | The component configuration | null | false | MEDIUM
-| *camel.component.aws2-ddbstream.iteratorType* | Defines where in the DynaboDB stream to start getting records. Note that using TRIM_HORIZON can cause a significant delay before the stream has caught up to real-time. if {AT,AFTER}_SEQUENCE_NUMBER are used, then a sequenceNumberProvider MUST be supplied. One of: [TRIM_HORIZON] [LATEST] [AT_SEQUENCE_NUMBER] [AFTER_SEQUENCE_NUMBER] [null] | "LATEST" | false | MEDIUM
| *camel.component.aws2-ddbstream.maxResultsPer Request* | Maximum number of records that will be fetched in each poll | null | false | MEDIUM
| *camel.component.aws2-ddbstream.overrideEndpoint* | Set the need for overidding the endpoint. This option needs to be used in combination with uriEndpointOverride option | false | false | MEDIUM
| *camel.component.aws2-ddbstream.proxyHost* | To define a proxy host when instantiating the DDBStreams client | null | false | MEDIUM
| *camel.component.aws2-ddbstream.proxyPort* | To define a proxy port when instantiating the DDBStreams client | null | false | MEDIUM
| *camel.component.aws2-ddbstream.proxyProtocol* | To define a proxy protocol when instantiating the DDBStreams client One of: [HTTP] [HTTPS] | "HTTPS" | false | MEDIUM
| *camel.component.aws2-ddbstream.region* | The region in which DDBStreams client needs to work | null | false | MEDIUM
-| *camel.component.aws2-ddbstream.sequenceNumber Provider* | Provider for the sequence number when using one of the two ShardIteratorType.{AT,AFTER}_SEQUENCE_NUMBER iterator types. Can be a registry reference or a literal sequence number. | null | false | MEDIUM
+| *camel.component.aws2-ddbstream.streamIteratorType* | Defines where in the DynamoDB stream to start getting records. Note that using FROM_START can cause a significant delay before the stream has caught up to real-time. One of: [FROM_LATEST] [FROM_START] | "FROM_LATEST" | false | MEDIUM
| *camel.component.aws2-ddbstream.trustAll Certificates* | If we want to trust all certificates in case of overriding the endpoint | false | false | MEDIUM
| *camel.component.aws2-ddbstream.uriEndpointOverride* | Set the overriding uri endpoint. This option needs to be used in combination with overrideEndpoint option | null | false | MEDIUM
| *camel.component.aws2-ddbstream.useDefault CredentialsProvider* | Set whether the DynamoDB Streams client should expect to load credentials through a default credentials provider or to expect static credentials to be passed in. | false | false | MEDIUM
diff --git a/connectors/camel-aws2-ddbstream-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/aws2ddbstream/CamelAws2ddbstreamSourceConnectorConfig.java b/connectors/camel-aws2-ddbstream-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/aws2ddbstream/CamelAws2ddbstreamSourceConnectorConfig.java
index 805722d..37cde06 100644
--- a/connectors/camel-aws2-ddbstream-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/aws2ddbstream/CamelAws2ddbstreamSourceConnectorConfig.java
+++ b/connectors/camel-aws2-ddbstream-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/aws2ddbstream/CamelAws2ddbstreamSourceConnectorConfig.java
@@ -35,9 +35,6 @@ public class CamelAws2ddbstreamSourceConnectorConfig
public static final String CAMEL_SOURCE_AWS2DDBSTREAM_ENDPOINT_BRIDGE_ERROR_HANDLER_CONF = "camel.source.endpoint.bridgeErrorHandler";
public static final String CAMEL_SOURCE_AWS2DDBSTREAM_ENDPOINT_BRIDGE_ERROR_HANDLER_DOC = "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 a [...]
public static final Boolean CAMEL_SOURCE_AWS2DDBSTREAM_ENDPOINT_BRIDGE_ERROR_HANDLER_DEFAULT = false;
- public static final String CAMEL_SOURCE_AWS2DDBSTREAM_ENDPOINT_ITERATOR_TYPE_CONF = "camel.source.endpoint.iteratorType";
- public static final String CAMEL_SOURCE_AWS2DDBSTREAM_ENDPOINT_ITERATOR_TYPE_DOC = "Defines where in the DynaboDB stream to start getting records. Note that using TRIM_HORIZON can cause a significant delay before the stream has caught up to real-time. if {AT,AFTER}_SEQUENCE_NUMBER are used, then a sequenceNumberProvider MUST be supplied. One of: [TRIM_HORIZON] [LATEST] [AT_SEQUENCE_NUMBER] [AFTER_SEQUENCE_NUMBER] [null]";
- public static final String CAMEL_SOURCE_AWS2DDBSTREAM_ENDPOINT_ITERATOR_TYPE_DEFAULT = "LATEST";
public static final String CAMEL_SOURCE_AWS2DDBSTREAM_ENDPOINT_MAX_RESULTS_PER_REQUEST_CONF = "camel.source.endpoint.maxResultsPerRequest";
public static final String CAMEL_SOURCE_AWS2DDBSTREAM_ENDPOINT_MAX_RESULTS_PER_REQUEST_DOC = "Maximum number of records that will be fetched in each poll";
public static final Integer CAMEL_SOURCE_AWS2DDBSTREAM_ENDPOINT_MAX_RESULTS_PER_REQUEST_DEFAULT = null;
@@ -59,9 +56,9 @@ public class CamelAws2ddbstreamSourceConnectorConfig
public static final String CAMEL_SOURCE_AWS2DDBSTREAM_ENDPOINT_SEND_EMPTY_MESSAGE_WHEN_IDLE_CONF = "camel.source.endpoint.sendEmptyMessageWhenIdle";
public static final String CAMEL_SOURCE_AWS2DDBSTREAM_ENDPOINT_SEND_EMPTY_MESSAGE_WHEN_IDLE_DOC = "If the polling consumer did not poll any files, you can enable this option to send an empty message (no body) instead.";
public static final Boolean CAMEL_SOURCE_AWS2DDBSTREAM_ENDPOINT_SEND_EMPTY_MESSAGE_WHEN_IDLE_DEFAULT = false;
- public static final String CAMEL_SOURCE_AWS2DDBSTREAM_ENDPOINT_SEQUENCE_NUMBER_PROVIDER_CONF = "camel.source.endpoint.sequenceNumberProvider";
- public static final String CAMEL_SOURCE_AWS2DDBSTREAM_ENDPOINT_SEQUENCE_NUMBER_PROVIDER_DOC = "Provider for the sequence number when using one of the two ShardIteratorType.{AT,AFTER}_SEQUENCE_NUMBER iterator types. Can be a registry reference or a literal sequence number.";
- public static final String CAMEL_SOURCE_AWS2DDBSTREAM_ENDPOINT_SEQUENCE_NUMBER_PROVIDER_DEFAULT = null;
+ public static final String CAMEL_SOURCE_AWS2DDBSTREAM_ENDPOINT_STREAM_ITERATOR_TYPE_CONF = "camel.source.endpoint.streamIteratorType";
+ public static final String CAMEL_SOURCE_AWS2DDBSTREAM_ENDPOINT_STREAM_ITERATOR_TYPE_DOC = "Defines where in the DynamoDB stream to start getting records. Note that using FROM_START can cause a significant delay before the stream has caught up to real-time. One of: [FROM_LATEST] [FROM_START]";
+ public static final String CAMEL_SOURCE_AWS2DDBSTREAM_ENDPOINT_STREAM_ITERATOR_TYPE_DEFAULT = "FROM_LATEST";
public static final String CAMEL_SOURCE_AWS2DDBSTREAM_ENDPOINT_TRUST_ALL_CERTIFICATES_CONF = "camel.source.endpoint.trustAllCertificates";
public static final String CAMEL_SOURCE_AWS2DDBSTREAM_ENDPOINT_TRUST_ALL_CERTIFICATES_DOC = "If we want to trust all certificates in case of overriding the endpoint";
public static final Boolean CAMEL_SOURCE_AWS2DDBSTREAM_ENDPOINT_TRUST_ALL_CERTIFICATES_DEFAULT = false;
@@ -137,9 +134,6 @@ public class CamelAws2ddbstreamSourceConnectorConfig
public static final String CAMEL_SOURCE_AWS2DDBSTREAM_COMPONENT_CONFIGURATION_CONF = "camel.component.aws2-ddbstream.configuration";
public static final String CAMEL_SOURCE_AWS2DDBSTREAM_COMPONENT_CONFIGURATION_DOC = "The component configuration";
public static final String CAMEL_SOURCE_AWS2DDBSTREAM_COMPONENT_CONFIGURATION_DEFAULT = null;
- public static final String CAMEL_SOURCE_AWS2DDBSTREAM_COMPONENT_ITERATOR_TYPE_CONF = "camel.component.aws2-ddbstream.iteratorType";
- public static final String CAMEL_SOURCE_AWS2DDBSTREAM_COMPONENT_ITERATOR_TYPE_DOC = "Defines where in the DynaboDB stream to start getting records. Note that using TRIM_HORIZON can cause a significant delay before the stream has caught up to real-time. if {AT,AFTER}_SEQUENCE_NUMBER are used, then a sequenceNumberProvider MUST be supplied. One of: [TRIM_HORIZON] [LATEST] [AT_SEQUENCE_NUMBER] [AFTER_SEQUENCE_NUMBER] [null]";
- public static final String CAMEL_SOURCE_AWS2DDBSTREAM_COMPONENT_ITERATOR_TYPE_DEFAULT = "LATEST";
public static final String CAMEL_SOURCE_AWS2DDBSTREAM_COMPONENT_MAX_RESULTS_PER_REQUEST_CONF = "camel.component.aws2-ddbstream.maxResultsPerRequest";
public static final String CAMEL_SOURCE_AWS2DDBSTREAM_COMPONENT_MAX_RESULTS_PER_REQUEST_DOC = "Maximum number of records that will be fetched in each poll";
public static final Integer CAMEL_SOURCE_AWS2DDBSTREAM_COMPONENT_MAX_RESULTS_PER_REQUEST_DEFAULT = null;
@@ -158,9 +152,9 @@ public class CamelAws2ddbstreamSourceConnectorConfig
public static final String CAMEL_SOURCE_AWS2DDBSTREAM_COMPONENT_REGION_CONF = "camel.component.aws2-ddbstream.region";
public static final String CAMEL_SOURCE_AWS2DDBSTREAM_COMPONENT_REGION_DOC = "The region in which DDBStreams client needs to work";
public static final String CAMEL_SOURCE_AWS2DDBSTREAM_COMPONENT_REGION_DEFAULT = null;
- public static final String CAMEL_SOURCE_AWS2DDBSTREAM_COMPONENT_SEQUENCE_NUMBER_PROVIDER_CONF = "camel.component.aws2-ddbstream.sequenceNumberProvider";
- public static final String CAMEL_SOURCE_AWS2DDBSTREAM_COMPONENT_SEQUENCE_NUMBER_PROVIDER_DOC = "Provider for the sequence number when using one of the two ShardIteratorType.{AT,AFTER}_SEQUENCE_NUMBER iterator types. Can be a registry reference or a literal sequence number.";
- public static final String CAMEL_SOURCE_AWS2DDBSTREAM_COMPONENT_SEQUENCE_NUMBER_PROVIDER_DEFAULT = null;
+ public static final String CAMEL_SOURCE_AWS2DDBSTREAM_COMPONENT_STREAM_ITERATOR_TYPE_CONF = "camel.component.aws2-ddbstream.streamIteratorType";
+ public static final String CAMEL_SOURCE_AWS2DDBSTREAM_COMPONENT_STREAM_ITERATOR_TYPE_DOC = "Defines where in the DynamoDB stream to start getting records. Note that using FROM_START can cause a significant delay before the stream has caught up to real-time. One of: [FROM_LATEST] [FROM_START]";
+ public static final String CAMEL_SOURCE_AWS2DDBSTREAM_COMPONENT_STREAM_ITERATOR_TYPE_DEFAULT = "FROM_LATEST";
public static final String CAMEL_SOURCE_AWS2DDBSTREAM_COMPONENT_TRUST_ALL_CERTIFICATES_CONF = "camel.component.aws2-ddbstream.trustAllCertificates";
public static final String CAMEL_SOURCE_AWS2DDBSTREAM_COMPONENT_TRUST_ALL_CERTIFICATES_DOC = "If we want to trust all certificates in case of overriding the endpoint";
public static final Boolean CAMEL_SOURCE_AWS2DDBSTREAM_COMPONENT_TRUST_ALL_CERTIFICATES_DEFAULT = false;
@@ -196,7 +190,6 @@ public class CamelAws2ddbstreamSourceConnectorConfig
conf.define(CAMEL_SOURCE_AWS2DDBSTREAM_PATH_TABLE_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_AWS2DDBSTREAM_PATH_TABLE_NAME_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_AWS2DDBSTREAM_PATH_TABLE_NAME_DOC);
conf.define(CAMEL_SOURCE_AWS2DDBSTREAM_ENDPOINT_AMAZON_DYNAMO_DB_STREAMS_CLIENT_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_AWS2DDBSTREAM_ENDPOINT_AMAZON_DYNAMO_DB_STREAMS_CLIENT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AWS2DDBSTREAM_ENDPOINT_AMAZON_DYNAMO_DB_STREAMS_CLIENT_DOC);
conf.define(CAMEL_SOURCE_AWS2DDBSTREAM_ENDPOINT_BRIDGE_ERROR_HANDLER_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_AWS2DDBSTREAM_ENDPOINT_BRIDGE_ERROR_HANDLER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AWS2DDBSTREAM_ENDPOINT_BRIDGE_ERROR_HANDLER_DOC);
- conf.define(CAMEL_SOURCE_AWS2DDBSTREAM_ENDPOINT_ITERATOR_TYPE_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_AWS2DDBSTREAM_ENDPOINT_ITERATOR_TYPE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AWS2DDBSTREAM_ENDPOINT_ITERATOR_TYPE_DOC);
conf.define(CAMEL_SOURCE_AWS2DDBSTREAM_ENDPOINT_MAX_RESULTS_PER_REQUEST_CONF, ConfigDef.Type.INT, CAMEL_SOURCE_AWS2DDBSTREAM_ENDPOINT_MAX_RESULTS_PER_REQUEST_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AWS2DDBSTREAM_ENDPOINT_MAX_RESULTS_PER_REQUEST_DOC);
conf.define(CAMEL_SOURCE_AWS2DDBSTREAM_ENDPOINT_OVERRIDE_ENDPOINT_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_AWS2DDBSTREAM_ENDPOINT_OVERRIDE_ENDPOINT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AWS2DDBSTREAM_ENDPOINT_OVERRIDE_ENDPOINT_DOC);
conf.define(CAMEL_SOURCE_AWS2DDBSTREAM_ENDPOINT_PROXY_HOST_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_AWS2DDBSTREAM_ENDPOINT_PROXY_HOST_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AWS2DDBSTREAM_ENDPOINT_PROXY_HOST_DOC);
@@ -204,7 +197,7 @@ public class CamelAws2ddbstreamSourceConnectorConfig
conf.define(CAMEL_SOURCE_AWS2DDBSTREAM_ENDPOINT_PROXY_PROTOCOL_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_AWS2DDBSTREAM_ENDPOINT_PROXY_PROTOCOL_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AWS2DDBSTREAM_ENDPOINT_PROXY_PROTOCOL_DOC);
conf.define(CAMEL_SOURCE_AWS2DDBSTREAM_ENDPOINT_REGION_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_AWS2DDBSTREAM_ENDPOINT_REGION_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AWS2DDBSTREAM_ENDPOINT_REGION_DOC);
conf.define(CAMEL_SOURCE_AWS2DDBSTREAM_ENDPOINT_SEND_EMPTY_MESSAGE_WHEN_IDLE_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_AWS2DDBSTREAM_ENDPOINT_SEND_EMPTY_MESSAGE_WHEN_IDLE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AWS2DDBSTREAM_ENDPOINT_SEND_EMPTY_MESSAGE_WHEN_IDLE_DOC);
- conf.define(CAMEL_SOURCE_AWS2DDBSTREAM_ENDPOINT_SEQUENCE_NUMBER_PROVIDER_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_AWS2DDBSTREAM_ENDPOINT_SEQUENCE_NUMBER_PROVIDER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AWS2DDBSTREAM_ENDPOINT_SEQUENCE_NUMBER_PROVIDER_DOC);
+ conf.define(CAMEL_SOURCE_AWS2DDBSTREAM_ENDPOINT_STREAM_ITERATOR_TYPE_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_AWS2DDBSTREAM_ENDPOINT_STREAM_ITERATOR_TYPE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AWS2DDBSTREAM_ENDPOINT_STREAM_ITERATOR_TYPE_DOC);
conf.define(CAMEL_SOURCE_AWS2DDBSTREAM_ENDPOINT_TRUST_ALL_CERTIFICATES_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_AWS2DDBSTREAM_ENDPOINT_TRUST_ALL_CERTIFICATES_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AWS2DDBSTREAM_ENDPOINT_TRUST_ALL_CERTIFICATES_DOC);
conf.define(CAMEL_SOURCE_AWS2DDBSTREAM_ENDPOINT_URI_ENDPOINT_OVERRIDE_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_AWS2DDBSTREAM_ENDPOINT_URI_ENDPOINT_OVERRIDE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AWS2DDBSTREAM_ENDPOINT_URI_ENDPOINT_OVERRIDE_DOC);
conf.define(CAMEL_SOURCE_AWS2DDBSTREAM_ENDPOINT_USE_DEFAULT_CREDENTIALS_PROVIDER_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_AWS2DDBSTREAM_ENDPOINT_USE_DEFAULT_CREDENTIALS_PROVIDER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AWS2DDBSTREAM_ENDPOINT_USE_DEFAULT_CREDENTIALS_PROVIDER_DOC);
@@ -230,14 +223,13 @@ public class CamelAws2ddbstreamSourceConnectorConfig
conf.define(CAMEL_SOURCE_AWS2DDBSTREAM_COMPONENT_AMAZON_DYNAMO_DB_STREAMS_CLIENT_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_AWS2DDBSTREAM_COMPONENT_AMAZON_DYNAMO_DB_STREAMS_CLIENT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AWS2DDBSTREAM_COMPONENT_AMAZON_DYNAMO_DB_STREAMS_CLIENT_DOC);
conf.define(CAMEL_SOURCE_AWS2DDBSTREAM_COMPONENT_BRIDGE_ERROR_HANDLER_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_AWS2DDBSTREAM_COMPONENT_BRIDGE_ERROR_HANDLER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AWS2DDBSTREAM_COMPONENT_BRIDGE_ERROR_HANDLER_DOC);
conf.define(CAMEL_SOURCE_AWS2DDBSTREAM_COMPONENT_CONFIGURATION_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_AWS2DDBSTREAM_COMPONENT_CONFIGURATION_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AWS2DDBSTREAM_COMPONENT_CONFIGURATION_DOC);
- conf.define(CAMEL_SOURCE_AWS2DDBSTREAM_COMPONENT_ITERATOR_TYPE_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_AWS2DDBSTREAM_COMPONENT_ITERATOR_TYPE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AWS2DDBSTREAM_COMPONENT_ITERATOR_TYPE_DOC);
conf.define(CAMEL_SOURCE_AWS2DDBSTREAM_COMPONENT_MAX_RESULTS_PER_REQUEST_CONF, ConfigDef.Type.INT, CAMEL_SOURCE_AWS2DDBSTREAM_COMPONENT_MAX_RESULTS_PER_REQUEST_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AWS2DDBSTREAM_COMPONENT_MAX_RESULTS_PER_REQUEST_DOC);
conf.define(CAMEL_SOURCE_AWS2DDBSTREAM_COMPONENT_OVERRIDE_ENDPOINT_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_AWS2DDBSTREAM_COMPONENT_OVERRIDE_ENDPOINT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AWS2DDBSTREAM_COMPONENT_OVERRIDE_ENDPOINT_DOC);
conf.define(CAMEL_SOURCE_AWS2DDBSTREAM_COMPONENT_PROXY_HOST_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_AWS2DDBSTREAM_COMPONENT_PROXY_HOST_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AWS2DDBSTREAM_COMPONENT_PROXY_HOST_DOC);
conf.define(CAMEL_SOURCE_AWS2DDBSTREAM_COMPONENT_PROXY_PORT_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_AWS2DDBSTREAM_COMPONENT_PROXY_PORT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AWS2DDBSTREAM_COMPONENT_PROXY_PORT_DOC);
conf.define(CAMEL_SOURCE_AWS2DDBSTREAM_COMPONENT_PROXY_PROTOCOL_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_AWS2DDBSTREAM_COMPONENT_PROXY_PROTOCOL_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AWS2DDBSTREAM_COMPONENT_PROXY_PROTOCOL_DOC);
conf.define(CAMEL_SOURCE_AWS2DDBSTREAM_COMPONENT_REGION_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_AWS2DDBSTREAM_COMPONENT_REGION_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AWS2DDBSTREAM_COMPONENT_REGION_DOC);
- conf.define(CAMEL_SOURCE_AWS2DDBSTREAM_COMPONENT_SEQUENCE_NUMBER_PROVIDER_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_AWS2DDBSTREAM_COMPONENT_SEQUENCE_NUMBER_PROVIDER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AWS2DDBSTREAM_COMPONENT_SEQUENCE_NUMBER_PROVIDER_DOC);
+ conf.define(CAMEL_SOURCE_AWS2DDBSTREAM_COMPONENT_STREAM_ITERATOR_TYPE_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_AWS2DDBSTREAM_COMPONENT_STREAM_ITERATOR_TYPE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AWS2DDBSTREAM_COMPONENT_STREAM_ITERATOR_TYPE_DOC);
conf.define(CAMEL_SOURCE_AWS2DDBSTREAM_COMPONENT_TRUST_ALL_CERTIFICATES_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_AWS2DDBSTREAM_COMPONENT_TRUST_ALL_CERTIFICATES_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AWS2DDBSTREAM_COMPONENT_TRUST_ALL_CERTIFICATES_DOC);
conf.define(CAMEL_SOURCE_AWS2DDBSTREAM_COMPONENT_URI_ENDPOINT_OVERRIDE_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_AWS2DDBSTREAM_COMPONENT_URI_ENDPOINT_OVERRIDE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AWS2DDBSTREAM_COMPONENT_URI_ENDPOINT_OVERRIDE_DOC);
conf.define(CAMEL_SOURCE_AWS2DDBSTREAM_COMPONENT_USE_DEFAULT_CREDENTIALS_PROVIDER_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_AWS2DDBSTREAM_COMPONENT_USE_DEFAULT_CREDENTIALS_PROVIDER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_AWS2DDBSTREAM_COMPONENT_USE_DEFAULT_CREDENTIALS_PROVIDER_DOC);
diff --git a/connectors/camel-file-kafka-connector/src/generated/resources/camel-file-source.json b/connectors/camel-file-kafka-connector/src/generated/resources/camel-file-source.json
index 186b582..8dc64d4 100644
--- a/connectors/camel-file-kafka-connector/src/generated/resources/camel-file-source.json
+++ b/connectors/camel-file-kafka-connector/src/generated/resources/camel-file-source.json
@@ -274,7 +274,7 @@
},
"camel.source.endpoint.idempotentRepository": {
"name": "camel.source.endpoint.idempotentRepository",
- "description": "A pluggable repository org.apache.camel.spi.IdempotentRepository which by default use MemoryMessageIdRepository if none is specified and idempotent is true.",
+ "description": "A pluggable repository org.apache.camel.spi.IdempotentRepository which by default use MemoryIdempotentRepository if none is specified and idempotent is true.",
"priority": "MEDIUM",
"required": "false"
},
diff --git a/connectors/camel-file-kafka-connector/src/main/docs/camel-file-kafka-source-connector.adoc b/connectors/camel-file-kafka-connector/src/main/docs/camel-file-kafka-source-connector.adoc
index 32af706..e84ccd3 100644
--- a/connectors/camel-file-kafka-connector/src/main/docs/camel-file-kafka-source-connector.adoc
+++ b/connectors/camel-file-kafka-connector/src/main/docs/camel-file-kafka-source-connector.adoc
@@ -71,7 +71,7 @@ The camel-file source connector supports 81 options, which are listed below.
| *camel.source.endpoint.filterFile* | Filters the file based on Simple language. For example to filter on file size, you can use ${file:size} 5000 | null | false | MEDIUM
| *camel.source.endpoint.idempotent* | Option to use the Idempotent Consumer EIP pattern to let Camel skip already processed files. Will by default use a memory based LRUCache that holds 1000 entries. If noop=true then idempotent will be enabled as well to avoid consuming the same files over and over again. | "false" | false | MEDIUM
| *camel.source.endpoint.idempotentKey* | To use a custom idempotent key. By default the absolute path of the file is used. You can use the File Language, for example to use the file name and file size, you can do: idempotentKey=${file:name}-${file:size} | null | false | MEDIUM
-| *camel.source.endpoint.idempotentRepository* | A pluggable repository org.apache.camel.spi.IdempotentRepository which by default use MemoryMessageIdRepository if none is specified and idempotent is true. | null | false | MEDIUM
+| *camel.source.endpoint.idempotentRepository* | A pluggable repository org.apache.camel.spi.IdempotentRepository which by default use MemoryIdempotentRepository if none is specified and idempotent is true. | null | false | MEDIUM
| *camel.source.endpoint.include* | Is used to include files, if filename matches the regex pattern (matching is case in-sensitive). Notice if you use symbols such as plus sign and others you would need to configure this using the RAW() syntax if configuring this as an endpoint uri. See more details at configuring endpoint uris | null | false | MEDIUM
| *camel.source.endpoint.includeExt* | Is used to include files matching file extension name (case insensitive). For example to include txt files, then use includeExt=txt. Multiple extensions can be separated by comma, for example to include txt and xml files, use includeExt=txt,xml. Note that the file extension includes all parts, for example having a file named mydata.tar.gz will have extension as tar.gz. For more flexibility then use the include/exclude options. | null | false | MEDIUM
| *camel.source.endpoint.maxDepth* | The maximum depth to traverse when recursively processing a directory. | 2147483647 | false | MEDIUM
diff --git a/connectors/camel-file-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/file/CamelFileSourceConnectorConfig.java b/connectors/camel-file-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/file/CamelFileSourceConnectorConfig.java
index 629c66f..3b86fbd 100644
--- a/connectors/camel-file-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/file/CamelFileSourceConnectorConfig.java
+++ b/connectors/camel-file-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/file/CamelFileSourceConnectorConfig.java
@@ -147,7 +147,7 @@ public class CamelFileSourceConnectorConfig
public static final String CAMEL_SOURCE_FILE_ENDPOINT_IDEMPOTENT_KEY_DOC = "To use a custom idempotent key. By default the absolute path of the file is used. You can use the File Language, for example to use the file name and file size, you can do: idempotentKey=${file:name}-${file:size}";
public static final String CAMEL_SOURCE_FILE_ENDPOINT_IDEMPOTENT_KEY_DEFAULT = null;
public static final String CAMEL_SOURCE_FILE_ENDPOINT_IDEMPOTENT_REPOSITORY_CONF = "camel.source.endpoint.idempotentRepository";
- public static final String CAMEL_SOURCE_FILE_ENDPOINT_IDEMPOTENT_REPOSITORY_DOC = "A pluggable repository org.apache.camel.spi.IdempotentRepository which by default use MemoryMessageIdRepository if none is specified and idempotent is true.";
+ public static final String CAMEL_SOURCE_FILE_ENDPOINT_IDEMPOTENT_REPOSITORY_DOC = "A pluggable repository org.apache.camel.spi.IdempotentRepository which by default use MemoryIdempotentRepository if none is specified and idempotent is true.";
public static final String CAMEL_SOURCE_FILE_ENDPOINT_IDEMPOTENT_REPOSITORY_DEFAULT = null;
public static final String CAMEL_SOURCE_FILE_ENDPOINT_INCLUDE_CONF = "camel.source.endpoint.include";
public static final String CAMEL_SOURCE_FILE_ENDPOINT_INCLUDE_DOC = "Is used to include files, if filename matches the regex pattern (matching is case in-sensitive). Notice if you use symbols such as plus sign and others you would need to configure this using the RAW() syntax if configuring this as an endpoint uri. See more details at configuring endpoint uris";
diff --git a/connectors/camel-ftps-kafka-connector/src/generated/resources/camel-ftps-source.json b/connectors/camel-ftps-kafka-connector/src/generated/resources/camel-ftps-source.json
index 80a158c..3c45ad6 100644
--- a/connectors/camel-ftps-kafka-connector/src/generated/resources/camel-ftps-source.json
+++ b/connectors/camel-ftps-kafka-connector/src/generated/resources/camel-ftps-source.json
@@ -432,7 +432,7 @@
},
"camel.source.endpoint.idempotentRepository": {
"name": "camel.source.endpoint.idempotentRepository",
- "description": "A pluggable repository org.apache.camel.spi.IdempotentRepository which by default use MemoryMessageIdRepository if none is specified and idempotent is true.",
+ "description": "A pluggable repository org.apache.camel.spi.IdempotentRepository which by default use MemoryIdempotentRepository if none is specified and idempotent is true.",
"priority": "MEDIUM",
"required": "false"
},
diff --git a/connectors/camel-ftps-kafka-connector/src/main/docs/camel-ftps-kafka-source-connector.adoc b/connectors/camel-ftps-kafka-connector/src/main/docs/camel-ftps-kafka-source-connector.adoc
index b99153b..7c57e8d 100644
--- a/connectors/camel-ftps-kafka-connector/src/main/docs/camel-ftps-kafka-source-connector.adoc
+++ b/connectors/camel-ftps-kafka-connector/src/main/docs/camel-ftps-kafka-source-connector.adoc
@@ -93,7 +93,7 @@ The camel-ftps source connector supports 111 options, which are listed below.
| *camel.source.endpoint.filterFile* | Filters the file based on Simple language. For example to filter on file size, you can use ${file:size} 5000 | null | false | MEDIUM
| *camel.source.endpoint.idempotent* | Option to use the Idempotent Consumer EIP pattern to let Camel skip already processed files. Will by default use a memory based LRUCache that holds 1000 entries. If noop=true then idempotent will be enabled as well to avoid consuming the same files over and over again. | "false" | false | MEDIUM
| *camel.source.endpoint.idempotentKey* | To use a custom idempotent key. By default the absolute path of the file is used. You can use the File Language, for example to use the file name and file size, you can do: idempotentKey=${file:name}-${file:size} | null | false | MEDIUM
-| *camel.source.endpoint.idempotentRepository* | A pluggable repository org.apache.camel.spi.IdempotentRepository which by default use MemoryMessageIdRepository if none is specified and idempotent is true. | null | false | MEDIUM
+| *camel.source.endpoint.idempotentRepository* | A pluggable repository org.apache.camel.spi.IdempotentRepository which by default use MemoryIdempotentRepository if none is specified and idempotent is true. | null | false | MEDIUM
| *camel.source.endpoint.include* | Is used to include files, if filename matches the regex pattern (matching is case in-sensitive). Notice if you use symbols such as plus sign and others you would need to configure this using the RAW() syntax if configuring this as an endpoint uri. See more details at configuring endpoint uris | null | false | MEDIUM
| *camel.source.endpoint.includeExt* | Is used to include files matching file extension name (case insensitive). For example to include txt files, then use includeExt=txt. Multiple extensions can be separated by comma, for example to include txt and xml files, use includeExt=txt,xml. Note that the file extension includes all parts, for example having a file named mydata.tar.gz will have extension as tar.gz. For more flexibility then use the include/exclude options. | null | false | MEDIUM
| *camel.source.endpoint.maxDepth* | The maximum depth to traverse when recursively processing a directory. | 2147483647 | false | MEDIUM
diff --git a/connectors/camel-ftps-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/ftps/CamelFtpsSourceConnectorConfig.java b/connectors/camel-ftps-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/ftps/CamelFtpsSourceConnectorConfig.java
index f123359..e7820e7 100644
--- a/connectors/camel-ftps-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/ftps/CamelFtpsSourceConnectorConfig.java
+++ b/connectors/camel-ftps-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/ftps/CamelFtpsSourceConnectorConfig.java
@@ -213,7 +213,7 @@ public class CamelFtpsSourceConnectorConfig
public static final String CAMEL_SOURCE_FTPS_ENDPOINT_IDEMPOTENT_KEY_DOC = "To use a custom idempotent key. By default the absolute path of the file is used. You can use the File Language, for example to use the file name and file size, you can do: idempotentKey=${file:name}-${file:size}";
public static final String CAMEL_SOURCE_FTPS_ENDPOINT_IDEMPOTENT_KEY_DEFAULT = null;
public static final String CAMEL_SOURCE_FTPS_ENDPOINT_IDEMPOTENT_REPOSITORY_CONF = "camel.source.endpoint.idempotentRepository";
- public static final String CAMEL_SOURCE_FTPS_ENDPOINT_IDEMPOTENT_REPOSITORY_DOC = "A pluggable repository org.apache.camel.spi.IdempotentRepository which by default use MemoryMessageIdRepository if none is specified and idempotent is true.";
+ public static final String CAMEL_SOURCE_FTPS_ENDPOINT_IDEMPOTENT_REPOSITORY_DOC = "A pluggable repository org.apache.camel.spi.IdempotentRepository which by default use MemoryIdempotentRepository if none is specified and idempotent is true.";
public static final String CAMEL_SOURCE_FTPS_ENDPOINT_IDEMPOTENT_REPOSITORY_DEFAULT = null;
public static final String CAMEL_SOURCE_FTPS_ENDPOINT_INCLUDE_CONF = "camel.source.endpoint.include";
public static final String CAMEL_SOURCE_FTPS_ENDPOINT_INCLUDE_DOC = "Is used to include files, if filename matches the regex pattern (matching is case in-sensitive). Notice if you use symbols such as plus sign and others you would need to configure this using the RAW() syntax if configuring this as an endpoint uri. See more details at configuring endpoint uris";
diff --git a/connectors/camel-google-pubsub-kafka-connector/src/generated/resources/camel-google-pubsub-sink.json b/connectors/camel-google-pubsub-kafka-connector/src/generated/resources/camel-google-pubsub-sink.json
index bacf914..402ccea 100644
--- a/connectors/camel-google-pubsub-kafka-connector/src/generated/resources/camel-google-pubsub-sink.json
+++ b/connectors/camel-google-pubsub-kafka-connector/src/generated/resources/camel-google-pubsub-sink.json
@@ -21,21 +21,10 @@
"priority": "HIGH",
"required": "true"
},
- "camel.sink.endpoint.ackMode": {
- "name": "camel.sink.endpoint.ackMode",
- "description": "AUTO = exchange gets ack'ed\/nack'ed on completion. NONE = downstream process has to ack\/nack explicitly One of: [AUTO] [NONE]",
- "defaultValue": "\"AUTO\"",
- "priority": "MEDIUM",
- "required": "false",
- "enum": [
- "AUTO",
- "NONE"
- ]
- },
- "camel.sink.endpoint.concurrentConsumers": {
- "name": "camel.sink.endpoint.concurrentConsumers",
- "description": "The number of parallel streams consuming from the subscription",
- "defaultValue": "\"1\"",
+ "camel.sink.endpoint.authenticate": {
+ "name": "camel.sink.endpoint.authenticate",
+ "description": "Use Credentials when interacting with PubSub service (no authentication is required when using emulator).",
+ "defaultValue": "true",
"priority": "MEDIUM",
"required": "false"
},
@@ -45,23 +34,9 @@
"priority": "MEDIUM",
"required": "false"
},
- "camel.sink.endpoint.maxMessagesPerPoll": {
- "name": "camel.sink.endpoint.maxMessagesPerPoll",
- "description": "The max number of messages to receive from the server in a single API call",
- "defaultValue": "\"1\"",
- "priority": "MEDIUM",
- "required": "false"
- },
"camel.sink.endpoint.serviceAccountKey": {
"name": "camel.sink.endpoint.serviceAccountKey",
"description": "The Service account key that can be used as credentials for the PubSub publisher\/subscriber. It can be loaded by default from classpath, but you can prefix with classpath:, file:, or http: to load the resource from different systems.",
- "priority": "HIGH",
- "required": "true"
- },
- "camel.sink.endpoint.synchronousPull": {
- "name": "camel.sink.endpoint.synchronousPull",
- "description": "Synchronously pull batches of messages",
- "defaultValue": "false",
"priority": "MEDIUM",
"required": "false"
},
@@ -91,6 +66,13 @@
"priority": "MEDIUM",
"required": "false"
},
+ "camel.component.google-pubsub.authenticate": {
+ "name": "camel.component.google-pubsub.authenticate",
+ "description": "Use Credentials when interacting with PubSub service (no authentication is required when using emulator).",
+ "defaultValue": "true",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
"camel.component.google-pubsub.endpoint": {
"name": "camel.component.google-pubsub.endpoint",
"description": "Endpoint to use with local Pub\/Sub emulator.",
@@ -100,8 +82,8 @@
"camel.component.google-pubsub.serviceAccountKey": {
"name": "camel.component.google-pubsub.serviceAccountKey",
"description": "The Service account key that can be used as credentials for the PubSub publisher\/subscriber. It can be loaded by default from classpath, but you can prefix with classpath:, file:, or http: to load the resource from different systems.",
- "priority": "HIGH",
- "required": "true"
+ "priority": "MEDIUM",
+ "required": "false"
},
"camel.component.google-pubsub.lazyStartProducer": {
"name": "camel.component.google-pubsub.lazyStartProducer",
diff --git a/connectors/camel-google-pubsub-kafka-connector/src/generated/resources/camel-google-pubsub-source.json b/connectors/camel-google-pubsub-kafka-connector/src/generated/resources/camel-google-pubsub-source.json
index 857b95e..246d9f5 100644
--- a/connectors/camel-google-pubsub-kafka-connector/src/generated/resources/camel-google-pubsub-source.json
+++ b/connectors/camel-google-pubsub-kafka-connector/src/generated/resources/camel-google-pubsub-source.json
@@ -21,6 +21,25 @@
"priority": "HIGH",
"required": "true"
},
+ "camel.source.endpoint.authenticate": {
+ "name": "camel.source.endpoint.authenticate",
+ "description": "Use Credentials when interacting with PubSub service (no authentication is required when using emulator).",
+ "defaultValue": "true",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
+ "camel.source.endpoint.loggerId": {
+ "name": "camel.source.endpoint.loggerId",
+ "description": "Logger ID to use when a match to the parent route required",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
+ "camel.source.endpoint.serviceAccountKey": {
+ "name": "camel.source.endpoint.serviceAccountKey",
+ "description": "The Service account key that can be used as credentials for the PubSub publisher\/subscriber. It can be loaded by default from classpath, but you can prefix with classpath:, file:, or http: to load the resource from different systems.",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
"camel.source.endpoint.ackMode": {
"name": "camel.source.endpoint.ackMode",
"description": "AUTO = exchange gets ack'ed\/nack'ed on completion. NONE = downstream process has to ack\/nack explicitly One of: [AUTO] [NONE]",
@@ -32,6 +51,13 @@
"NONE"
]
},
+ "camel.source.endpoint.bridgeErrorHandler": {
+ "name": "camel.source.endpoint.bridgeErrorHandler",
+ "description": "Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions 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.",
+ "defaultValue": "false",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
"camel.source.endpoint.concurrentConsumers": {
"name": "camel.source.endpoint.concurrentConsumers",
"description": "The number of parallel streams consuming from the subscription",
@@ -39,12 +65,6 @@
"priority": "MEDIUM",
"required": "false"
},
- "camel.source.endpoint.loggerId": {
- "name": "camel.source.endpoint.loggerId",
- "description": "Logger ID to use when a match to the parent route required",
- "priority": "MEDIUM",
- "required": "false"
- },
"camel.source.endpoint.maxMessagesPerPoll": {
"name": "camel.source.endpoint.maxMessagesPerPoll",
"description": "The max number of messages to receive from the server in a single API call",
@@ -52,12 +72,6 @@
"priority": "MEDIUM",
"required": "false"
},
- "camel.source.endpoint.serviceAccountKey": {
- "name": "camel.source.endpoint.serviceAccountKey",
- "description": "The Service account key that can be used as credentials for the PubSub publisher\/subscriber. It can be loaded by default from classpath, but you can prefix with classpath:, file:, or http: to load the resource from different systems.",
- "priority": "HIGH",
- "required": "true"
- },
"camel.source.endpoint.synchronousPull": {
"name": "camel.source.endpoint.synchronousPull",
"description": "Synchronously pull batches of messages",
@@ -65,13 +79,6 @@
"priority": "MEDIUM",
"required": "false"
},
- "camel.source.endpoint.bridgeErrorHandler": {
- "name": "camel.source.endpoint.bridgeErrorHandler",
- "description": "Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions 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.",
- "defaultValue": "false",
- "priority": "MEDIUM",
- "required": "false"
- },
"camel.source.endpoint.exceptionHandler": {
"name": "camel.source.endpoint.exceptionHandler",
"description": "To let the consumer use a custom ExceptionHandler. Notice if the option bridgeErrorHandler is enabled then this option is not in use. By default the consumer will deal with exceptions, that will be logged at WARN or ERROR level and ignored.",
@@ -89,6 +96,13 @@
"InOptionalOut"
]
},
+ "camel.component.google-pubsub.authenticate": {
+ "name": "camel.component.google-pubsub.authenticate",
+ "description": "Use Credentials when interacting with PubSub service (no authentication is required when using emulator).",
+ "defaultValue": "true",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
"camel.component.google-pubsub.endpoint": {
"name": "camel.component.google-pubsub.endpoint",
"description": "Endpoint to use with local Pub\/Sub emulator.",
@@ -98,8 +112,8 @@
"camel.component.google-pubsub.serviceAccountKey": {
"name": "camel.component.google-pubsub.serviceAccountKey",
"description": "The Service account key that can be used as credentials for the PubSub publisher\/subscriber. It can be loaded by default from classpath, but you can prefix with classpath:, file:, or http: to load the resource from different systems.",
- "priority": "HIGH",
- "required": "true"
+ "priority": "MEDIUM",
+ "required": "false"
},
"camel.component.google-pubsub.bridgeErrorHandler": {
"name": "camel.component.google-pubsub.bridgeErrorHandler",
diff --git a/connectors/camel-google-pubsub-kafka-connector/src/main/docs/camel-google-pubsub-kafka-sink-connector.adoc b/connectors/camel-google-pubsub-kafka-connector/src/main/docs/camel-google-pubsub-kafka-sink-connector.adoc
index e56c714..b5eb3a5 100644
--- a/connectors/camel-google-pubsub-kafka-connector/src/main/docs/camel-google-pubsub-kafka-sink-connector.adoc
+++ b/connectors/camel-google-pubsub-kafka-connector/src/main/docs/camel-google-pubsub-kafka-sink-connector.adoc
@@ -24,7 +24,7 @@ connector.class=org.apache.camel.kafkaconnector.googlepubsub.CamelGooglepubsubSi
----
-The camel-google-pubsub sink connector supports 19 options, which are listed below.
+The camel-google-pubsub sink connector supports 17 options, which are listed below.
@@ -33,18 +33,16 @@ The camel-google-pubsub sink connector supports 19 options, which are listed bel
| Name | Description | Default | Required | Priority
| *camel.sink.path.projectId* | The Google Cloud PubSub Project Id | null | true | HIGH
| *camel.sink.path.destinationName* | The Destination Name. For the consumer this will be the subscription name, while for the producer this will be the topic name. | null | true | HIGH
-| *camel.sink.endpoint.ackMode* | AUTO = exchange gets ack'ed/nack'ed on completion. NONE = downstream process has to ack/nack explicitly One of: [AUTO] [NONE] | "AUTO" | false | MEDIUM
-| *camel.sink.endpoint.concurrentConsumers* | The number of parallel streams consuming from the subscription | "1" | false | MEDIUM
+| *camel.sink.endpoint.authenticate* | Use Credentials when interacting with PubSub service (no authentication is required when using emulator). | true | false | MEDIUM
| *camel.sink.endpoint.loggerId* | Logger ID to use when a match to the parent route required | null | false | MEDIUM
-| *camel.sink.endpoint.maxMessagesPerPoll* | The max number of messages to receive from the server in a single API call | "1" | false | MEDIUM
-| *camel.sink.endpoint.serviceAccountKey* | The Service account key that can be used as credentials for the PubSub publisher/subscriber. It can be loaded by default from classpath, but you can prefix with classpath:, file:, or http: to load the resource from different systems. | null | true | HIGH
-| *camel.sink.endpoint.synchronousPull* | Synchronously pull batches of messages | false | false | MEDIUM
+| *camel.sink.endpoint.serviceAccountKey* | The Service account key that can be used as credentials for the PubSub publisher/subscriber. It can be loaded by default from classpath, but you can prefix with classpath:, file:, or http: to load the resource from different systems. | null | false | MEDIUM
| *camel.sink.endpoint.lazyStartProducer* | Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then cre [...]
| *camel.sink.endpoint.messageOrderingEnabled* | Should message ordering be enabled | false | false | MEDIUM
| *camel.sink.endpoint.pubsubEndpoint* | Pub/Sub endpoint to use. Required when using message ordering, and ensures that messages are received in order even when multiple publishers are used | null | false | MEDIUM
| *camel.sink.endpoint.serializer* | A custom GooglePubsubSerializer to use for serializing message payloads in the producer | null | false | MEDIUM
+| *camel.component.google-pubsub.authenticate* | Use Credentials when interacting with PubSub service (no authentication is required when using emulator). | true | false | MEDIUM
| *camel.component.google-pubsub.endpoint* | Endpoint to use with local Pub/Sub emulator. | null | false | MEDIUM
-| *camel.component.google-pubsub.serviceAccountKey* | The Service account key that can be used as credentials for the PubSub publisher/subscriber. It can be loaded by default from classpath, but you can prefix with classpath:, file:, or http: to load the resource from different systems. | null | true | HIGH
+| *camel.component.google-pubsub.serviceAccountKey* | The Service account key that can be used as credentials for the PubSub publisher/subscriber. It can be loaded by default from classpath, but you can prefix with classpath:, file:, or http: to load the resource from different systems. | null | false | MEDIUM
| *camel.component.google-pubsub.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 processe [...]
| *camel.component.google-pubsub.publisherCacheSize* | Maximum number of producers to cache. This could be increased if you have producers for lots of different topics. | null | false | MEDIUM
| *camel.component.google-pubsub.publisherCache Timeout* | How many milliseconds should each producer stay alive in the cache. | null | false | MEDIUM
diff --git a/connectors/camel-google-pubsub-kafka-connector/src/main/docs/camel-google-pubsub-kafka-source-connector.adoc b/connectors/camel-google-pubsub-kafka-connector/src/main/docs/camel-google-pubsub-kafka-source-connector.adoc
index 1821bc4..619f7c0 100644
--- a/connectors/camel-google-pubsub-kafka-connector/src/main/docs/camel-google-pubsub-kafka-source-connector.adoc
+++ b/connectors/camel-google-pubsub-kafka-connector/src/main/docs/camel-google-pubsub-kafka-source-connector.adoc
@@ -24,7 +24,7 @@ connector.class=org.apache.camel.kafkaconnector.googlepubsub.CamelGooglepubsubSo
----
-The camel-google-pubsub source connector supports 16 options, which are listed below.
+The camel-google-pubsub source connector supports 18 options, which are listed below.
@@ -33,17 +33,19 @@ The camel-google-pubsub source connector supports 16 options, which are listed b
| Name | Description | Default | Required | Priority
| *camel.source.path.projectId* | The Google Cloud PubSub Project Id | null | true | HIGH
| *camel.source.path.destinationName* | The Destination Name. For the consumer this will be the subscription name, while for the producer this will be the topic name. | null | true | HIGH
+| *camel.source.endpoint.authenticate* | Use Credentials when interacting with PubSub service (no authentication is required when using emulator). | true | false | MEDIUM
+| *camel.source.endpoint.loggerId* | Logger ID to use when a match to the parent route required | null | false | MEDIUM
+| *camel.source.endpoint.serviceAccountKey* | The Service account key that can be used as credentials for the PubSub publisher/subscriber. It can be loaded by default from classpath, but you can prefix with classpath:, file:, or http: to load the resource from different systems. | null | false | MEDIUM
| *camel.source.endpoint.ackMode* | AUTO = exchange gets ack'ed/nack'ed on completion. NONE = downstream process has to ack/nack explicitly One of: [AUTO] [NONE] | "AUTO" | false | MEDIUM
+| *camel.source.endpoint.bridgeErrorHandler* | Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN or ERROR level and ignored. | false | false | MEDIUM
| *camel.source.endpoint.concurrentConsumers* | The number of parallel streams consuming from the subscription | "1" | false | MEDIUM
-| *camel.source.endpoint.loggerId* | Logger ID to use when a match to the parent route required | null | false | MEDIUM
| *camel.source.endpoint.maxMessagesPerPoll* | The max number of messages to receive from the server in a single API call | "1" | false | MEDIUM
-| *camel.source.endpoint.serviceAccountKey* | The Service account key that can be used as credentials for the PubSub publisher/subscriber. It can be loaded by default from classpath, but you can prefix with classpath:, file:, or http: to load the resource from different systems. | null | true | HIGH
| *camel.source.endpoint.synchronousPull* | Synchronously pull batches of messages | false | false | MEDIUM
-| *camel.source.endpoint.bridgeErrorHandler* | Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN or ERROR level and ignored. | false | false | MEDIUM
| *camel.source.endpoint.exceptionHandler* | To let the consumer use a custom ExceptionHandler. Notice if the option bridgeErrorHandler is enabled then this option is not in use. By default the consumer will deal with exceptions, that will be logged at WARN or ERROR level and ignored. | null | false | MEDIUM
| *camel.source.endpoint.exchangePattern* | Sets the exchange pattern when the consumer creates an exchange. One of: [InOnly] [InOut] [InOptionalOut] | null | false | MEDIUM
+| *camel.component.google-pubsub.authenticate* | Use Credentials when interacting with PubSub service (no authentication is required when using emulator). | true | false | MEDIUM
| *camel.component.google-pubsub.endpoint* | Endpoint to use with local Pub/Sub emulator. | null | false | MEDIUM
-| *camel.component.google-pubsub.serviceAccountKey* | The Service account key that can be used as credentials for the PubSub publisher/subscriber. It can be loaded by default from classpath, but you can prefix with classpath:, file:, or http: to load the resource from different systems. | null | true | HIGH
+| *camel.component.google-pubsub.serviceAccountKey* | The Service account key that can be used as credentials for the PubSub publisher/subscriber. It can be loaded by default from classpath, but you can prefix with classpath:, file:, or http: to load the resource from different systems. | null | false | MEDIUM
| *camel.component.google-pubsub.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.component.google-pubsub.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.google-pubsub.publisherTermination Timeout* | How many milliseconds should a producer be allowed to terminate. | null | false | MEDIUM
diff --git a/connectors/camel-google-pubsub-kafka-connector/src/main/docs/examples/CamelGooglepubsubSinkConnector.properties b/connectors/camel-google-pubsub-kafka-connector/src/main/docs/examples/CamelGooglepubsubSinkConnector.properties
index 85f993a..1cdf4de 100644
--- a/connectors/camel-google-pubsub-kafka-connector/src/main/docs/examples/CamelGooglepubsubSinkConnector.properties
+++ b/connectors/camel-google-pubsub-kafka-connector/src/main/docs/examples/CamelGooglepubsubSinkConnector.properties
@@ -28,10 +28,6 @@ topics=
# mandatory properties (for a complete properties list see the connector documentation):
-# The Service account key that can be used as credentials for the PubSub publisher/subscriber. It can be loaded by default from classpath, but you can prefix with classpath:, file:, or http: to load the resource from different systems.
-camel.component.google-pubsub.serviceAccountKey=
-# The Service account key that can be used as credentials for the PubSub publisher/subscriber. It can be loaded by default from classpath, but you can prefix with classpath:, file:, or http: to load the resource from different systems.
-camel.sink.endpoint.serviceAccountKey=
# The Destination Name. For the consumer this will be the subscription name, while for the producer this will be the topic name.
camel.sink.path.destinationName=
# The Google Cloud PubSub Project Id
diff --git a/connectors/camel-google-pubsub-kafka-connector/src/main/docs/examples/CamelGooglepubsubSourceConnector.properties b/connectors/camel-google-pubsub-kafka-connector/src/main/docs/examples/CamelGooglepubsubSourceConnector.properties
index 60c07d6..62bd1ea 100644
--- a/connectors/camel-google-pubsub-kafka-connector/src/main/docs/examples/CamelGooglepubsubSourceConnector.properties
+++ b/connectors/camel-google-pubsub-kafka-connector/src/main/docs/examples/CamelGooglepubsubSourceConnector.properties
@@ -28,10 +28,6 @@ topics=
# mandatory properties (for a complete properties list see the connector documentation):
-# The Service account key that can be used as credentials for the PubSub publisher/subscriber. It can be loaded by default from classpath, but you can prefix with classpath:, file:, or http: to load the resource from different systems.
-camel.component.google-pubsub.serviceAccountKey=
-# The Service account key that can be used as credentials for the PubSub publisher/subscriber. It can be loaded by default from classpath, but you can prefix with classpath:, file:, or http: to load the resource from different systems.
-camel.source.endpoint.serviceAccountKey=
# The Destination Name. For the consumer this will be the subscription name, while for the producer this will be the topic name.
camel.source.path.destinationName=
# The Google Cloud PubSub Project Id
diff --git a/connectors/camel-google-pubsub-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/googlepubsub/CamelGooglepubsubSinkConnectorConfig.java b/connectors/camel-google-pubsub-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/googlepubsub/CamelGooglepubsubSinkConnectorConfig.java
index 9edfacd..791e6c1 100644
--- a/connectors/camel-google-pubsub-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/googlepubsub/CamelGooglepubsubSinkConnectorConfig.java
+++ b/connectors/camel-google-pubsub-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/googlepubsub/CamelGooglepubsubSinkConnectorConfig.java
@@ -32,24 +32,15 @@ public class CamelGooglepubsubSinkConnectorConfig
public static final String CAMEL_SINK_GOOGLEPUBSUB_PATH_DESTINATION_NAME_CONF = "camel.sink.path.destinationName";
public static final String CAMEL_SINK_GOOGLEPUBSUB_PATH_DESTINATION_NAME_DOC = "The Destination Name. For the consumer this will be the subscription name, while for the producer this will be the topic name.";
public static final String CAMEL_SINK_GOOGLEPUBSUB_PATH_DESTINATION_NAME_DEFAULT = null;
- public static final String CAMEL_SINK_GOOGLEPUBSUB_ENDPOINT_ACK_MODE_CONF = "camel.sink.endpoint.ackMode";
- public static final String CAMEL_SINK_GOOGLEPUBSUB_ENDPOINT_ACK_MODE_DOC = "AUTO = exchange gets ack'ed/nack'ed on completion. NONE = downstream process has to ack/nack explicitly One of: [AUTO] [NONE]";
- public static final String CAMEL_SINK_GOOGLEPUBSUB_ENDPOINT_ACK_MODE_DEFAULT = "AUTO";
- public static final String CAMEL_SINK_GOOGLEPUBSUB_ENDPOINT_CONCURRENT_CONSUMERS_CONF = "camel.sink.endpoint.concurrentConsumers";
- public static final String CAMEL_SINK_GOOGLEPUBSUB_ENDPOINT_CONCURRENT_CONSUMERS_DOC = "The number of parallel streams consuming from the subscription";
- public static final String CAMEL_SINK_GOOGLEPUBSUB_ENDPOINT_CONCURRENT_CONSUMERS_DEFAULT = "1";
+ public static final String CAMEL_SINK_GOOGLEPUBSUB_ENDPOINT_AUTHENTICATE_CONF = "camel.sink.endpoint.authenticate";
+ public static final String CAMEL_SINK_GOOGLEPUBSUB_ENDPOINT_AUTHENTICATE_DOC = "Use Credentials when interacting with PubSub service (no authentication is required when using emulator).";
+ public static final Boolean CAMEL_SINK_GOOGLEPUBSUB_ENDPOINT_AUTHENTICATE_DEFAULT = true;
public static final String CAMEL_SINK_GOOGLEPUBSUB_ENDPOINT_LOGGER_ID_CONF = "camel.sink.endpoint.loggerId";
public static final String CAMEL_SINK_GOOGLEPUBSUB_ENDPOINT_LOGGER_ID_DOC = "Logger ID to use when a match to the parent route required";
public static final String CAMEL_SINK_GOOGLEPUBSUB_ENDPOINT_LOGGER_ID_DEFAULT = null;
- public static final String CAMEL_SINK_GOOGLEPUBSUB_ENDPOINT_MAX_MESSAGES_PER_POLL_CONF = "camel.sink.endpoint.maxMessagesPerPoll";
- public static final String CAMEL_SINK_GOOGLEPUBSUB_ENDPOINT_MAX_MESSAGES_PER_POLL_DOC = "The max number of messages to receive from the server in a single API call";
- public static final String CAMEL_SINK_GOOGLEPUBSUB_ENDPOINT_MAX_MESSAGES_PER_POLL_DEFAULT = "1";
public static final String CAMEL_SINK_GOOGLEPUBSUB_ENDPOINT_SERVICE_ACCOUNT_KEY_CONF = "camel.sink.endpoint.serviceAccountKey";
public static final String CAMEL_SINK_GOOGLEPUBSUB_ENDPOINT_SERVICE_ACCOUNT_KEY_DOC = "The Service account key that can be used as credentials for the PubSub publisher/subscriber. It can be loaded by default from classpath, but you can prefix with classpath:, file:, or http: to load the resource from different systems.";
public static final String CAMEL_SINK_GOOGLEPUBSUB_ENDPOINT_SERVICE_ACCOUNT_KEY_DEFAULT = null;
- public static final String CAMEL_SINK_GOOGLEPUBSUB_ENDPOINT_SYNCHRONOUS_PULL_CONF = "camel.sink.endpoint.synchronousPull";
- public static final String CAMEL_SINK_GOOGLEPUBSUB_ENDPOINT_SYNCHRONOUS_PULL_DOC = "Synchronously pull batches of messages";
- public static final Boolean CAMEL_SINK_GOOGLEPUBSUB_ENDPOINT_SYNCHRONOUS_PULL_DEFAULT = false;
public static final String CAMEL_SINK_GOOGLEPUBSUB_ENDPOINT_LAZY_START_PRODUCER_CONF = "camel.sink.endpoint.lazyStartProducer";
public static final String CAMEL_SINK_GOOGLEPUBSUB_ENDPOINT_LAZY_START_PRODUCER_DOC = "Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware th [...]
public static final Boolean CAMEL_SINK_GOOGLEPUBSUB_ENDPOINT_LAZY_START_PRODUCER_DEFAULT = false;
@@ -62,6 +53,9 @@ public class CamelGooglepubsubSinkConnectorConfig
public static final String CAMEL_SINK_GOOGLEPUBSUB_ENDPOINT_SERIALIZER_CONF = "camel.sink.endpoint.serializer";
public static final String CAMEL_SINK_GOOGLEPUBSUB_ENDPOINT_SERIALIZER_DOC = "A custom GooglePubsubSerializer to use for serializing message payloads in the producer";
public static final String CAMEL_SINK_GOOGLEPUBSUB_ENDPOINT_SERIALIZER_DEFAULT = null;
+ public static final String CAMEL_SINK_GOOGLEPUBSUB_COMPONENT_AUTHENTICATE_CONF = "camel.component.google-pubsub.authenticate";
+ public static final String CAMEL_SINK_GOOGLEPUBSUB_COMPONENT_AUTHENTICATE_DOC = "Use Credentials when interacting with PubSub service (no authentication is required when using emulator).";
+ public static final Boolean CAMEL_SINK_GOOGLEPUBSUB_COMPONENT_AUTHENTICATE_DEFAULT = true;
public static final String CAMEL_SINK_GOOGLEPUBSUB_COMPONENT_ENDPOINT_CONF = "camel.component.google-pubsub.endpoint";
public static final String CAMEL_SINK_GOOGLEPUBSUB_COMPONENT_ENDPOINT_DOC = "Endpoint to use with local Pub/Sub emulator.";
public static final String CAMEL_SINK_GOOGLEPUBSUB_COMPONENT_ENDPOINT_DEFAULT = null;
@@ -98,18 +92,16 @@ public class CamelGooglepubsubSinkConnectorConfig
ConfigDef conf = new ConfigDef(CamelSinkConnectorConfig.conf());
conf.define(CAMEL_SINK_GOOGLEPUBSUB_PATH_PROJECT_ID_CONF, ConfigDef.Type.STRING, CAMEL_SINK_GOOGLEPUBSUB_PATH_PROJECT_ID_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_GOOGLEPUBSUB_PATH_PROJECT_ID_DOC);
conf.define(CAMEL_SINK_GOOGLEPUBSUB_PATH_DESTINATION_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SINK_GOOGLEPUBSUB_PATH_DESTINATION_NAME_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_GOOGLEPUBSUB_PATH_DESTINATION_NAME_DOC);
- conf.define(CAMEL_SINK_GOOGLEPUBSUB_ENDPOINT_ACK_MODE_CONF, ConfigDef.Type.STRING, CAMEL_SINK_GOOGLEPUBSUB_ENDPOINT_ACK_MODE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_GOOGLEPUBSUB_ENDPOINT_ACK_MODE_DOC);
- conf.define(CAMEL_SINK_GOOGLEPUBSUB_ENDPOINT_CONCURRENT_CONSUMERS_CONF, ConfigDef.Type.STRING, CAMEL_SINK_GOOGLEPUBSUB_ENDPOINT_CONCURRENT_CONSUMERS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_GOOGLEPUBSUB_ENDPOINT_CONCURRENT_CONSUMERS_DOC);
+ conf.define(CAMEL_SINK_GOOGLEPUBSUB_ENDPOINT_AUTHENTICATE_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_GOOGLEPUBSUB_ENDPOINT_AUTHENTICATE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_GOOGLEPUBSUB_ENDPOINT_AUTHENTICATE_DOC);
conf.define(CAMEL_SINK_GOOGLEPUBSUB_ENDPOINT_LOGGER_ID_CONF, ConfigDef.Type.STRING, CAMEL_SINK_GOOGLEPUBSUB_ENDPOINT_LOGGER_ID_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_GOOGLEPUBSUB_ENDPOINT_LOGGER_ID_DOC);
- conf.define(CAMEL_SINK_GOOGLEPUBSUB_ENDPOINT_MAX_MESSAGES_PER_POLL_CONF, ConfigDef.Type.STRING, CAMEL_SINK_GOOGLEPUBSUB_ENDPOINT_MAX_MESSAGES_PER_POLL_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_GOOGLEPUBSUB_ENDPOINT_MAX_MESSAGES_PER_POLL_DOC);
- conf.define(CAMEL_SINK_GOOGLEPUBSUB_ENDPOINT_SERVICE_ACCOUNT_KEY_CONF, ConfigDef.Type.STRING, CAMEL_SINK_GOOGLEPUBSUB_ENDPOINT_SERVICE_ACCOUNT_KEY_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_GOOGLEPUBSUB_ENDPOINT_SERVICE_ACCOUNT_KEY_DOC);
- conf.define(CAMEL_SINK_GOOGLEPUBSUB_ENDPOINT_SYNCHRONOUS_PULL_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_GOOGLEPUBSUB_ENDPOINT_SYNCHRONOUS_PULL_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_GOOGLEPUBSUB_ENDPOINT_SYNCHRONOUS_PULL_DOC);
+ conf.define(CAMEL_SINK_GOOGLEPUBSUB_ENDPOINT_SERVICE_ACCOUNT_KEY_CONF, ConfigDef.Type.STRING, CAMEL_SINK_GOOGLEPUBSUB_ENDPOINT_SERVICE_ACCOUNT_KEY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_GOOGLEPUBSUB_ENDPOINT_SERVICE_ACCOUNT_KEY_DOC);
conf.define(CAMEL_SINK_GOOGLEPUBSUB_ENDPOINT_LAZY_START_PRODUCER_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_GOOGLEPUBSUB_ENDPOINT_LAZY_START_PRODUCER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_GOOGLEPUBSUB_ENDPOINT_LAZY_START_PRODUCER_DOC);
conf.define(CAMEL_SINK_GOOGLEPUBSUB_ENDPOINT_MESSAGE_ORDERING_ENABLED_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_GOOGLEPUBSUB_ENDPOINT_MESSAGE_ORDERING_ENABLED_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_GOOGLEPUBSUB_ENDPOINT_MESSAGE_ORDERING_ENABLED_DOC);
conf.define(CAMEL_SINK_GOOGLEPUBSUB_ENDPOINT_PUBSUB_ENDPOINT_CONF, ConfigDef.Type.STRING, CAMEL_SINK_GOOGLEPUBSUB_ENDPOINT_PUBSUB_ENDPOINT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_GOOGLEPUBSUB_ENDPOINT_PUBSUB_ENDPOINT_DOC);
conf.define(CAMEL_SINK_GOOGLEPUBSUB_ENDPOINT_SERIALIZER_CONF, ConfigDef.Type.STRING, CAMEL_SINK_GOOGLEPUBSUB_ENDPOINT_SERIALIZER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_GOOGLEPUBSUB_ENDPOINT_SERIALIZER_DOC);
+ conf.define(CAMEL_SINK_GOOGLEPUBSUB_COMPONENT_AUTHENTICATE_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_GOOGLEPUBSUB_COMPONENT_AUTHENTICATE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_GOOGLEPUBSUB_COMPONENT_AUTHENTICATE_DOC);
conf.define(CAMEL_SINK_GOOGLEPUBSUB_COMPONENT_ENDPOINT_CONF, ConfigDef.Type.STRING, CAMEL_SINK_GOOGLEPUBSUB_COMPONENT_ENDPOINT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_GOOGLEPUBSUB_COMPONENT_ENDPOINT_DOC);
- conf.define(CAMEL_SINK_GOOGLEPUBSUB_COMPONENT_SERVICE_ACCOUNT_KEY_CONF, ConfigDef.Type.STRING, CAMEL_SINK_GOOGLEPUBSUB_COMPONENT_SERVICE_ACCOUNT_KEY_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_GOOGLEPUBSUB_COMPONENT_SERVICE_ACCOUNT_KEY_DOC);
+ conf.define(CAMEL_SINK_GOOGLEPUBSUB_COMPONENT_SERVICE_ACCOUNT_KEY_CONF, ConfigDef.Type.STRING, CAMEL_SINK_GOOGLEPUBSUB_COMPONENT_SERVICE_ACCOUNT_KEY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_GOOGLEPUBSUB_COMPONENT_SERVICE_ACCOUNT_KEY_DOC);
conf.define(CAMEL_SINK_GOOGLEPUBSUB_COMPONENT_LAZY_START_PRODUCER_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_GOOGLEPUBSUB_COMPONENT_LAZY_START_PRODUCER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_GOOGLEPUBSUB_COMPONENT_LAZY_START_PRODUCER_DOC);
conf.define(CAMEL_SINK_GOOGLEPUBSUB_COMPONENT_PUBLISHER_CACHE_SIZE_CONF, ConfigDef.Type.INT, CAMEL_SINK_GOOGLEPUBSUB_COMPONENT_PUBLISHER_CACHE_SIZE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_GOOGLEPUBSUB_COMPONENT_PUBLISHER_CACHE_SIZE_DOC);
conf.define(CAMEL_SINK_GOOGLEPUBSUB_COMPONENT_PUBLISHER_CACHE_TIMEOUT_CONF, ConfigDef.Type.INT, CAMEL_SINK_GOOGLEPUBSUB_COMPONENT_PUBLISHER_CACHE_TIMEOUT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_GOOGLEPUBSUB_COMPONENT_PUBLISHER_CACHE_TIMEOUT_DOC);
diff --git a/connectors/camel-google-pubsub-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/googlepubsub/CamelGooglepubsubSourceConnectorConfig.java b/connectors/camel-google-pubsub-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/googlepubsub/CamelGooglepubsubSourceConnectorConfig.java
index d01a80d..6728441 100644
--- a/connectors/camel-google-pubsub-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/googlepubsub/CamelGooglepubsubSourceConnectorConfig.java
+++ b/connectors/camel-google-pubsub-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/googlepubsub/CamelGooglepubsubSourceConnectorConfig.java
@@ -32,33 +32,39 @@ public class CamelGooglepubsubSourceConnectorConfig
public static final String CAMEL_SOURCE_GOOGLEPUBSUB_PATH_DESTINATION_NAME_CONF = "camel.source.path.destinationName";
public static final String CAMEL_SOURCE_GOOGLEPUBSUB_PATH_DESTINATION_NAME_DOC = "The Destination Name. For the consumer this will be the subscription name, while for the producer this will be the topic name.";
public static final String CAMEL_SOURCE_GOOGLEPUBSUB_PATH_DESTINATION_NAME_DEFAULT = null;
+ public static final String CAMEL_SOURCE_GOOGLEPUBSUB_ENDPOINT_AUTHENTICATE_CONF = "camel.source.endpoint.authenticate";
+ public static final String CAMEL_SOURCE_GOOGLEPUBSUB_ENDPOINT_AUTHENTICATE_DOC = "Use Credentials when interacting with PubSub service (no authentication is required when using emulator).";
+ public static final Boolean CAMEL_SOURCE_GOOGLEPUBSUB_ENDPOINT_AUTHENTICATE_DEFAULT = true;
+ public static final String CAMEL_SOURCE_GOOGLEPUBSUB_ENDPOINT_LOGGER_ID_CONF = "camel.source.endpoint.loggerId";
+ public static final String CAMEL_SOURCE_GOOGLEPUBSUB_ENDPOINT_LOGGER_ID_DOC = "Logger ID to use when a match to the parent route required";
+ public static final String CAMEL_SOURCE_GOOGLEPUBSUB_ENDPOINT_LOGGER_ID_DEFAULT = null;
+ public static final String CAMEL_SOURCE_GOOGLEPUBSUB_ENDPOINT_SERVICE_ACCOUNT_KEY_CONF = "camel.source.endpoint.serviceAccountKey";
+ public static final String CAMEL_SOURCE_GOOGLEPUBSUB_ENDPOINT_SERVICE_ACCOUNT_KEY_DOC = "The Service account key that can be used as credentials for the PubSub publisher/subscriber. It can be loaded by default from classpath, but you can prefix with classpath:, file:, or http: to load the resource from different systems.";
+ public static final String CAMEL_SOURCE_GOOGLEPUBSUB_ENDPOINT_SERVICE_ACCOUNT_KEY_DEFAULT = null;
public static final String CAMEL_SOURCE_GOOGLEPUBSUB_ENDPOINT_ACK_MODE_CONF = "camel.source.endpoint.ackMode";
public static final String CAMEL_SOURCE_GOOGLEPUBSUB_ENDPOINT_ACK_MODE_DOC = "AUTO = exchange gets ack'ed/nack'ed on completion. NONE = downstream process has to ack/nack explicitly One of: [AUTO] [NONE]";
public static final String CAMEL_SOURCE_GOOGLEPUBSUB_ENDPOINT_ACK_MODE_DEFAULT = "AUTO";
+ public static final String CAMEL_SOURCE_GOOGLEPUBSUB_ENDPOINT_BRIDGE_ERROR_HANDLER_CONF = "camel.source.endpoint.bridgeErrorHandler";
+ public static final String CAMEL_SOURCE_GOOGLEPUBSUB_ENDPOINT_BRIDGE_ERROR_HANDLER_DOC = "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 an [...]
+ public static final Boolean CAMEL_SOURCE_GOOGLEPUBSUB_ENDPOINT_BRIDGE_ERROR_HANDLER_DEFAULT = false;
public static final String CAMEL_SOURCE_GOOGLEPUBSUB_ENDPOINT_CONCURRENT_CONSUMERS_CONF = "camel.source.endpoint.concurrentConsumers";
public static final String CAMEL_SOURCE_GOOGLEPUBSUB_ENDPOINT_CONCURRENT_CONSUMERS_DOC = "The number of parallel streams consuming from the subscription";
public static final String CAMEL_SOURCE_GOOGLEPUBSUB_ENDPOINT_CONCURRENT_CONSUMERS_DEFAULT = "1";
- public static final String CAMEL_SOURCE_GOOGLEPUBSUB_ENDPOINT_LOGGER_ID_CONF = "camel.source.endpoint.loggerId";
- public static final String CAMEL_SOURCE_GOOGLEPUBSUB_ENDPOINT_LOGGER_ID_DOC = "Logger ID to use when a match to the parent route required";
- public static final String CAMEL_SOURCE_GOOGLEPUBSUB_ENDPOINT_LOGGER_ID_DEFAULT = null;
public static final String CAMEL_SOURCE_GOOGLEPUBSUB_ENDPOINT_MAX_MESSAGES_PER_POLL_CONF = "camel.source.endpoint.maxMessagesPerPoll";
public static final String CAMEL_SOURCE_GOOGLEPUBSUB_ENDPOINT_MAX_MESSAGES_PER_POLL_DOC = "The max number of messages to receive from the server in a single API call";
public static final String CAMEL_SOURCE_GOOGLEPUBSUB_ENDPOINT_MAX_MESSAGES_PER_POLL_DEFAULT = "1";
- public static final String CAMEL_SOURCE_GOOGLEPUBSUB_ENDPOINT_SERVICE_ACCOUNT_KEY_CONF = "camel.source.endpoint.serviceAccountKey";
- public static final String CAMEL_SOURCE_GOOGLEPUBSUB_ENDPOINT_SERVICE_ACCOUNT_KEY_DOC = "The Service account key that can be used as credentials for the PubSub publisher/subscriber. It can be loaded by default from classpath, but you can prefix with classpath:, file:, or http: to load the resource from different systems.";
- public static final String CAMEL_SOURCE_GOOGLEPUBSUB_ENDPOINT_SERVICE_ACCOUNT_KEY_DEFAULT = null;
public static final String CAMEL_SOURCE_GOOGLEPUBSUB_ENDPOINT_SYNCHRONOUS_PULL_CONF = "camel.source.endpoint.synchronousPull";
public static final String CAMEL_SOURCE_GOOGLEPUBSUB_ENDPOINT_SYNCHRONOUS_PULL_DOC = "Synchronously pull batches of messages";
public static final Boolean CAMEL_SOURCE_GOOGLEPUBSUB_ENDPOINT_SYNCHRONOUS_PULL_DEFAULT = false;
- public static final String CAMEL_SOURCE_GOOGLEPUBSUB_ENDPOINT_BRIDGE_ERROR_HANDLER_CONF = "camel.source.endpoint.bridgeErrorHandler";
- public static final String CAMEL_SOURCE_GOOGLEPUBSUB_ENDPOINT_BRIDGE_ERROR_HANDLER_DOC = "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 an [...]
- public static final Boolean CAMEL_SOURCE_GOOGLEPUBSUB_ENDPOINT_BRIDGE_ERROR_HANDLER_DEFAULT = false;
public static final String CAMEL_SOURCE_GOOGLEPUBSUB_ENDPOINT_EXCEPTION_HANDLER_CONF = "camel.source.endpoint.exceptionHandler";
public static final String CAMEL_SOURCE_GOOGLEPUBSUB_ENDPOINT_EXCEPTION_HANDLER_DOC = "To let the consumer use a custom ExceptionHandler. Notice if the option bridgeErrorHandler is enabled then this option is not in use. By default the consumer will deal with exceptions, that will be logged at WARN or ERROR level and ignored.";
public static final String CAMEL_SOURCE_GOOGLEPUBSUB_ENDPOINT_EXCEPTION_HANDLER_DEFAULT = null;
public static final String CAMEL_SOURCE_GOOGLEPUBSUB_ENDPOINT_EXCHANGE_PATTERN_CONF = "camel.source.endpoint.exchangePattern";
public static final String CAMEL_SOURCE_GOOGLEPUBSUB_ENDPOINT_EXCHANGE_PATTERN_DOC = "Sets the exchange pattern when the consumer creates an exchange. One of: [InOnly] [InOut] [InOptionalOut]";
public static final String CAMEL_SOURCE_GOOGLEPUBSUB_ENDPOINT_EXCHANGE_PATTERN_DEFAULT = null;
+ public static final String CAMEL_SOURCE_GOOGLEPUBSUB_COMPONENT_AUTHENTICATE_CONF = "camel.component.google-pubsub.authenticate";
+ public static final String CAMEL_SOURCE_GOOGLEPUBSUB_COMPONENT_AUTHENTICATE_DOC = "Use Credentials when interacting with PubSub service (no authentication is required when using emulator).";
+ public static final Boolean CAMEL_SOURCE_GOOGLEPUBSUB_COMPONENT_AUTHENTICATE_DEFAULT = true;
public static final String CAMEL_SOURCE_GOOGLEPUBSUB_COMPONENT_ENDPOINT_CONF = "camel.component.google-pubsub.endpoint";
public static final String CAMEL_SOURCE_GOOGLEPUBSUB_COMPONENT_ENDPOINT_DOC = "Endpoint to use with local Pub/Sub emulator.";
public static final String CAMEL_SOURCE_GOOGLEPUBSUB_COMPONENT_ENDPOINT_DEFAULT = null;
@@ -90,17 +96,19 @@ public class CamelGooglepubsubSourceConnectorConfig
ConfigDef conf = new ConfigDef(CamelSourceConnectorConfig.conf());
conf.define(CAMEL_SOURCE_GOOGLEPUBSUB_PATH_PROJECT_ID_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_GOOGLEPUBSUB_PATH_PROJECT_ID_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_GOOGLEPUBSUB_PATH_PROJECT_ID_DOC);
conf.define(CAMEL_SOURCE_GOOGLEPUBSUB_PATH_DESTINATION_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_GOOGLEPUBSUB_PATH_DESTINATION_NAME_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_GOOGLEPUBSUB_PATH_DESTINATION_NAME_DOC);
+ conf.define(CAMEL_SOURCE_GOOGLEPUBSUB_ENDPOINT_AUTHENTICATE_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_GOOGLEPUBSUB_ENDPOINT_AUTHENTICATE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_GOOGLEPUBSUB_ENDPOINT_AUTHENTICATE_DOC);
+ conf.define(CAMEL_SOURCE_GOOGLEPUBSUB_ENDPOINT_LOGGER_ID_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_GOOGLEPUBSUB_ENDPOINT_LOGGER_ID_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_GOOGLEPUBSUB_ENDPOINT_LOGGER_ID_DOC);
+ conf.define(CAMEL_SOURCE_GOOGLEPUBSUB_ENDPOINT_SERVICE_ACCOUNT_KEY_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_GOOGLEPUBSUB_ENDPOINT_SERVICE_ACCOUNT_KEY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_GOOGLEPUBSUB_ENDPOINT_SERVICE_ACCOUNT_KEY_DOC);
conf.define(CAMEL_SOURCE_GOOGLEPUBSUB_ENDPOINT_ACK_MODE_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_GOOGLEPUBSUB_ENDPOINT_ACK_MODE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_GOOGLEPUBSUB_ENDPOINT_ACK_MODE_DOC);
+ conf.define(CAMEL_SOURCE_GOOGLEPUBSUB_ENDPOINT_BRIDGE_ERROR_HANDLER_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_GOOGLEPUBSUB_ENDPOINT_BRIDGE_ERROR_HANDLER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_GOOGLEPUBSUB_ENDPOINT_BRIDGE_ERROR_HANDLER_DOC);
conf.define(CAMEL_SOURCE_GOOGLEPUBSUB_ENDPOINT_CONCURRENT_CONSUMERS_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_GOOGLEPUBSUB_ENDPOINT_CONCURRENT_CONSUMERS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_GOOGLEPUBSUB_ENDPOINT_CONCURRENT_CONSUMERS_DOC);
- conf.define(CAMEL_SOURCE_GOOGLEPUBSUB_ENDPOINT_LOGGER_ID_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_GOOGLEPUBSUB_ENDPOINT_LOGGER_ID_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_GOOGLEPUBSUB_ENDPOINT_LOGGER_ID_DOC);
conf.define(CAMEL_SOURCE_GOOGLEPUBSUB_ENDPOINT_MAX_MESSAGES_PER_POLL_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_GOOGLEPUBSUB_ENDPOINT_MAX_MESSAGES_PER_POLL_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_GOOGLEPUBSUB_ENDPOINT_MAX_MESSAGES_PER_POLL_DOC);
- conf.define(CAMEL_SOURCE_GOOGLEPUBSUB_ENDPOINT_SERVICE_ACCOUNT_KEY_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_GOOGLEPUBSUB_ENDPOINT_SERVICE_ACCOUNT_KEY_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_GOOGLEPUBSUB_ENDPOINT_SERVICE_ACCOUNT_KEY_DOC);
conf.define(CAMEL_SOURCE_GOOGLEPUBSUB_ENDPOINT_SYNCHRONOUS_PULL_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_GOOGLEPUBSUB_ENDPOINT_SYNCHRONOUS_PULL_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_GOOGLEPUBSUB_ENDPOINT_SYNCHRONOUS_PULL_DOC);
- conf.define(CAMEL_SOURCE_GOOGLEPUBSUB_ENDPOINT_BRIDGE_ERROR_HANDLER_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_GOOGLEPUBSUB_ENDPOINT_BRIDGE_ERROR_HANDLER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_GOOGLEPUBSUB_ENDPOINT_BRIDGE_ERROR_HANDLER_DOC);
conf.define(CAMEL_SOURCE_GOOGLEPUBSUB_ENDPOINT_EXCEPTION_HANDLER_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_GOOGLEPUBSUB_ENDPOINT_EXCEPTION_HANDLER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_GOOGLEPUBSUB_ENDPOINT_EXCEPTION_HANDLER_DOC);
conf.define(CAMEL_SOURCE_GOOGLEPUBSUB_ENDPOINT_EXCHANGE_PATTERN_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_GOOGLEPUBSUB_ENDPOINT_EXCHANGE_PATTERN_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_GOOGLEPUBSUB_ENDPOINT_EXCHANGE_PATTERN_DOC);
+ conf.define(CAMEL_SOURCE_GOOGLEPUBSUB_COMPONENT_AUTHENTICATE_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_GOOGLEPUBSUB_COMPONENT_AUTHENTICATE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_GOOGLEPUBSUB_COMPONENT_AUTHENTICATE_DOC);
conf.define(CAMEL_SOURCE_GOOGLEPUBSUB_COMPONENT_ENDPOINT_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_GOOGLEPUBSUB_COMPONENT_ENDPOINT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_GOOGLEPUBSUB_COMPONENT_ENDPOINT_DOC);
- conf.define(CAMEL_SOURCE_GOOGLEPUBSUB_COMPONENT_SERVICE_ACCOUNT_KEY_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_GOOGLEPUBSUB_COMPONENT_SERVICE_ACCOUNT_KEY_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_GOOGLEPUBSUB_COMPONENT_SERVICE_ACCOUNT_KEY_DOC);
+ conf.define(CAMEL_SOURCE_GOOGLEPUBSUB_COMPONENT_SERVICE_ACCOUNT_KEY_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_GOOGLEPUBSUB_COMPONENT_SERVICE_ACCOUNT_KEY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_GOOGLEPUBSUB_COMPONENT_SERVICE_ACCOUNT_KEY_DOC);
conf.define(CAMEL_SOURCE_GOOGLEPUBSUB_COMPONENT_BRIDGE_ERROR_HANDLER_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_GOOGLEPUBSUB_COMPONENT_BRIDGE_ERROR_HANDLER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_GOOGLEPUBSUB_COMPONENT_BRIDGE_ERROR_HANDLER_DOC);
conf.define(CAMEL_SOURCE_GOOGLEPUBSUB_COMPONENT_AUTOWIRED_ENABLED_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_GOOGLEPUBSUB_COMPONENT_AUTOWIRED_ENABLED_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_GOOGLEPUBSUB_COMPONENT_AUTOWIRED_ENABLED_DOC);
conf.define(CAMEL_SOURCE_GOOGLEPUBSUB_COMPONENT_PUBLISHER_TERMINATION_TIMEOUT_CONF, ConfigDef.Type.INT, CAMEL_SOURCE_GOOGLEPUBSUB_COMPONENT_PUBLISHER_TERMINATION_TIMEOUT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_GOOGLEPUBSUB_COMPONENT_PUBLISHER_TERMINATION_TIMEOUT_DOC);
diff --git a/connectors/camel-google-sheets-stream-kafka-connector/src/generated/resources/camel-google-sheets-stream-source.json b/connectors/camel-google-sheets-stream-kafka-connector/src/generated/resources/camel-google-sheets-stream-source.json
index 5671d53..040d5a8 100644
--- a/connectors/camel-google-sheets-stream-kafka-connector/src/generated/resources/camel-google-sheets-stream-source.json
+++ b/connectors/camel-google-sheets-stream-kafka-connector/src/generated/resources/camel-google-sheets-stream-source.json
@@ -9,9 +9,9 @@
"description": "Poll for changes in Google Sheets."
},
"properties": {
- "camel.source.path.apiName": {
- "name": "camel.source.path.apiName",
- "description": "Sets the apiName.",
+ "camel.source.path.spreadsheetId": {
+ "name": "camel.source.path.spreadsheetId",
+ "description": "Specifies the spreadsheet identifier that is used to identify the target to obtain.",
"priority": "HIGH",
"required": "true"
},
@@ -85,12 +85,6 @@
"priority": "MEDIUM",
"required": "false"
},
- "camel.source.endpoint.spreadsheetId": {
- "name": "camel.source.endpoint.spreadsheetId",
- "description": "Specifies the spreadsheet identifier that is used to identify the target to obtain.",
- "priority": "MEDIUM",
- "required": "false"
- },
"camel.source.endpoint.valueRenderOption": {
"name": "camel.source.endpoint.valueRenderOption",
"description": "Determines how values should be rendered in the output. One of: [FORMATTED_VALUE] [UNFORMATTED_VALUE] [FORMULA]",
@@ -323,12 +317,6 @@
"priority": "MEDIUM",
"required": "false"
},
- "camel.component.google-sheets-stream.spreadsheetId": {
- "name": "camel.component.google-sheets-stream.spreadsheetId",
- "description": "Specifies the spreadsheet identifier that is used to identify the target to obtain.",
- "priority": "MEDIUM",
- "required": "false"
- },
"camel.component.google-sheets-stream.valueRenderOption": {
"name": "camel.component.google-sheets-stream.valueRenderOption",
"description": "Determines how values should be rendered in the output. One of: [FORMATTED_VALUE] [UNFORMATTED_VALUE] [FORMULA]",
diff --git a/connectors/camel-google-sheets-stream-kafka-connector/src/main/docs/camel-google-sheets-stream-kafka-source-connector.adoc b/connectors/camel-google-sheets-stream-kafka-connector/src/main/docs/camel-google-sheets-stream-kafka-source-connector.adoc
index 7d839d4..587be5d 100644
--- a/connectors/camel-google-sheets-stream-kafka-connector/src/main/docs/camel-google-sheets-stream-kafka-source-connector.adoc
+++ b/connectors/camel-google-sheets-stream-kafka-connector/src/main/docs/camel-google-sheets-stream-kafka-source-connector.adoc
@@ -24,14 +24,14 @@ connector.class=org.apache.camel.kafkaconnector.googlesheetsstream.CamelGooglesh
----
-The camel-google-sheets-stream source connector supports 50 options, which are listed below.
+The camel-google-sheets-stream source connector supports 48 options, which are listed below.
[width="100%",cols="2,5,^1,1,1",options="header"]
|===
| Name | Description | Default | Required | Priority
-| *camel.source.path.apiName* | Sets the apiName. | null | true | HIGH
+| *camel.source.path.spreadsheetId* | Specifies the spreadsheet identifier that is used to identify the target to obtain. | null | true | HIGH
| *camel.source.endpoint.applicationName* | Google sheets application name. Example would be camel-google-sheets/1.0 | null | false | MEDIUM
| *camel.source.endpoint.bridgeErrorHandler* | Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN or ERROR level and ignored. | false | false | MEDIUM
| *camel.source.endpoint.clientId* | Client ID of the sheets application | null | false | MEDIUM
@@ -42,7 +42,6 @@ The camel-google-sheets-stream source connector supports 50 options, which are l
| *camel.source.endpoint.scopes* | Specifies the level of permissions you want a sheets application to have to a user account. See \https://developers.google.com/identity/protocols/googlescopes for more info. | null | 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
| *camel.source.endpoint.splitResults* | True if value range result should be split into rows or columns to process each of them individually. When true each row or column is represented with a separate exchange in batch processing. Otherwise value range object is used as exchange junk size. | false | false | MEDIUM
-| *camel.source.endpoint.spreadsheetId* | Specifies the spreadsheet identifier that is used to identify the target to obtain. | null | false | MEDIUM
| *camel.source.endpoint.valueRenderOption* | Determines how values should be rendered in the output. One of: [FORMATTED_VALUE] [UNFORMATTED_VALUE] [FORMULA] | "FORMATTED_VALUE" | false | MEDIUM
| *camel.source.endpoint.exceptionHandler* | To let the consumer use a custom ExceptionHandler. Notice if the option bridgeErrorHandler is enabled then this option is not in use. By default the consumer will deal with exceptions, that will be logged at WARN or ERROR level and ignored. | null | false | MEDIUM
| *camel.source.endpoint.exchangePattern* | Sets the exchange pattern when the consumer creates an exchange. One of: [InOnly] [InOut] [InOptionalOut] | null | false | MEDIUM
@@ -74,7 +73,6 @@ The camel-google-sheets-stream source connector supports 50 options, which are l
| *camel.component.google-sheets-stream.range* | Specifies the range of rows and columns in a sheet to get data from. | null | false | MEDIUM
| *camel.component.google-sheets-stream.scopes* | Specifies the level of permissions you want a sheets application to have to a user account. See \https://developers.google.com/identity/protocols/googlescopes for more info. | null | false | MEDIUM
| *camel.component.google-sheets-stream.splitResults* | True if value range result should be split into rows or columns to process each of them individually. When true each row or column is represented with a separate exchange in batch processing. Otherwise value range object is used as exchange junk size. | false | false | MEDIUM
-| *camel.component.google-sheets-stream.spreadsheetId* | Specifies the spreadsheet identifier that is used to identify the target to obtain. | null | false | MEDIUM
| *camel.component.google-sheets-stream.valueRender Option* | Determines how values should be rendered in the output. One of: [FORMATTED_VALUE] [UNFORMATTED_VALUE] [FORMULA] | "FORMATTED_VALUE" | false | MEDIUM
| *camel.component.google-sheets-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
| *camel.component.google-sheets-stream.clientFactory* | To use the GoogleSheetsClientFactory as factory for creating the client. Will by default use BatchGoogleSheetsClientFactory | null | false | MEDIUM
diff --git a/connectors/camel-google-sheets-stream-kafka-connector/src/main/docs/examples/CamelGooglesheetsstreamSourceConnector.properties b/connectors/camel-google-sheets-stream-kafka-connector/src/main/docs/examples/CamelGooglesheetsstreamSourceConnector.properties
index d1bbcaa..04cee03 100644
--- a/connectors/camel-google-sheets-stream-kafka-connector/src/main/docs/examples/CamelGooglesheetsstreamSourceConnector.properties
+++ b/connectors/camel-google-sheets-stream-kafka-connector/src/main/docs/examples/CamelGooglesheetsstreamSourceConnector.properties
@@ -28,6 +28,6 @@ topics=
# mandatory properties (for a complete properties list see the connector documentation):
-# Sets the apiName.
-camel.source.path.apiName=
+# Specifies the spreadsheet identifier that is used to identify the target to obtain.
+camel.source.path.spreadsheetId=
diff --git a/connectors/camel-google-sheets-stream-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/googlesheetsstream/CamelGooglesheetsstreamSourceConnectorConfig.java b/connectors/camel-google-sheets-stream-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/googlesheetsstream/CamelGooglesheetsstreamSourceConnectorConfig.java
index ac0203e..76f4984 100644
--- a/connectors/camel-google-sheets-stream-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/googlesheetsstream/CamelGooglesheetsstreamSourceConnectorConfig.java
+++ b/connectors/camel-google-sheets-stream-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/googlesheetsstream/CamelGooglesheetsstreamSourceConnectorConfig.java
@@ -26,9 +26,9 @@ public class CamelGooglesheetsstreamSourceConnectorConfig
extends
CamelSourceConnectorConfig {
- public static final String CAMEL_SOURCE_GOOGLESHEETSSTREAM_PATH_API_NAME_CONF = "camel.source.path.apiName";
- public static final String CAMEL_SOURCE_GOOGLESHEETSSTREAM_PATH_API_NAME_DOC = "Sets the apiName.";
- public static final String CAMEL_SOURCE_GOOGLESHEETSSTREAM_PATH_API_NAME_DEFAULT = null;
+ public static final String CAMEL_SOURCE_GOOGLESHEETSSTREAM_PATH_SPREADSHEET_ID_CONF = "camel.source.path.spreadsheetId";
+ public static final String CAMEL_SOURCE_GOOGLESHEETSSTREAM_PATH_SPREADSHEET_ID_DOC = "Specifies the spreadsheet identifier that is used to identify the target to obtain.";
+ public static final String CAMEL_SOURCE_GOOGLESHEETSSTREAM_PATH_SPREADSHEET_ID_DEFAULT = null;
public static final String CAMEL_SOURCE_GOOGLESHEETSSTREAM_ENDPOINT_APPLICATION_NAME_CONF = "camel.source.endpoint.applicationName";
public static final String CAMEL_SOURCE_GOOGLESHEETSSTREAM_ENDPOINT_APPLICATION_NAME_DOC = "Google sheets application name. Example would be camel-google-sheets/1.0";
public static final String CAMEL_SOURCE_GOOGLESHEETSSTREAM_ENDPOINT_APPLICATION_NAME_DEFAULT = null;
@@ -59,9 +59,6 @@ public class CamelGooglesheetsstreamSourceConnectorConfig
public static final String CAMEL_SOURCE_GOOGLESHEETSSTREAM_ENDPOINT_SPLIT_RESULTS_CONF = "camel.source.endpoint.splitResults";
public static final String CAMEL_SOURCE_GOOGLESHEETSSTREAM_ENDPOINT_SPLIT_RESULTS_DOC = "True if value range result should be split into rows or columns to process each of them individually. When true each row or column is represented with a separate exchange in batch processing. Otherwise value range object is used as exchange junk size.";
public static final Boolean CAMEL_SOURCE_GOOGLESHEETSSTREAM_ENDPOINT_SPLIT_RESULTS_DEFAULT = false;
- public static final String CAMEL_SOURCE_GOOGLESHEETSSTREAM_ENDPOINT_SPREADSHEET_ID_CONF = "camel.source.endpoint.spreadsheetId";
- public static final String CAMEL_SOURCE_GOOGLESHEETSSTREAM_ENDPOINT_SPREADSHEET_ID_DOC = "Specifies the spreadsheet identifier that is used to identify the target to obtain.";
- public static final String CAMEL_SOURCE_GOOGLESHEETSSTREAM_ENDPOINT_SPREADSHEET_ID_DEFAULT = null;
public static final String CAMEL_SOURCE_GOOGLESHEETSSTREAM_ENDPOINT_VALUE_RENDER_OPTION_CONF = "camel.source.endpoint.valueRenderOption";
public static final String CAMEL_SOURCE_GOOGLESHEETSSTREAM_ENDPOINT_VALUE_RENDER_OPTION_DOC = "Determines how values should be rendered in the output. One of: [FORMATTED_VALUE] [UNFORMATTED_VALUE] [FORMULA]";
public static final String CAMEL_SOURCE_GOOGLESHEETSSTREAM_ENDPOINT_VALUE_RENDER_OPTION_DEFAULT = "FORMATTED_VALUE";
@@ -155,9 +152,6 @@ public class CamelGooglesheetsstreamSourceConnectorConfig
public static final String CAMEL_SOURCE_GOOGLESHEETSSTREAM_COMPONENT_SPLIT_RESULTS_CONF = "camel.component.google-sheets-stream.splitResults";
public static final String CAMEL_SOURCE_GOOGLESHEETSSTREAM_COMPONENT_SPLIT_RESULTS_DOC = "True if value range result should be split into rows or columns to process each of them individually. When true each row or column is represented with a separate exchange in batch processing. Otherwise value range object is used as exchange junk size.";
public static final Boolean CAMEL_SOURCE_GOOGLESHEETSSTREAM_COMPONENT_SPLIT_RESULTS_DEFAULT = false;
- public static final String CAMEL_SOURCE_GOOGLESHEETSSTREAM_COMPONENT_SPREADSHEET_ID_CONF = "camel.component.google-sheets-stream.spreadsheetId";
- public static final String CAMEL_SOURCE_GOOGLESHEETSSTREAM_COMPONENT_SPREADSHEET_ID_DOC = "Specifies the spreadsheet identifier that is used to identify the target to obtain.";
- public static final String CAMEL_SOURCE_GOOGLESHEETSSTREAM_COMPONENT_SPREADSHEET_ID_DEFAULT = null;
public static final String CAMEL_SOURCE_GOOGLESHEETSSTREAM_COMPONENT_VALUE_RENDER_OPTION_CONF = "camel.component.google-sheets-stream.valueRenderOption";
public static final String CAMEL_SOURCE_GOOGLESHEETSSTREAM_COMPONENT_VALUE_RENDER_OPTION_DOC = "Determines how values should be rendered in the output. One of: [FORMATTED_VALUE] [UNFORMATTED_VALUE] [FORMULA]";
public static final String CAMEL_SOURCE_GOOGLESHEETSSTREAM_COMPONENT_VALUE_RENDER_OPTION_DEFAULT = "FORMATTED_VALUE";
@@ -190,7 +184,7 @@ public class CamelGooglesheetsstreamSourceConnectorConfig
public static ConfigDef conf() {
ConfigDef conf = new ConfigDef(CamelSourceConnectorConfig.conf());
- conf.define(CAMEL_SOURCE_GOOGLESHEETSSTREAM_PATH_API_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_GOOGLESHEETSSTREAM_PATH_API_NAME_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_GOOGLESHEETSSTREAM_PATH_API_NAME_DOC);
+ conf.define(CAMEL_SOURCE_GOOGLESHEETSSTREAM_PATH_SPREADSHEET_ID_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_GOOGLESHEETSSTREAM_PATH_SPREADSHEET_ID_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_GOOGLESHEETSSTREAM_PATH_SPREADSHEET_ID_DOC);
conf.define(CAMEL_SOURCE_GOOGLESHEETSSTREAM_ENDPOINT_APPLICATION_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_GOOGLESHEETSSTREAM_ENDPOINT_APPLICATION_NAME_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_GOOGLESHEETSSTREAM_ENDPOINT_APPLICATION_NAME_DOC);
conf.define(CAMEL_SOURCE_GOOGLESHEETSSTREAM_ENDPOINT_BRIDGE_ERROR_HANDLER_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_GOOGLESHEETSSTREAM_ENDPOINT_BRIDGE_ERROR_HANDLER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_GOOGLESHEETSSTREAM_ENDPOINT_BRIDGE_ERROR_HANDLER_DOC);
conf.define(CAMEL_SOURCE_GOOGLESHEETSSTREAM_ENDPOINT_CLIENT_ID_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_GOOGLESHEETSSTREAM_ENDPOINT_CLIENT_ID_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_GOOGLESHEETSSTREAM_ENDPOINT_CLIENT_ID_DOC);
@@ -201,7 +195,6 @@ public class CamelGooglesheetsstreamSourceConnectorConfig
conf.define(CAMEL_SOURCE_GOOGLESHEETSSTREAM_ENDPOINT_SCOPES_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_GOOGLESHEETSSTREAM_ENDPOINT_SCOPES_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_GOOGLESHEETSSTREAM_ENDPOINT_SCOPES_DOC);
conf.define(CAMEL_SOURCE_GOOGLESHEETSSTREAM_ENDPOINT_SEND_EMPTY_MESSAGE_WHEN_IDLE_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_GOOGLESHEETSSTREAM_ENDPOINT_SEND_EMPTY_MESSAGE_WHEN_IDLE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_GOOGLESHEETSSTREAM_ENDPOINT_SEND_EMPTY_MESSAGE_WHEN_IDLE_DOC);
conf.define(CAMEL_SOURCE_GOOGLESHEETSSTREAM_ENDPOINT_SPLIT_RESULTS_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_GOOGLESHEETSSTREAM_ENDPOINT_SPLIT_RESULTS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_GOOGLESHEETSSTREAM_ENDPOINT_SPLIT_RESULTS_DOC);
- conf.define(CAMEL_SOURCE_GOOGLESHEETSSTREAM_ENDPOINT_SPREADSHEET_ID_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_GOOGLESHEETSSTREAM_ENDPOINT_SPREADSHEET_ID_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_GOOGLESHEETSSTREAM_ENDPOINT_SPREADSHEET_ID_DOC);
conf.define(CAMEL_SOURCE_GOOGLESHEETSSTREAM_ENDPOINT_VALUE_RENDER_OPTION_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_GOOGLESHEETSSTREAM_ENDPOINT_VALUE_RENDER_OPTION_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_GOOGLESHEETSSTREAM_ENDPOINT_VALUE_RENDER_OPTION_DOC);
conf.define(CAMEL_SOURCE_GOOGLESHEETSSTREAM_ENDPOINT_EXCEPTION_HANDLER_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_GOOGLESHEETSSTREAM_ENDPOINT_EXCEPTION_HANDLER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_GOOGLESHEETSSTREAM_ENDPOINT_EXCEPTION_HANDLER_DOC);
conf.define(CAMEL_SOURCE_GOOGLESHEETSSTREAM_ENDPOINT_EXCHANGE_PATTERN_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_GOOGLESHEETSSTREAM_ENDPOINT_EXCHANGE_PATTERN_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_GOOGLESHEETSSTREAM_ENDPOINT_EXCHANGE_PATTERN_DOC);
@@ -233,7 +226,6 @@ public class CamelGooglesheetsstreamSourceConnectorConfig
conf.define(CAMEL_SOURCE_GOOGLESHEETSSTREAM_COMPONENT_RANGE_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_GOOGLESHEETSSTREAM_COMPONENT_RANGE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_GOOGLESHEETSSTREAM_COMPONENT_RANGE_DOC);
conf.define(CAMEL_SOURCE_GOOGLESHEETSSTREAM_COMPONENT_SCOPES_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_GOOGLESHEETSSTREAM_COMPONENT_SCOPES_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_GOOGLESHEETSSTREAM_COMPONENT_SCOPES_DOC);
conf.define(CAMEL_SOURCE_GOOGLESHEETSSTREAM_COMPONENT_SPLIT_RESULTS_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_GOOGLESHEETSSTREAM_COMPONENT_SPLIT_RESULTS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_GOOGLESHEETSSTREAM_COMPONENT_SPLIT_RESULTS_DOC);
- conf.define(CAMEL_SOURCE_GOOGLESHEETSSTREAM_COMPONENT_SPREADSHEET_ID_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_GOOGLESHEETSSTREAM_COMPONENT_SPREADSHEET_ID_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_GOOGLESHEETSSTREAM_COMPONENT_SPREADSHEET_ID_DOC);
conf.define(CAMEL_SOURCE_GOOGLESHEETSSTREAM_COMPONENT_VALUE_RENDER_OPTION_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_GOOGLESHEETSSTREAM_COMPONENT_VALUE_RENDER_OPTION_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_GOOGLESHEETSSTREAM_COMPONENT_VALUE_RENDER_OPTION_DOC);
conf.define(CAMEL_SOURCE_GOOGLESHEETSSTREAM_COMPONENT_AUTOWIRED_ENABLED_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_GOOGLESHEETSSTREAM_COMPONENT_AUTOWIRED_ENABLED_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_GOOGLESHEETSSTREAM_COMPONENT_AUTOWIRED_ENABLED_DOC);
conf.define(CAMEL_SOURCE_GOOGLESHEETSSTREAM_COMPONENT_CLIENT_FACTORY_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_GOOGLESHEETSSTREAM_COMPONENT_CLIENT_FACTORY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_GOOGLESHEETSSTREAM_COMPONENT_CLIENT_FACTORY_DOC);
diff --git a/connectors/camel-graphql-kafka-connector/src/generated/resources/camel-graphql-sink.json b/connectors/camel-graphql-kafka-connector/src/generated/resources/camel-graphql-sink.json
index ffaf3dc..bc69542 100644
--- a/connectors/camel-graphql-kafka-connector/src/generated/resources/camel-graphql-sink.json
+++ b/connectors/camel-graphql-kafka-connector/src/generated/resources/camel-graphql-sink.json
@@ -46,12 +46,24 @@
"priority": "MEDIUM",
"required": "false"
},
+ "camel.sink.endpoint.queryHeader": {
+ "name": "camel.sink.endpoint.queryHeader",
+ "description": "The name of a header containing the GraphQL query.",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
"camel.sink.endpoint.variables": {
"name": "camel.sink.endpoint.variables",
"description": "The JsonObject instance containing the operation variables.",
"priority": "MEDIUM",
"required": "false"
},
+ "camel.sink.endpoint.variablesHeader": {
+ "name": "camel.sink.endpoint.variablesHeader",
+ "description": "The name of a header containing a JsonObject instance containing the operation variables.",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
"camel.sink.endpoint.accessToken": {
"name": "camel.sink.endpoint.accessToken",
"description": "The access token sent in the Authorization header.",
diff --git a/connectors/camel-graphql-kafka-connector/src/main/docs/camel-graphql-kafka-sink-connector.adoc b/connectors/camel-graphql-kafka-connector/src/main/docs/camel-graphql-kafka-sink-connector.adoc
index a97113b..23744cc 100644
--- a/connectors/camel-graphql-kafka-connector/src/main/docs/camel-graphql-kafka-sink-connector.adoc
+++ b/connectors/camel-graphql-kafka-connector/src/main/docs/camel-graphql-kafka-sink-connector.adoc
@@ -24,7 +24,7 @@ connector.class=org.apache.camel.kafkaconnector.graphql.CamelGraphqlSinkConnecto
----
-The camel-graphql sink connector supports 13 options, which are listed below.
+The camel-graphql sink connector supports 15 options, which are listed below.
@@ -37,7 +37,9 @@ The camel-graphql sink connector supports 13 options, which are listed below.
| *camel.sink.endpoint.proxyHost* | The proxy host in the format hostname:port. | null | false | MEDIUM
| *camel.sink.endpoint.query* | The query text. | null | false | MEDIUM
| *camel.sink.endpoint.queryFile* | The query file name located in the classpath. | null | false | MEDIUM
+| *camel.sink.endpoint.queryHeader* | The name of a header containing the GraphQL query. | null | false | MEDIUM
| *camel.sink.endpoint.variables* | The JsonObject instance containing the operation variables. | null | false | MEDIUM
+| *camel.sink.endpoint.variablesHeader* | The name of a header containing a JsonObject instance containing the operation variables. | null | false | MEDIUM
| *camel.sink.endpoint.accessToken* | The access token sent in the Authorization header. | null | false | MEDIUM
| *camel.sink.endpoint.jwtAuthorizationType* | The JWT Authorization type. Default is Bearer. | "Bearer" | false | MEDIUM
| *camel.sink.endpoint.password* | The password for Basic authentication. | null | false | MEDIUM
diff --git a/connectors/camel-graphql-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/graphql/CamelGraphqlSinkConnectorConfig.java b/connectors/camel-graphql-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/graphql/CamelGraphqlSinkConnectorConfig.java
index 5f1b7f8..ce93ec6 100644
--- a/connectors/camel-graphql-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/graphql/CamelGraphqlSinkConnectorConfig.java
+++ b/connectors/camel-graphql-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/graphql/CamelGraphqlSinkConnectorConfig.java
@@ -42,9 +42,15 @@ public class CamelGraphqlSinkConnectorConfig extends CamelSinkConnectorConfig {
public static final String CAMEL_SINK_GRAPHQL_ENDPOINT_QUERY_FILE_CONF = "camel.sink.endpoint.queryFile";
public static final String CAMEL_SINK_GRAPHQL_ENDPOINT_QUERY_FILE_DOC = "The query file name located in the classpath.";
public static final String CAMEL_SINK_GRAPHQL_ENDPOINT_QUERY_FILE_DEFAULT = null;
+ public static final String CAMEL_SINK_GRAPHQL_ENDPOINT_QUERY_HEADER_CONF = "camel.sink.endpoint.queryHeader";
+ public static final String CAMEL_SINK_GRAPHQL_ENDPOINT_QUERY_HEADER_DOC = "The name of a header containing the GraphQL query.";
+ public static final String CAMEL_SINK_GRAPHQL_ENDPOINT_QUERY_HEADER_DEFAULT = null;
public static final String CAMEL_SINK_GRAPHQL_ENDPOINT_VARIABLES_CONF = "camel.sink.endpoint.variables";
public static final String CAMEL_SINK_GRAPHQL_ENDPOINT_VARIABLES_DOC = "The JsonObject instance containing the operation variables.";
public static final String CAMEL_SINK_GRAPHQL_ENDPOINT_VARIABLES_DEFAULT = null;
+ public static final String CAMEL_SINK_GRAPHQL_ENDPOINT_VARIABLES_HEADER_CONF = "camel.sink.endpoint.variablesHeader";
+ public static final String CAMEL_SINK_GRAPHQL_ENDPOINT_VARIABLES_HEADER_DOC = "The name of a header containing a JsonObject instance containing the operation variables.";
+ public static final String CAMEL_SINK_GRAPHQL_ENDPOINT_VARIABLES_HEADER_DEFAULT = null;
public static final String CAMEL_SINK_GRAPHQL_ENDPOINT_ACCESS_TOKEN_CONF = "camel.sink.endpoint.accessToken";
public static final String CAMEL_SINK_GRAPHQL_ENDPOINT_ACCESS_TOKEN_DOC = "The access token sent in the Authorization header.";
public static final String CAMEL_SINK_GRAPHQL_ENDPOINT_ACCESS_TOKEN_DEFAULT = null;
@@ -82,7 +88,9 @@ public class CamelGraphqlSinkConnectorConfig extends CamelSinkConnectorConfig {
conf.define(CAMEL_SINK_GRAPHQL_ENDPOINT_PROXY_HOST_CONF, ConfigDef.Type.STRING, CAMEL_SINK_GRAPHQL_ENDPOINT_PROXY_HOST_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_GRAPHQL_ENDPOINT_PROXY_HOST_DOC);
conf.define(CAMEL_SINK_GRAPHQL_ENDPOINT_QUERY_CONF, ConfigDef.Type.STRING, CAMEL_SINK_GRAPHQL_ENDPOINT_QUERY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_GRAPHQL_ENDPOINT_QUERY_DOC);
conf.define(CAMEL_SINK_GRAPHQL_ENDPOINT_QUERY_FILE_CONF, ConfigDef.Type.STRING, CAMEL_SINK_GRAPHQL_ENDPOINT_QUERY_FILE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_GRAPHQL_ENDPOINT_QUERY_FILE_DOC);
+ conf.define(CAMEL_SINK_GRAPHQL_ENDPOINT_QUERY_HEADER_CONF, ConfigDef.Type.STRING, CAMEL_SINK_GRAPHQL_ENDPOINT_QUERY_HEADER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_GRAPHQL_ENDPOINT_QUERY_HEADER_DOC);
conf.define(CAMEL_SINK_GRAPHQL_ENDPOINT_VARIABLES_CONF, ConfigDef.Type.STRING, CAMEL_SINK_GRAPHQL_ENDPOINT_VARIABLES_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_GRAPHQL_ENDPOINT_VARIABLES_DOC);
+ conf.define(CAMEL_SINK_GRAPHQL_ENDPOINT_VARIABLES_HEADER_CONF, ConfigDef.Type.STRING, CAMEL_SINK_GRAPHQL_ENDPOINT_VARIABLES_HEADER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_GRAPHQL_ENDPOINT_VARIABLES_HEADER_DOC);
conf.define(CAMEL_SINK_GRAPHQL_ENDPOINT_ACCESS_TOKEN_CONF, ConfigDef.Type.PASSWORD, CAMEL_SINK_GRAPHQL_ENDPOINT_ACCESS_TOKEN_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_GRAPHQL_ENDPOINT_ACCESS_TOKEN_DOC);
conf.define(CAMEL_SINK_GRAPHQL_ENDPOINT_JWT_AUTHORIZATION_TYPE_CONF, ConfigDef.Type.STRING, CAMEL_SINK_GRAPHQL_ENDPOINT_JWT_AUTHORIZATION_TYPE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_GRAPHQL_ENDPOINT_JWT_AUTHORIZATION_TYPE_DOC);
conf.define(CAMEL_SINK_GRAPHQL_ENDPOINT_PASSWORD_CONF, ConfigDef.Type.PASSWORD, CAMEL_SINK_GRAPHQL_ENDPOINT_PASSWORD_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_GRAPHQL_ENDPOINT_PASSWORD_DOC);
diff --git a/connectors/camel-https-kafka-connector/src/generated/resources/camel-https-sink.json b/connectors/camel-https-kafka-connector/src/generated/resources/camel-https-sink.json
index aa0328f..b68dfde 100644
--- a/connectors/camel-https-kafka-connector/src/generated/resources/camel-https-sink.json
+++ b/connectors/camel-https-kafka-connector/src/generated/resources/camel-https-sink.json
@@ -15,6 +15,13 @@
"priority": "HIGH",
"required": "true"
},
+ "camel.sink.endpoint.chunked": {
+ "name": "camel.sink.endpoint.chunked",
+ "description": "If this option is false the Servlet will disable the HTTP streaming and set the content-length header on the response",
+ "defaultValue": "true",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
"camel.sink.endpoint.disableStreamCache": {
"name": "camel.sink.endpoint.disableStreamCache",
"description": "Determines whether or not the raw input stream from Servlet is cached or not (Camel will read the stream into a in memory\/overflow to file, Stream caching) cache. By default Camel will cache the Servlet input stream to support reading it multiple times to ensure it Camel can retrieve all data from the stream. However you can set this option to true when you for example need to access the raw stream, such as streaming it directly to a file or other persistent store. De [...]
@@ -41,13 +48,6 @@
"priority": "MEDIUM",
"required": "false"
},
- "camel.sink.endpoint.chunked": {
- "name": "camel.sink.endpoint.chunked",
- "description": "If this option is false the Servlet will disable the HTTP streaming and set the content-length header on the response",
- "defaultValue": "true",
- "priority": "MEDIUM",
- "required": "false"
- },
"camel.sink.endpoint.clearExpiredCookies": {
"name": "camel.sink.endpoint.clearExpiredCookies",
"description": "Whether to clear expired cookies before sending the HTTP request. This ensures the cookies store does not keep growing by adding new cookies which is newer removed when they are expired. If the component has disabled cookie management then this option is disabled too.",
@@ -173,6 +173,12 @@
"priority": "MEDIUM",
"required": "false"
},
+ "camel.sink.endpoint.userAgent": {
+ "name": "camel.sink.endpoint.userAgent",
+ "description": "To set a custom HTTP User-Agent request header",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
"camel.sink.endpoint.clientBuilder": {
"name": "camel.sink.endpoint.clientBuilder",
"description": "Provide access to the http client request parameters used on new RequestConfig instances used by producers or consumers of this endpoint.",
@@ -607,4 +613,4 @@
"required": "false"
}
}
-}
+}
\ No newline at end of file
diff --git a/connectors/camel-https-kafka-connector/src/main/docs/camel-https-kafka-sink-connector.adoc b/connectors/camel-https-kafka-connector/src/main/docs/camel-https-kafka-sink-connector.adoc
index e21aaac..f0a07f8 100644
--- a/connectors/camel-https-kafka-connector/src/main/docs/camel-https-kafka-sink-connector.adoc
+++ b/connectors/camel-https-kafka-connector/src/main/docs/camel-https-kafka-sink-connector.adoc
@@ -24,7 +24,7 @@ connector.class=org.apache.camel.kafkaconnector.https.CamelHttpsSinkConnector
----
-The camel-https sink connector supports 88 options, which are listed below.
+The camel-https sink connector supports 89 options, which are listed below.
@@ -32,11 +32,11 @@ The camel-https sink connector supports 88 options, which are listed below.
|===
| Name | Description | Default | Required | Priority
| *camel.sink.path.httpUri* | The url of the HTTP endpoint to call. | null | true | HIGH
+| *camel.sink.endpoint.chunked* | If this option is false the Servlet will disable the HTTP streaming and set the content-length header on the response | true | false | MEDIUM
| *camel.sink.endpoint.disableStreamCache* | Determines whether or not the raw input stream from Servlet is cached or not (Camel will read the stream into a in memory/overflow to file, Stream caching) cache. By default Camel will cache the Servlet input stream to support reading it multiple times to ensure it Camel can retrieve all data from the stream. However you can set this option to true when you for example need to access the raw stream, such as streaming it directly to a file or o [...]
| *camel.sink.endpoint.headerFilterStrategy* | To use a custom HeaderFilterStrategy to filter header to and from Camel message. | null | false | MEDIUM
| *camel.sink.endpoint.httpBinding* | To use a custom HttpBinding to control the mapping between Camel message and HttpClient. | null | false | MEDIUM
| *camel.sink.endpoint.bridgeEndpoint* | If the option is true, HttpProducer will ignore the Exchange.HTTP_URI header, and use the endpoint's URI for request. You may also set the option throwExceptionOnFailure to be false to let the HttpProducer send all the fault response back. | false | false | MEDIUM
-| *camel.sink.endpoint.chunked* | If this option is false the Servlet will disable the HTTP streaming and set the content-length header on the response | true | false | MEDIUM
| *camel.sink.endpoint.clearExpiredCookies* | Whether to clear expired cookies before sending the HTTP request. This ensures the cookies store does not keep growing by adding new cookies which is newer removed when they are expired. If the component has disabled cookie management then this option is disabled too. | true | false | MEDIUM
| *camel.sink.endpoint.connectionClose* | Specifies whether a Connection Close header must be added to HTTP Request. By default connectionClose is false. | false | false | MEDIUM
| *camel.sink.endpoint.copyHeaders* | If this option is true then IN exchange headers will be copied to OUT exchange headers according to copy strategy. Setting this to false, allows to only include the headers from the HTTP response (not propagating IN headers). | true | false | MEDIUM
@@ -54,6 +54,7 @@ The camel-https sink connector supports 88 options, which are listed below.
| *camel.sink.endpoint.okStatusCodeRange* | The status codes which are considered a success response. The values are inclusive. Multiple ranges can be defined, separated by comma, e.g. 200-204,209,301-304. Each range must be a single number or from-to with the dash included. | "200-299" | false | MEDIUM
| *camel.sink.endpoint.skipRequestHeaders* | Whether to skip mapping all the Camel headers as HTTP request headers. If there are no data from Camel headers needed to be included in the HTTP request then this can avoid parsing overhead with many object allocations for the JVM garbage collector. | false | false | MEDIUM
| *camel.sink.endpoint.skipResponseHeaders* | Whether to skip mapping all the HTTP response headers to Camel headers. If there are no data needed from HTTP headers then this can avoid parsing overhead with many object allocations for the JVM garbage collector. | false | false | MEDIUM
+| *camel.sink.endpoint.userAgent* | To set a custom HTTP User-Agent request header | null | false | MEDIUM
| *camel.sink.endpoint.clientBuilder* | Provide access to the http client request parameters used on new RequestConfig instances used by producers or consumers of this endpoint. | null | false | MEDIUM
| *camel.sink.endpoint.clientConnectionManager* | To use a custom HttpClientConnectionManager to manage connections | null | false | MEDIUM
| *camel.sink.endpoint.connectionsPerRoute* | The maximum number of connections per route. | 20 | false | MEDIUM
@@ -136,8 +137,4 @@ The camel-https sink connector has no transforms out of the box.
The camel-https sink connector has no aggregation strategies out of the box.
-
-
-
-
// kafka-connector options: END
diff --git a/connectors/camel-https-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/https/CamelHttpsSinkConnectorConfig.java b/connectors/camel-https-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/https/CamelHttpsSinkConnectorConfig.java
index 7ef7e93..9546d20 100644
--- a/connectors/camel-https-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/https/CamelHttpsSinkConnectorConfig.java
+++ b/connectors/camel-https-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/https/CamelHttpsSinkConnectorConfig.java
@@ -27,6 +27,9 @@ public class CamelHttpsSinkConnectorConfig extends CamelSinkConnectorConfig {
public static final String CAMEL_SINK_HTTPS_PATH_HTTP_URI_CONF = "camel.sink.path.httpUri";
public static final String CAMEL_SINK_HTTPS_PATH_HTTP_URI_DOC = "The url of the HTTP endpoint to call.";
public static final String CAMEL_SINK_HTTPS_PATH_HTTP_URI_DEFAULT = null;
+ public static final String CAMEL_SINK_HTTPS_ENDPOINT_CHUNKED_CONF = "camel.sink.endpoint.chunked";
+ public static final String CAMEL_SINK_HTTPS_ENDPOINT_CHUNKED_DOC = "If this option is false the Servlet will disable the HTTP streaming and set the content-length header on the response";
+ public static final Boolean CAMEL_SINK_HTTPS_ENDPOINT_CHUNKED_DEFAULT = true;
public static final String CAMEL_SINK_HTTPS_ENDPOINT_DISABLE_STREAM_CACHE_CONF = "camel.sink.endpoint.disableStreamCache";
public static final String CAMEL_SINK_HTTPS_ENDPOINT_DISABLE_STREAM_CACHE_DOC = "Determines whether or not the raw input stream from Servlet is cached or not (Camel will read the stream into a in memory/overflow to file, Stream caching) cache. By default Camel will cache the Servlet input stream to support reading it multiple times to ensure it Camel can retrieve all data from the stream. However you can set this option to true when you for example need to access the raw stream, such [...]
public static final Boolean CAMEL_SINK_HTTPS_ENDPOINT_DISABLE_STREAM_CACHE_DEFAULT = false;
@@ -39,9 +42,6 @@ public class CamelHttpsSinkConnectorConfig extends CamelSinkConnectorConfig {
public static final String CAMEL_SINK_HTTPS_ENDPOINT_BRIDGE_ENDPOINT_CONF = "camel.sink.endpoint.bridgeEndpoint";
public static final String CAMEL_SINK_HTTPS_ENDPOINT_BRIDGE_ENDPOINT_DOC = "If the option is true, HttpProducer will ignore the Exchange.HTTP_URI header, and use the endpoint's URI for request. You may also set the option throwExceptionOnFailure to be false to let the HttpProducer send all the fault response back.";
public static final Boolean CAMEL_SINK_HTTPS_ENDPOINT_BRIDGE_ENDPOINT_DEFAULT = false;
- public static final String CAMEL_SINK_HTTPS_ENDPOINT_CHUNKED_CONF = "camel.sink.endpoint.chunked";
- public static final String CAMEL_SINK_HTTPS_ENDPOINT_CHUNKED_DOC = "If this option is false the Servlet will disable the HTTP streaming and set the content-length header on the response";
- public static final Boolean CAMEL_SINK_HTTPS_ENDPOINT_CHUNKED_DEFAULT = true;
public static final String CAMEL_SINK_HTTPS_ENDPOINT_CLEAR_EXPIRED_COOKIES_CONF = "camel.sink.endpoint.clearExpiredCookies";
public static final String CAMEL_SINK_HTTPS_ENDPOINT_CLEAR_EXPIRED_COOKIES_DOC = "Whether to clear expired cookies before sending the HTTP request. This ensures the cookies store does not keep growing by adding new cookies which is newer removed when they are expired. If the component has disabled cookie management then this option is disabled too.";
public static final Boolean CAMEL_SINK_HTTPS_ENDPOINT_CLEAR_EXPIRED_COOKIES_DEFAULT = true;
@@ -93,6 +93,9 @@ public class CamelHttpsSinkConnectorConfig extends CamelSinkConnectorConfig {
public static final String CAMEL_SINK_HTTPS_ENDPOINT_SKIP_RESPONSE_HEADERS_CONF = "camel.sink.endpoint.skipResponseHeaders";
public static final String CAMEL_SINK_HTTPS_ENDPOINT_SKIP_RESPONSE_HEADERS_DOC = "Whether to skip mapping all the HTTP response headers to Camel headers. If there are no data needed from HTTP headers then this can avoid parsing overhead with many object allocations for the JVM garbage collector.";
public static final Boolean CAMEL_SINK_HTTPS_ENDPOINT_SKIP_RESPONSE_HEADERS_DEFAULT = false;
+ public static final String CAMEL_SINK_HTTPS_ENDPOINT_USER_AGENT_CONF = "camel.sink.endpoint.userAgent";
+ public static final String CAMEL_SINK_HTTPS_ENDPOINT_USER_AGENT_DOC = "To set a custom HTTP User-Agent request header";
+ public static final String CAMEL_SINK_HTTPS_ENDPOINT_USER_AGENT_DEFAULT = null;
public static final String CAMEL_SINK_HTTPS_ENDPOINT_CLIENT_BUILDER_CONF = "camel.sink.endpoint.clientBuilder";
public static final String CAMEL_SINK_HTTPS_ENDPOINT_CLIENT_BUILDER_DOC = "Provide access to the http client request parameters used on new RequestConfig instances used by producers or consumers of this endpoint.";
public static final String CAMEL_SINK_HTTPS_ENDPOINT_CLIENT_BUILDER_DEFAULT = null;
@@ -302,11 +305,11 @@ public class CamelHttpsSinkConnectorConfig extends CamelSinkConnectorConfig {
public static ConfigDef conf() {
ConfigDef conf = new ConfigDef(CamelSinkConnectorConfig.conf());
conf.define(CAMEL_SINK_HTTPS_PATH_HTTP_URI_CONF, ConfigDef.Type.STRING, CAMEL_SINK_HTTPS_PATH_HTTP_URI_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_HTTPS_PATH_HTTP_URI_DOC);
+ conf.define(CAMEL_SINK_HTTPS_ENDPOINT_CHUNKED_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_HTTPS_ENDPOINT_CHUNKED_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HTTPS_ENDPOINT_CHUNKED_DOC);
conf.define(CAMEL_SINK_HTTPS_ENDPOINT_DISABLE_STREAM_CACHE_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_HTTPS_ENDPOINT_DISABLE_STREAM_CACHE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HTTPS_ENDPOINT_DISABLE_STREAM_CACHE_DOC);
conf.define(CAMEL_SINK_HTTPS_ENDPOINT_HEADER_FILTER_STRATEGY_CONF, ConfigDef.Type.STRING, CAMEL_SINK_HTTPS_ENDPOINT_HEADER_FILTER_STRATEGY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HTTPS_ENDPOINT_HEADER_FILTER_STRATEGY_DOC);
conf.define(CAMEL_SINK_HTTPS_ENDPOINT_HTTP_BINDING_CONF, ConfigDef.Type.STRING, CAMEL_SINK_HTTPS_ENDPOINT_HTTP_BINDING_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HTTPS_ENDPOINT_HTTP_BINDING_DOC);
conf.define(CAMEL_SINK_HTTPS_ENDPOINT_BRIDGE_ENDPOINT_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_HTTPS_ENDPOINT_BRIDGE_ENDPOINT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HTTPS_ENDPOINT_BRIDGE_ENDPOINT_DOC);
- conf.define(CAMEL_SINK_HTTPS_ENDPOINT_CHUNKED_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_HTTPS_ENDPOINT_CHUNKED_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HTTPS_ENDPOINT_CHUNKED_DOC);
conf.define(CAMEL_SINK_HTTPS_ENDPOINT_CLEAR_EXPIRED_COOKIES_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_HTTPS_ENDPOINT_CLEAR_EXPIRED_COOKIES_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HTTPS_ENDPOINT_CLEAR_EXPIRED_COOKIES_DOC);
conf.define(CAMEL_SINK_HTTPS_ENDPOINT_CONNECTION_CLOSE_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_HTTPS_ENDPOINT_CONNECTION_CLOSE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HTTPS_ENDPOINT_CONNECTION_CLOSE_DOC);
conf.define(CAMEL_SINK_HTTPS_ENDPOINT_COPY_HEADERS_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_HTTPS_ENDPOINT_COPY_HEADERS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HTTPS_ENDPOINT_COPY_HEADERS_DOC);
@@ -324,6 +327,7 @@ public class CamelHttpsSinkConnectorConfig extends CamelSinkConnectorConfig {
conf.define(CAMEL_SINK_HTTPS_ENDPOINT_OK_STATUS_CODE_RANGE_CONF, ConfigDef.Type.STRING, CAMEL_SINK_HTTPS_ENDPOINT_OK_STATUS_CODE_RANGE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HTTPS_ENDPOINT_OK_STATUS_CODE_RANGE_DOC);
conf.define(CAMEL_SINK_HTTPS_ENDPOINT_SKIP_REQUEST_HEADERS_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_HTTPS_ENDPOINT_SKIP_REQUEST_HEADERS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HTTPS_ENDPOINT_SKIP_REQUEST_HEADERS_DOC);
conf.define(CAMEL_SINK_HTTPS_ENDPOINT_SKIP_RESPONSE_HEADERS_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_HTTPS_ENDPOINT_SKIP_RESPONSE_HEADERS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HTTPS_ENDPOINT_SKIP_RESPONSE_HEADERS_DOC);
+ conf.define(CAMEL_SINK_HTTPS_ENDPOINT_USER_AGENT_CONF, ConfigDef.Type.STRING, CAMEL_SINK_HTTPS_ENDPOINT_USER_AGENT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HTTPS_ENDPOINT_USER_AGENT_DOC);
conf.define(CAMEL_SINK_HTTPS_ENDPOINT_CLIENT_BUILDER_CONF, ConfigDef.Type.STRING, CAMEL_SINK_HTTPS_ENDPOINT_CLIENT_BUILDER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HTTPS_ENDPOINT_CLIENT_BUILDER_DOC);
conf.define(CAMEL_SINK_HTTPS_ENDPOINT_CLIENT_CONNECTION_MANAGER_CONF, ConfigDef.Type.STRING, CAMEL_SINK_HTTPS_ENDPOINT_CLIENT_CONNECTION_MANAGER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HTTPS_ENDPOINT_CLIENT_CONNECTION_MANAGER_DOC);
conf.define(CAMEL_SINK_HTTPS_ENDPOINT_CONNECTIONS_PER_ROUTE_CONF, ConfigDef.Type.INT, CAMEL_SINK_HTTPS_ENDPOINT_CONNECTIONS_PER_ROUTE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HTTPS_ENDPOINT_CONNECTIONS_PER_ROUTE_DOC);
diff --git a/connectors/camel-hwcloud-dms-kafka-connector/pom.xml b/connectors/camel-hwcloud-dms-kafka-connector/pom.xml
new file mode 100644
index 0000000..82a7eb6
--- /dev/null
+++ b/connectors/camel-hwcloud-dms-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.12.0-SNAPSHOT</version>
+ </parent>
+ <artifactId>camel-hwcloud-dms-kafka-connector</artifactId>
+ <name>Camel-Kafka-Connector :: hwcloud-dms</name>
+ <description>Camel Kafka Connector for hwcloud-dms</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-huaweicloud-dms</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-hwcloud-dms-kafka-connector/src/generated/descriptors/connector-sink.properties b/connectors/camel-hwcloud-dms-kafka-connector/src/generated/descriptors/connector-sink.properties
new file mode 100644
index 0000000..f637c54
--- /dev/null
+++ b/connectors/camel-hwcloud-dms-kafka-connector/src/generated/descriptors/connector-sink.properties
@@ -0,0 +1 @@
+camel-hwcloud-dms-sink
\ No newline at end of file
diff --git a/connectors/camel-hwcloud-dms-kafka-connector/src/generated/resources/camel-hwcloud-dms-sink.json b/connectors/camel-hwcloud-dms-kafka-connector/src/generated/resources/camel-hwcloud-dms-sink.json
new file mode 100644
index 0000000..c5960bd
--- /dev/null
+++ b/connectors/camel-hwcloud-dms-kafka-connector/src/generated/resources/camel-hwcloud-dms-sink.json
@@ -0,0 +1,213 @@
+{
+ "connector": {
+ "class": "org.apache.camel.kafkaconnector.hwclouddms.CamelHwclouddmsSinkConnector",
+ "artifactId": "camel-hwcloud-dms-kafka-connector",
+ "groupId": "org.apache.camel.kafkaconnector",
+ "id": "camel-hwcloud-dms-sink",
+ "type": "sink",
+ "version": "0.12.0-SNAPSHOT",
+ "description": "To integrate with a fully managed, high-performance message queuing service on Huawei Cloud"
+ },
+ "properties": {
+ "camel.sink.path.operation": {
+ "name": "camel.sink.path.operation",
+ "description": "Operation to be performed",
+ "priority": "HIGH",
+ "required": "true"
+ },
+ "camel.sink.endpoint.accessKey": {
+ "name": "camel.sink.endpoint.accessKey",
+ "description": "Access key for the cloud user",
+ "priority": "HIGH",
+ "required": "true"
+ },
+ "camel.sink.endpoint.accessUser": {
+ "name": "camel.sink.endpoint.accessUser",
+ "description": "The username of a RabbitMQ instance. This option is mandatory when creating a RabbitMQ instance.",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
+ "camel.sink.endpoint.availableZones": {
+ "name": "camel.sink.endpoint.availableZones",
+ "description": "The ID of an available zone. This option is mandatory when creating an instance and it cannot be an empty array.",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
+ "camel.sink.endpoint.endpoint": {
+ "name": "camel.sink.endpoint.endpoint",
+ "description": "DMS url. Carries higher precedence than region parameter based client initialization",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
+ "camel.sink.endpoint.engine": {
+ "name": "camel.sink.endpoint.engine",
+ "description": "The message engine. Either kafka or rabbitmq. If the parameter is not specified, all instances will be queried One of: [kafka] [rabbitmq]",
+ "priority": "MEDIUM",
+ "required": "false",
+ "enum": [
+ "kafka",
+ "rabbitmq"
+ ]
+ },
+ "camel.sink.endpoint.engineVersion": {
+ "name": "camel.sink.endpoint.engineVersion",
+ "description": "The version of the message engine. This option is mandatory when creating an instance.",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
+ "camel.sink.endpoint.ignoreSslVerification": {
+ "name": "camel.sink.endpoint.ignoreSslVerification",
+ "description": "Ignore SSL verification",
+ "defaultValue": "false",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
+ "camel.sink.endpoint.instanceId": {
+ "name": "camel.sink.endpoint.instanceId",
+ "description": "The id of the instance. This option is mandatory when deleting or querying an instance",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
+ "camel.sink.endpoint.kafkaManagerPassword": {
+ "name": "camel.sink.endpoint.kafkaManagerPassword",
+ "description": "The password for logging in to the Kafka Manager. This option is mandatory when creating a Kafka instance.",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
+ "camel.sink.endpoint.kafkaManagerUser": {
+ "name": "camel.sink.endpoint.kafkaManagerUser",
+ "description": "The username for logging in to the Kafka Manager. This option is mandatory when creating a Kafka instance.",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
+ "camel.sink.endpoint.lazyStartProducer": {
+ "name": "camel.sink.endpoint.lazyStartProducer",
+ "description": "Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the pr [...]
+ "defaultValue": "false",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
+ "camel.sink.endpoint.name": {
+ "name": "camel.sink.endpoint.name",
+ "description": "The name of the instance for creating and updating an instance. This option is mandatory when creating an instance",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
+ "camel.sink.endpoint.partitionNum": {
+ "name": "camel.sink.endpoint.partitionNum",
+ "description": "The maximum number of partitions in a Kafka instance. This option is mandatory when creating a Kafka instance.",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
+ "camel.sink.endpoint.password": {
+ "name": "camel.sink.endpoint.password",
+ "description": "The password of a RabbitMQ instance. This option is mandatory when creating a RabbitMQ instance.",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
+ "camel.sink.endpoint.productId": {
+ "name": "camel.sink.endpoint.productId",
+ "description": "The product ID. This option is mandatory when creating an instance.",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
+ "camel.sink.endpoint.projectId": {
+ "name": "camel.sink.endpoint.projectId",
+ "description": "Cloud project ID",
+ "priority": "HIGH",
+ "required": "true"
+ },
+ "camel.sink.endpoint.proxyHost": {
+ "name": "camel.sink.endpoint.proxyHost",
+ "description": "Proxy server ip\/hostname",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
+ "camel.sink.endpoint.proxyPassword": {
+ "name": "camel.sink.endpoint.proxyPassword",
+ "description": "Proxy authentication password",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
+ "camel.sink.endpoint.proxyPort": {
+ "name": "camel.sink.endpoint.proxyPort",
+ "description": "Proxy server port",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
+ "camel.sink.endpoint.proxyUser": {
+ "name": "camel.sink.endpoint.proxyUser",
+ "description": "Proxy authentication user",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
+ "camel.sink.endpoint.region": {
+ "name": "camel.sink.endpoint.region",
+ "description": "DMS service region",
+ "priority": "HIGH",
+ "required": "true"
+ },
+ "camel.sink.endpoint.secretKey": {
+ "name": "camel.sink.endpoint.secretKey",
+ "description": "Secret key for the cloud user",
+ "priority": "HIGH",
+ "required": "true"
+ },
+ "camel.sink.endpoint.securityGroupId": {
+ "name": "camel.sink.endpoint.securityGroupId",
+ "description": "The security group which the instance belongs to. This option is mandatory when creating an instance.",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
+ "camel.sink.endpoint.serviceKeys": {
+ "name": "camel.sink.endpoint.serviceKeys",
+ "description": "Configuration object for cloud service authentication",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
+ "camel.sink.endpoint.specification": {
+ "name": "camel.sink.endpoint.specification",
+ "description": "The baseline bandwidth of a Kafka instance. This option is mandatory when creating a Kafka instance.",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
+ "camel.sink.endpoint.storageSpace": {
+ "name": "camel.sink.endpoint.storageSpace",
+ "description": "The message storage space. This option is mandatory when creating an instance.",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
+ "camel.sink.endpoint.storageSpecCode": {
+ "name": "camel.sink.endpoint.storageSpecCode",
+ "description": "The storage I\/O specification. This option is mandatory when creating an instance.",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
+ "camel.sink.endpoint.subnetId": {
+ "name": "camel.sink.endpoint.subnetId",
+ "description": "The subnet ID. This option is mandatory when creating an instance.",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
+ "camel.sink.endpoint.vpcId": {
+ "name": "camel.sink.endpoint.vpcId",
+ "description": "The VPC ID. This option is mandatory when creating an instance.",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
+ "camel.component.hwcloud-dms.lazyStartProducer": {
+ "name": "camel.component.hwcloud-dms.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.hwcloud-dms.autowiredEnabled": {
+ "name": "camel.component.hwcloud-dms.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"
+ }
+ }
+}
diff --git a/connectors/camel-hwcloud-dms-kafka-connector/src/main/assembly/package.xml b/connectors/camel-hwcloud-dms-kafka-connector/src/main/assembly/package.xml
new file mode 100644
index 0000000..05f0b1a
--- /dev/null
+++ b/connectors/camel-hwcloud-dms-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-hwcloud-dms-kafka-connector/src/main/docs/camel-hwcloud-dms-kafka-sink-connector.adoc b/connectors/camel-hwcloud-dms-kafka-connector/src/main/docs/camel-hwcloud-dms-kafka-sink-connector.adoc
new file mode 100644
index 0000000..71b54b0
--- /dev/null
+++ b/connectors/camel-hwcloud-dms-kafka-connector/src/main/docs/camel-hwcloud-dms-kafka-sink-connector.adoc
@@ -0,0 +1,87 @@
+// kafka-connector options: START
+[[camel-hwcloud-dms-kafka-connector-sink]]
+= camel-hwcloud-dms-kafka-connector sink configuration
+
+Connector Description: To integrate with a fully managed, high-performance message queuing service on Huawei Cloud
+
+When using camel-hwcloud-dms-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-hwcloud-dms-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.hwclouddms.CamelHwclouddmsSinkConnector
+----
+
+
+The camel-hwcloud-dms sink connector supports 32 options, which are listed below.
+
+
+
+[width="100%",cols="2,5,^1,1,1",options="header"]
+|===
+| Name | Description | Default | Required | Priority
+| *camel.sink.path.operation* | Operation to be performed | null | true | HIGH
+| *camel.sink.endpoint.accessKey* | Access key for the cloud user | null | true | HIGH
+| *camel.sink.endpoint.accessUser* | The username of a RabbitMQ instance. This option is mandatory when creating a RabbitMQ instance. | null | false | MEDIUM
+| *camel.sink.endpoint.availableZones* | The ID of an available zone. This option is mandatory when creating an instance and it cannot be an empty array. | null | false | MEDIUM
+| *camel.sink.endpoint.endpoint* | DMS url. Carries higher precedence than region parameter based client initialization | null | false | MEDIUM
+| *camel.sink.endpoint.engine* | The message engine. Either kafka or rabbitmq. If the parameter is not specified, all instances will be queried One of: [kafka] [rabbitmq] | null | false | MEDIUM
+| *camel.sink.endpoint.engineVersion* | The version of the message engine. This option is mandatory when creating an instance. | null | false | MEDIUM
+| *camel.sink.endpoint.ignoreSslVerification* | Ignore SSL verification | false | false | MEDIUM
+| *camel.sink.endpoint.instanceId* | The id of the instance. This option is mandatory when deleting or querying an instance | null | false | MEDIUM
+| *camel.sink.endpoint.kafkaManagerPassword* | The password for logging in to the Kafka Manager. This option is mandatory when creating a Kafka instance. | null | false | MEDIUM
+| *camel.sink.endpoint.kafkaManagerUser* | The username for logging in to the Kafka Manager. This option is mandatory when creating a Kafka instance. | null | false | MEDIUM
+| *camel.sink.endpoint.lazyStartProducer* | Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then cre [...]
+| *camel.sink.endpoint.name* | The name of the instance for creating and updating an instance. This option is mandatory when creating an instance | null | false | MEDIUM
+| *camel.sink.endpoint.partitionNum* | The maximum number of partitions in a Kafka instance. This option is mandatory when creating a Kafka instance. | null | false | MEDIUM
+| *camel.sink.endpoint.password* | The password of a RabbitMQ instance. This option is mandatory when creating a RabbitMQ instance. | null | false | MEDIUM
+| *camel.sink.endpoint.productId* | The product ID. This option is mandatory when creating an instance. | null | false | MEDIUM
+| *camel.sink.endpoint.projectId* | Cloud project ID | null | true | HIGH
+| *camel.sink.endpoint.proxyHost* | Proxy server ip/hostname | null | false | MEDIUM
+| *camel.sink.endpoint.proxyPassword* | Proxy authentication password | null | false | MEDIUM
+| *camel.sink.endpoint.proxyPort* | Proxy server port | null | false | MEDIUM
+| *camel.sink.endpoint.proxyUser* | Proxy authentication user | null | false | MEDIUM
+| *camel.sink.endpoint.region* | DMS service region | null | true | HIGH
+| *camel.sink.endpoint.secretKey* | Secret key for the cloud user | null | true | HIGH
+| *camel.sink.endpoint.securityGroupId* | The security group which the instance belongs to. This option is mandatory when creating an instance. | null | false | MEDIUM
+| *camel.sink.endpoint.serviceKeys* | Configuration object for cloud service authentication | null | false | MEDIUM
+| *camel.sink.endpoint.specification* | The baseline bandwidth of a Kafka instance. This option is mandatory when creating a Kafka instance. | null | false | MEDIUM
+| *camel.sink.endpoint.storageSpace* | The message storage space. This option is mandatory when creating an instance. | null | false | MEDIUM
+| *camel.sink.endpoint.storageSpecCode* | The storage I/O specification. This option is mandatory when creating an instance. | null | false | MEDIUM
+| *camel.sink.endpoint.subnetId* | The subnet ID. This option is mandatory when creating an instance. | null | false | MEDIUM
+| *camel.sink.endpoint.vpcId* | The VPC ID. This option is mandatory when creating an instance. | null | false | MEDIUM
+| *camel.component.hwcloud-dms.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 [...]
+| *camel.component.hwcloud-dms.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
+|===
+
+
+
+The camel-hwcloud-dms sink connector has no converters out of the box.
+
+
+
+
+
+The camel-hwcloud-dms sink connector has no transforms out of the box.
+
+
+
+
+
+The camel-hwcloud-dms sink connector has no aggregation strategies out of the box.
+
+
+
+
+// kafka-connector options: END
diff --git a/connectors/camel-hwcloud-iam-kafka-connector/src/main/docs/examples/CamelHwcloudiamSinkConnector.properties b/connectors/camel-hwcloud-dms-kafka-connector/src/main/docs/examples/CamelHwclouddmsSinkConnector.properties
similarity index 85%
copy from connectors/camel-hwcloud-iam-kafka-connector/src/main/docs/examples/CamelHwcloudiamSinkConnector.properties
copy to connectors/camel-hwcloud-dms-kafka-connector/src/main/docs/examples/CamelHwclouddmsSinkConnector.properties
index de8af99..f68a00e 100644
--- a/connectors/camel-hwcloud-iam-kafka-connector/src/main/docs/examples/CamelHwcloudiamSinkConnector.properties
+++ b/connectors/camel-hwcloud-dms-kafka-connector/src/main/docs/examples/CamelHwclouddmsSinkConnector.properties
@@ -15,8 +15,8 @@
## limitations under the License.
## ---------------------------------------------------------------------------
-name=CamelHwcloud-iamSinkConnector
-connector.class=org.apache.camel.kafkaconnector.hwcloudiam.CamelHwcloudiamSinkConnector
+name=CamelHwcloud-dmsSinkConnector
+connector.class=org.apache.camel.kafkaconnector.hwclouddms.CamelHwclouddmsSinkConnector
tasks.max=1
# use the kafka converters that better suit your needs, these are just defaults:
@@ -28,9 +28,11 @@ topics=
# mandatory properties (for a complete properties list see the connector documentation):
-# Authentication key for the cloud user
-camel.sink.endpoint.authenticationKey=
-# IAM service region
+# Access key for the cloud user
+camel.sink.endpoint.accessKey=
+# Cloud project ID
+camel.sink.endpoint.projectId=
+# DMS service region
camel.sink.endpoint.region=
# Secret key for the cloud user
camel.sink.endpoint.secretKey=
diff --git a/connectors/camel-hwcloud-dms-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/hwclouddms/CamelHwclouddmsSinkConnector.java b/connectors/camel-hwcloud-dms-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/hwclouddms/CamelHwclouddmsSinkConnector.java
new file mode 100644
index 0000000..09b6fb6
--- /dev/null
+++ b/connectors/camel-hwcloud-dms-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/hwclouddms/CamelHwclouddmsSinkConnector.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.hwclouddms;
+
+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 CamelHwclouddmsSinkConnector extends CamelSinkConnector {
+
+ @Override
+ public ConfigDef config() {
+ return CamelHwclouddmsSinkConnectorConfig.conf();
+ }
+ @Override
+ public Class<? extends Task> taskClass() {
+ return CamelHwclouddmsSinkTask.class;
+ }
+}
\ No newline at end of file
diff --git a/connectors/camel-hwcloud-dms-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/hwclouddms/CamelHwclouddmsSinkConnectorConfig.java b/connectors/camel-hwcloud-dms-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/hwclouddms/CamelHwclouddmsSinkConnectorConfig.java
new file mode 100644
index 0000000..4eef9b2
--- /dev/null
+++ b/connectors/camel-hwcloud-dms-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/hwclouddms/CamelHwclouddmsSinkConnectorConfig.java
@@ -0,0 +1,172 @@
+/*
+ * 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.hwclouddms;
+
+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 CamelHwclouddmsSinkConnectorConfig
+ extends
+ CamelSinkConnectorConfig {
+
+ public static final String CAMEL_SINK_HWCLOUDDMS_PATH_OPERATION_CONF = "camel.sink.path.operation";
+ public static final String CAMEL_SINK_HWCLOUDDMS_PATH_OPERATION_DOC = "Operation to be performed";
+ public static final String CAMEL_SINK_HWCLOUDDMS_PATH_OPERATION_DEFAULT = null;
+ public static final String CAMEL_SINK_HWCLOUDDMS_ENDPOINT_ACCESS_KEY_CONF = "camel.sink.endpoint.accessKey";
+ public static final String CAMEL_SINK_HWCLOUDDMS_ENDPOINT_ACCESS_KEY_DOC = "Access key for the cloud user";
+ public static final String CAMEL_SINK_HWCLOUDDMS_ENDPOINT_ACCESS_KEY_DEFAULT = null;
+ public static final String CAMEL_SINK_HWCLOUDDMS_ENDPOINT_ACCESS_USER_CONF = "camel.sink.endpoint.accessUser";
+ public static final String CAMEL_SINK_HWCLOUDDMS_ENDPOINT_ACCESS_USER_DOC = "The username of a RabbitMQ instance. This option is mandatory when creating a RabbitMQ instance.";
+ public static final String CAMEL_SINK_HWCLOUDDMS_ENDPOINT_ACCESS_USER_DEFAULT = null;
+ public static final String CAMEL_SINK_HWCLOUDDMS_ENDPOINT_AVAILABLE_ZONES_CONF = "camel.sink.endpoint.availableZones";
+ public static final String CAMEL_SINK_HWCLOUDDMS_ENDPOINT_AVAILABLE_ZONES_DOC = "The ID of an available zone. This option is mandatory when creating an instance and it cannot be an empty array.";
+ public static final String CAMEL_SINK_HWCLOUDDMS_ENDPOINT_AVAILABLE_ZONES_DEFAULT = null;
+ public static final String CAMEL_SINK_HWCLOUDDMS_ENDPOINT_ENDPOINT_CONF = "camel.sink.endpoint.endpoint";
+ public static final String CAMEL_SINK_HWCLOUDDMS_ENDPOINT_ENDPOINT_DOC = "DMS url. Carries higher precedence than region parameter based client initialization";
+ public static final String CAMEL_SINK_HWCLOUDDMS_ENDPOINT_ENDPOINT_DEFAULT = null;
+ public static final String CAMEL_SINK_HWCLOUDDMS_ENDPOINT_ENGINE_CONF = "camel.sink.endpoint.engine";
+ public static final String CAMEL_SINK_HWCLOUDDMS_ENDPOINT_ENGINE_DOC = "The message engine. Either kafka or rabbitmq. If the parameter is not specified, all instances will be queried One of: [kafka] [rabbitmq]";
+ public static final String CAMEL_SINK_HWCLOUDDMS_ENDPOINT_ENGINE_DEFAULT = null;
+ public static final String CAMEL_SINK_HWCLOUDDMS_ENDPOINT_ENGINE_VERSION_CONF = "camel.sink.endpoint.engineVersion";
+ public static final String CAMEL_SINK_HWCLOUDDMS_ENDPOINT_ENGINE_VERSION_DOC = "The version of the message engine. This option is mandatory when creating an instance.";
+ public static final String CAMEL_SINK_HWCLOUDDMS_ENDPOINT_ENGINE_VERSION_DEFAULT = null;
+ public static final String CAMEL_SINK_HWCLOUDDMS_ENDPOINT_IGNORE_SSL_VERIFICATION_CONF = "camel.sink.endpoint.ignoreSslVerification";
+ public static final String CAMEL_SINK_HWCLOUDDMS_ENDPOINT_IGNORE_SSL_VERIFICATION_DOC = "Ignore SSL verification";
+ public static final Boolean CAMEL_SINK_HWCLOUDDMS_ENDPOINT_IGNORE_SSL_VERIFICATION_DEFAULT = false;
+ public static final String CAMEL_SINK_HWCLOUDDMS_ENDPOINT_INSTANCE_ID_CONF = "camel.sink.endpoint.instanceId";
+ public static final String CAMEL_SINK_HWCLOUDDMS_ENDPOINT_INSTANCE_ID_DOC = "The id of the instance. This option is mandatory when deleting or querying an instance";
+ public static final String CAMEL_SINK_HWCLOUDDMS_ENDPOINT_INSTANCE_ID_DEFAULT = null;
+ public static final String CAMEL_SINK_HWCLOUDDMS_ENDPOINT_KAFKA_MANAGER_PASSWORD_CONF = "camel.sink.endpoint.kafkaManagerPassword";
+ public static final String CAMEL_SINK_HWCLOUDDMS_ENDPOINT_KAFKA_MANAGER_PASSWORD_DOC = "The password for logging in to the Kafka Manager. This option is mandatory when creating a Kafka instance.";
+ public static final String CAMEL_SINK_HWCLOUDDMS_ENDPOINT_KAFKA_MANAGER_PASSWORD_DEFAULT = null;
+ public static final String CAMEL_SINK_HWCLOUDDMS_ENDPOINT_KAFKA_MANAGER_USER_CONF = "camel.sink.endpoint.kafkaManagerUser";
+ public static final String CAMEL_SINK_HWCLOUDDMS_ENDPOINT_KAFKA_MANAGER_USER_DOC = "The username for logging in to the Kafka Manager. This option is mandatory when creating a Kafka instance.";
+ public static final String CAMEL_SINK_HWCLOUDDMS_ENDPOINT_KAFKA_MANAGER_USER_DEFAULT = null;
+ public static final String CAMEL_SINK_HWCLOUDDMS_ENDPOINT_LAZY_START_PRODUCER_CONF = "camel.sink.endpoint.lazyStartProducer";
+ public static final String CAMEL_SINK_HWCLOUDDMS_ENDPOINT_LAZY_START_PRODUCER_DOC = "Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that [...]
+ public static final Boolean CAMEL_SINK_HWCLOUDDMS_ENDPOINT_LAZY_START_PRODUCER_DEFAULT = false;
+ public static final String CAMEL_SINK_HWCLOUDDMS_ENDPOINT_NAME_CONF = "camel.sink.endpoint.name";
+ public static final String CAMEL_SINK_HWCLOUDDMS_ENDPOINT_NAME_DOC = "The name of the instance for creating and updating an instance. This option is mandatory when creating an instance";
+ public static final String CAMEL_SINK_HWCLOUDDMS_ENDPOINT_NAME_DEFAULT = null;
+ public static final String CAMEL_SINK_HWCLOUDDMS_ENDPOINT_PARTITION_NUM_CONF = "camel.sink.endpoint.partitionNum";
+ public static final String CAMEL_SINK_HWCLOUDDMS_ENDPOINT_PARTITION_NUM_DOC = "The maximum number of partitions in a Kafka instance. This option is mandatory when creating a Kafka instance.";
+ public static final Integer CAMEL_SINK_HWCLOUDDMS_ENDPOINT_PARTITION_NUM_DEFAULT = null;
+ public static final String CAMEL_SINK_HWCLOUDDMS_ENDPOINT_PASSWORD_CONF = "camel.sink.endpoint.password";
+ public static final String CAMEL_SINK_HWCLOUDDMS_ENDPOINT_PASSWORD_DOC = "The password of a RabbitMQ instance. This option is mandatory when creating a RabbitMQ instance.";
+ public static final String CAMEL_SINK_HWCLOUDDMS_ENDPOINT_PASSWORD_DEFAULT = null;
+ public static final String CAMEL_SINK_HWCLOUDDMS_ENDPOINT_PRODUCT_ID_CONF = "camel.sink.endpoint.productId";
+ public static final String CAMEL_SINK_HWCLOUDDMS_ENDPOINT_PRODUCT_ID_DOC = "The product ID. This option is mandatory when creating an instance.";
+ public static final String CAMEL_SINK_HWCLOUDDMS_ENDPOINT_PRODUCT_ID_DEFAULT = null;
+ public static final String CAMEL_SINK_HWCLOUDDMS_ENDPOINT_PROJECT_ID_CONF = "camel.sink.endpoint.projectId";
+ public static final String CAMEL_SINK_HWCLOUDDMS_ENDPOINT_PROJECT_ID_DOC = "Cloud project ID";
+ public static final String CAMEL_SINK_HWCLOUDDMS_ENDPOINT_PROJECT_ID_DEFAULT = null;
+ public static final String CAMEL_SINK_HWCLOUDDMS_ENDPOINT_PROXY_HOST_CONF = "camel.sink.endpoint.proxyHost";
+ public static final String CAMEL_SINK_HWCLOUDDMS_ENDPOINT_PROXY_HOST_DOC = "Proxy server ip/hostname";
+ public static final String CAMEL_SINK_HWCLOUDDMS_ENDPOINT_PROXY_HOST_DEFAULT = null;
+ public static final String CAMEL_SINK_HWCLOUDDMS_ENDPOINT_PROXY_PASSWORD_CONF = "camel.sink.endpoint.proxyPassword";
+ public static final String CAMEL_SINK_HWCLOUDDMS_ENDPOINT_PROXY_PASSWORD_DOC = "Proxy authentication password";
+ public static final String CAMEL_SINK_HWCLOUDDMS_ENDPOINT_PROXY_PASSWORD_DEFAULT = null;
+ public static final String CAMEL_SINK_HWCLOUDDMS_ENDPOINT_PROXY_PORT_CONF = "camel.sink.endpoint.proxyPort";
+ public static final String CAMEL_SINK_HWCLOUDDMS_ENDPOINT_PROXY_PORT_DOC = "Proxy server port";
+ public static final Integer CAMEL_SINK_HWCLOUDDMS_ENDPOINT_PROXY_PORT_DEFAULT = null;
+ public static final String CAMEL_SINK_HWCLOUDDMS_ENDPOINT_PROXY_USER_CONF = "camel.sink.endpoint.proxyUser";
+ public static final String CAMEL_SINK_HWCLOUDDMS_ENDPOINT_PROXY_USER_DOC = "Proxy authentication user";
+ public static final String CAMEL_SINK_HWCLOUDDMS_ENDPOINT_PROXY_USER_DEFAULT = null;
+ public static final String CAMEL_SINK_HWCLOUDDMS_ENDPOINT_REGION_CONF = "camel.sink.endpoint.region";
+ public static final String CAMEL_SINK_HWCLOUDDMS_ENDPOINT_REGION_DOC = "DMS service region";
+ public static final String CAMEL_SINK_HWCLOUDDMS_ENDPOINT_REGION_DEFAULT = null;
+ public static final String CAMEL_SINK_HWCLOUDDMS_ENDPOINT_SECRET_KEY_CONF = "camel.sink.endpoint.secretKey";
+ public static final String CAMEL_SINK_HWCLOUDDMS_ENDPOINT_SECRET_KEY_DOC = "Secret key for the cloud user";
+ public static final String CAMEL_SINK_HWCLOUDDMS_ENDPOINT_SECRET_KEY_DEFAULT = null;
+ public static final String CAMEL_SINK_HWCLOUDDMS_ENDPOINT_SECURITY_GROUP_ID_CONF = "camel.sink.endpoint.securityGroupId";
+ public static final String CAMEL_SINK_HWCLOUDDMS_ENDPOINT_SECURITY_GROUP_ID_DOC = "The security group which the instance belongs to. This option is mandatory when creating an instance.";
+ public static final String CAMEL_SINK_HWCLOUDDMS_ENDPOINT_SECURITY_GROUP_ID_DEFAULT = null;
+ public static final String CAMEL_SINK_HWCLOUDDMS_ENDPOINT_SERVICE_KEYS_CONF = "camel.sink.endpoint.serviceKeys";
+ public static final String CAMEL_SINK_HWCLOUDDMS_ENDPOINT_SERVICE_KEYS_DOC = "Configuration object for cloud service authentication";
+ public static final String CAMEL_SINK_HWCLOUDDMS_ENDPOINT_SERVICE_KEYS_DEFAULT = null;
+ public static final String CAMEL_SINK_HWCLOUDDMS_ENDPOINT_SPECIFICATION_CONF = "camel.sink.endpoint.specification";
+ public static final String CAMEL_SINK_HWCLOUDDMS_ENDPOINT_SPECIFICATION_DOC = "The baseline bandwidth of a Kafka instance. This option is mandatory when creating a Kafka instance.";
+ public static final String CAMEL_SINK_HWCLOUDDMS_ENDPOINT_SPECIFICATION_DEFAULT = null;
+ public static final String CAMEL_SINK_HWCLOUDDMS_ENDPOINT_STORAGE_SPACE_CONF = "camel.sink.endpoint.storageSpace";
+ public static final String CAMEL_SINK_HWCLOUDDMS_ENDPOINT_STORAGE_SPACE_DOC = "The message storage space. This option is mandatory when creating an instance.";
+ public static final Integer CAMEL_SINK_HWCLOUDDMS_ENDPOINT_STORAGE_SPACE_DEFAULT = null;
+ public static final String CAMEL_SINK_HWCLOUDDMS_ENDPOINT_STORAGE_SPEC_CODE_CONF = "camel.sink.endpoint.storageSpecCode";
+ public static final String CAMEL_SINK_HWCLOUDDMS_ENDPOINT_STORAGE_SPEC_CODE_DOC = "The storage I/O specification. This option is mandatory when creating an instance.";
+ public static final String CAMEL_SINK_HWCLOUDDMS_ENDPOINT_STORAGE_SPEC_CODE_DEFAULT = null;
+ public static final String CAMEL_SINK_HWCLOUDDMS_ENDPOINT_SUBNET_ID_CONF = "camel.sink.endpoint.subnetId";
+ public static final String CAMEL_SINK_HWCLOUDDMS_ENDPOINT_SUBNET_ID_DOC = "The subnet ID. This option is mandatory when creating an instance.";
+ public static final String CAMEL_SINK_HWCLOUDDMS_ENDPOINT_SUBNET_ID_DEFAULT = null;
+ public static final String CAMEL_SINK_HWCLOUDDMS_ENDPOINT_VPC_ID_CONF = "camel.sink.endpoint.vpcId";
+ public static final String CAMEL_SINK_HWCLOUDDMS_ENDPOINT_VPC_ID_DOC = "The VPC ID. This option is mandatory when creating an instance.";
+ public static final String CAMEL_SINK_HWCLOUDDMS_ENDPOINT_VPC_ID_DEFAULT = null;
+ public static final String CAMEL_SINK_HWCLOUDDMS_COMPONENT_LAZY_START_PRODUCER_CONF = "camel.component.hwcloud-dms.lazyStartProducer";
+ public static final String CAMEL_SINK_HWCLOUDDMS_COMPONENT_LAZY_START_PRODUCER_DOC = "Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware tha [...]
+ public static final Boolean CAMEL_SINK_HWCLOUDDMS_COMPONENT_LAZY_START_PRODUCER_DEFAULT = false;
+ public static final String CAMEL_SINK_HWCLOUDDMS_COMPONENT_AUTOWIRED_ENABLED_CONF = "camel.component.hwcloud-dms.autowiredEnabled";
+ public static final String CAMEL_SINK_HWCLOUDDMS_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_HWCLOUDDMS_COMPONENT_AUTOWIRED_ENABLED_DEFAULT = true;
+
+ public CamelHwclouddmsSinkConnectorConfig(
+ ConfigDef config,
+ Map<String, String> parsedConfig) {
+ super(config, parsedConfig);
+ }
+
+ public CamelHwclouddmsSinkConnectorConfig(Map<String, String> parsedConfig) {
+ this(conf(), parsedConfig);
+ }
+
+ public static ConfigDef conf() {
+ ConfigDef conf = new ConfigDef(CamelSinkConnectorConfig.conf());
+ conf.define(CAMEL_SINK_HWCLOUDDMS_PATH_OPERATION_CONF, ConfigDef.Type.STRING, CAMEL_SINK_HWCLOUDDMS_PATH_OPERATION_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_HWCLOUDDMS_PATH_OPERATION_DOC);
+ conf.define(CAMEL_SINK_HWCLOUDDMS_ENDPOINT_ACCESS_KEY_CONF, ConfigDef.Type.PASSWORD, CAMEL_SINK_HWCLOUDDMS_ENDPOINT_ACCESS_KEY_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_HWCLOUDDMS_ENDPOINT_ACCESS_KEY_DOC);
+ conf.define(CAMEL_SINK_HWCLOUDDMS_ENDPOINT_ACCESS_USER_CONF, ConfigDef.Type.STRING, CAMEL_SINK_HWCLOUDDMS_ENDPOINT_ACCESS_USER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HWCLOUDDMS_ENDPOINT_ACCESS_USER_DOC);
+ conf.define(CAMEL_SINK_HWCLOUDDMS_ENDPOINT_AVAILABLE_ZONES_CONF, ConfigDef.Type.STRING, CAMEL_SINK_HWCLOUDDMS_ENDPOINT_AVAILABLE_ZONES_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HWCLOUDDMS_ENDPOINT_AVAILABLE_ZONES_DOC);
+ conf.define(CAMEL_SINK_HWCLOUDDMS_ENDPOINT_ENDPOINT_CONF, ConfigDef.Type.STRING, CAMEL_SINK_HWCLOUDDMS_ENDPOINT_ENDPOINT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HWCLOUDDMS_ENDPOINT_ENDPOINT_DOC);
+ conf.define(CAMEL_SINK_HWCLOUDDMS_ENDPOINT_ENGINE_CONF, ConfigDef.Type.STRING, CAMEL_SINK_HWCLOUDDMS_ENDPOINT_ENGINE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HWCLOUDDMS_ENDPOINT_ENGINE_DOC);
+ conf.define(CAMEL_SINK_HWCLOUDDMS_ENDPOINT_ENGINE_VERSION_CONF, ConfigDef.Type.STRING, CAMEL_SINK_HWCLOUDDMS_ENDPOINT_ENGINE_VERSION_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HWCLOUDDMS_ENDPOINT_ENGINE_VERSION_DOC);
+ conf.define(CAMEL_SINK_HWCLOUDDMS_ENDPOINT_IGNORE_SSL_VERIFICATION_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_HWCLOUDDMS_ENDPOINT_IGNORE_SSL_VERIFICATION_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HWCLOUDDMS_ENDPOINT_IGNORE_SSL_VERIFICATION_DOC);
+ conf.define(CAMEL_SINK_HWCLOUDDMS_ENDPOINT_INSTANCE_ID_CONF, ConfigDef.Type.STRING, CAMEL_SINK_HWCLOUDDMS_ENDPOINT_INSTANCE_ID_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HWCLOUDDMS_ENDPOINT_INSTANCE_ID_DOC);
+ conf.define(CAMEL_SINK_HWCLOUDDMS_ENDPOINT_KAFKA_MANAGER_PASSWORD_CONF, ConfigDef.Type.STRING, CAMEL_SINK_HWCLOUDDMS_ENDPOINT_KAFKA_MANAGER_PASSWORD_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HWCLOUDDMS_ENDPOINT_KAFKA_MANAGER_PASSWORD_DOC);
+ conf.define(CAMEL_SINK_HWCLOUDDMS_ENDPOINT_KAFKA_MANAGER_USER_CONF, ConfigDef.Type.STRING, CAMEL_SINK_HWCLOUDDMS_ENDPOINT_KAFKA_MANAGER_USER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HWCLOUDDMS_ENDPOINT_KAFKA_MANAGER_USER_DOC);
+ conf.define(CAMEL_SINK_HWCLOUDDMS_ENDPOINT_LAZY_START_PRODUCER_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_HWCLOUDDMS_ENDPOINT_LAZY_START_PRODUCER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HWCLOUDDMS_ENDPOINT_LAZY_START_PRODUCER_DOC);
+ conf.define(CAMEL_SINK_HWCLOUDDMS_ENDPOINT_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SINK_HWCLOUDDMS_ENDPOINT_NAME_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HWCLOUDDMS_ENDPOINT_NAME_DOC);
+ conf.define(CAMEL_SINK_HWCLOUDDMS_ENDPOINT_PARTITION_NUM_CONF, ConfigDef.Type.INT, CAMEL_SINK_HWCLOUDDMS_ENDPOINT_PARTITION_NUM_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HWCLOUDDMS_ENDPOINT_PARTITION_NUM_DOC);
+ conf.define(CAMEL_SINK_HWCLOUDDMS_ENDPOINT_PASSWORD_CONF, ConfigDef.Type.STRING, CAMEL_SINK_HWCLOUDDMS_ENDPOINT_PASSWORD_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HWCLOUDDMS_ENDPOINT_PASSWORD_DOC);
+ conf.define(CAMEL_SINK_HWCLOUDDMS_ENDPOINT_PRODUCT_ID_CONF, ConfigDef.Type.STRING, CAMEL_SINK_HWCLOUDDMS_ENDPOINT_PRODUCT_ID_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HWCLOUDDMS_ENDPOINT_PRODUCT_ID_DOC);
+ conf.define(CAMEL_SINK_HWCLOUDDMS_ENDPOINT_PROJECT_ID_CONF, ConfigDef.Type.STRING, CAMEL_SINK_HWCLOUDDMS_ENDPOINT_PROJECT_ID_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_HWCLOUDDMS_ENDPOINT_PROJECT_ID_DOC);
+ conf.define(CAMEL_SINK_HWCLOUDDMS_ENDPOINT_PROXY_HOST_CONF, ConfigDef.Type.STRING, CAMEL_SINK_HWCLOUDDMS_ENDPOINT_PROXY_HOST_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HWCLOUDDMS_ENDPOINT_PROXY_HOST_DOC);
+ conf.define(CAMEL_SINK_HWCLOUDDMS_ENDPOINT_PROXY_PASSWORD_CONF, ConfigDef.Type.PASSWORD, CAMEL_SINK_HWCLOUDDMS_ENDPOINT_PROXY_PASSWORD_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HWCLOUDDMS_ENDPOINT_PROXY_PASSWORD_DOC);
+ conf.define(CAMEL_SINK_HWCLOUDDMS_ENDPOINT_PROXY_PORT_CONF, ConfigDef.Type.INT, CAMEL_SINK_HWCLOUDDMS_ENDPOINT_PROXY_PORT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HWCLOUDDMS_ENDPOINT_PROXY_PORT_DOC);
+ conf.define(CAMEL_SINK_HWCLOUDDMS_ENDPOINT_PROXY_USER_CONF, ConfigDef.Type.PASSWORD, CAMEL_SINK_HWCLOUDDMS_ENDPOINT_PROXY_USER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HWCLOUDDMS_ENDPOINT_PROXY_USER_DOC);
+ conf.define(CAMEL_SINK_HWCLOUDDMS_ENDPOINT_REGION_CONF, ConfigDef.Type.STRING, CAMEL_SINK_HWCLOUDDMS_ENDPOINT_REGION_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_HWCLOUDDMS_ENDPOINT_REGION_DOC);
+ conf.define(CAMEL_SINK_HWCLOUDDMS_ENDPOINT_SECRET_KEY_CONF, ConfigDef.Type.PASSWORD, CAMEL_SINK_HWCLOUDDMS_ENDPOINT_SECRET_KEY_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_HWCLOUDDMS_ENDPOINT_SECRET_KEY_DOC);
+ conf.define(CAMEL_SINK_HWCLOUDDMS_ENDPOINT_SECURITY_GROUP_ID_CONF, ConfigDef.Type.STRING, CAMEL_SINK_HWCLOUDDMS_ENDPOINT_SECURITY_GROUP_ID_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HWCLOUDDMS_ENDPOINT_SECURITY_GROUP_ID_DOC);
+ conf.define(CAMEL_SINK_HWCLOUDDMS_ENDPOINT_SERVICE_KEYS_CONF, ConfigDef.Type.PASSWORD, CAMEL_SINK_HWCLOUDDMS_ENDPOINT_SERVICE_KEYS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HWCLOUDDMS_ENDPOINT_SERVICE_KEYS_DOC);
+ conf.define(CAMEL_SINK_HWCLOUDDMS_ENDPOINT_SPECIFICATION_CONF, ConfigDef.Type.STRING, CAMEL_SINK_HWCLOUDDMS_ENDPOINT_SPECIFICATION_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HWCLOUDDMS_ENDPOINT_SPECIFICATION_DOC);
+ conf.define(CAMEL_SINK_HWCLOUDDMS_ENDPOINT_STORAGE_SPACE_CONF, ConfigDef.Type.INT, CAMEL_SINK_HWCLOUDDMS_ENDPOINT_STORAGE_SPACE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HWCLOUDDMS_ENDPOINT_STORAGE_SPACE_DOC);
+ conf.define(CAMEL_SINK_HWCLOUDDMS_ENDPOINT_STORAGE_SPEC_CODE_CONF, ConfigDef.Type.STRING, CAMEL_SINK_HWCLOUDDMS_ENDPOINT_STORAGE_SPEC_CODE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HWCLOUDDMS_ENDPOINT_STORAGE_SPEC_CODE_DOC);
+ conf.define(CAMEL_SINK_HWCLOUDDMS_ENDPOINT_SUBNET_ID_CONF, ConfigDef.Type.STRING, CAMEL_SINK_HWCLOUDDMS_ENDPOINT_SUBNET_ID_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HWCLOUDDMS_ENDPOINT_SUBNET_ID_DOC);
+ conf.define(CAMEL_SINK_HWCLOUDDMS_ENDPOINT_VPC_ID_CONF, ConfigDef.Type.STRING, CAMEL_SINK_HWCLOUDDMS_ENDPOINT_VPC_ID_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HWCLOUDDMS_ENDPOINT_VPC_ID_DOC);
+ conf.define(CAMEL_SINK_HWCLOUDDMS_COMPONENT_LAZY_START_PRODUCER_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_HWCLOUDDMS_COMPONENT_LAZY_START_PRODUCER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HWCLOUDDMS_COMPONENT_LAZY_START_PRODUCER_DOC);
+ conf.define(CAMEL_SINK_HWCLOUDDMS_COMPONENT_AUTOWIRED_ENABLED_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_HWCLOUDDMS_COMPONENT_AUTOWIRED_ENABLED_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HWCLOUDDMS_COMPONENT_AUTOWIRED_ENABLED_DOC);
+ return conf;
+ }
+}
\ No newline at end of file
diff --git a/connectors/camel-hwcloud-dms-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/hwclouddms/CamelHwclouddmsSinkTask.java b/connectors/camel-hwcloud-dms-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/hwclouddms/CamelHwclouddmsSinkTask.java
new file mode 100644
index 0000000..5d4eb74
--- /dev/null
+++ b/connectors/camel-hwcloud-dms-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/hwclouddms/CamelHwclouddmsSinkTask.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.hwclouddms;
+
+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 CamelHwclouddmsSinkTask extends CamelSinkTask {
+
+ @Override
+ protected CamelSinkConnectorConfig getCamelSinkConnectorConfig(
+ Map<String, String> props) {
+ return new CamelHwclouddmsSinkConnectorConfig(props);
+ }
+ @Override
+ protected Map<String, String> getDefaultConfig() {
+ return new HashMap<String, String>() {{
+ put(CamelSinkConnectorConfig.CAMEL_SINK_COMPONENT_CONF, "hwcloud-dms");
+ }};
+ }
+}
\ No newline at end of file
diff --git a/connectors/camel-hwcloud-dms-kafka-connector/src/main/resources/META-INF/LICENSE.txt b/connectors/camel-hwcloud-dms-kafka-connector/src/main/resources/META-INF/LICENSE.txt
new file mode 100644
index 0000000..6b0b127
--- /dev/null
+++ b/connectors/camel-hwcloud-dms-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-hwcloud-dms-kafka-connector/src/main/resources/META-INF/NOTICE.txt b/connectors/camel-hwcloud-dms-kafka-connector/src/main/resources/META-INF/NOTICE.txt
new file mode 100644
index 0000000..2e215bf
--- /dev/null
+++ b/connectors/camel-hwcloud-dms-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-hwcloud-functiongraph-kafka-connector/src/generated/resources/camel-hwcloud-functiongraph-sink.json b/connectors/camel-hwcloud-functiongraph-kafka-connector/src/generated/resources/camel-hwcloud-functiongraph-sink.json
index 686df15..216868b 100644
--- a/connectors/camel-hwcloud-functiongraph-kafka-connector/src/generated/resources/camel-hwcloud-functiongraph-sink.json
+++ b/connectors/camel-hwcloud-functiongraph-kafka-connector/src/generated/resources/camel-hwcloud-functiongraph-sink.json
@@ -83,9 +83,9 @@
"priority": "MEDIUM",
"required": "false"
},
- "camel.sink.endpoint.authenticationKey": {
- "name": "camel.sink.endpoint.authenticationKey",
- "description": "Authentication key for the cloud user",
+ "camel.sink.endpoint.accessKey": {
+ "name": "camel.sink.endpoint.accessKey",
+ "description": "Access key for the cloud user",
"priority": "HIGH",
"required": "true"
},
@@ -117,4 +117,4 @@
"required": "false"
}
}
-}
+}
\ No newline at end of file
diff --git a/connectors/camel-hwcloud-functiongraph-kafka-connector/src/main/docs/camel-hwcloud-functiongraph-kafka-sink-connector.adoc b/connectors/camel-hwcloud-functiongraph-kafka-connector/src/main/docs/camel-hwcloud-functiongraph-kafka-sink-connector.adoc
index c4569de..87523fe 100644
--- a/connectors/camel-hwcloud-functiongraph-kafka-connector/src/main/docs/camel-hwcloud-functiongraph-kafka-sink-connector.adoc
+++ b/connectors/camel-hwcloud-functiongraph-kafka-connector/src/main/docs/camel-hwcloud-functiongraph-kafka-sink-connector.adoc
@@ -43,7 +43,7 @@ The camel-hwcloud-functiongraph sink connector supports 17 options, which are li
| *camel.sink.endpoint.proxyPassword* | Proxy authentication password | null | false | MEDIUM
| *camel.sink.endpoint.proxyPort* | Proxy server port | null | false | MEDIUM
| *camel.sink.endpoint.proxyUser* | Proxy authentication user | null | false | MEDIUM
-| *camel.sink.endpoint.authenticationKey* | Authentication key for the cloud user | null | true | HIGH
+| *camel.sink.endpoint.accessKey* | Access key for the cloud user | null | true | HIGH
| *camel.sink.endpoint.ignoreSslVerification* | Ignore SSL verification | false | false | MEDIUM
| *camel.sink.endpoint.secretKey* | Secret key for the cloud user | null | true | HIGH
| *camel.component.hwcloud-functiongraph.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 [...]
@@ -65,8 +65,4 @@ The camel-hwcloud-functiongraph sink connector has no transforms out of the box.
The camel-hwcloud-functiongraph sink connector has no aggregation strategies out of the box.
-
-
-
-
// kafka-connector options: END
diff --git a/connectors/camel-hwcloud-functiongraph-kafka-connector/src/main/docs/examples/CamelHwcloudfunctiongraphSinkConnector.properties b/connectors/camel-hwcloud-functiongraph-kafka-connector/src/main/docs/examples/CamelHwcloudfunctiongraphSinkConnector.properties
index 1be6835..da342c6 100644
--- a/connectors/camel-hwcloud-functiongraph-kafka-connector/src/main/docs/examples/CamelHwcloudfunctiongraphSinkConnector.properties
+++ b/connectors/camel-hwcloud-functiongraph-kafka-connector/src/main/docs/examples/CamelHwcloudfunctiongraphSinkConnector.properties
@@ -28,8 +28,8 @@ topics=
# mandatory properties (for a complete properties list see the connector documentation):
-# Authentication key for the cloud user
-camel.sink.endpoint.authenticationKey=
+# Access key for the cloud user
+camel.sink.endpoint.accessKey=
# Cloud project ID
camel.sink.endpoint.projectId=
# FunctionGraph service region. This is lower precedence than endpoint based configuration
diff --git a/connectors/camel-hwcloud-functiongraph-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/hwcloudfunctiongraph/CamelHwcloudfunctiongraphSinkConnectorConfig.java b/connectors/camel-hwcloud-functiongraph-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/hwcloudfunctiongraph/CamelHwcloudfunctiongraphSinkConnectorConfig.java
index 8a50806..502a019 100644
--- a/connectors/camel-hwcloud-functiongraph-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/hwcloudfunctiongraph/CamelHwcloudfunctiongraphSinkConnectorConfig.java
+++ b/connectors/camel-hwcloud-functiongraph-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/hwcloudfunctiongraph/CamelHwcloudfunctiongraphSinkConnectorConfig.java
@@ -62,9 +62,9 @@ public class CamelHwcloudfunctiongraphSinkConnectorConfig
public static final String CAMEL_SINK_HWCLOUDFUNCTIONGRAPH_ENDPOINT_PROXY_USER_CONF = "camel.sink.endpoint.proxyUser";
public static final String CAMEL_SINK_HWCLOUDFUNCTIONGRAPH_ENDPOINT_PROXY_USER_DOC = "Proxy authentication user";
public static final String CAMEL_SINK_HWCLOUDFUNCTIONGRAPH_ENDPOINT_PROXY_USER_DEFAULT = null;
- public static final String CAMEL_SINK_HWCLOUDFUNCTIONGRAPH_ENDPOINT_AUTHENTICATION_KEY_CONF = "camel.sink.endpoint.authenticationKey";
- public static final String CAMEL_SINK_HWCLOUDFUNCTIONGRAPH_ENDPOINT_AUTHENTICATION_KEY_DOC = "Authentication key for the cloud user";
- public static final String CAMEL_SINK_HWCLOUDFUNCTIONGRAPH_ENDPOINT_AUTHENTICATION_KEY_DEFAULT = null;
+ public static final String CAMEL_SINK_HWCLOUDFUNCTIONGRAPH_ENDPOINT_ACCESS_KEY_CONF = "camel.sink.endpoint.accessKey";
+ public static final String CAMEL_SINK_HWCLOUDFUNCTIONGRAPH_ENDPOINT_ACCESS_KEY_DOC = "Access key for the cloud user";
+ public static final String CAMEL_SINK_HWCLOUDFUNCTIONGRAPH_ENDPOINT_ACCESS_KEY_DEFAULT = null;
public static final String CAMEL_SINK_HWCLOUDFUNCTIONGRAPH_ENDPOINT_IGNORE_SSL_VERIFICATION_CONF = "camel.sink.endpoint.ignoreSslVerification";
public static final String CAMEL_SINK_HWCLOUDFUNCTIONGRAPH_ENDPOINT_IGNORE_SSL_VERIFICATION_DOC = "Ignore SSL verification";
public static final Boolean CAMEL_SINK_HWCLOUDFUNCTIONGRAPH_ENDPOINT_IGNORE_SSL_VERIFICATION_DEFAULT = false;
@@ -103,7 +103,7 @@ public class CamelHwcloudfunctiongraphSinkConnectorConfig
conf.define(CAMEL_SINK_HWCLOUDFUNCTIONGRAPH_ENDPOINT_PROXY_PASSWORD_CONF, ConfigDef.Type.PASSWORD, CAMEL_SINK_HWCLOUDFUNCTIONGRAPH_ENDPOINT_PROXY_PASSWORD_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HWCLOUDFUNCTIONGRAPH_ENDPOINT_PROXY_PASSWORD_DOC);
conf.define(CAMEL_SINK_HWCLOUDFUNCTIONGRAPH_ENDPOINT_PROXY_PORT_CONF, ConfigDef.Type.INT, CAMEL_SINK_HWCLOUDFUNCTIONGRAPH_ENDPOINT_PROXY_PORT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HWCLOUDFUNCTIONGRAPH_ENDPOINT_PROXY_PORT_DOC);
conf.define(CAMEL_SINK_HWCLOUDFUNCTIONGRAPH_ENDPOINT_PROXY_USER_CONF, ConfigDef.Type.PASSWORD, CAMEL_SINK_HWCLOUDFUNCTIONGRAPH_ENDPOINT_PROXY_USER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HWCLOUDFUNCTIONGRAPH_ENDPOINT_PROXY_USER_DOC);
- conf.define(CAMEL_SINK_HWCLOUDFUNCTIONGRAPH_ENDPOINT_AUTHENTICATION_KEY_CONF, ConfigDef.Type.PASSWORD, CAMEL_SINK_HWCLOUDFUNCTIONGRAPH_ENDPOINT_AUTHENTICATION_KEY_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_HWCLOUDFUNCTIONGRAPH_ENDPOINT_AUTHENTICATION_KEY_DOC);
+ conf.define(CAMEL_SINK_HWCLOUDFUNCTIONGRAPH_ENDPOINT_ACCESS_KEY_CONF, ConfigDef.Type.PASSWORD, CAMEL_SINK_HWCLOUDFUNCTIONGRAPH_ENDPOINT_ACCESS_KEY_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_HWCLOUDFUNCTIONGRAPH_ENDPOINT_ACCESS_KEY_DOC);
conf.define(CAMEL_SINK_HWCLOUDFUNCTIONGRAPH_ENDPOINT_IGNORE_SSL_VERIFICATION_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_HWCLOUDFUNCTIONGRAPH_ENDPOINT_IGNORE_SSL_VERIFICATION_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HWCLOUDFUNCTIONGRAPH_ENDPOINT_IGNORE_SSL_VERIFICATION_DOC);
conf.define(CAMEL_SINK_HWCLOUDFUNCTIONGRAPH_ENDPOINT_SECRET_KEY_CONF, ConfigDef.Type.PASSWORD, CAMEL_SINK_HWCLOUDFUNCTIONGRAPH_ENDPOINT_SECRET_KEY_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_HWCLOUDFUNCTIONGRAPH_ENDPOINT_SECRET_KEY_DOC);
conf.define(CAMEL_SINK_HWCLOUDFUNCTIONGRAPH_COMPONENT_LAZY_START_PRODUCER_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_HWCLOUDFUNCTIONGRAPH_COMPONENT_LAZY_START_PRODUCER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HWCLOUDFUNCTIONGRAPH_COMPONENT_LAZY_START_PRODUCER_DOC);
diff --git a/connectors/camel-hwcloud-iam-kafka-connector/src/generated/resources/camel-hwcloud-iam-sink.json b/connectors/camel-hwcloud-iam-kafka-connector/src/generated/resources/camel-hwcloud-iam-sink.json
index 17ea2e5..3dd4167 100644
--- a/connectors/camel-hwcloud-iam-kafka-connector/src/generated/resources/camel-hwcloud-iam-sink.json
+++ b/connectors/camel-hwcloud-iam-kafka-connector/src/generated/resources/camel-hwcloud-iam-sink.json
@@ -15,9 +15,9 @@
"priority": "HIGH",
"required": "true"
},
- "camel.sink.endpoint.authenticationKey": {
- "name": "camel.sink.endpoint.authenticationKey",
- "description": "Authentication key for the cloud user",
+ "camel.sink.endpoint.accessKey": {
+ "name": "camel.sink.endpoint.accessKey",
+ "description": "Access key for the cloud user",
"priority": "HIGH",
"required": "true"
},
@@ -104,4 +104,4 @@
"required": "false"
}
}
-}
+}
\ No newline at end of file
diff --git a/connectors/camel-hwcloud-iam-kafka-connector/src/main/docs/camel-hwcloud-iam-kafka-sink-connector.adoc b/connectors/camel-hwcloud-iam-kafka-connector/src/main/docs/camel-hwcloud-iam-kafka-sink-connector.adoc
index 149d96b..2359f0c 100644
--- a/connectors/camel-hwcloud-iam-kafka-connector/src/main/docs/camel-hwcloud-iam-kafka-sink-connector.adoc
+++ b/connectors/camel-hwcloud-iam-kafka-connector/src/main/docs/camel-hwcloud-iam-kafka-sink-connector.adoc
@@ -32,7 +32,7 @@ The camel-hwcloud-iam sink connector supports 15 options, which are listed below
|===
| Name | Description | Default | Required | Priority
| *camel.sink.path.operation* | Operation to be performed | null | true | HIGH
-| *camel.sink.endpoint.authenticationKey* | Authentication key for the cloud user | null | true | HIGH
+| *camel.sink.endpoint.accessKey* | Access key for the cloud user | null | true | HIGH
| *camel.sink.endpoint.groupId* | Group ID to perform operation with | null | false | MEDIUM
| *camel.sink.endpoint.ignoreSslVerification* | Ignore SSL verification | false | false | MEDIUM
| *camel.sink.endpoint.lazyStartProducer* | Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then cre [...]
@@ -63,8 +63,4 @@ The camel-hwcloud-iam sink connector has no transforms out of the box.
The camel-hwcloud-iam sink connector has no aggregation strategies out of the box.
-
-
-
-
// kafka-connector options: END
diff --git a/connectors/camel-hwcloud-iam-kafka-connector/src/main/docs/examples/CamelHwcloudiamSinkConnector.properties b/connectors/camel-hwcloud-iam-kafka-connector/src/main/docs/examples/CamelHwcloudiamSinkConnector.properties
index de8af99..3e4122b 100644
--- a/connectors/camel-hwcloud-iam-kafka-connector/src/main/docs/examples/CamelHwcloudiamSinkConnector.properties
+++ b/connectors/camel-hwcloud-iam-kafka-connector/src/main/docs/examples/CamelHwcloudiamSinkConnector.properties
@@ -28,8 +28,8 @@ topics=
# mandatory properties (for a complete properties list see the connector documentation):
-# Authentication key for the cloud user
-camel.sink.endpoint.authenticationKey=
+# Access key for the cloud user
+camel.sink.endpoint.accessKey=
# IAM service region
camel.sink.endpoint.region=
# Secret key for the cloud user
diff --git a/connectors/camel-hwcloud-iam-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/hwcloudiam/CamelHwcloudiamSinkConnectorConfig.java b/connectors/camel-hwcloud-iam-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/hwcloudiam/CamelHwcloudiamSinkConnectorConfig.java
index 247e779..6f53c02 100644
--- a/connectors/camel-hwcloud-iam-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/hwcloudiam/CamelHwcloudiamSinkConnectorConfig.java
+++ b/connectors/camel-hwcloud-iam-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/hwcloudiam/CamelHwcloudiamSinkConnectorConfig.java
@@ -29,9 +29,9 @@ public class CamelHwcloudiamSinkConnectorConfig
public static final String CAMEL_SINK_HWCLOUDIAM_PATH_OPERATION_CONF = "camel.sink.path.operation";
public static final String CAMEL_SINK_HWCLOUDIAM_PATH_OPERATION_DOC = "Operation to be performed";
public static final String CAMEL_SINK_HWCLOUDIAM_PATH_OPERATION_DEFAULT = null;
- public static final String CAMEL_SINK_HWCLOUDIAM_ENDPOINT_AUTHENTICATION_KEY_CONF = "camel.sink.endpoint.authenticationKey";
- public static final String CAMEL_SINK_HWCLOUDIAM_ENDPOINT_AUTHENTICATION_KEY_DOC = "Authentication key for the cloud user";
- public static final String CAMEL_SINK_HWCLOUDIAM_ENDPOINT_AUTHENTICATION_KEY_DEFAULT = null;
+ public static final String CAMEL_SINK_HWCLOUDIAM_ENDPOINT_ACCESS_KEY_CONF = "camel.sink.endpoint.accessKey";
+ public static final String CAMEL_SINK_HWCLOUDIAM_ENDPOINT_ACCESS_KEY_DOC = "Access key for the cloud user";
+ public static final String CAMEL_SINK_HWCLOUDIAM_ENDPOINT_ACCESS_KEY_DEFAULT = null;
public static final String CAMEL_SINK_HWCLOUDIAM_ENDPOINT_GROUP_ID_CONF = "camel.sink.endpoint.groupId";
public static final String CAMEL_SINK_HWCLOUDIAM_ENDPOINT_GROUP_ID_DOC = "Group ID to perform operation with";
public static final String CAMEL_SINK_HWCLOUDIAM_ENDPOINT_GROUP_ID_DEFAULT = null;
@@ -85,7 +85,7 @@ public class CamelHwcloudiamSinkConnectorConfig
public static ConfigDef conf() {
ConfigDef conf = new ConfigDef(CamelSinkConnectorConfig.conf());
conf.define(CAMEL_SINK_HWCLOUDIAM_PATH_OPERATION_CONF, ConfigDef.Type.STRING, CAMEL_SINK_HWCLOUDIAM_PATH_OPERATION_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_HWCLOUDIAM_PATH_OPERATION_DOC);
- conf.define(CAMEL_SINK_HWCLOUDIAM_ENDPOINT_AUTHENTICATION_KEY_CONF, ConfigDef.Type.PASSWORD, CAMEL_SINK_HWCLOUDIAM_ENDPOINT_AUTHENTICATION_KEY_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_HWCLOUDIAM_ENDPOINT_AUTHENTICATION_KEY_DOC);
+ conf.define(CAMEL_SINK_HWCLOUDIAM_ENDPOINT_ACCESS_KEY_CONF, ConfigDef.Type.PASSWORD, CAMEL_SINK_HWCLOUDIAM_ENDPOINT_ACCESS_KEY_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_HWCLOUDIAM_ENDPOINT_ACCESS_KEY_DOC);
conf.define(CAMEL_SINK_HWCLOUDIAM_ENDPOINT_GROUP_ID_CONF, ConfigDef.Type.PASSWORD, CAMEL_SINK_HWCLOUDIAM_ENDPOINT_GROUP_ID_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HWCLOUDIAM_ENDPOINT_GROUP_ID_DOC);
conf.define(CAMEL_SINK_HWCLOUDIAM_ENDPOINT_IGNORE_SSL_VERIFICATION_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_HWCLOUDIAM_ENDPOINT_IGNORE_SSL_VERIFICATION_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HWCLOUDIAM_ENDPOINT_IGNORE_SSL_VERIFICATION_DOC);
conf.define(CAMEL_SINK_HWCLOUDIAM_ENDPOINT_LAZY_START_PRODUCER_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_HWCLOUDIAM_ENDPOINT_LAZY_START_PRODUCER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HWCLOUDIAM_ENDPOINT_LAZY_START_PRODUCER_DOC);
diff --git a/connectors/camel-hwcloud-imagerecognition-kafka-connector/pom.xml b/connectors/camel-hwcloud-imagerecognition-kafka-connector/pom.xml
new file mode 100644
index 0000000..cc15452
--- /dev/null
+++ b/connectors/camel-hwcloud-imagerecognition-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.12.0-SNAPSHOT</version>
+ </parent>
+ <artifactId>camel-hwcloud-imagerecognition-kafka-connector</artifactId>
+ <name>Camel-Kafka-Connector :: hwcloud-imagerecognition</name>
+ <description>Camel Kafka Connector for hwcloud-imagerecognition</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-huaweicloud-imagerecognition</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-hwcloud-imagerecognition-kafka-connector/src/generated/descriptors/connector-sink.properties b/connectors/camel-hwcloud-imagerecognition-kafka-connector/src/generated/descriptors/connector-sink.properties
new file mode 100644
index 0000000..109637f
--- /dev/null
+++ b/connectors/camel-hwcloud-imagerecognition-kafka-connector/src/generated/descriptors/connector-sink.properties
@@ -0,0 +1 @@
+camel-hwcloud-imagerecognition-sink
\ No newline at end of file
diff --git a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-hwcloud-functiongraph-sink.json b/connectors/camel-hwcloud-imagerecognition-kafka-connector/src/generated/resources/camel-hwcloud-imagerecognition-sink.json
similarity index 55%
copy from camel-kafka-connector-catalog/src/generated/resources/connectors/camel-hwcloud-functiongraph-sink.json
copy to connectors/camel-hwcloud-imagerecognition-kafka-connector/src/generated/resources/camel-hwcloud-imagerecognition-sink.json
index 686df15..31ced5c 100644
--- a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-hwcloud-functiongraph-sink.json
+++ b/connectors/camel-hwcloud-imagerecognition-kafka-connector/src/generated/resources/camel-hwcloud-imagerecognition-sink.json
@@ -1,36 +1,41 @@
{
"connector": {
- "class": "org.apache.camel.kafkaconnector.hwcloudfunctiongraph.CamelHwcloudfunctiongraphSinkConnector",
- "artifactId": "camel-hwcloud-functiongraph-kafka-connector",
+ "class": "org.apache.camel.kafkaconnector.hwcloudimagerecognition.CamelHwcloudimagerecognitionSinkConnector",
+ "artifactId": "camel-hwcloud-imagerecognition-kafka-connector",
"groupId": "org.apache.camel.kafkaconnector",
- "id": "camel-hwcloud-functiongraph-sink",
+ "id": "camel-hwcloud-imagerecognition-sink",
"type": "sink",
"version": "0.12.0-SNAPSHOT",
- "description": "To call serverless functions on Huawei Cloud"
+ "description": "To identify objects, scenes, and concepts in images on Huawei Cloud"
},
"properties": {
"camel.sink.path.operation": {
"name": "camel.sink.path.operation",
- "description": "Operation to be performed",
+ "description": "Name of Image Recognition operation to perform, including celebrityRecognition and tagRecognition",
+ "priority": "HIGH",
+ "required": "true"
+ },
+ "camel.sink.endpoint.accessKey": {
+ "name": "camel.sink.endpoint.accessKey",
+ "description": "Access key for the cloud user",
"priority": "HIGH",
"required": "true"
},
"camel.sink.endpoint.endpoint": {
"name": "camel.sink.endpoint.endpoint",
- "description": "FunctionGraph url. Carries higher precedence than region parameter based client initialization",
+ "description": "Fully qualified Image Recognition service url. Carries higher precedence than region based configuration.",
"priority": "MEDIUM",
"required": "false"
},
- "camel.sink.endpoint.functionName": {
- "name": "camel.sink.endpoint.functionName",
- "description": "Name of the function to invoke",
+ "camel.sink.endpoint.imageContent": {
+ "name": "camel.sink.endpoint.imageContent",
+ "description": "Indicates the Base64 character string converted from the image. The size cannot exceed 10 MB. The image resolution of the narrow sides must be greater than 15 pixels, and that of the wide sides cannot exceed 4096 pixels.The supported image formats include JPG, PNG, and BMP. Configure either this parameter or imageUrl, and this one carries higher precedence than imageUrl.",
"priority": "MEDIUM",
"required": "false"
},
- "camel.sink.endpoint.functionPackage": {
- "name": "camel.sink.endpoint.functionPackage",
- "description": "Functions that can be logically grouped together",
- "defaultValue": "\"default\"",
+ "camel.sink.endpoint.imageUrl": {
+ "name": "camel.sink.endpoint.imageUrl",
+ "description": "Indicates the URL of an image. The options are as follows: HTTP\/HTTPS URLs on the public network OBS URLs. To use OBS data, authorization is required, including service authorization, temporary authorization, and anonymous public authorization. For details, see Configuring the Access Permission of OBS. Configure either this parameter or imageContent, and this one carries lower precedence than imageContent.",
"priority": "MEDIUM",
"required": "false"
},
@@ -47,18 +52,6 @@
"priority": "HIGH",
"required": "true"
},
- "camel.sink.endpoint.region": {
- "name": "camel.sink.endpoint.region",
- "description": "FunctionGraph service region. This is lower precedence than endpoint based configuration",
- "priority": "HIGH",
- "required": "true"
- },
- "camel.sink.endpoint.serviceKeys": {
- "name": "camel.sink.endpoint.serviceKeys",
- "description": "Configuration object for cloud service authentication",
- "priority": "MEDIUM",
- "required": "false"
- },
"camel.sink.endpoint.proxyHost": {
"name": "camel.sink.endpoint.proxyHost",
"description": "Proxy server ip\/hostname",
@@ -83,12 +76,44 @@
"priority": "MEDIUM",
"required": "false"
},
- "camel.sink.endpoint.authenticationKey": {
- "name": "camel.sink.endpoint.authenticationKey",
- "description": "Authentication key for the cloud user",
+ "camel.sink.endpoint.region": {
+ "name": "camel.sink.endpoint.region",
+ "description": "Image Recognition service region. Currently only cn-north-1 and cn-north-4 are supported. This is lower precedence than endpoint based configuration.",
+ "priority": "HIGH",
+ "required": "true"
+ },
+ "camel.sink.endpoint.secretKey": {
+ "name": "camel.sink.endpoint.secretKey",
+ "description": "Secret key for the cloud user",
"priority": "HIGH",
"required": "true"
},
+ "camel.sink.endpoint.serviceKeys": {
+ "name": "camel.sink.endpoint.serviceKeys",
+ "description": "Configuration object for cloud service authentication",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
+ "camel.sink.endpoint.tagLanguage": {
+ "name": "camel.sink.endpoint.tagLanguage",
+ "description": "Indicates the language of the returned tags when the operation is tagRecognition, including zh and en.",
+ "defaultValue": "\"zh\"",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
+ "camel.sink.endpoint.tagLimit": {
+ "name": "camel.sink.endpoint.tagLimit",
+ "description": "Indicates the maximum number of the returned tags when the operation is tagRecognition.",
+ "defaultValue": "50",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
+ "camel.sink.endpoint.threshold": {
+ "name": "camel.sink.endpoint.threshold",
+ "description": "Indicates the threshold of confidence. When the operation is tagRecognition, this parameter ranges from 0 to 100. Tags whose confidence score is lower than the threshold will not be returned. The default value is 60. When the operation is celebrityRecognition, this parameter ranges from 0 to 1. Labels whose confidence score is lower than the threshold will not be returned. The default value is 0.48.",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
"camel.sink.endpoint.ignoreSslVerification": {
"name": "camel.sink.endpoint.ignoreSslVerification",
"description": "Ignore SSL verification",
@@ -96,21 +121,15 @@
"priority": "MEDIUM",
"required": "false"
},
- "camel.sink.endpoint.secretKey": {
- "name": "camel.sink.endpoint.secretKey",
- "description": "Secret key for the cloud user",
- "priority": "HIGH",
- "required": "true"
- },
- "camel.component.hwcloud-functiongraph.lazyStartProducer": {
- "name": "camel.component.hwcloud-functiongraph.lazyStartProducer",
+ "camel.component.hwcloud-imagerecognition.lazyStartProducer": {
+ "name": "camel.component.hwcloud-imagerecognition.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.hwcloud-functiongraph.autowiredEnabled": {
- "name": "camel.component.hwcloud-functiongraph.autowiredEnabled",
+ "camel.component.hwcloud-imagerecognition.autowiredEnabled": {
+ "name": "camel.component.hwcloud-imagerecognition.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",
diff --git a/connectors/camel-hwcloud-imagerecognition-kafka-connector/src/main/assembly/package.xml b/connectors/camel-hwcloud-imagerecognition-kafka-connector/src/main/assembly/package.xml
new file mode 100644
index 0000000..05f0b1a
--- /dev/null
+++ b/connectors/camel-hwcloud-imagerecognition-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-hwcloud-imagerecognition-kafka-connector/src/main/docs/camel-hwcloud-imagerecognition-kafka-sink-connector.adoc b/connectors/camel-hwcloud-imagerecognition-kafka-connector/src/main/docs/camel-hwcloud-imagerecognition-kafka-sink-connector.adoc
new file mode 100644
index 0000000..0e2d83a
--- /dev/null
+++ b/connectors/camel-hwcloud-imagerecognition-kafka-connector/src/main/docs/camel-hwcloud-imagerecognition-kafka-sink-connector.adoc
@@ -0,0 +1,75 @@
+// kafka-connector options: START
+[[camel-hwcloud-imagerecognition-kafka-connector-sink]]
+= camel-hwcloud-imagerecognition-kafka-connector sink configuration
+
+Connector Description: To identify objects, scenes, and concepts in images on Huawei Cloud
+
+When using camel-hwcloud-imagerecognition-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-hwcloud-imagerecognition-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.hwcloudimagerecognition.CamelHwcloudimagerecognitionSinkConnector
+----
+
+
+The camel-hwcloud-imagerecognition sink connector supports 20 options, which are listed below.
+
+
+
+[width="100%",cols="2,5,^1,1,1",options="header"]
+|===
+| Name | Description | Default | Required | Priority
+| *camel.sink.path.operation* | Name of Image Recognition operation to perform, including celebrityRecognition and tagRecognition | null | true | HIGH
+| *camel.sink.endpoint.accessKey* | Access key for the cloud user | null | true | HIGH
+| *camel.sink.endpoint.endpoint* | Fully qualified Image Recognition service url. Carries higher precedence than region based configuration. | null | false | MEDIUM
+| *camel.sink.endpoint.imageContent* | Indicates the Base64 character string converted from the image. The size cannot exceed 10 MB. The image resolution of the narrow sides must be greater than 15 pixels, and that of the wide sides cannot exceed 4096 pixels.The supported image formats include JPG, PNG, and BMP. Configure either this parameter or imageUrl, and this one carries higher precedence than imageUrl. | null | false | MEDIUM
+| *camel.sink.endpoint.imageUrl* | Indicates the URL of an image. The options are as follows: HTTP/HTTPS URLs on the public network OBS URLs. To use OBS data, authorization is required, including service authorization, temporary authorization, and anonymous public authorization. For details, see Configuring the Access Permission of OBS. Configure either this parameter or imageContent, and this one carries lower precedence than imageContent. | null | false | MEDIUM
+| *camel.sink.endpoint.lazyStartProducer* | Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then cre [...]
+| *camel.sink.endpoint.projectId* | Cloud project ID | null | true | HIGH
+| *camel.sink.endpoint.proxyHost* | Proxy server ip/hostname | null | false | MEDIUM
+| *camel.sink.endpoint.proxyPassword* | Proxy authentication password | null | false | MEDIUM
+| *camel.sink.endpoint.proxyPort* | Proxy server port | null | false | MEDIUM
+| *camel.sink.endpoint.proxyUser* | Proxy authentication user | null | false | MEDIUM
+| *camel.sink.endpoint.region* | Image Recognition service region. Currently only cn-north-1 and cn-north-4 are supported. This is lower precedence than endpoint based configuration. | null | true | HIGH
+| *camel.sink.endpoint.secretKey* | Secret key for the cloud user | null | true | HIGH
+| *camel.sink.endpoint.serviceKeys* | Configuration object for cloud service authentication | null | false | MEDIUM
+| *camel.sink.endpoint.tagLanguage* | Indicates the language of the returned tags when the operation is tagRecognition, including zh and en. | "zh" | false | MEDIUM
+| *camel.sink.endpoint.tagLimit* | Indicates the maximum number of the returned tags when the operation is tagRecognition. | 50 | false | MEDIUM
+| *camel.sink.endpoint.threshold* | Indicates the threshold of confidence. When the operation is tagRecognition, this parameter ranges from 0 to 100. Tags whose confidence score is lower than the threshold will not be returned. The default value is 60. When the operation is celebrityRecognition, this parameter ranges from 0 to 1. Labels whose confidence score is lower than the threshold will not be returned. The default value is 0.48. | null | false | MEDIUM
+| *camel.sink.endpoint.ignoreSslVerification* | Ignore SSL verification | false | false | MEDIUM
+| *camel.component.hwcloud-imagerecognition.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 [...]
+| *camel.component.hwcloud-imagerecognition.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
+|===
+
+
+
+The camel-hwcloud-imagerecognition sink connector has no converters out of the box.
+
+
+
+
+
+The camel-hwcloud-imagerecognition sink connector has no transforms out of the box.
+
+
+
+
+
+The camel-hwcloud-imagerecognition sink connector has no aggregation strategies out of the box.
+
+
+
+
+// kafka-connector options: END
diff --git a/connectors/camel-hwcloud-functiongraph-kafka-connector/src/main/docs/examples/CamelHwcloudfunctiongraphSinkConnector.properties b/connectors/camel-hwcloud-imagerecognition-kafka-connector/src/main/docs/examples/CamelHwcloudimagerecognitionSinkConnector.properties
similarity index 75%
copy from connectors/camel-hwcloud-functiongraph-kafka-connector/src/main/docs/examples/CamelHwcloudfunctiongraphSinkConnector.properties
copy to connectors/camel-hwcloud-imagerecognition-kafka-connector/src/main/docs/examples/CamelHwcloudimagerecognitionSinkConnector.properties
index 1be6835..de59f86 100644
--- a/connectors/camel-hwcloud-functiongraph-kafka-connector/src/main/docs/examples/CamelHwcloudfunctiongraphSinkConnector.properties
+++ b/connectors/camel-hwcloud-imagerecognition-kafka-connector/src/main/docs/examples/CamelHwcloudimagerecognitionSinkConnector.properties
@@ -15,8 +15,8 @@
## limitations under the License.
## ---------------------------------------------------------------------------
-name=CamelHwcloud-functiongraphSinkConnector
-connector.class=org.apache.camel.kafkaconnector.hwcloudfunctiongraph.CamelHwcloudfunctiongraphSinkConnector
+name=CamelHwcloud-imagerecognitionSinkConnector
+connector.class=org.apache.camel.kafkaconnector.hwcloudimagerecognition.CamelHwcloudimagerecognitionSinkConnector
tasks.max=1
# use the kafka converters that better suit your needs, these are just defaults:
@@ -28,14 +28,14 @@ topics=
# mandatory properties (for a complete properties list see the connector documentation):
-# Authentication key for the cloud user
-camel.sink.endpoint.authenticationKey=
+# Access key for the cloud user
+camel.sink.endpoint.accessKey=
# Cloud project ID
camel.sink.endpoint.projectId=
-# FunctionGraph service region. This is lower precedence than endpoint based configuration
+# Image Recognition service region. Currently only cn-north-1 and cn-north-4 are supported. This is lower precedence than endpoint based configuration.
camel.sink.endpoint.region=
# Secret key for the cloud user
camel.sink.endpoint.secretKey=
-# Operation to be performed
+# Name of Image Recognition operation to perform, including celebrityRecognition and tagRecognition
camel.sink.path.operation=
diff --git a/connectors/camel-hwcloud-imagerecognition-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/hwcloudimagerecognition/CamelHwcloudimagerecognitionSinkConnector.java b/connectors/camel-hwcloud-imagerecognition-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/hwcloudimagerecognition/CamelHwcloudimagerecognitionSinkConnector.java
new file mode 100644
index 0000000..3eb39e8
--- /dev/null
+++ b/connectors/camel-hwcloud-imagerecognition-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/hwcloudimagerecognition/CamelHwcloudimagerecognitionSinkConnector.java
@@ -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.
+ */
+package org.apache.camel.kafkaconnector.hwcloudimagerecognition;
+
+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 CamelHwcloudimagerecognitionSinkConnector
+ extends
+ CamelSinkConnector {
+
+ @Override
+ public ConfigDef config() {
+ return CamelHwcloudimagerecognitionSinkConnectorConfig.conf();
+ }
+ @Override
+ public Class<? extends Task> taskClass() {
+ return CamelHwcloudimagerecognitionSinkTask.class;
+ }
+}
\ No newline at end of file
diff --git a/connectors/camel-hwcloud-imagerecognition-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/hwcloudimagerecognition/CamelHwcloudimagerecognitionSinkConnectorConfig.java b/connectors/camel-hwcloud-imagerecognition-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/hwcloudimagerecognition/CamelHwcloudimagerecognitionSinkConnectorConfig.java
new file mode 100644
index 0000000..45863a6
--- /dev/null
+++ b/connectors/camel-hwcloud-imagerecognition-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/hwcloudimagerecognition/CamelHwcloudimagerecognitionSinkConnectorConfig.java
@@ -0,0 +1,125 @@
+/*
+ * 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.hwcloudimagerecognition;
+
+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 CamelHwcloudimagerecognitionSinkConnectorConfig
+ extends
+ CamelSinkConnectorConfig {
+
+ public static final String CAMEL_SINK_HWCLOUDIMAGERECOGNITION_PATH_OPERATION_CONF = "camel.sink.path.operation";
+ public static final String CAMEL_SINK_HWCLOUDIMAGERECOGNITION_PATH_OPERATION_DOC = "Name of Image Recognition operation to perform, including celebrityRecognition and tagRecognition";
+ public static final String CAMEL_SINK_HWCLOUDIMAGERECOGNITION_PATH_OPERATION_DEFAULT = null;
+ public static final String CAMEL_SINK_HWCLOUDIMAGERECOGNITION_ENDPOINT_ACCESS_KEY_CONF = "camel.sink.endpoint.accessKey";
+ public static final String CAMEL_SINK_HWCLOUDIMAGERECOGNITION_ENDPOINT_ACCESS_KEY_DOC = "Access key for the cloud user";
+ public static final String CAMEL_SINK_HWCLOUDIMAGERECOGNITION_ENDPOINT_ACCESS_KEY_DEFAULT = null;
+ public static final String CAMEL_SINK_HWCLOUDIMAGERECOGNITION_ENDPOINT_ENDPOINT_CONF = "camel.sink.endpoint.endpoint";
+ public static final String CAMEL_SINK_HWCLOUDIMAGERECOGNITION_ENDPOINT_ENDPOINT_DOC = "Fully qualified Image Recognition service url. Carries higher precedence than region based configuration.";
+ public static final String CAMEL_SINK_HWCLOUDIMAGERECOGNITION_ENDPOINT_ENDPOINT_DEFAULT = null;
+ public static final String CAMEL_SINK_HWCLOUDIMAGERECOGNITION_ENDPOINT_IMAGE_CONTENT_CONF = "camel.sink.endpoint.imageContent";
+ public static final String CAMEL_SINK_HWCLOUDIMAGERECOGNITION_ENDPOINT_IMAGE_CONTENT_DOC = "Indicates the Base64 character string converted from the image. The size cannot exceed 10 MB. The image resolution of the narrow sides must be greater than 15 pixels, and that of the wide sides cannot exceed 4096 pixels.The supported image formats include JPG, PNG, and BMP. Configure either this parameter or imageUrl, and this one carries higher precedence than imageUrl.";
+ public static final String CAMEL_SINK_HWCLOUDIMAGERECOGNITION_ENDPOINT_IMAGE_CONTENT_DEFAULT = null;
+ public static final String CAMEL_SINK_HWCLOUDIMAGERECOGNITION_ENDPOINT_IMAGE_URL_CONF = "camel.sink.endpoint.imageUrl";
+ public static final String CAMEL_SINK_HWCLOUDIMAGERECOGNITION_ENDPOINT_IMAGE_URL_DOC = "Indicates the URL of an image. The options are as follows: HTTP/HTTPS URLs on the public network OBS URLs. To use OBS data, authorization is required, including service authorization, temporary authorization, and anonymous public authorization. For details, see Configuring the Access Permission of OBS. Configure either this parameter or imageContent, and this one carries lower precedence than imag [...]
+ public static final String CAMEL_SINK_HWCLOUDIMAGERECOGNITION_ENDPOINT_IMAGE_URL_DEFAULT = null;
+ public static final String CAMEL_SINK_HWCLOUDIMAGERECOGNITION_ENDPOINT_LAZY_START_PRODUCER_CONF = "camel.sink.endpoint.lazyStartProducer";
+ public static final String CAMEL_SINK_HWCLOUDIMAGERECOGNITION_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 [...]
+ public static final Boolean CAMEL_SINK_HWCLOUDIMAGERECOGNITION_ENDPOINT_LAZY_START_PRODUCER_DEFAULT = false;
+ public static final String CAMEL_SINK_HWCLOUDIMAGERECOGNITION_ENDPOINT_PROJECT_ID_CONF = "camel.sink.endpoint.projectId";
+ public static final String CAMEL_SINK_HWCLOUDIMAGERECOGNITION_ENDPOINT_PROJECT_ID_DOC = "Cloud project ID";
+ public static final String CAMEL_SINK_HWCLOUDIMAGERECOGNITION_ENDPOINT_PROJECT_ID_DEFAULT = null;
+ public static final String CAMEL_SINK_HWCLOUDIMAGERECOGNITION_ENDPOINT_PROXY_HOST_CONF = "camel.sink.endpoint.proxyHost";
+ public static final String CAMEL_SINK_HWCLOUDIMAGERECOGNITION_ENDPOINT_PROXY_HOST_DOC = "Proxy server ip/hostname";
+ public static final String CAMEL_SINK_HWCLOUDIMAGERECOGNITION_ENDPOINT_PROXY_HOST_DEFAULT = null;
+ public static final String CAMEL_SINK_HWCLOUDIMAGERECOGNITION_ENDPOINT_PROXY_PASSWORD_CONF = "camel.sink.endpoint.proxyPassword";
+ public static final String CAMEL_SINK_HWCLOUDIMAGERECOGNITION_ENDPOINT_PROXY_PASSWORD_DOC = "Proxy authentication password";
+ public static final String CAMEL_SINK_HWCLOUDIMAGERECOGNITION_ENDPOINT_PROXY_PASSWORD_DEFAULT = null;
+ public static final String CAMEL_SINK_HWCLOUDIMAGERECOGNITION_ENDPOINT_PROXY_PORT_CONF = "camel.sink.endpoint.proxyPort";
+ public static final String CAMEL_SINK_HWCLOUDIMAGERECOGNITION_ENDPOINT_PROXY_PORT_DOC = "Proxy server port";
+ public static final Integer CAMEL_SINK_HWCLOUDIMAGERECOGNITION_ENDPOINT_PROXY_PORT_DEFAULT = null;
+ public static final String CAMEL_SINK_HWCLOUDIMAGERECOGNITION_ENDPOINT_PROXY_USER_CONF = "camel.sink.endpoint.proxyUser";
+ public static final String CAMEL_SINK_HWCLOUDIMAGERECOGNITION_ENDPOINT_PROXY_USER_DOC = "Proxy authentication user";
+ public static final String CAMEL_SINK_HWCLOUDIMAGERECOGNITION_ENDPOINT_PROXY_USER_DEFAULT = null;
+ public static final String CAMEL_SINK_HWCLOUDIMAGERECOGNITION_ENDPOINT_REGION_CONF = "camel.sink.endpoint.region";
+ public static final String CAMEL_SINK_HWCLOUDIMAGERECOGNITION_ENDPOINT_REGION_DOC = "Image Recognition service region. Currently only cn-north-1 and cn-north-4 are supported. This is lower precedence than endpoint based configuration.";
+ public static final String CAMEL_SINK_HWCLOUDIMAGERECOGNITION_ENDPOINT_REGION_DEFAULT = null;
+ public static final String CAMEL_SINK_HWCLOUDIMAGERECOGNITION_ENDPOINT_SECRET_KEY_CONF = "camel.sink.endpoint.secretKey";
+ public static final String CAMEL_SINK_HWCLOUDIMAGERECOGNITION_ENDPOINT_SECRET_KEY_DOC = "Secret key for the cloud user";
+ public static final String CAMEL_SINK_HWCLOUDIMAGERECOGNITION_ENDPOINT_SECRET_KEY_DEFAULT = null;
+ public static final String CAMEL_SINK_HWCLOUDIMAGERECOGNITION_ENDPOINT_SERVICE_KEYS_CONF = "camel.sink.endpoint.serviceKeys";
+ public static final String CAMEL_SINK_HWCLOUDIMAGERECOGNITION_ENDPOINT_SERVICE_KEYS_DOC = "Configuration object for cloud service authentication";
+ public static final String CAMEL_SINK_HWCLOUDIMAGERECOGNITION_ENDPOINT_SERVICE_KEYS_DEFAULT = null;
+ public static final String CAMEL_SINK_HWCLOUDIMAGERECOGNITION_ENDPOINT_TAG_LANGUAGE_CONF = "camel.sink.endpoint.tagLanguage";
+ public static final String CAMEL_SINK_HWCLOUDIMAGERECOGNITION_ENDPOINT_TAG_LANGUAGE_DOC = "Indicates the language of the returned tags when the operation is tagRecognition, including zh and en.";
+ public static final String CAMEL_SINK_HWCLOUDIMAGERECOGNITION_ENDPOINT_TAG_LANGUAGE_DEFAULT = "zh";
+ public static final String CAMEL_SINK_HWCLOUDIMAGERECOGNITION_ENDPOINT_TAG_LIMIT_CONF = "camel.sink.endpoint.tagLimit";
+ public static final String CAMEL_SINK_HWCLOUDIMAGERECOGNITION_ENDPOINT_TAG_LIMIT_DOC = "Indicates the maximum number of the returned tags when the operation is tagRecognition.";
+ public static final Integer CAMEL_SINK_HWCLOUDIMAGERECOGNITION_ENDPOINT_TAG_LIMIT_DEFAULT = 50;
+ public static final String CAMEL_SINK_HWCLOUDIMAGERECOGNITION_ENDPOINT_THRESHOLD_CONF = "camel.sink.endpoint.threshold";
+ public static final String CAMEL_SINK_HWCLOUDIMAGERECOGNITION_ENDPOINT_THRESHOLD_DOC = "Indicates the threshold of confidence. When the operation is tagRecognition, this parameter ranges from 0 to 100. Tags whose confidence score is lower than the threshold will not be returned. The default value is 60. When the operation is celebrityRecognition, this parameter ranges from 0 to 1. Labels whose confidence score is lower than the threshold will not be returned. The default value is 0.48.";
+ public static final Float CAMEL_SINK_HWCLOUDIMAGERECOGNITION_ENDPOINT_THRESHOLD_DEFAULT = null;
+ public static final String CAMEL_SINK_HWCLOUDIMAGERECOGNITION_ENDPOINT_IGNORE_SSL_VERIFICATION_CONF = "camel.sink.endpoint.ignoreSslVerification";
+ public static final String CAMEL_SINK_HWCLOUDIMAGERECOGNITION_ENDPOINT_IGNORE_SSL_VERIFICATION_DOC = "Ignore SSL verification";
+ public static final Boolean CAMEL_SINK_HWCLOUDIMAGERECOGNITION_ENDPOINT_IGNORE_SSL_VERIFICATION_DEFAULT = false;
+ public static final String CAMEL_SINK_HWCLOUDIMAGERECOGNITION_COMPONENT_LAZY_START_PRODUCER_CONF = "camel.component.hwcloud-imagerecognition.lazyStartProducer";
+ public static final String CAMEL_SINK_HWCLOUDIMAGERECOGNITION_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 handler [...]
+ public static final Boolean CAMEL_SINK_HWCLOUDIMAGERECOGNITION_COMPONENT_LAZY_START_PRODUCER_DEFAULT = false;
+ public static final String CAMEL_SINK_HWCLOUDIMAGERECOGNITION_COMPONENT_AUTOWIRED_ENABLED_CONF = "camel.component.hwcloud-imagerecognition.autowiredEnabled";
+ public static final String CAMEL_SINK_HWCLOUDIMAGERECOGNITION_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_HWCLOUDIMAGERECOGNITION_COMPONENT_AUTOWIRED_ENABLED_DEFAULT = true;
+
+ public CamelHwcloudimagerecognitionSinkConnectorConfig(
+ ConfigDef config,
+ Map<String, String> parsedConfig) {
+ super(config, parsedConfig);
+ }
+
+ public CamelHwcloudimagerecognitionSinkConnectorConfig(
+ Map<String, String> parsedConfig) {
+ this(conf(), parsedConfig);
+ }
+
+ public static ConfigDef conf() {
+ ConfigDef conf = new ConfigDef(CamelSinkConnectorConfig.conf());
+ conf.define(CAMEL_SINK_HWCLOUDIMAGERECOGNITION_PATH_OPERATION_CONF, ConfigDef.Type.STRING, CAMEL_SINK_HWCLOUDIMAGERECOGNITION_PATH_OPERATION_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_HWCLOUDIMAGERECOGNITION_PATH_OPERATION_DOC);
+ conf.define(CAMEL_SINK_HWCLOUDIMAGERECOGNITION_ENDPOINT_ACCESS_KEY_CONF, ConfigDef.Type.PASSWORD, CAMEL_SINK_HWCLOUDIMAGERECOGNITION_ENDPOINT_ACCESS_KEY_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_HWCLOUDIMAGERECOGNITION_ENDPOINT_ACCESS_KEY_DOC);
+ conf.define(CAMEL_SINK_HWCLOUDIMAGERECOGNITION_ENDPOINT_ENDPOINT_CONF, ConfigDef.Type.STRING, CAMEL_SINK_HWCLOUDIMAGERECOGNITION_ENDPOINT_ENDPOINT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HWCLOUDIMAGERECOGNITION_ENDPOINT_ENDPOINT_DOC);
+ conf.define(CAMEL_SINK_HWCLOUDIMAGERECOGNITION_ENDPOINT_IMAGE_CONTENT_CONF, ConfigDef.Type.STRING, CAMEL_SINK_HWCLOUDIMAGERECOGNITION_ENDPOINT_IMAGE_CONTENT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HWCLOUDIMAGERECOGNITION_ENDPOINT_IMAGE_CONTENT_DOC);
+ conf.define(CAMEL_SINK_HWCLOUDIMAGERECOGNITION_ENDPOINT_IMAGE_URL_CONF, ConfigDef.Type.STRING, CAMEL_SINK_HWCLOUDIMAGERECOGNITION_ENDPOINT_IMAGE_URL_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HWCLOUDIMAGERECOGNITION_ENDPOINT_IMAGE_URL_DOC);
+ conf.define(CAMEL_SINK_HWCLOUDIMAGERECOGNITION_ENDPOINT_LAZY_START_PRODUCER_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_HWCLOUDIMAGERECOGNITION_ENDPOINT_LAZY_START_PRODUCER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HWCLOUDIMAGERECOGNITION_ENDPOINT_LAZY_START_PRODUCER_DOC);
+ conf.define(CAMEL_SINK_HWCLOUDIMAGERECOGNITION_ENDPOINT_PROJECT_ID_CONF, ConfigDef.Type.STRING, CAMEL_SINK_HWCLOUDIMAGERECOGNITION_ENDPOINT_PROJECT_ID_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_HWCLOUDIMAGERECOGNITION_ENDPOINT_PROJECT_ID_DOC);
+ conf.define(CAMEL_SINK_HWCLOUDIMAGERECOGNITION_ENDPOINT_PROXY_HOST_CONF, ConfigDef.Type.STRING, CAMEL_SINK_HWCLOUDIMAGERECOGNITION_ENDPOINT_PROXY_HOST_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HWCLOUDIMAGERECOGNITION_ENDPOINT_PROXY_HOST_DOC);
+ conf.define(CAMEL_SINK_HWCLOUDIMAGERECOGNITION_ENDPOINT_PROXY_PASSWORD_CONF, ConfigDef.Type.PASSWORD, CAMEL_SINK_HWCLOUDIMAGERECOGNITION_ENDPOINT_PROXY_PASSWORD_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HWCLOUDIMAGERECOGNITION_ENDPOINT_PROXY_PASSWORD_DOC);
+ conf.define(CAMEL_SINK_HWCLOUDIMAGERECOGNITION_ENDPOINT_PROXY_PORT_CONF, ConfigDef.Type.INT, CAMEL_SINK_HWCLOUDIMAGERECOGNITION_ENDPOINT_PROXY_PORT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HWCLOUDIMAGERECOGNITION_ENDPOINT_PROXY_PORT_DOC);
+ conf.define(CAMEL_SINK_HWCLOUDIMAGERECOGNITION_ENDPOINT_PROXY_USER_CONF, ConfigDef.Type.PASSWORD, CAMEL_SINK_HWCLOUDIMAGERECOGNITION_ENDPOINT_PROXY_USER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HWCLOUDIMAGERECOGNITION_ENDPOINT_PROXY_USER_DOC);
+ conf.define(CAMEL_SINK_HWCLOUDIMAGERECOGNITION_ENDPOINT_REGION_CONF, ConfigDef.Type.STRING, CAMEL_SINK_HWCLOUDIMAGERECOGNITION_ENDPOINT_REGION_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_HWCLOUDIMAGERECOGNITION_ENDPOINT_REGION_DOC);
+ conf.define(CAMEL_SINK_HWCLOUDIMAGERECOGNITION_ENDPOINT_SECRET_KEY_CONF, ConfigDef.Type.PASSWORD, CAMEL_SINK_HWCLOUDIMAGERECOGNITION_ENDPOINT_SECRET_KEY_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_HWCLOUDIMAGERECOGNITION_ENDPOINT_SECRET_KEY_DOC);
+ conf.define(CAMEL_SINK_HWCLOUDIMAGERECOGNITION_ENDPOINT_SERVICE_KEYS_CONF, ConfigDef.Type.PASSWORD, CAMEL_SINK_HWCLOUDIMAGERECOGNITION_ENDPOINT_SERVICE_KEYS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HWCLOUDIMAGERECOGNITION_ENDPOINT_SERVICE_KEYS_DOC);
+ conf.define(CAMEL_SINK_HWCLOUDIMAGERECOGNITION_ENDPOINT_TAG_LANGUAGE_CONF, ConfigDef.Type.STRING, CAMEL_SINK_HWCLOUDIMAGERECOGNITION_ENDPOINT_TAG_LANGUAGE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HWCLOUDIMAGERECOGNITION_ENDPOINT_TAG_LANGUAGE_DOC);
+ conf.define(CAMEL_SINK_HWCLOUDIMAGERECOGNITION_ENDPOINT_TAG_LIMIT_CONF, ConfigDef.Type.INT, CAMEL_SINK_HWCLOUDIMAGERECOGNITION_ENDPOINT_TAG_LIMIT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HWCLOUDIMAGERECOGNITION_ENDPOINT_TAG_LIMIT_DOC);
+ conf.define(CAMEL_SINK_HWCLOUDIMAGERECOGNITION_ENDPOINT_THRESHOLD_CONF, ConfigDef.Type.DOUBLE, CAMEL_SINK_HWCLOUDIMAGERECOGNITION_ENDPOINT_THRESHOLD_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HWCLOUDIMAGERECOGNITION_ENDPOINT_THRESHOLD_DOC);
+ conf.define(CAMEL_SINK_HWCLOUDIMAGERECOGNITION_ENDPOINT_IGNORE_SSL_VERIFICATION_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_HWCLOUDIMAGERECOGNITION_ENDPOINT_IGNORE_SSL_VERIFICATION_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HWCLOUDIMAGERECOGNITION_ENDPOINT_IGNORE_SSL_VERIFICATION_DOC);
+ conf.define(CAMEL_SINK_HWCLOUDIMAGERECOGNITION_COMPONENT_LAZY_START_PRODUCER_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_HWCLOUDIMAGERECOGNITION_COMPONENT_LAZY_START_PRODUCER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HWCLOUDIMAGERECOGNITION_COMPONENT_LAZY_START_PRODUCER_DOC);
+ conf.define(CAMEL_SINK_HWCLOUDIMAGERECOGNITION_COMPONENT_AUTOWIRED_ENABLED_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_HWCLOUDIMAGERECOGNITION_COMPONENT_AUTOWIRED_ENABLED_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HWCLOUDIMAGERECOGNITION_COMPONENT_AUTOWIRED_ENABLED_DOC);
+ return conf;
+ }
+}
\ No newline at end of file
diff --git a/connectors/camel-hwcloud-imagerecognition-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/hwcloudimagerecognition/CamelHwcloudimagerecognitionSinkTask.java b/connectors/camel-hwcloud-imagerecognition-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/hwcloudimagerecognition/CamelHwcloudimagerecognitionSinkTask.java
new file mode 100644
index 0000000..bb681d2
--- /dev/null
+++ b/connectors/camel-hwcloud-imagerecognition-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/hwcloudimagerecognition/CamelHwcloudimagerecognitionSinkTask.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.hwcloudimagerecognition;
+
+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 CamelHwcloudimagerecognitionSinkTask extends CamelSinkTask {
+
+ @Override
+ protected CamelSinkConnectorConfig getCamelSinkConnectorConfig(
+ Map<String, String> props) {
+ return new CamelHwcloudimagerecognitionSinkConnectorConfig(props);
+ }
+ @Override
+ protected Map<String, String> getDefaultConfig() {
+ return new HashMap<String, String>() {{
+ put(CamelSinkConnectorConfig.CAMEL_SINK_COMPONENT_CONF, "hwcloud-imagerecognition");
+ }};
+ }
+}
\ No newline at end of file
diff --git a/connectors/camel-hwcloud-imagerecognition-kafka-connector/src/main/resources/META-INF/LICENSE.txt b/connectors/camel-hwcloud-imagerecognition-kafka-connector/src/main/resources/META-INF/LICENSE.txt
new file mode 100644
index 0000000..6b0b127
--- /dev/null
+++ b/connectors/camel-hwcloud-imagerecognition-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-hwcloud-imagerecognition-kafka-connector/src/main/resources/META-INF/NOTICE.txt b/connectors/camel-hwcloud-imagerecognition-kafka-connector/src/main/resources/META-INF/NOTICE.txt
new file mode 100644
index 0000000..2e215bf
--- /dev/null
+++ b/connectors/camel-hwcloud-imagerecognition-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-hwcloud-obs-kafka-connector/pom.xml b/connectors/camel-hwcloud-obs-kafka-connector/pom.xml
new file mode 100644
index 0000000..aaeea30
--- /dev/null
+++ b/connectors/camel-hwcloud-obs-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.12.0-SNAPSHOT</version>
+ </parent>
+ <artifactId>camel-hwcloud-obs-kafka-connector</artifactId>
+ <name>Camel-Kafka-Connector :: hwcloud-obs</name>
+ <description>Camel Kafka Connector for hwcloud-obs</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-huaweicloud-obs</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-hwcloud-obs-kafka-connector/src/generated/descriptors/connector-sink.properties b/connectors/camel-hwcloud-obs-kafka-connector/src/generated/descriptors/connector-sink.properties
new file mode 100644
index 0000000..29f0ece
--- /dev/null
+++ b/connectors/camel-hwcloud-obs-kafka-connector/src/generated/descriptors/connector-sink.properties
@@ -0,0 +1 @@
+camel-hwcloud-obs-sink
\ No newline at end of file
diff --git a/connectors/camel-hwcloud-obs-kafka-connector/src/generated/descriptors/connector-source.properties b/connectors/camel-hwcloud-obs-kafka-connector/src/generated/descriptors/connector-source.properties
new file mode 100644
index 0000000..cd08184
--- /dev/null
+++ b/connectors/camel-hwcloud-obs-kafka-connector/src/generated/descriptors/connector-source.properties
@@ -0,0 +1 @@
+camel-hwcloud-obs-source
\ No newline at end of file
diff --git a/connectors/camel-hwcloud-iam-kafka-connector/src/generated/resources/camel-hwcloud-iam-sink.json b/connectors/camel-hwcloud-obs-kafka-connector/src/generated/resources/camel-hwcloud-obs-sink.json
similarity index 74%
copy from connectors/camel-hwcloud-iam-kafka-connector/src/generated/resources/camel-hwcloud-iam-sink.json
copy to connectors/camel-hwcloud-obs-kafka-connector/src/generated/resources/camel-hwcloud-obs-sink.json
index 17ea2e5..ec035e3 100644
--- a/connectors/camel-hwcloud-iam-kafka-connector/src/generated/resources/camel-hwcloud-iam-sink.json
+++ b/connectors/camel-hwcloud-obs-kafka-connector/src/generated/resources/camel-hwcloud-obs-sink.json
@@ -1,12 +1,12 @@
{
"connector": {
- "class": "org.apache.camel.kafkaconnector.hwcloudiam.CamelHwcloudiamSinkConnector",
- "artifactId": "camel-hwcloud-iam-kafka-connector",
+ "class": "org.apache.camel.kafkaconnector.hwcloudobs.CamelHwcloudobsSinkConnector",
+ "artifactId": "camel-hwcloud-obs-kafka-connector",
"groupId": "org.apache.camel.kafkaconnector",
- "id": "camel-hwcloud-iam-sink",
+ "id": "camel-hwcloud-obs-sink",
"type": "sink",
"version": "0.12.0-SNAPSHOT",
- "description": "To securely manage users on Huawei Cloud"
+ "description": "To provide stable, secure, efficient, and easy-to-use cloud storage service on Huawei Cloud"
},
"properties": {
"camel.sink.path.operation": {
@@ -15,22 +15,27 @@
"priority": "HIGH",
"required": "true"
},
- "camel.sink.endpoint.authenticationKey": {
- "name": "camel.sink.endpoint.authenticationKey",
- "description": "Authentication key for the cloud user",
- "priority": "HIGH",
- "required": "true"
+ "camel.sink.endpoint.bucketName": {
+ "name": "camel.sink.endpoint.bucketName",
+ "description": "Name of bucket to perform operation on",
+ "priority": "MEDIUM",
+ "required": "false"
},
- "camel.sink.endpoint.groupId": {
- "name": "camel.sink.endpoint.groupId",
- "description": "Group ID to perform operation with",
+ "camel.sink.endpoint.endpoint": {
+ "name": "camel.sink.endpoint.endpoint",
+ "description": "OBS url. Carries higher precedence than region parameter based client initialization",
"priority": "MEDIUM",
"required": "false"
},
- "camel.sink.endpoint.ignoreSslVerification": {
- "name": "camel.sink.endpoint.ignoreSslVerification",
- "description": "Ignore SSL verification",
- "defaultValue": "false",
+ "camel.sink.endpoint.region": {
+ "name": "camel.sink.endpoint.region",
+ "description": "OBS service region. This is lower precedence than endpoint based configuration",
+ "priority": "HIGH",
+ "required": "true"
+ },
+ "camel.sink.endpoint.bucketLocation": {
+ "name": "camel.sink.endpoint.bucketLocation",
+ "description": "Location of bucket when creating a new bucket",
"priority": "MEDIUM",
"required": "false"
},
@@ -65,12 +70,19 @@
"priority": "MEDIUM",
"required": "false"
},
- "camel.sink.endpoint.region": {
- "name": "camel.sink.endpoint.region",
- "description": "IAM service region",
+ "camel.sink.endpoint.accessKey": {
+ "name": "camel.sink.endpoint.accessKey",
+ "description": "Access key for the cloud user",
"priority": "HIGH",
"required": "true"
},
+ "camel.sink.endpoint.ignoreSslVerification": {
+ "name": "camel.sink.endpoint.ignoreSslVerification",
+ "description": "Ignore SSL verification",
+ "defaultValue": "false",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
"camel.sink.endpoint.secretKey": {
"name": "camel.sink.endpoint.secretKey",
"description": "Secret key for the cloud user",
@@ -83,21 +95,15 @@
"priority": "MEDIUM",
"required": "false"
},
- "camel.sink.endpoint.userId": {
- "name": "camel.sink.endpoint.userId",
- "description": "User ID to perform operation with",
- "priority": "MEDIUM",
- "required": "false"
- },
- "camel.component.hwcloud-iam.lazyStartProducer": {
- "name": "camel.component.hwcloud-iam.lazyStartProducer",
+ "camel.component.hwcloud-obs.lazyStartProducer": {
+ "name": "camel.component.hwcloud-obs.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.hwcloud-iam.autowiredEnabled": {
- "name": "camel.component.hwcloud-iam.autowiredEnabled",
+ "camel.component.hwcloud-obs.autowiredEnabled": {
+ "name": "camel.component.hwcloud-obs.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",
diff --git a/connectors/camel-aws2-ddbstream-kafka-connector/src/generated/resources/camel-aws2-ddbstream-source.json b/connectors/camel-hwcloud-obs-kafka-connector/src/generated/resources/camel-hwcloud-obs-source.json
similarity index 53%
copy from connectors/camel-aws2-ddbstream-kafka-connector/src/generated/resources/camel-aws2-ddbstream-source.json
copy to connectors/camel-hwcloud-obs-kafka-connector/src/generated/resources/camel-hwcloud-obs-source.json
index ac4185f..c8340c6 100644
--- a/connectors/camel-aws2-ddbstream-kafka-connector/src/generated/resources/camel-aws2-ddbstream-source.json
+++ b/connectors/camel-hwcloud-obs-kafka-connector/src/generated/resources/camel-hwcloud-obs-source.json
@@ -1,26 +1,32 @@
{
"connector": {
- "class": "org.apache.camel.kafkaconnector.aws2ddbstream.CamelAws2ddbstreamSourceConnector",
- "artifactId": "camel-aws2-ddbstream-kafka-connector",
+ "class": "org.apache.camel.kafkaconnector.hwcloudobs.CamelHwcloudobsSourceConnector",
+ "artifactId": "camel-hwcloud-obs-kafka-connector",
"groupId": "org.apache.camel.kafkaconnector",
- "id": "camel-aws2-ddbstream-source",
+ "id": "camel-hwcloud-obs-source",
"type": "source",
"version": "0.12.0-SNAPSHOT",
- "description": "Receive messages from AWS DynamoDB Stream service using AWS SDK version 2.x."
+ "description": "To provide stable, secure, efficient, and easy-to-use cloud storage service on Huawei Cloud"
},
"properties": {
- "camel.source.path.tableName": {
- "name": "camel.source.path.tableName",
- "description": "Name of the dynamodb table",
- "priority": "HIGH",
- "required": "true"
+ "camel.source.endpoint.bucketName": {
+ "name": "camel.source.endpoint.bucketName",
+ "description": "Name of bucket to perform operation on",
+ "priority": "MEDIUM",
+ "required": "false"
},
- "camel.source.endpoint.amazonDynamoDbStreamsClient": {
- "name": "camel.source.endpoint.amazonDynamoDbStreamsClient",
- "description": "Amazon DynamoDB client to use for all requests for this endpoint",
+ "camel.source.endpoint.endpoint": {
+ "name": "camel.source.endpoint.endpoint",
+ "description": "OBS url. Carries higher precedence than region parameter based client initialization",
"priority": "MEDIUM",
"required": "false"
},
+ "camel.source.endpoint.region": {
+ "name": "camel.source.endpoint.region",
+ "description": "OBS service region. This is lower precedence than endpoint based configuration",
+ "priority": "HIGH",
+ "required": "true"
+ },
"camel.source.endpoint.bridgeErrorHandler": {
"name": "camel.source.endpoint.bridgeErrorHandler",
"description": "Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions 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.",
@@ -28,91 +34,61 @@
"priority": "MEDIUM",
"required": "false"
},
- "camel.source.endpoint.iteratorType": {
- "name": "camel.source.endpoint.iteratorType",
- "description": "Defines where in the DynaboDB stream to start getting records. Note that using TRIM_HORIZON can cause a significant delay before the stream has caught up to real-time. if {AT,AFTER}_SEQUENCE_NUMBER are used, then a sequenceNumberProvider MUST be supplied. One of: [TRIM_HORIZON] [LATEST] [AT_SEQUENCE_NUMBER] [AFTER_SEQUENCE_NUMBER] [null]",
- "defaultValue": "\"LATEST\"",
- "priority": "MEDIUM",
- "required": "false",
- "enum": [
- "TRIM_HORIZON",
- "LATEST",
- "AT_SEQUENCE_NUMBER",
- "AFTER_SEQUENCE_NUMBER",
- "null"
- ]
- },
- "camel.source.endpoint.maxResultsPerRequest": {
- "name": "camel.source.endpoint.maxResultsPerRequest",
- "description": "Maximum number of records that will be fetched in each poll",
- "priority": "MEDIUM",
- "required": "false"
- },
- "camel.source.endpoint.overrideEndpoint": {
- "name": "camel.source.endpoint.overrideEndpoint",
- "description": "Set the need for overidding the endpoint. This option needs to be used in combination with uriEndpointOverride option",
+ "camel.source.endpoint.deleteAfterRead": {
+ "name": "camel.source.endpoint.deleteAfterRead",
+ "description": "Determines if objects should be deleted after it has been retrieved",
"defaultValue": "false",
"priority": "MEDIUM",
"required": "false"
},
- "camel.source.endpoint.proxyHost": {
- "name": "camel.source.endpoint.proxyHost",
- "description": "To define a proxy host when instantiating the DDBStreams client",
+ "camel.source.endpoint.delimiter": {
+ "name": "camel.source.endpoint.delimiter",
+ "description": "The character used for grouping object names",
"priority": "MEDIUM",
"required": "false"
},
- "camel.source.endpoint.proxyPort": {
- "name": "camel.source.endpoint.proxyPort",
- "description": "To define a proxy port when instantiating the DDBStreams client",
+ "camel.source.endpoint.destinationBucket": {
+ "name": "camel.source.endpoint.destinationBucket",
+ "description": "Name of destination bucket where objects will be moved when moveAfterRead is set to true",
"priority": "MEDIUM",
"required": "false"
},
- "camel.source.endpoint.proxyProtocol": {
- "name": "camel.source.endpoint.proxyProtocol",
- "description": "To define a proxy protocol when instantiating the DDBStreams client One of: [HTTP] [HTTPS]",
- "defaultValue": "\"HTTPS\"",
- "priority": "MEDIUM",
- "required": "false",
- "enum": [
- "HTTP",
- "HTTPS"
- ]
- },
- "camel.source.endpoint.region": {
- "name": "camel.source.endpoint.region",
- "description": "The region in which DDBStreams client needs to work",
+ "camel.source.endpoint.fileName": {
+ "name": "camel.source.endpoint.fileName",
+ "description": "Get the object from the bucket with the given file name",
"priority": "MEDIUM",
"required": "false"
},
- "camel.source.endpoint.sendEmptyMessageWhenIdle": {
- "name": "camel.source.endpoint.sendEmptyMessageWhenIdle",
- "description": "If the polling consumer did not poll any files, you can enable this option to send an empty message (no body) instead.",
- "defaultValue": "false",
+ "camel.source.endpoint.includeFolders": {
+ "name": "camel.source.endpoint.includeFolders",
+ "description": "If true, objects in folders will be consumed. Otherwise, they will be ignored and no Exchanges will be created for them",
+ "defaultValue": "true",
"priority": "MEDIUM",
"required": "false"
},
- "camel.source.endpoint.sequenceNumberProvider": {
- "name": "camel.source.endpoint.sequenceNumberProvider",
- "description": "Provider for the sequence number when using one of the two ShardIteratorType.{AT,AFTER}_SEQUENCE_NUMBER iterator types. Can be a registry reference or a literal sequence number.",
+ "camel.source.endpoint.maxMessagesPerPoll": {
+ "name": "camel.source.endpoint.maxMessagesPerPoll",
+ "description": "The maximum number of messages to poll at each polling",
+ "defaultValue": "10",
"priority": "MEDIUM",
"required": "false"
},
- "camel.source.endpoint.trustAllCertificates": {
- "name": "camel.source.endpoint.trustAllCertificates",
- "description": "If we want to trust all certificates in case of overriding the endpoint",
+ "camel.source.endpoint.moveAfterRead": {
+ "name": "camel.source.endpoint.moveAfterRead",
+ "description": "Determines whether objects should be moved to a different bucket after they have been retrieved. The destinationBucket option must also be set for this option to work.",
"defaultValue": "false",
"priority": "MEDIUM",
"required": "false"
},
- "camel.source.endpoint.uriEndpointOverride": {
- "name": "camel.source.endpoint.uriEndpointOverride",
- "description": "Set the overriding uri endpoint. This option needs to be used in combination with overrideEndpoint option",
+ "camel.source.endpoint.prefix": {
+ "name": "camel.source.endpoint.prefix",
+ "description": "The object name prefix used for filtering objects to be listed",
"priority": "MEDIUM",
"required": "false"
},
- "camel.source.endpoint.useDefaultCredentialsProvider": {
- "name": "camel.source.endpoint.useDefaultCredentialsProvider",
- "description": "Set whether the DynamoDB Streams client should expect to load credentials through a default credentials provider or to expect static credentials to be passed in.",
+ "camel.source.endpoint.sendEmptyMessageWhenIdle": {
+ "name": "camel.source.endpoint.sendEmptyMessageWhenIdle",
+ "description": "If the polling consumer did not poll any files, you can enable this option to send an empty message (no body) instead.",
"defaultValue": "false",
"priority": "MEDIUM",
"required": "false"
@@ -140,6 +116,30 @@
"priority": "MEDIUM",
"required": "false"
},
+ "camel.source.endpoint.proxyHost": {
+ "name": "camel.source.endpoint.proxyHost",
+ "description": "Proxy server ip\/hostname",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
+ "camel.source.endpoint.proxyPassword": {
+ "name": "camel.source.endpoint.proxyPassword",
+ "description": "Proxy authentication password",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
+ "camel.source.endpoint.proxyPort": {
+ "name": "camel.source.endpoint.proxyPort",
+ "description": "Proxy server port",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
+ "camel.source.endpoint.proxyUser": {
+ "name": "camel.source.endpoint.proxyUser",
+ "description": "Proxy authentication user",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
"camel.source.endpoint.backoffErrorThreshold": {
"name": "camel.source.endpoint.backoffErrorThreshold",
"description": "The number of subsequent error polls (failed due some error) that should happen before the backoffMultipler should kick-in.",
@@ -252,135 +252,42 @@
},
"camel.source.endpoint.accessKey": {
"name": "camel.source.endpoint.accessKey",
- "description": "Amazon AWS Access Key",
+ "description": "Access key for the cloud user",
+ "priority": "HIGH",
+ "required": "true"
+ },
+ "camel.source.endpoint.ignoreSslVerification": {
+ "name": "camel.source.endpoint.ignoreSslVerification",
+ "description": "Ignore SSL verification",
+ "defaultValue": "false",
"priority": "MEDIUM",
"required": "false"
},
"camel.source.endpoint.secretKey": {
"name": "camel.source.endpoint.secretKey",
- "description": "Amazon AWS Secret Key",
- "priority": "MEDIUM",
- "required": "false"
+ "description": "Secret key for the cloud user",
+ "priority": "HIGH",
+ "required": "true"
},
- "camel.component.aws2-ddbstream.amazonDynamoDbStreamsClient": {
- "name": "camel.component.aws2-ddbstream.amazonDynamoDbStreamsClient",
- "description": "Amazon DynamoDB client to use for all requests for this endpoint",
+ "camel.source.endpoint.serviceKeys": {
+ "name": "camel.source.endpoint.serviceKeys",
+ "description": "Configuration object for cloud service authentication",
"priority": "MEDIUM",
"required": "false"
},
- "camel.component.aws2-ddbstream.bridgeErrorHandler": {
- "name": "camel.component.aws2-ddbstream.bridgeErrorHandler",
+ "camel.component.hwcloud-obs.bridgeErrorHandler": {
+ "name": "camel.component.hwcloud-obs.bridgeErrorHandler",
"description": "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.",
"defaultValue": "false",
"priority": "MEDIUM",
"required": "false"
},
- "camel.component.aws2-ddbstream.configuration": {
- "name": "camel.component.aws2-ddbstream.configuration",
- "description": "The component configuration",
- "priority": "MEDIUM",
- "required": "false"
- },
- "camel.component.aws2-ddbstream.iteratorType": {
- "name": "camel.component.aws2-ddbstream.iteratorType",
- "description": "Defines where in the DynaboDB stream to start getting records. Note that using TRIM_HORIZON can cause a significant delay before the stream has caught up to real-time. if {AT,AFTER}_SEQUENCE_NUMBER are used, then a sequenceNumberProvider MUST be supplied. One of: [TRIM_HORIZON] [LATEST] [AT_SEQUENCE_NUMBER] [AFTER_SEQUENCE_NUMBER] [null]",
- "defaultValue": "\"LATEST\"",
- "priority": "MEDIUM",
- "required": "false",
- "enum": [
- "TRIM_HORIZON",
- "LATEST",
- "AT_SEQUENCE_NUMBER",
- "AFTER_SEQUENCE_NUMBER",
- "null"
- ]
- },
- "camel.component.aws2-ddbstream.maxResultsPerRequest": {
- "name": "camel.component.aws2-ddbstream.maxResultsPerRequest",
- "description": "Maximum number of records that will be fetched in each poll",
- "priority": "MEDIUM",
- "required": "false"
- },
- "camel.component.aws2-ddbstream.overrideEndpoint": {
- "name": "camel.component.aws2-ddbstream.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.aws2-ddbstream.proxyHost": {
- "name": "camel.component.aws2-ddbstream.proxyHost",
- "description": "To define a proxy host when instantiating the DDBStreams client",
- "priority": "MEDIUM",
- "required": "false"
- },
- "camel.component.aws2-ddbstream.proxyPort": {
- "name": "camel.component.aws2-ddbstream.proxyPort",
- "description": "To define a proxy port when instantiating the DDBStreams client",
- "priority": "MEDIUM",
- "required": "false"
- },
- "camel.component.aws2-ddbstream.proxyProtocol": {
- "name": "camel.component.aws2-ddbstream.proxyProtocol",
- "description": "To define a proxy protocol when instantiating the DDBStreams client One of: [HTTP] [HTTPS]",
- "defaultValue": "\"HTTPS\"",
- "priority": "MEDIUM",
- "required": "false",
- "enum": [
- "HTTP",
- "HTTPS"
- ]
- },
- "camel.component.aws2-ddbstream.region": {
- "name": "camel.component.aws2-ddbstream.region",
- "description": "The region in which DDBStreams client needs to work",
- "priority": "MEDIUM",
- "required": "false"
- },
- "camel.component.aws2-ddbstream.sequenceNumberProvider": {
- "name": "camel.component.aws2-ddbstream.sequenceNumberProvider",
- "description": "Provider for the sequence number when using one of the two ShardIteratorType.{AT,AFTER}_SEQUENCE_NUMBER iterator types. Can be a registry reference or a literal sequence number.",
- "priority": "MEDIUM",
- "required": "false"
- },
- "camel.component.aws2-ddbstream.trustAllCertificates": {
- "name": "camel.component.aws2-ddbstream.trustAllCertificates",
- "description": "If we want to trust all certificates in case of overriding the endpoint",
- "defaultValue": "false",
- "priority": "MEDIUM",
- "required": "false"
- },
- "camel.component.aws2-ddbstream.uriEndpointOverride": {
- "name": "camel.component.aws2-ddbstream.uriEndpointOverride",
- "description": "Set the overriding uri endpoint. This option needs to be used in combination with overrideEndpoint option",
- "priority": "MEDIUM",
- "required": "false"
- },
- "camel.component.aws2-ddbstream.useDefaultCredentialsProvider": {
- "name": "camel.component.aws2-ddbstream.useDefaultCredentialsProvider",
- "description": "Set whether the DynamoDB Streams client should expect to load credentials through a default credentials provider or to expect static credentials to be passed in.",
- "defaultValue": "false",
- "priority": "MEDIUM",
- "required": "false"
- },
- "camel.component.aws2-ddbstream.autowiredEnabled": {
- "name": "camel.component.aws2-ddbstream.autowiredEnabled",
+ "camel.component.hwcloud-obs.autowiredEnabled": {
+ "name": "camel.component.hwcloud-obs.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.aws2-ddbstream.accessKey": {
- "name": "camel.component.aws2-ddbstream.accessKey",
- "description": "Amazon AWS Access Key",
- "priority": "MEDIUM",
- "required": "false"
- },
- "camel.component.aws2-ddbstream.secretKey": {
- "name": "camel.component.aws2-ddbstream.secretKey",
- "description": "Amazon AWS Secret Key",
- "priority": "MEDIUM",
- "required": "false"
}
}
-}
\ No newline at end of file
+}
diff --git a/connectors/camel-hwcloud-obs-kafka-connector/src/main/assembly/package.xml b/connectors/camel-hwcloud-obs-kafka-connector/src/main/assembly/package.xml
new file mode 100644
index 0000000..05f0b1a
--- /dev/null
+++ b/connectors/camel-hwcloud-obs-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/docs/modules/ROOT/pages/reference/connectors/camel-hwcloud-iam-kafka-sink-connector.adoc b/connectors/camel-hwcloud-obs-kafka-connector/src/main/docs/camel-hwcloud-obs-kafka-sink-connector.adoc
similarity index 67%
copy from docs/modules/ROOT/pages/reference/connectors/camel-hwcloud-iam-kafka-sink-connector.adoc
copy to connectors/camel-hwcloud-obs-kafka-connector/src/main/docs/camel-hwcloud-obs-kafka-sink-connector.adoc
index 149d96b..0899c0c 100644
--- a/docs/modules/ROOT/pages/reference/connectors/camel-hwcloud-iam-kafka-sink-connector.adoc
+++ b/connectors/camel-hwcloud-obs-kafka-connector/src/main/docs/camel-hwcloud-obs-kafka-sink-connector.adoc
@@ -1,16 +1,16 @@
// kafka-connector options: START
-[[camel-hwcloud-iam-kafka-connector-sink]]
-= camel-hwcloud-iam-kafka-connector sink configuration
+[[camel-hwcloud-obs-kafka-connector-sink]]
+= camel-hwcloud-obs-kafka-connector sink configuration
-Connector Description: To securely manage users on Huawei Cloud
+Connector Description: To provide stable, secure, efficient, and easy-to-use cloud storage service on Huawei Cloud
-When using camel-hwcloud-iam-kafka-connector as sink make sure to use the following Maven dependency to have support for the connector:
+When using camel-hwcloud-obs-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-hwcloud-iam-kafka-connector</artifactId>
+ <artifactId>camel-hwcloud-obs-kafka-connector</artifactId>
<version>x.x.x</version>
<!-- use the same version as your Camel Kafka connector version -->
</dependency>
@@ -20,11 +20,11 @@ To use this Sink connector in Kafka connect you'll need to set the following con
[source,java]
----
-connector.class=org.apache.camel.kafkaconnector.hwcloudiam.CamelHwcloudiamSinkConnector
+connector.class=org.apache.camel.kafkaconnector.hwcloudobs.CamelHwcloudobsSinkConnector
----
-The camel-hwcloud-iam sink connector supports 15 options, which are listed below.
+The camel-hwcloud-obs sink connector supports 16 options, which are listed below.
@@ -32,37 +32,38 @@ The camel-hwcloud-iam sink connector supports 15 options, which are listed below
|===
| Name | Description | Default | Required | Priority
| *camel.sink.path.operation* | Operation to be performed | null | true | HIGH
-| *camel.sink.endpoint.authenticationKey* | Authentication key for the cloud user | null | true | HIGH
-| *camel.sink.endpoint.groupId* | Group ID to perform operation with | null | false | MEDIUM
-| *camel.sink.endpoint.ignoreSslVerification* | Ignore SSL verification | false | false | MEDIUM
+| *camel.sink.endpoint.bucketName* | Name of bucket to perform operation on | null | false | MEDIUM
+| *camel.sink.endpoint.endpoint* | OBS url. Carries higher precedence than region parameter based client initialization | null | false | MEDIUM
+| *camel.sink.endpoint.region* | OBS service region. This is lower precedence than endpoint based configuration | null | true | HIGH
+| *camel.sink.endpoint.bucketLocation* | Location of bucket when creating a new bucket | null | false | MEDIUM
| *camel.sink.endpoint.lazyStartProducer* | Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then cre [...]
| *camel.sink.endpoint.proxyHost* | Proxy server ip/hostname | null | false | MEDIUM
| *camel.sink.endpoint.proxyPassword* | Proxy authentication password | null | false | MEDIUM
| *camel.sink.endpoint.proxyPort* | Proxy server port | null | false | MEDIUM
| *camel.sink.endpoint.proxyUser* | Proxy authentication user | null | false | MEDIUM
-| *camel.sink.endpoint.region* | IAM service region | null | true | HIGH
+| *camel.sink.endpoint.accessKey* | Access key for the cloud user | null | true | HIGH
+| *camel.sink.endpoint.ignoreSslVerification* | Ignore SSL verification | false | false | MEDIUM
| *camel.sink.endpoint.secretKey* | Secret key for the cloud user | null | true | HIGH
| *camel.sink.endpoint.serviceKeys* | Configuration object for cloud service authentication | null | false | MEDIUM
-| *camel.sink.endpoint.userId* | User ID to perform operation with | null | false | MEDIUM
-| *camel.component.hwcloud-iam.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 [...]
-| *camel.component.hwcloud-iam.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.hwcloud-obs.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 [...]
+| *camel.component.hwcloud-obs.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
|===
-The camel-hwcloud-iam sink connector has no converters out of the box.
+The camel-hwcloud-obs sink connector has no converters out of the box.
-The camel-hwcloud-iam sink connector has no transforms out of the box.
+The camel-hwcloud-obs sink connector has no transforms out of the box.
-The camel-hwcloud-iam sink connector has no aggregation strategies out of the box.
+The camel-hwcloud-obs sink connector has no aggregation strategies out of the box.
diff --git a/connectors/camel-hwcloud-obs-kafka-connector/src/main/docs/camel-hwcloud-obs-kafka-source-connector.adoc b/connectors/camel-hwcloud-obs-kafka-connector/src/main/docs/camel-hwcloud-obs-kafka-source-connector.adoc
new file mode 100644
index 0000000..bdfd3bd
--- /dev/null
+++ b/connectors/camel-hwcloud-obs-kafka-connector/src/main/docs/camel-hwcloud-obs-kafka-source-connector.adoc
@@ -0,0 +1,95 @@
+// kafka-connector options: START
+[[camel-hwcloud-obs-kafka-connector-source]]
+= camel-hwcloud-obs-kafka-connector source configuration
+
+Connector description: To provide stable, secure, efficient, and easy-to-use cloud storage service on Huawei Cloud
+
+When using camel-hwcloud-obs-kafka-connector as source 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-hwcloud-obs-kafka-connector</artifactId>
+ <version>x.x.x</version>
+ <!-- use the same version as your Camel Kafka connector version -->
+</dependency>
+----
+
+To use this Source connector in Kafka connect you'll need to set the following connector.class
+
+[source,java]
+----
+connector.class=org.apache.camel.kafkaconnector.hwcloudobs.CamelHwcloudobsSourceConnector
+----
+
+
+The camel-hwcloud-obs source connector supports 40 options, which are listed below.
+
+
+
+[width="100%",cols="2,5,^1,1,1",options="header"]
+|===
+| Name | Description | Default | Required | Priority
+| *camel.source.endpoint.bucketName* | Name of bucket to perform operation on | null | false | MEDIUM
+| *camel.source.endpoint.endpoint* | OBS url. Carries higher precedence than region parameter based client initialization | null | false | MEDIUM
+| *camel.source.endpoint.region* | OBS service region. This is lower precedence than endpoint based configuration | null | true | HIGH
+| *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.deleteAfterRead* | Determines if objects should be deleted after it has been retrieved | false | false | MEDIUM
+| *camel.source.endpoint.delimiter* | The character used for grouping object names | null | false | MEDIUM
+| *camel.source.endpoint.destinationBucket* | Name of destination bucket where objects will be moved when moveAfterRead is set to true | null | false | MEDIUM
+| *camel.source.endpoint.fileName* | Get the object from the bucket with the given file name | null | false | MEDIUM
+| *camel.source.endpoint.includeFolders* | If true, objects in folders will be consumed. Otherwise, they will be ignored and no Exchanges will be created for them | true | false | MEDIUM
+| *camel.source.endpoint.maxMessagesPerPoll* | The maximum number of messages to poll at each polling | 10 | false | MEDIUM
+| *camel.source.endpoint.moveAfterRead* | Determines whether objects should be moved to a different bucket after they have been retrieved. The destinationBucket option must also be set for this option to work. | false | false | MEDIUM
+| *camel.source.endpoint.prefix* | The object name prefix used for filtering objects to be listed | null | 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
+| *camel.source.endpoint.exceptionHandler* | To let the consumer use a custom ExceptionHandler. Notice if the option bridgeErrorHandler is enabled then this option is not in use. By default the consumer will deal with exceptions, that will be logged at WARN or ERROR level and ignored. | null | false | MEDIUM
+| *camel.source.endpoint.exchangePattern* | Sets the exchange pattern when the consumer creates an exchange. One of: [InOnly] [InOut] [InOptionalOut] | null | false | MEDIUM
+| *camel.source.endpoint.pollStrategy* | A pluggable org.apache.camel.PollingConsumerPollingStrategy allowing you to provide your custom implementation to control error handling usually occurred during the poll operation before an Exchange have been created and being routed in Camel. | null | false | MEDIUM
+| *camel.source.endpoint.proxyHost* | Proxy server ip/hostname | null | false | MEDIUM
+| *camel.source.endpoint.proxyPassword* | Proxy authentication password | null | false | MEDIUM
+| *camel.source.endpoint.proxyPort* | Proxy server port | null | false | MEDIUM
+| *camel.source.endpoint.proxyUser* | Proxy authentication user | null | false | MEDIUM
+| *camel.source.endpoint.backoffErrorThreshold* | The number of subsequent error polls (failed due some error) that should happen before the backoffMultipler should kick-in. | null | false | MEDIUM
+| *camel.source.endpoint.backoffIdleThreshold* | The number of subsequent idle polls that should happen before the backoffMultipler should kick-in. | null | false | MEDIUM
+| *camel.source.endpoint.backoffMultiplier* | To let the scheduled polling consumer backoff if there has been a number of subsequent idles/errors in a row. The multiplier is then the number of polls that will be skipped before the next actual attempt is happening again. When this option is in use then backoffIdleThreshold and/or backoffErrorThreshold must also be configured. | null | false | MEDIUM
+| *camel.source.endpoint.delay* | Milliseconds before the next poll. | 500L | false | MEDIUM
+| *camel.source.endpoint.greedy* | If greedy is enabled, then the ScheduledPollConsumer will run immediately again, if the previous run polled 1 or more messages. | false | false | MEDIUM
+| *camel.source.endpoint.initialDelay* | Milliseconds before the first poll starts. | 1000L | false | MEDIUM
+| *camel.source.endpoint.repeatCount* | Specifies a maximum limit of number of fires. So if you set it to 1, the scheduler will only fire once. If you set it to 5, it will only fire five times. A value of zero or negative means fire forever. | 0L | false | MEDIUM
+| *camel.source.endpoint.runLoggingLevel* | The consumer logs a start/complete log line when it polls. This option allows you to configure the logging level for that. One of: [TRACE] [DEBUG] [INFO] [WARN] [ERROR] [OFF] | "TRACE" | false | MEDIUM
+| *camel.source.endpoint.scheduledExecutorService* | Allows for configuring a custom/shared thread pool to use for the consumer. By default each consumer has its own single threaded thread pool. | null | false | MEDIUM
+| *camel.source.endpoint.scheduler* | To use a cron scheduler from either camel-spring or camel-quartz component. Use value spring or quartz for built in scheduler | "none" | false | MEDIUM
+| *camel.source.endpoint.schedulerProperties* | To configure additional properties when using a custom scheduler or any of the Quartz, Spring based scheduler. | null | false | MEDIUM
+| *camel.source.endpoint.startScheduler* | Whether the scheduler should be auto started. | true | false | MEDIUM
+| *camel.source.endpoint.timeUnit* | Time unit for initialDelay and delay options. One of: [NANOSECONDS] [MICROSECONDS] [MILLISECONDS] [SECONDS] [MINUTES] [HOURS] [DAYS] | "MILLISECONDS" | false | MEDIUM
+| *camel.source.endpoint.useFixedDelay* | Controls if fixed delay or fixed rate is used. See ScheduledExecutorService in JDK for details. | true | false | MEDIUM
+| *camel.source.endpoint.accessKey* | Access key for the cloud user | null | true | HIGH
+| *camel.source.endpoint.ignoreSslVerification* | Ignore SSL verification | false | false | MEDIUM
+| *camel.source.endpoint.secretKey* | Secret key for the cloud user | null | true | HIGH
+| *camel.source.endpoint.serviceKeys* | Configuration object for cloud service authentication | null | false | MEDIUM
+| *camel.component.hwcloud-obs.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.component.hwcloud-obs.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
+|===
+
+
+
+The camel-hwcloud-obs source connector has no converters out of the box.
+
+
+
+
+
+The camel-hwcloud-obs source connector has no transforms out of the box.
+
+
+
+
+
+The camel-hwcloud-obs source connector has no aggregation strategies out of the box.
+
+
+
+
+// kafka-connector options: END
diff --git a/connectors/camel-hwcloud-iam-kafka-connector/src/main/docs/examples/CamelHwcloudiamSinkConnector.properties b/connectors/camel-hwcloud-obs-kafka-connector/src/main/docs/examples/CamelHwcloudobsSinkConnector.properties
similarity index 84%
copy from connectors/camel-hwcloud-iam-kafka-connector/src/main/docs/examples/CamelHwcloudiamSinkConnector.properties
copy to connectors/camel-hwcloud-obs-kafka-connector/src/main/docs/examples/CamelHwcloudobsSinkConnector.properties
index de8af99..f257689 100644
--- a/connectors/camel-hwcloud-iam-kafka-connector/src/main/docs/examples/CamelHwcloudiamSinkConnector.properties
+++ b/connectors/camel-hwcloud-obs-kafka-connector/src/main/docs/examples/CamelHwcloudobsSinkConnector.properties
@@ -15,8 +15,8 @@
## limitations under the License.
## ---------------------------------------------------------------------------
-name=CamelHwcloud-iamSinkConnector
-connector.class=org.apache.camel.kafkaconnector.hwcloudiam.CamelHwcloudiamSinkConnector
+name=CamelHwcloud-obsSinkConnector
+connector.class=org.apache.camel.kafkaconnector.hwcloudobs.CamelHwcloudobsSinkConnector
tasks.max=1
# use the kafka converters that better suit your needs, these are just defaults:
@@ -28,9 +28,9 @@ topics=
# mandatory properties (for a complete properties list see the connector documentation):
-# Authentication key for the cloud user
-camel.sink.endpoint.authenticationKey=
-# IAM service region
+# Access key for the cloud user
+camel.sink.endpoint.accessKey=
+# OBS service region. This is lower precedence than endpoint based configuration
camel.sink.endpoint.region=
# Secret key for the cloud user
camel.sink.endpoint.secretKey=
diff --git a/connectors/camel-google-sheets-stream-kafka-connector/src/main/docs/examples/CamelGooglesheetsstreamSourceConnector.properties b/connectors/camel-hwcloud-obs-kafka-connector/src/main/docs/examples/CamelHwcloudobsSourceConnector.properties
similarity index 78%
copy from connectors/camel-google-sheets-stream-kafka-connector/src/main/docs/examples/CamelGooglesheetsstreamSourceConnector.properties
copy to connectors/camel-hwcloud-obs-kafka-connector/src/main/docs/examples/CamelHwcloudobsSourceConnector.properties
index d1bbcaa..3ba6b33 100644
--- a/connectors/camel-google-sheets-stream-kafka-connector/src/main/docs/examples/CamelGooglesheetsstreamSourceConnector.properties
+++ b/connectors/camel-hwcloud-obs-kafka-connector/src/main/docs/examples/CamelHwcloudobsSourceConnector.properties
@@ -15,8 +15,8 @@
## limitations under the License.
## ---------------------------------------------------------------------------
-name=CamelGoogle-sheets-streamSourceConnector
-connector.class=org.apache.camel.kafkaconnector.googlesheetsstream.CamelGooglesheetsstreamSourceConnector
+name=CamelHwcloud-obsSourceConnector
+connector.class=org.apache.camel.kafkaconnector.hwcloudobs.CamelHwcloudobsSourceConnector
tasks.max=1
# use the kafka converters that better suit your needs, these are just defaults:
@@ -28,6 +28,10 @@ topics=
# mandatory properties (for a complete properties list see the connector documentation):
-# Sets the apiName.
-camel.source.path.apiName=
+# Access key for the cloud user
+camel.source.endpoint.accessKey=
+# OBS service region. This is lower precedence than endpoint based configuration
+camel.source.endpoint.region=
+# Secret key for the cloud user
+camel.source.endpoint.secretKey=
diff --git a/connectors/camel-hwcloud-obs-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/hwcloudobs/CamelHwcloudobsSinkConnector.java b/connectors/camel-hwcloud-obs-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/hwcloudobs/CamelHwcloudobsSinkConnector.java
new file mode 100644
index 0000000..29d6b45
--- /dev/null
+++ b/connectors/camel-hwcloud-obs-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/hwcloudobs/CamelHwcloudobsSinkConnector.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.hwcloudobs;
+
+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 CamelHwcloudobsSinkConnector extends CamelSinkConnector {
+
+ @Override
+ public ConfigDef config() {
+ return CamelHwcloudobsSinkConnectorConfig.conf();
+ }
+ @Override
+ public Class<? extends Task> taskClass() {
+ return CamelHwcloudobsSinkTask.class;
+ }
+}
\ No newline at end of file
diff --git a/connectors/camel-hwcloud-obs-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/hwcloudobs/CamelHwcloudobsSinkConnectorConfig.java b/connectors/camel-hwcloud-obs-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/hwcloudobs/CamelHwcloudobsSinkConnectorConfig.java
new file mode 100644
index 0000000..90ef0bf
--- /dev/null
+++ b/connectors/camel-hwcloud-obs-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/hwcloudobs/CamelHwcloudobsSinkConnectorConfig.java
@@ -0,0 +1,108 @@
+/*
+ * 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.hwcloudobs;
+
+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 CamelHwcloudobsSinkConnectorConfig
+ extends
+ CamelSinkConnectorConfig {
+
+ public static final String CAMEL_SINK_HWCLOUDOBS_PATH_OPERATION_CONF = "camel.sink.path.operation";
+ public static final String CAMEL_SINK_HWCLOUDOBS_PATH_OPERATION_DOC = "Operation to be performed";
+ public static final String CAMEL_SINK_HWCLOUDOBS_PATH_OPERATION_DEFAULT = null;
+ public static final String CAMEL_SINK_HWCLOUDOBS_ENDPOINT_BUCKET_NAME_CONF = "camel.sink.endpoint.bucketName";
+ public static final String CAMEL_SINK_HWCLOUDOBS_ENDPOINT_BUCKET_NAME_DOC = "Name of bucket to perform operation on";
+ public static final String CAMEL_SINK_HWCLOUDOBS_ENDPOINT_BUCKET_NAME_DEFAULT = null;
+ public static final String CAMEL_SINK_HWCLOUDOBS_ENDPOINT_ENDPOINT_CONF = "camel.sink.endpoint.endpoint";
+ public static final String CAMEL_SINK_HWCLOUDOBS_ENDPOINT_ENDPOINT_DOC = "OBS url. Carries higher precedence than region parameter based client initialization";
+ public static final String CAMEL_SINK_HWCLOUDOBS_ENDPOINT_ENDPOINT_DEFAULT = null;
+ public static final String CAMEL_SINK_HWCLOUDOBS_ENDPOINT_REGION_CONF = "camel.sink.endpoint.region";
+ public static final String CAMEL_SINK_HWCLOUDOBS_ENDPOINT_REGION_DOC = "OBS service region. This is lower precedence than endpoint based configuration";
+ public static final String CAMEL_SINK_HWCLOUDOBS_ENDPOINT_REGION_DEFAULT = null;
+ public static final String CAMEL_SINK_HWCLOUDOBS_ENDPOINT_BUCKET_LOCATION_CONF = "camel.sink.endpoint.bucketLocation";
+ public static final String CAMEL_SINK_HWCLOUDOBS_ENDPOINT_BUCKET_LOCATION_DOC = "Location of bucket when creating a new bucket";
+ public static final String CAMEL_SINK_HWCLOUDOBS_ENDPOINT_BUCKET_LOCATION_DEFAULT = null;
+ public static final String CAMEL_SINK_HWCLOUDOBS_ENDPOINT_LAZY_START_PRODUCER_CONF = "camel.sink.endpoint.lazyStartProducer";
+ public static final String CAMEL_SINK_HWCLOUDOBS_ENDPOINT_LAZY_START_PRODUCER_DOC = "Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that [...]
+ public static final Boolean CAMEL_SINK_HWCLOUDOBS_ENDPOINT_LAZY_START_PRODUCER_DEFAULT = false;
+ public static final String CAMEL_SINK_HWCLOUDOBS_ENDPOINT_PROXY_HOST_CONF = "camel.sink.endpoint.proxyHost";
+ public static final String CAMEL_SINK_HWCLOUDOBS_ENDPOINT_PROXY_HOST_DOC = "Proxy server ip/hostname";
+ public static final String CAMEL_SINK_HWCLOUDOBS_ENDPOINT_PROXY_HOST_DEFAULT = null;
+ public static final String CAMEL_SINK_HWCLOUDOBS_ENDPOINT_PROXY_PASSWORD_CONF = "camel.sink.endpoint.proxyPassword";
+ public static final String CAMEL_SINK_HWCLOUDOBS_ENDPOINT_PROXY_PASSWORD_DOC = "Proxy authentication password";
+ public static final String CAMEL_SINK_HWCLOUDOBS_ENDPOINT_PROXY_PASSWORD_DEFAULT = null;
+ public static final String CAMEL_SINK_HWCLOUDOBS_ENDPOINT_PROXY_PORT_CONF = "camel.sink.endpoint.proxyPort";
+ public static final String CAMEL_SINK_HWCLOUDOBS_ENDPOINT_PROXY_PORT_DOC = "Proxy server port";
+ public static final Integer CAMEL_SINK_HWCLOUDOBS_ENDPOINT_PROXY_PORT_DEFAULT = null;
+ public static final String CAMEL_SINK_HWCLOUDOBS_ENDPOINT_PROXY_USER_CONF = "camel.sink.endpoint.proxyUser";
+ public static final String CAMEL_SINK_HWCLOUDOBS_ENDPOINT_PROXY_USER_DOC = "Proxy authentication user";
+ public static final String CAMEL_SINK_HWCLOUDOBS_ENDPOINT_PROXY_USER_DEFAULT = null;
+ public static final String CAMEL_SINK_HWCLOUDOBS_ENDPOINT_ACCESS_KEY_CONF = "camel.sink.endpoint.accessKey";
+ public static final String CAMEL_SINK_HWCLOUDOBS_ENDPOINT_ACCESS_KEY_DOC = "Access key for the cloud user";
+ public static final String CAMEL_SINK_HWCLOUDOBS_ENDPOINT_ACCESS_KEY_DEFAULT = null;
+ public static final String CAMEL_SINK_HWCLOUDOBS_ENDPOINT_IGNORE_SSL_VERIFICATION_CONF = "camel.sink.endpoint.ignoreSslVerification";
+ public static final String CAMEL_SINK_HWCLOUDOBS_ENDPOINT_IGNORE_SSL_VERIFICATION_DOC = "Ignore SSL verification";
+ public static final Boolean CAMEL_SINK_HWCLOUDOBS_ENDPOINT_IGNORE_SSL_VERIFICATION_DEFAULT = false;
+ public static final String CAMEL_SINK_HWCLOUDOBS_ENDPOINT_SECRET_KEY_CONF = "camel.sink.endpoint.secretKey";
+ public static final String CAMEL_SINK_HWCLOUDOBS_ENDPOINT_SECRET_KEY_DOC = "Secret key for the cloud user";
+ public static final String CAMEL_SINK_HWCLOUDOBS_ENDPOINT_SECRET_KEY_DEFAULT = null;
+ public static final String CAMEL_SINK_HWCLOUDOBS_ENDPOINT_SERVICE_KEYS_CONF = "camel.sink.endpoint.serviceKeys";
+ public static final String CAMEL_SINK_HWCLOUDOBS_ENDPOINT_SERVICE_KEYS_DOC = "Configuration object for cloud service authentication";
+ public static final String CAMEL_SINK_HWCLOUDOBS_ENDPOINT_SERVICE_KEYS_DEFAULT = null;
+ public static final String CAMEL_SINK_HWCLOUDOBS_COMPONENT_LAZY_START_PRODUCER_CONF = "camel.component.hwcloud-obs.lazyStartProducer";
+ public static final String CAMEL_SINK_HWCLOUDOBS_COMPONENT_LAZY_START_PRODUCER_DOC = "Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware tha [...]
+ public static final Boolean CAMEL_SINK_HWCLOUDOBS_COMPONENT_LAZY_START_PRODUCER_DEFAULT = false;
+ public static final String CAMEL_SINK_HWCLOUDOBS_COMPONENT_AUTOWIRED_ENABLED_CONF = "camel.component.hwcloud-obs.autowiredEnabled";
+ public static final String CAMEL_SINK_HWCLOUDOBS_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_HWCLOUDOBS_COMPONENT_AUTOWIRED_ENABLED_DEFAULT = true;
+
+ public CamelHwcloudobsSinkConnectorConfig(
+ ConfigDef config,
+ Map<String, String> parsedConfig) {
+ super(config, parsedConfig);
+ }
+
+ public CamelHwcloudobsSinkConnectorConfig(Map<String, String> parsedConfig) {
+ this(conf(), parsedConfig);
+ }
+
+ public static ConfigDef conf() {
+ ConfigDef conf = new ConfigDef(CamelSinkConnectorConfig.conf());
+ conf.define(CAMEL_SINK_HWCLOUDOBS_PATH_OPERATION_CONF, ConfigDef.Type.STRING, CAMEL_SINK_HWCLOUDOBS_PATH_OPERATION_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_HWCLOUDOBS_PATH_OPERATION_DOC);
+ conf.define(CAMEL_SINK_HWCLOUDOBS_ENDPOINT_BUCKET_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SINK_HWCLOUDOBS_ENDPOINT_BUCKET_NAME_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HWCLOUDOBS_ENDPOINT_BUCKET_NAME_DOC);
+ conf.define(CAMEL_SINK_HWCLOUDOBS_ENDPOINT_ENDPOINT_CONF, ConfigDef.Type.STRING, CAMEL_SINK_HWCLOUDOBS_ENDPOINT_ENDPOINT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HWCLOUDOBS_ENDPOINT_ENDPOINT_DOC);
+ conf.define(CAMEL_SINK_HWCLOUDOBS_ENDPOINT_REGION_CONF, ConfigDef.Type.STRING, CAMEL_SINK_HWCLOUDOBS_ENDPOINT_REGION_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_HWCLOUDOBS_ENDPOINT_REGION_DOC);
+ conf.define(CAMEL_SINK_HWCLOUDOBS_ENDPOINT_BUCKET_LOCATION_CONF, ConfigDef.Type.STRING, CAMEL_SINK_HWCLOUDOBS_ENDPOINT_BUCKET_LOCATION_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HWCLOUDOBS_ENDPOINT_BUCKET_LOCATION_DOC);
+ conf.define(CAMEL_SINK_HWCLOUDOBS_ENDPOINT_LAZY_START_PRODUCER_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_HWCLOUDOBS_ENDPOINT_LAZY_START_PRODUCER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HWCLOUDOBS_ENDPOINT_LAZY_START_PRODUCER_DOC);
+ conf.define(CAMEL_SINK_HWCLOUDOBS_ENDPOINT_PROXY_HOST_CONF, ConfigDef.Type.STRING, CAMEL_SINK_HWCLOUDOBS_ENDPOINT_PROXY_HOST_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HWCLOUDOBS_ENDPOINT_PROXY_HOST_DOC);
+ conf.define(CAMEL_SINK_HWCLOUDOBS_ENDPOINT_PROXY_PASSWORD_CONF, ConfigDef.Type.PASSWORD, CAMEL_SINK_HWCLOUDOBS_ENDPOINT_PROXY_PASSWORD_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HWCLOUDOBS_ENDPOINT_PROXY_PASSWORD_DOC);
+ conf.define(CAMEL_SINK_HWCLOUDOBS_ENDPOINT_PROXY_PORT_CONF, ConfigDef.Type.INT, CAMEL_SINK_HWCLOUDOBS_ENDPOINT_PROXY_PORT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HWCLOUDOBS_ENDPOINT_PROXY_PORT_DOC);
+ conf.define(CAMEL_SINK_HWCLOUDOBS_ENDPOINT_PROXY_USER_CONF, ConfigDef.Type.PASSWORD, CAMEL_SINK_HWCLOUDOBS_ENDPOINT_PROXY_USER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HWCLOUDOBS_ENDPOINT_PROXY_USER_DOC);
+ conf.define(CAMEL_SINK_HWCLOUDOBS_ENDPOINT_ACCESS_KEY_CONF, ConfigDef.Type.PASSWORD, CAMEL_SINK_HWCLOUDOBS_ENDPOINT_ACCESS_KEY_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_HWCLOUDOBS_ENDPOINT_ACCESS_KEY_DOC);
+ conf.define(CAMEL_SINK_HWCLOUDOBS_ENDPOINT_IGNORE_SSL_VERIFICATION_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_HWCLOUDOBS_ENDPOINT_IGNORE_SSL_VERIFICATION_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HWCLOUDOBS_ENDPOINT_IGNORE_SSL_VERIFICATION_DOC);
+ conf.define(CAMEL_SINK_HWCLOUDOBS_ENDPOINT_SECRET_KEY_CONF, ConfigDef.Type.PASSWORD, CAMEL_SINK_HWCLOUDOBS_ENDPOINT_SECRET_KEY_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_HWCLOUDOBS_ENDPOINT_SECRET_KEY_DOC);
+ conf.define(CAMEL_SINK_HWCLOUDOBS_ENDPOINT_SERVICE_KEYS_CONF, ConfigDef.Type.PASSWORD, CAMEL_SINK_HWCLOUDOBS_ENDPOINT_SERVICE_KEYS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HWCLOUDOBS_ENDPOINT_SERVICE_KEYS_DOC);
+ conf.define(CAMEL_SINK_HWCLOUDOBS_COMPONENT_LAZY_START_PRODUCER_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_HWCLOUDOBS_COMPONENT_LAZY_START_PRODUCER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HWCLOUDOBS_COMPONENT_LAZY_START_PRODUCER_DOC);
+ conf.define(CAMEL_SINK_HWCLOUDOBS_COMPONENT_AUTOWIRED_ENABLED_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_HWCLOUDOBS_COMPONENT_AUTOWIRED_ENABLED_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HWCLOUDOBS_COMPONENT_AUTOWIRED_ENABLED_DOC);
+ return conf;
+ }
+}
\ No newline at end of file
diff --git a/connectors/camel-hwcloud-obs-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/hwcloudobs/CamelHwcloudobsSinkTask.java b/connectors/camel-hwcloud-obs-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/hwcloudobs/CamelHwcloudobsSinkTask.java
new file mode 100644
index 0000000..c619c12
--- /dev/null
+++ b/connectors/camel-hwcloud-obs-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/hwcloudobs/CamelHwcloudobsSinkTask.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.hwcloudobs;
+
+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 CamelHwcloudobsSinkTask extends CamelSinkTask {
+
+ @Override
+ protected CamelSinkConnectorConfig getCamelSinkConnectorConfig(
+ Map<String, String> props) {
+ return new CamelHwcloudobsSinkConnectorConfig(props);
+ }
+ @Override
+ protected Map<String, String> getDefaultConfig() {
+ return new HashMap<String, String>() {{
+ put(CamelSinkConnectorConfig.CAMEL_SINK_COMPONENT_CONF, "hwcloud-obs");
+ }};
+ }
+}
\ No newline at end of file
diff --git a/connectors/camel-hwcloud-obs-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/hwcloudobs/CamelHwcloudobsSourceConnector.java b/connectors/camel-hwcloud-obs-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/hwcloudobs/CamelHwcloudobsSourceConnector.java
new file mode 100644
index 0000000..c8f9fa2
--- /dev/null
+++ b/connectors/camel-hwcloud-obs-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/hwcloudobs/CamelHwcloudobsSourceConnector.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.hwcloudobs;
+
+import javax.annotation.Generated;
+import org.apache.camel.kafkaconnector.CamelSourceConnector;
+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 CamelHwcloudobsSourceConnector extends CamelSourceConnector {
+
+ @Override
+ public ConfigDef config() {
+ return CamelHwcloudobsSourceConnectorConfig.conf();
+ }
+ @Override
+ public Class<? extends Task> taskClass() {
+ return CamelHwcloudobsSourceTask.class;
+ }
+}
\ No newline at end of file
diff --git a/connectors/camel-hwcloud-obs-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/hwcloudobs/CamelHwcloudobsSourceConnectorConfig.java b/connectors/camel-hwcloud-obs-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/hwcloudobs/CamelHwcloudobsSourceConnectorConfig.java
new file mode 100644
index 0000000..bcafef6
--- /dev/null
+++ b/connectors/camel-hwcloud-obs-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/hwcloudobs/CamelHwcloudobsSourceConnectorConfig.java
@@ -0,0 +1,204 @@
+/*
+ * 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.hwcloudobs;
+
+import java.util.Map;
+import javax.annotation.Generated;
+import org.apache.camel.kafkaconnector.CamelSourceConnectorConfig;
+import org.apache.kafka.common.config.ConfigDef;
+
+@Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.")
+public class CamelHwcloudobsSourceConnectorConfig
+ extends
+ CamelSourceConnectorConfig {
+
+ public static final String CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_BUCKET_NAME_CONF = "camel.source.endpoint.bucketName";
+ public static final String CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_BUCKET_NAME_DOC = "Name of bucket to perform operation on";
+ public static final String CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_BUCKET_NAME_DEFAULT = null;
+ public static final String CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_ENDPOINT_CONF = "camel.source.endpoint.endpoint";
+ public static final String CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_ENDPOINT_DOC = "OBS url. Carries higher precedence than region parameter based client initialization";
+ public static final String CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_ENDPOINT_DEFAULT = null;
+ public static final String CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_REGION_CONF = "camel.source.endpoint.region";
+ public static final String CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_REGION_DOC = "OBS service region. This is lower precedence than endpoint based configuration";
+ public static final String CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_REGION_DEFAULT = null;
+ public static final String CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_BRIDGE_ERROR_HANDLER_CONF = "camel.source.endpoint.bridgeErrorHandler";
+ public static final String CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_BRIDGE_ERROR_HANDLER_DOC = "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 [...]
+ public static final Boolean CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_BRIDGE_ERROR_HANDLER_DEFAULT = false;
+ public static final String CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_DELETE_AFTER_READ_CONF = "camel.source.endpoint.deleteAfterRead";
+ public static final String CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_DELETE_AFTER_READ_DOC = "Determines if objects should be deleted after it has been retrieved";
+ public static final Boolean CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_DELETE_AFTER_READ_DEFAULT = false;
+ public static final String CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_DELIMITER_CONF = "camel.source.endpoint.delimiter";
+ public static final String CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_DELIMITER_DOC = "The character used for grouping object names";
+ public static final String CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_DELIMITER_DEFAULT = null;
+ public static final String CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_DESTINATION_BUCKET_CONF = "camel.source.endpoint.destinationBucket";
+ public static final String CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_DESTINATION_BUCKET_DOC = "Name of destination bucket where objects will be moved when moveAfterRead is set to true";
+ public static final String CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_DESTINATION_BUCKET_DEFAULT = null;
+ public static final String CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_FILE_NAME_CONF = "camel.source.endpoint.fileName";
+ public static final String CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_FILE_NAME_DOC = "Get the object from the bucket with the given file name";
+ public static final String CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_FILE_NAME_DEFAULT = null;
+ public static final String CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_INCLUDE_FOLDERS_CONF = "camel.source.endpoint.includeFolders";
+ public static final String CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_INCLUDE_FOLDERS_DOC = "If true, objects in folders will be consumed. Otherwise, they will be ignored and no Exchanges will be created for them";
+ public static final Boolean CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_INCLUDE_FOLDERS_DEFAULT = true;
+ public static final String CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_MAX_MESSAGES_PER_POLL_CONF = "camel.source.endpoint.maxMessagesPerPoll";
+ public static final String CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_MAX_MESSAGES_PER_POLL_DOC = "The maximum number of messages to poll at each polling";
+ public static final Integer CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_MAX_MESSAGES_PER_POLL_DEFAULT = 10;
+ public static final String CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_MOVE_AFTER_READ_CONF = "camel.source.endpoint.moveAfterRead";
+ public static final String CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_MOVE_AFTER_READ_DOC = "Determines whether objects should be moved to a different bucket after they have been retrieved. The destinationBucket option must also be set for this option to work.";
+ public static final Boolean CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_MOVE_AFTER_READ_DEFAULT = false;
+ public static final String CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_PREFIX_CONF = "camel.source.endpoint.prefix";
+ public static final String CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_PREFIX_DOC = "The object name prefix used for filtering objects to be listed";
+ public static final String CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_PREFIX_DEFAULT = null;
+ public static final String CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_SEND_EMPTY_MESSAGE_WHEN_IDLE_CONF = "camel.source.endpoint.sendEmptyMessageWhenIdle";
+ public static final String CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_SEND_EMPTY_MESSAGE_WHEN_IDLE_DOC = "If the polling consumer did not poll any files, you can enable this option to send an empty message (no body) instead.";
+ public static final Boolean CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_SEND_EMPTY_MESSAGE_WHEN_IDLE_DEFAULT = false;
+ public static final String CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_EXCEPTION_HANDLER_CONF = "camel.source.endpoint.exceptionHandler";
+ public static final String CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_EXCEPTION_HANDLER_DOC = "To let the consumer use a custom ExceptionHandler. Notice if the option bridgeErrorHandler is enabled then this option is not in use. By default the consumer will deal with exceptions, that will be logged at WARN or ERROR level and ignored.";
+ public static final String CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_EXCEPTION_HANDLER_DEFAULT = null;
+ public static final String CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_EXCHANGE_PATTERN_CONF = "camel.source.endpoint.exchangePattern";
+ public static final String CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_EXCHANGE_PATTERN_DOC = "Sets the exchange pattern when the consumer creates an exchange. One of: [InOnly] [InOut] [InOptionalOut]";
+ public static final String CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_EXCHANGE_PATTERN_DEFAULT = null;
+ public static final String CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_POLL_STRATEGY_CONF = "camel.source.endpoint.pollStrategy";
+ public static final String CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_POLL_STRATEGY_DOC = "A pluggable org.apache.camel.PollingConsumerPollingStrategy allowing you to provide your custom implementation to control error handling usually occurred during the poll operation before an Exchange have been created and being routed in Camel.";
+ public static final String CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_POLL_STRATEGY_DEFAULT = null;
+ public static final String CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_PROXY_HOST_CONF = "camel.source.endpoint.proxyHost";
+ public static final String CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_PROXY_HOST_DOC = "Proxy server ip/hostname";
+ public static final String CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_PROXY_HOST_DEFAULT = null;
+ public static final String CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_PROXY_PASSWORD_CONF = "camel.source.endpoint.proxyPassword";
+ public static final String CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_PROXY_PASSWORD_DOC = "Proxy authentication password";
+ public static final String CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_PROXY_PASSWORD_DEFAULT = null;
+ public static final String CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_PROXY_PORT_CONF = "camel.source.endpoint.proxyPort";
+ public static final String CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_PROXY_PORT_DOC = "Proxy server port";
+ public static final Integer CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_PROXY_PORT_DEFAULT = null;
+ public static final String CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_PROXY_USER_CONF = "camel.source.endpoint.proxyUser";
+ public static final String CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_PROXY_USER_DOC = "Proxy authentication user";
+ public static final String CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_PROXY_USER_DEFAULT = null;
+ public static final String CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_BACKOFF_ERROR_THRESHOLD_CONF = "camel.source.endpoint.backoffErrorThreshold";
+ public static final String CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_BACKOFF_ERROR_THRESHOLD_DOC = "The number of subsequent error polls (failed due some error) that should happen before the backoffMultipler should kick-in.";
+ public static final Integer CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_BACKOFF_ERROR_THRESHOLD_DEFAULT = null;
+ public static final String CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_BACKOFF_IDLE_THRESHOLD_CONF = "camel.source.endpoint.backoffIdleThreshold";
+ public static final String CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_BACKOFF_IDLE_THRESHOLD_DOC = "The number of subsequent idle polls that should happen before the backoffMultipler should kick-in.";
+ public static final Integer CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_BACKOFF_IDLE_THRESHOLD_DEFAULT = null;
+ public static final String CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_BACKOFF_MULTIPLIER_CONF = "camel.source.endpoint.backoffMultiplier";
+ public static final String CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_BACKOFF_MULTIPLIER_DOC = "To let the scheduled polling consumer backoff if there has been a number of subsequent idles/errors in a row. The multiplier is then the number of polls that will be skipped before the next actual attempt is happening again. When this option is in use then backoffIdleThreshold and/or backoffErrorThreshold must also be configured.";
+ public static final Integer CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_BACKOFF_MULTIPLIER_DEFAULT = null;
+ public static final String CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_DELAY_CONF = "camel.source.endpoint.delay";
+ public static final String CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_DELAY_DOC = "Milliseconds before the next poll.";
+ public static final Long CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_DELAY_DEFAULT = 500L;
+ public static final String CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_GREEDY_CONF = "camel.source.endpoint.greedy";
+ public static final String CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_GREEDY_DOC = "If greedy is enabled, then the ScheduledPollConsumer will run immediately again, if the previous run polled 1 or more messages.";
+ public static final Boolean CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_GREEDY_DEFAULT = false;
+ public static final String CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_INITIAL_DELAY_CONF = "camel.source.endpoint.initialDelay";
+ public static final String CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_INITIAL_DELAY_DOC = "Milliseconds before the first poll starts.";
+ public static final Long CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_INITIAL_DELAY_DEFAULT = 1000L;
+ public static final String CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_REPEAT_COUNT_CONF = "camel.source.endpoint.repeatCount";
+ public static final String CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_REPEAT_COUNT_DOC = "Specifies a maximum limit of number of fires. So if you set it to 1, the scheduler will only fire once. If you set it to 5, it will only fire five times. A value of zero or negative means fire forever.";
+ public static final Long CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_REPEAT_COUNT_DEFAULT = 0L;
+ public static final String CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_RUN_LOGGING_LEVEL_CONF = "camel.source.endpoint.runLoggingLevel";
+ public static final String CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_RUN_LOGGING_LEVEL_DOC = "The consumer logs a start/complete log line when it polls. This option allows you to configure the logging level for that. One of: [TRACE] [DEBUG] [INFO] [WARN] [ERROR] [OFF]";
+ public static final String CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_RUN_LOGGING_LEVEL_DEFAULT = "TRACE";
+ public static final String CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_SCHEDULED_EXECUTOR_SERVICE_CONF = "camel.source.endpoint.scheduledExecutorService";
+ public static final String CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_SCHEDULED_EXECUTOR_SERVICE_DOC = "Allows for configuring a custom/shared thread pool to use for the consumer. By default each consumer has its own single threaded thread pool.";
+ public static final String CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_SCHEDULED_EXECUTOR_SERVICE_DEFAULT = null;
+ public static final String CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_SCHEDULER_CONF = "camel.source.endpoint.scheduler";
+ public static final String CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_SCHEDULER_DOC = "To use a cron scheduler from either camel-spring or camel-quartz component. Use value spring or quartz for built in scheduler";
+ public static final String CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_SCHEDULER_DEFAULT = "none";
+ public static final String CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_SCHEDULER_PROPERTIES_CONF = "camel.source.endpoint.schedulerProperties";
+ public static final String CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_SCHEDULER_PROPERTIES_DOC = "To configure additional properties when using a custom scheduler or any of the Quartz, Spring based scheduler.";
+ public static final String CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_SCHEDULER_PROPERTIES_DEFAULT = null;
+ public static final String CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_START_SCHEDULER_CONF = "camel.source.endpoint.startScheduler";
+ public static final String CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_START_SCHEDULER_DOC = "Whether the scheduler should be auto started.";
+ public static final Boolean CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_START_SCHEDULER_DEFAULT = true;
+ public static final String CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_TIME_UNIT_CONF = "camel.source.endpoint.timeUnit";
+ public static final String CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_TIME_UNIT_DOC = "Time unit for initialDelay and delay options. One of: [NANOSECONDS] [MICROSECONDS] [MILLISECONDS] [SECONDS] [MINUTES] [HOURS] [DAYS]";
+ public static final String CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_TIME_UNIT_DEFAULT = "MILLISECONDS";
+ public static final String CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_USE_FIXED_DELAY_CONF = "camel.source.endpoint.useFixedDelay";
+ public static final String CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_USE_FIXED_DELAY_DOC = "Controls if fixed delay or fixed rate is used. See ScheduledExecutorService in JDK for details.";
+ public static final Boolean CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_USE_FIXED_DELAY_DEFAULT = true;
+ public static final String CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_ACCESS_KEY_CONF = "camel.source.endpoint.accessKey";
+ public static final String CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_ACCESS_KEY_DOC = "Access key for the cloud user";
+ public static final String CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_ACCESS_KEY_DEFAULT = null;
+ public static final String CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_IGNORE_SSL_VERIFICATION_CONF = "camel.source.endpoint.ignoreSslVerification";
+ public static final String CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_IGNORE_SSL_VERIFICATION_DOC = "Ignore SSL verification";
+ public static final Boolean CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_IGNORE_SSL_VERIFICATION_DEFAULT = false;
+ public static final String CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_SECRET_KEY_CONF = "camel.source.endpoint.secretKey";
+ public static final String CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_SECRET_KEY_DOC = "Secret key for the cloud user";
+ public static final String CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_SECRET_KEY_DEFAULT = null;
+ public static final String CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_SERVICE_KEYS_CONF = "camel.source.endpoint.serviceKeys";
+ public static final String CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_SERVICE_KEYS_DOC = "Configuration object for cloud service authentication";
+ public static final String CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_SERVICE_KEYS_DEFAULT = null;
+ public static final String CAMEL_SOURCE_HWCLOUDOBS_COMPONENT_BRIDGE_ERROR_HANDLER_CONF = "camel.component.hwcloud-obs.bridgeErrorHandler";
+ public static final String CAMEL_SOURCE_HWCLOUDOBS_COMPONENT_BRIDGE_ERROR_HANDLER_DOC = "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 [...]
+ public static final Boolean CAMEL_SOURCE_HWCLOUDOBS_COMPONENT_BRIDGE_ERROR_HANDLER_DEFAULT = false;
+ public static final String CAMEL_SOURCE_HWCLOUDOBS_COMPONENT_AUTOWIRED_ENABLED_CONF = "camel.component.hwcloud-obs.autowiredEnabled";
+ public static final String CAMEL_SOURCE_HWCLOUDOBS_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_HWCLOUDOBS_COMPONENT_AUTOWIRED_ENABLED_DEFAULT = true;
+
+ public CamelHwcloudobsSourceConnectorConfig(
+ ConfigDef config,
+ Map<String, String> parsedConfig) {
+ super(config, parsedConfig);
+ }
+
+ public CamelHwcloudobsSourceConnectorConfig(Map<String, String> parsedConfig) {
+ this(conf(), parsedConfig);
+ }
+
+ public static ConfigDef conf() {
+ ConfigDef conf = new ConfigDef(CamelSourceConnectorConfig.conf());
+ conf.define(CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_BUCKET_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_BUCKET_NAME_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_BUCKET_NAME_DOC);
+ conf.define(CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_ENDPOINT_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_ENDPOINT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_ENDPOINT_DOC);
+ conf.define(CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_REGION_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_REGION_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_REGION_DOC);
+ conf.define(CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_BRIDGE_ERROR_HANDLER_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_BRIDGE_ERROR_HANDLER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_BRIDGE_ERROR_HANDLER_DOC);
+ conf.define(CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_DELETE_AFTER_READ_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_DELETE_AFTER_READ_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_DELETE_AFTER_READ_DOC);
+ conf.define(CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_DELIMITER_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_DELIMITER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_DELIMITER_DOC);
+ conf.define(CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_DESTINATION_BUCKET_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_DESTINATION_BUCKET_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_DESTINATION_BUCKET_DOC);
+ conf.define(CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_FILE_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_FILE_NAME_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_FILE_NAME_DOC);
+ conf.define(CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_INCLUDE_FOLDERS_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_INCLUDE_FOLDERS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_INCLUDE_FOLDERS_DOC);
+ conf.define(CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_MAX_MESSAGES_PER_POLL_CONF, ConfigDef.Type.INT, CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_MAX_MESSAGES_PER_POLL_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_MAX_MESSAGES_PER_POLL_DOC);
+ conf.define(CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_MOVE_AFTER_READ_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_MOVE_AFTER_READ_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_MOVE_AFTER_READ_DOC);
+ conf.define(CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_PREFIX_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_PREFIX_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_PREFIX_DOC);
+ conf.define(CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_SEND_EMPTY_MESSAGE_WHEN_IDLE_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_SEND_EMPTY_MESSAGE_WHEN_IDLE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_SEND_EMPTY_MESSAGE_WHEN_IDLE_DOC);
+ conf.define(CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_EXCEPTION_HANDLER_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_EXCEPTION_HANDLER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_EXCEPTION_HANDLER_DOC);
+ conf.define(CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_EXCHANGE_PATTERN_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_EXCHANGE_PATTERN_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_EXCHANGE_PATTERN_DOC);
+ conf.define(CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_POLL_STRATEGY_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_POLL_STRATEGY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_POLL_STRATEGY_DOC);
+ conf.define(CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_PROXY_HOST_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_PROXY_HOST_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_PROXY_HOST_DOC);
+ conf.define(CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_PROXY_PASSWORD_CONF, ConfigDef.Type.PASSWORD, CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_PROXY_PASSWORD_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_PROXY_PASSWORD_DOC);
+ conf.define(CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_PROXY_PORT_CONF, ConfigDef.Type.INT, CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_PROXY_PORT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_PROXY_PORT_DOC);
+ conf.define(CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_PROXY_USER_CONF, ConfigDef.Type.PASSWORD, CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_PROXY_USER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_PROXY_USER_DOC);
+ conf.define(CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_BACKOFF_ERROR_THRESHOLD_CONF, ConfigDef.Type.INT, CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_BACKOFF_ERROR_THRESHOLD_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_BACKOFF_ERROR_THRESHOLD_DOC);
+ conf.define(CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_BACKOFF_IDLE_THRESHOLD_CONF, ConfigDef.Type.INT, CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_BACKOFF_IDLE_THRESHOLD_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_BACKOFF_IDLE_THRESHOLD_DOC);
+ conf.define(CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_BACKOFF_MULTIPLIER_CONF, ConfigDef.Type.INT, CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_BACKOFF_MULTIPLIER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_BACKOFF_MULTIPLIER_DOC);
+ conf.define(CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_DELAY_CONF, ConfigDef.Type.LONG, CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_DELAY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_DELAY_DOC);
+ conf.define(CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_GREEDY_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_GREEDY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_GREEDY_DOC);
+ conf.define(CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_INITIAL_DELAY_CONF, ConfigDef.Type.LONG, CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_INITIAL_DELAY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_INITIAL_DELAY_DOC);
+ conf.define(CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_REPEAT_COUNT_CONF, ConfigDef.Type.LONG, CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_REPEAT_COUNT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_REPEAT_COUNT_DOC);
+ conf.define(CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_RUN_LOGGING_LEVEL_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_RUN_LOGGING_LEVEL_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_RUN_LOGGING_LEVEL_DOC);
+ conf.define(CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_SCHEDULED_EXECUTOR_SERVICE_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_SCHEDULED_EXECUTOR_SERVICE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_SCHEDULED_EXECUTOR_SERVICE_DOC);
+ conf.define(CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_SCHEDULER_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_SCHEDULER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_SCHEDULER_DOC);
+ conf.define(CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_SCHEDULER_PROPERTIES_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_SCHEDULER_PROPERTIES_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_SCHEDULER_PROPERTIES_DOC);
+ conf.define(CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_START_SCHEDULER_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_START_SCHEDULER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_START_SCHEDULER_DOC);
+ conf.define(CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_TIME_UNIT_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_TIME_UNIT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_TIME_UNIT_DOC);
+ conf.define(CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_USE_FIXED_DELAY_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_USE_FIXED_DELAY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_USE_FIXED_DELAY_DOC);
+ conf.define(CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_ACCESS_KEY_CONF, ConfigDef.Type.PASSWORD, CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_ACCESS_KEY_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_ACCESS_KEY_DOC);
+ conf.define(CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_IGNORE_SSL_VERIFICATION_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_IGNORE_SSL_VERIFICATION_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_IGNORE_SSL_VERIFICATION_DOC);
+ conf.define(CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_SECRET_KEY_CONF, ConfigDef.Type.PASSWORD, CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_SECRET_KEY_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_SECRET_KEY_DOC);
+ conf.define(CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_SERVICE_KEYS_CONF, ConfigDef.Type.PASSWORD, CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_SERVICE_KEYS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HWCLOUDOBS_ENDPOINT_SERVICE_KEYS_DOC);
+ conf.define(CAMEL_SOURCE_HWCLOUDOBS_COMPONENT_BRIDGE_ERROR_HANDLER_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_HWCLOUDOBS_COMPONENT_BRIDGE_ERROR_HANDLER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HWCLOUDOBS_COMPONENT_BRIDGE_ERROR_HANDLER_DOC);
+ conf.define(CAMEL_SOURCE_HWCLOUDOBS_COMPONENT_AUTOWIRED_ENABLED_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_HWCLOUDOBS_COMPONENT_AUTOWIRED_ENABLED_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_HWCLOUDOBS_COMPONENT_AUTOWIRED_ENABLED_DOC);
+ return conf;
+ }
+}
\ No newline at end of file
diff --git a/connectors/camel-hwcloud-obs-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/hwcloudobs/CamelHwcloudobsSourceTask.java b/connectors/camel-hwcloud-obs-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/hwcloudobs/CamelHwcloudobsSourceTask.java
new file mode 100644
index 0000000..82ad6aa
--- /dev/null
+++ b/connectors/camel-hwcloud-obs-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/hwcloudobs/CamelHwcloudobsSourceTask.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.hwcloudobs;
+
+import java.util.HashMap;
+import java.util.Map;
+import javax.annotation.Generated;
+import org.apache.camel.kafkaconnector.CamelSourceConnectorConfig;
+import org.apache.camel.kafkaconnector.CamelSourceTask;
+
+@Generated("This class has been generated by camel-kafka-connector-generator-maven-plugin, remove this annotation to prevent it from being generated.")
+public class CamelHwcloudobsSourceTask extends CamelSourceTask {
+
+ @Override
+ protected CamelSourceConnectorConfig getCamelSourceConnectorConfig(
+ Map<String, String> props) {
+ return new CamelHwcloudobsSourceConnectorConfig(props);
+ }
+ @Override
+ protected Map<String, String> getDefaultConfig() {
+ return new HashMap<String, String>() {{
+ put(CamelSourceConnectorConfig.CAMEL_SOURCE_COMPONENT_CONF, "hwcloud-obs");
+ }};
+ }
+}
\ No newline at end of file
diff --git a/connectors/camel-hwcloud-obs-kafka-connector/src/main/resources/META-INF/LICENSE.txt b/connectors/camel-hwcloud-obs-kafka-connector/src/main/resources/META-INF/LICENSE.txt
new file mode 100644
index 0000000..6b0b127
--- /dev/null
+++ b/connectors/camel-hwcloud-obs-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-hwcloud-obs-kafka-connector/src/main/resources/META-INF/NOTICE.txt b/connectors/camel-hwcloud-obs-kafka-connector/src/main/resources/META-INF/NOTICE.txt
new file mode 100644
index 0000000..2e215bf
--- /dev/null
+++ b/connectors/camel-hwcloud-obs-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-hwcloud-smn-kafka-connector/src/generated/resources/camel-hwcloud-smn-sink.json b/connectors/camel-hwcloud-smn-kafka-connector/src/generated/resources/camel-hwcloud-smn-sink.json
index d25b406..8c7a90a 100644
--- a/connectors/camel-hwcloud-smn-kafka-connector/src/generated/resources/camel-hwcloud-smn-sink.json
+++ b/connectors/camel-hwcloud-smn-kafka-connector/src/generated/resources/camel-hwcloud-smn-sink.json
@@ -15,9 +15,9 @@
"priority": "HIGH",
"required": "true"
},
- "camel.sink.endpoint.authKey": {
- "name": "camel.sink.endpoint.authKey",
- "description": "Authentication key for the cloud user",
+ "camel.sink.endpoint.accessKey": {
+ "name": "camel.sink.endpoint.accessKey",
+ "description": "Access key for the cloud user",
"priority": "HIGH",
"required": "true"
},
@@ -117,4 +117,4 @@
"required": "false"
}
}
-}
+}
\ No newline at end of file
diff --git a/connectors/camel-hwcloud-smn-kafka-connector/src/main/docs/camel-hwcloud-smn-kafka-sink-connector.adoc b/connectors/camel-hwcloud-smn-kafka-connector/src/main/docs/camel-hwcloud-smn-kafka-sink-connector.adoc
index 4510b0a..56114c4 100644
--- a/connectors/camel-hwcloud-smn-kafka-connector/src/main/docs/camel-hwcloud-smn-kafka-sink-connector.adoc
+++ b/connectors/camel-hwcloud-smn-kafka-connector/src/main/docs/camel-hwcloud-smn-kafka-sink-connector.adoc
@@ -32,7 +32,7 @@ The camel-hwcloud-smn sink connector supports 17 options, which are listed below
|===
| Name | Description | Default | Required | Priority
| *camel.sink.path.smnService* | Name of SMN service to invoke | null | true | HIGH
-| *camel.sink.endpoint.authKey* | Authentication key for the cloud user | null | true | HIGH
+| *camel.sink.endpoint.accessKey* | Access key for the cloud user | null | true | HIGH
| *camel.sink.endpoint.endpoint* | Fully qualified smn service url. Carries higher precedence than region parameter based client initialization | null | false | MEDIUM
| *camel.sink.endpoint.ignoreSslVerification* | Ignore SSL verification | false | false | MEDIUM
| *camel.sink.endpoint.lazyStartProducer* | Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then cre [...]
@@ -65,8 +65,4 @@ The camel-hwcloud-smn sink connector has no transforms out of the box.
The camel-hwcloud-smn sink connector has no aggregation strategies out of the box.
-
-
-
-
// kafka-connector options: END
diff --git a/connectors/camel-hwcloud-smn-kafka-connector/src/main/docs/examples/CamelHwcloudsmnSinkConnector.properties b/connectors/camel-hwcloud-smn-kafka-connector/src/main/docs/examples/CamelHwcloudsmnSinkConnector.properties
index 635aaf3..302e86d 100644
--- a/connectors/camel-hwcloud-smn-kafka-connector/src/main/docs/examples/CamelHwcloudsmnSinkConnector.properties
+++ b/connectors/camel-hwcloud-smn-kafka-connector/src/main/docs/examples/CamelHwcloudsmnSinkConnector.properties
@@ -28,8 +28,8 @@ topics=
# mandatory properties (for a complete properties list see the connector documentation):
-# Authentication key for the cloud user
-camel.sink.endpoint.authKey=
+# Access key for the cloud user
+camel.sink.endpoint.accessKey=
# Name of operation to perform
camel.sink.endpoint.operation=
# Cloud project ID
diff --git a/connectors/camel-hwcloud-smn-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/hwcloudsmn/CamelHwcloudsmnSinkConnectorConfig.java b/connectors/camel-hwcloud-smn-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/hwcloudsmn/CamelHwcloudsmnSinkConnectorConfig.java
index 586cdc1..b819e3d 100644
--- a/connectors/camel-hwcloud-smn-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/hwcloudsmn/CamelHwcloudsmnSinkConnectorConfig.java
+++ b/connectors/camel-hwcloud-smn-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/hwcloudsmn/CamelHwcloudsmnSinkConnectorConfig.java
@@ -29,9 +29,9 @@ public class CamelHwcloudsmnSinkConnectorConfig
public static final String CAMEL_SINK_HWCLOUDSMN_PATH_SMN_SERVICE_CONF = "camel.sink.path.smnService";
public static final String CAMEL_SINK_HWCLOUDSMN_PATH_SMN_SERVICE_DOC = "Name of SMN service to invoke";
public static final String CAMEL_SINK_HWCLOUDSMN_PATH_SMN_SERVICE_DEFAULT = null;
- public static final String CAMEL_SINK_HWCLOUDSMN_ENDPOINT_AUTH_KEY_CONF = "camel.sink.endpoint.authKey";
- public static final String CAMEL_SINK_HWCLOUDSMN_ENDPOINT_AUTH_KEY_DOC = "Authentication key for the cloud user";
- public static final String CAMEL_SINK_HWCLOUDSMN_ENDPOINT_AUTH_KEY_DEFAULT = null;
+ public static final String CAMEL_SINK_HWCLOUDSMN_ENDPOINT_ACCESS_KEY_CONF = "camel.sink.endpoint.accessKey";
+ public static final String CAMEL_SINK_HWCLOUDSMN_ENDPOINT_ACCESS_KEY_DOC = "Access key for the cloud user";
+ public static final String CAMEL_SINK_HWCLOUDSMN_ENDPOINT_ACCESS_KEY_DEFAULT = null;
public static final String CAMEL_SINK_HWCLOUDSMN_ENDPOINT_ENDPOINT_CONF = "camel.sink.endpoint.endpoint";
public static final String CAMEL_SINK_HWCLOUDSMN_ENDPOINT_ENDPOINT_DOC = "Fully qualified smn service url. Carries higher precedence than region parameter based client initialization";
public static final String CAMEL_SINK_HWCLOUDSMN_ENDPOINT_ENDPOINT_DEFAULT = null;
@@ -91,7 +91,7 @@ public class CamelHwcloudsmnSinkConnectorConfig
public static ConfigDef conf() {
ConfigDef conf = new ConfigDef(CamelSinkConnectorConfig.conf());
conf.define(CAMEL_SINK_HWCLOUDSMN_PATH_SMN_SERVICE_CONF, ConfigDef.Type.STRING, CAMEL_SINK_HWCLOUDSMN_PATH_SMN_SERVICE_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_HWCLOUDSMN_PATH_SMN_SERVICE_DOC);
- conf.define(CAMEL_SINK_HWCLOUDSMN_ENDPOINT_AUTH_KEY_CONF, ConfigDef.Type.PASSWORD, CAMEL_SINK_HWCLOUDSMN_ENDPOINT_AUTH_KEY_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_HWCLOUDSMN_ENDPOINT_AUTH_KEY_DOC);
+ conf.define(CAMEL_SINK_HWCLOUDSMN_ENDPOINT_ACCESS_KEY_CONF, ConfigDef.Type.PASSWORD, CAMEL_SINK_HWCLOUDSMN_ENDPOINT_ACCESS_KEY_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_HWCLOUDSMN_ENDPOINT_ACCESS_KEY_DOC);
conf.define(CAMEL_SINK_HWCLOUDSMN_ENDPOINT_ENDPOINT_CONF, ConfigDef.Type.STRING, CAMEL_SINK_HWCLOUDSMN_ENDPOINT_ENDPOINT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HWCLOUDSMN_ENDPOINT_ENDPOINT_DOC);
conf.define(CAMEL_SINK_HWCLOUDSMN_ENDPOINT_IGNORE_SSL_VERIFICATION_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_HWCLOUDSMN_ENDPOINT_IGNORE_SSL_VERIFICATION_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HWCLOUDSMN_ENDPOINT_IGNORE_SSL_VERIFICATION_DOC);
conf.define(CAMEL_SINK_HWCLOUDSMN_ENDPOINT_LAZY_START_PRODUCER_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_HWCLOUDSMN_ENDPOINT_LAZY_START_PRODUCER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_HWCLOUDSMN_ENDPOINT_LAZY_START_PRODUCER_DOC);
diff --git a/connectors/camel-influxdb-kafka-connector/src/generated/resources/camel-influxdb-sink.json b/connectors/camel-influxdb-kafka-connector/src/generated/resources/camel-influxdb-sink.json
index ae3a90c..18bf96a 100644
--- a/connectors/camel-influxdb-kafka-connector/src/generated/resources/camel-influxdb-sink.json
+++ b/connectors/camel-influxdb-kafka-connector/src/generated/resources/camel-influxdb-sink.json
@@ -15,6 +15,13 @@
"priority": "HIGH",
"required": "true"
},
+ "camel.sink.endpoint.autoCreateDatabase": {
+ "name": "camel.sink.endpoint.autoCreateDatabase",
+ "description": "Define if we want to auto create the database if it's not present",
+ "defaultValue": "false",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
"camel.sink.endpoint.batch": {
"name": "camel.sink.endpoint.batch",
"description": "Define if this operation is a batch operation or not",
@@ -22,6 +29,13 @@
"priority": "MEDIUM",
"required": "false"
},
+ "camel.sink.endpoint.checkDatabaseExistence": {
+ "name": "camel.sink.endpoint.checkDatabaseExistence",
+ "description": "Define if we want to check the database existence while starting the endpoint",
+ "defaultValue": "false",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
"camel.sink.endpoint.databaseName": {
"name": "camel.sink.endpoint.databaseName",
"description": "The name of the database where the time series will be stored",
diff --git a/connectors/camel-influxdb-kafka-connector/src/main/docs/camel-influxdb-kafka-sink-connector.adoc b/connectors/camel-influxdb-kafka-connector/src/main/docs/camel-influxdb-kafka-sink-connector.adoc
index dbe0b73..9e73184 100644
--- a/connectors/camel-influxdb-kafka-connector/src/main/docs/camel-influxdb-kafka-sink-connector.adoc
+++ b/connectors/camel-influxdb-kafka-connector/src/main/docs/camel-influxdb-kafka-sink-connector.adoc
@@ -24,7 +24,7 @@ connector.class=org.apache.camel.kafkaconnector.influxdb.CamelInfluxdbSinkConnec
----
-The camel-influxdb sink connector supports 10 options, which are listed below.
+The camel-influxdb sink connector supports 12 options, which are listed below.
@@ -32,7 +32,9 @@ The camel-influxdb sink connector supports 10 options, which are listed below.
|===
| Name | Description | Default | Required | Priority
| *camel.sink.path.connectionBean* | Connection to the influx database, of class InfluxDB.class | null | true | HIGH
+| *camel.sink.endpoint.autoCreateDatabase* | Define if we want to auto create the database if it's not present | false | false | MEDIUM
| *camel.sink.endpoint.batch* | Define if this operation is a batch operation or not | false | false | MEDIUM
+| *camel.sink.endpoint.checkDatabaseExistence* | Define if we want to check the database existence while starting the endpoint | false | false | MEDIUM
| *camel.sink.endpoint.databaseName* | The name of the database where the time series will be stored | null | false | MEDIUM
| *camel.sink.endpoint.lazyStartProducer* | Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then cre [...]
| *camel.sink.endpoint.operation* | Define if this operation is an insert or a query | "insert" | false | MEDIUM
diff --git a/connectors/camel-influxdb-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/influxdb/CamelInfluxdbSinkConnectorConfig.java b/connectors/camel-influxdb-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/influxdb/CamelInfluxdbSinkConnectorConfig.java
index a195cff..0860659 100644
--- a/connectors/camel-influxdb-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/influxdb/CamelInfluxdbSinkConnectorConfig.java
+++ b/connectors/camel-influxdb-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/influxdb/CamelInfluxdbSinkConnectorConfig.java
@@ -29,9 +29,15 @@ public class CamelInfluxdbSinkConnectorConfig
public static final String CAMEL_SINK_INFLUXDB_PATH_CONNECTION_BEAN_CONF = "camel.sink.path.connectionBean";
public static final String CAMEL_SINK_INFLUXDB_PATH_CONNECTION_BEAN_DOC = "Connection to the influx database, of class InfluxDB.class";
public static final String CAMEL_SINK_INFLUXDB_PATH_CONNECTION_BEAN_DEFAULT = null;
+ public static final String CAMEL_SINK_INFLUXDB_ENDPOINT_AUTO_CREATE_DATABASE_CONF = "camel.sink.endpoint.autoCreateDatabase";
+ public static final String CAMEL_SINK_INFLUXDB_ENDPOINT_AUTO_CREATE_DATABASE_DOC = "Define if we want to auto create the database if it's not present";
+ public static final Boolean CAMEL_SINK_INFLUXDB_ENDPOINT_AUTO_CREATE_DATABASE_DEFAULT = false;
public static final String CAMEL_SINK_INFLUXDB_ENDPOINT_BATCH_CONF = "camel.sink.endpoint.batch";
public static final String CAMEL_SINK_INFLUXDB_ENDPOINT_BATCH_DOC = "Define if this operation is a batch operation or not";
public static final Boolean CAMEL_SINK_INFLUXDB_ENDPOINT_BATCH_DEFAULT = false;
+ public static final String CAMEL_SINK_INFLUXDB_ENDPOINT_CHECK_DATABASE_EXISTENCE_CONF = "camel.sink.endpoint.checkDatabaseExistence";
+ public static final String CAMEL_SINK_INFLUXDB_ENDPOINT_CHECK_DATABASE_EXISTENCE_DOC = "Define if we want to check the database existence while starting the endpoint";
+ public static final Boolean CAMEL_SINK_INFLUXDB_ENDPOINT_CHECK_DATABASE_EXISTENCE_DEFAULT = false;
public static final String CAMEL_SINK_INFLUXDB_ENDPOINT_DATABASE_NAME_CONF = "camel.sink.endpoint.databaseName";
public static final String CAMEL_SINK_INFLUXDB_ENDPOINT_DATABASE_NAME_DOC = "The name of the database where the time series will be stored";
public static final String CAMEL_SINK_INFLUXDB_ENDPOINT_DATABASE_NAME_DEFAULT = null;
@@ -70,7 +76,9 @@ public class CamelInfluxdbSinkConnectorConfig
public static ConfigDef conf() {
ConfigDef conf = new ConfigDef(CamelSinkConnectorConfig.conf());
conf.define(CAMEL_SINK_INFLUXDB_PATH_CONNECTION_BEAN_CONF, ConfigDef.Type.STRING, CAMEL_SINK_INFLUXDB_PATH_CONNECTION_BEAN_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_INFLUXDB_PATH_CONNECTION_BEAN_DOC);
+ conf.define(CAMEL_SINK_INFLUXDB_ENDPOINT_AUTO_CREATE_DATABASE_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_INFLUXDB_ENDPOINT_AUTO_CREATE_DATABASE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_INFLUXDB_ENDPOINT_AUTO_CREATE_DATABASE_DOC);
conf.define(CAMEL_SINK_INFLUXDB_ENDPOINT_BATCH_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_INFLUXDB_ENDPOINT_BATCH_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_INFLUXDB_ENDPOINT_BATCH_DOC);
+ conf.define(CAMEL_SINK_INFLUXDB_ENDPOINT_CHECK_DATABASE_EXISTENCE_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_INFLUXDB_ENDPOINT_CHECK_DATABASE_EXISTENCE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_INFLUXDB_ENDPOINT_CHECK_DATABASE_EXISTENCE_DOC);
conf.define(CAMEL_SINK_INFLUXDB_ENDPOINT_DATABASE_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SINK_INFLUXDB_ENDPOINT_DATABASE_NAME_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_INFLUXDB_ENDPOINT_DATABASE_NAME_DOC);
conf.define(CAMEL_SINK_INFLUXDB_ENDPOINT_LAZY_START_PRODUCER_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_INFLUXDB_ENDPOINT_LAZY_START_PRODUCER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_INFLUXDB_ENDPOINT_LAZY_START_PRODUCER_DOC);
conf.define(CAMEL_SINK_INFLUXDB_ENDPOINT_OPERATION_CONF, ConfigDef.Type.STRING, CAMEL_SINK_INFLUXDB_ENDPOINT_OPERATION_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_INFLUXDB_ENDPOINT_OPERATION_DOC);
diff --git a/connectors/camel-json-patch-kafka-connector/pom.xml b/connectors/camel-json-patch-kafka-connector/pom.xml
new file mode 100644
index 0000000..4aa3cc4
--- /dev/null
+++ b/connectors/camel-json-patch-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.12.0-SNAPSHOT</version>
+ </parent>
+ <artifactId>camel-json-patch-kafka-connector</artifactId>
+ <name>Camel-Kafka-Connector :: json-patch</name>
+ <description>Camel Kafka Connector for json-patch</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-json-patch</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-json-patch-kafka-connector/src/generated/descriptors/connector-sink.properties b/connectors/camel-json-patch-kafka-connector/src/generated/descriptors/connector-sink.properties
new file mode 100644
index 0000000..e7d2af1
--- /dev/null
+++ b/connectors/camel-json-patch-kafka-connector/src/generated/descriptors/connector-sink.properties
@@ -0,0 +1 @@
+camel-json-patch-sink
\ No newline at end of file
diff --git a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-json-validator-sink.json b/connectors/camel-json-patch-kafka-connector/src/generated/resources/camel-json-patch-sink.json
similarity index 64%
copy from camel-kafka-connector-catalog/src/generated/resources/connectors/camel-json-validator-sink.json
copy to connectors/camel-json-patch-kafka-connector/src/generated/resources/camel-json-patch-sink.json
index 9a400a7..ec2b9db 100644
--- a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-json-validator-sink.json
+++ b/connectors/camel-json-patch-kafka-connector/src/generated/resources/camel-json-patch-sink.json
@@ -1,12 +1,12 @@
{
"connector": {
- "class": "org.apache.camel.kafkaconnector.jsonvalidator.CamelJsonvalidatorSinkConnector",
- "artifactId": "camel-json-validator-kafka-connector",
+ "class": "org.apache.camel.kafkaconnector.jsonpatch.CamelJsonpatchSinkConnector",
+ "artifactId": "camel-json-patch-kafka-connector",
"groupId": "org.apache.camel.kafkaconnector",
- "id": "camel-json-validator-sink",
+ "id": "camel-json-patch-sink",
"type": "sink",
"version": "0.12.0-SNAPSHOT",
- "description": "Validate JSON payloads using NetworkNT JSON Schema."
+ "description": "JsonPatch component which transform JSON using JSON patch (RFC 6902)."
},
"properties": {
"camel.sink.path.resourceUri": {
@@ -29,26 +29,6 @@
"priority": "MEDIUM",
"required": "false"
},
- "camel.sink.endpoint.failOnNullBody": {
- "name": "camel.sink.endpoint.failOnNullBody",
- "description": "Whether to fail if no body exists.",
- "defaultValue": "true",
- "priority": "MEDIUM",
- "required": "false"
- },
- "camel.sink.endpoint.failOnNullHeader": {
- "name": "camel.sink.endpoint.failOnNullHeader",
- "description": "Whether to fail if no header exists when validating against a header.",
- "defaultValue": "true",
- "priority": "MEDIUM",
- "required": "false"
- },
- "camel.sink.endpoint.headerName": {
- "name": "camel.sink.endpoint.headerName",
- "description": "To validate against a header instead of the message body.",
- "priority": "MEDIUM",
- "required": "false"
- },
"camel.sink.endpoint.lazyStartProducer": {
"name": "camel.sink.endpoint.lazyStartProducer",
"description": "Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the pr [...]
@@ -56,31 +36,19 @@
"priority": "MEDIUM",
"required": "false"
},
- "camel.sink.endpoint.errorHandler": {
- "name": "camel.sink.endpoint.errorHandler",
- "description": "To use a custom ValidatorErrorHandler. The default error handler captures the errors and throws an exception.",
- "priority": "MEDIUM",
- "required": "false"
- },
- "camel.sink.endpoint.schemaLoader": {
- "name": "camel.sink.endpoint.schemaLoader",
- "description": "To use a custom schema loader allowing for adding custom format validation. The default implementation will create a schema loader with draft v4 support.",
- "priority": "MEDIUM",
- "required": "false"
- },
- "camel.component.json-validator.lazyStartProducer": {
- "name": "camel.component.json-validator.lazyStartProducer",
+ "camel.component.json-patch.lazyStartProducer": {
+ "name": "camel.component.json-patch.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.json-validator.autowiredEnabled": {
- "name": "camel.component.json-validator.autowiredEnabled",
+ "camel.component.json-patch.autowiredEnabled": {
+ "name": "camel.component.json-patch.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"
}
}
-}
\ No newline at end of file
+}
diff --git a/connectors/camel-json-patch-kafka-connector/src/main/assembly/package.xml b/connectors/camel-json-patch-kafka-connector/src/main/assembly/package.xml
new file mode 100644
index 0000000..05f0b1a
--- /dev/null
+++ b/connectors/camel-json-patch-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-json-patch-kafka-connector/src/main/docs/camel-json-patch-kafka-sink-connector.adoc b/connectors/camel-json-patch-kafka-connector/src/main/docs/camel-json-patch-kafka-sink-connector.adoc
new file mode 100644
index 0000000..6f48e4b
--- /dev/null
+++ b/connectors/camel-json-patch-kafka-connector/src/main/docs/camel-json-patch-kafka-sink-connector.adoc
@@ -0,0 +1,61 @@
+// kafka-connector options: START
+[[camel-json-patch-kafka-connector-sink]]
+= camel-json-patch-kafka-connector sink configuration
+
+Connector Description: JsonPatch component which transform JSON using JSON patch (RFC 6902).
+
+When using camel-json-patch-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-json-patch-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.jsonpatch.CamelJsonpatchSinkConnector
+----
+
+
+The camel-json-patch sink connector supports 6 options, which are listed below.
+
+
+
+[width="100%",cols="2,5,^1,1,1",options="header"]
+|===
+| Name | Description | Default | Required | Priority
+| *camel.sink.path.resourceUri* | Path to the resource. You can prefix with: classpath, file, http, ref, or bean. classpath, file and http loads the resource using these protocols (classpath is default). ref will lookup the resource in the registry. bean will call a method on a bean to be used as the resource. For bean you can specify the method name after dot, eg bean:myBean.myMethod. | null | true | HIGH
+| *camel.sink.endpoint.allowContextMapAll* | Sets whether the context map should allow access to all details. By default only the message body and headers can be accessed. This option can be enabled for full access to the current Exchange and CamelContext. Doing so impose a potential security risk as this opens access to the full power of CamelContext API. | false | false | MEDIUM
+| *camel.sink.endpoint.contentCache* | Sets whether to use resource content cache or not | false | false | MEDIUM
+| *camel.sink.endpoint.lazyStartProducer* | Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then cre [...]
+| *camel.component.json-patch.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 t [...]
+| *camel.component.json-patch.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
+|===
+
+
+
+The camel-json-patch sink connector has no converters out of the box.
+
+
+
+
+
+The camel-json-patch sink connector has no transforms out of the box.
+
+
+
+
+
+The camel-json-patch sink connector has no aggregation strategies out of the box.
+
+
+
+
+// kafka-connector options: END
diff --git a/connectors/camel-hwcloud-iam-kafka-connector/src/main/docs/examples/CamelHwcloudiamSinkConnector.properties b/connectors/camel-json-patch-kafka-connector/src/main/docs/examples/CamelJsonpatchSinkConnector.properties
similarity index 72%
copy from connectors/camel-hwcloud-iam-kafka-connector/src/main/docs/examples/CamelHwcloudiamSinkConnector.properties
copy to connectors/camel-json-patch-kafka-connector/src/main/docs/examples/CamelJsonpatchSinkConnector.properties
index de8af99..0da3507 100644
--- a/connectors/camel-hwcloud-iam-kafka-connector/src/main/docs/examples/CamelHwcloudiamSinkConnector.properties
+++ b/connectors/camel-json-patch-kafka-connector/src/main/docs/examples/CamelJsonpatchSinkConnector.properties
@@ -15,8 +15,8 @@
## limitations under the License.
## ---------------------------------------------------------------------------
-name=CamelHwcloud-iamSinkConnector
-connector.class=org.apache.camel.kafkaconnector.hwcloudiam.CamelHwcloudiamSinkConnector
+name=CamelJson-patchSinkConnector
+connector.class=org.apache.camel.kafkaconnector.jsonpatch.CamelJsonpatchSinkConnector
tasks.max=1
# use the kafka converters that better suit your needs, these are just defaults:
@@ -28,12 +28,6 @@ topics=
# mandatory properties (for a complete properties list see the connector documentation):
-# Authentication key for the cloud user
-camel.sink.endpoint.authenticationKey=
-# IAM service region
-camel.sink.endpoint.region=
-# Secret key for the cloud user
-camel.sink.endpoint.secretKey=
-# Operation to be performed
-camel.sink.path.operation=
+# Path to the resource. You can prefix with: classpath, file, http, ref, or bean. classpath, file and http loads the resource using these protocols (classpath is default). ref will lookup the resource in the registry. bean will call a method on a bean to be used as the resource. For bean you can specify the method name after dot, eg bean:myBean.myMethod.
+camel.sink.path.resourceUri=
diff --git a/connectors/camel-json-patch-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/jsonpatch/CamelJsonpatchSinkConnector.java b/connectors/camel-json-patch-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/jsonpatch/CamelJsonpatchSinkConnector.java
new file mode 100644
index 0000000..246089d
--- /dev/null
+++ b/connectors/camel-json-patch-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/jsonpatch/CamelJsonpatchSinkConnector.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.jsonpatch;
+
+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 CamelJsonpatchSinkConnector extends CamelSinkConnector {
+
+ @Override
+ public ConfigDef config() {
+ return CamelJsonpatchSinkConnectorConfig.conf();
+ }
+ @Override
+ public Class<? extends Task> taskClass() {
+ return CamelJsonpatchSinkTask.class;
+ }
+}
\ No newline at end of file
diff --git a/connectors/camel-json-patch-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/jsonpatch/CamelJsonpatchSinkConnectorConfig.java b/connectors/camel-json-patch-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/jsonpatch/CamelJsonpatchSinkConnectorConfig.java
new file mode 100644
index 0000000..994287c
--- /dev/null
+++ b/connectors/camel-json-patch-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/jsonpatch/CamelJsonpatchSinkConnectorConfig.java
@@ -0,0 +1,68 @@
+/*
+ * 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.jsonpatch;
+
+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 CamelJsonpatchSinkConnectorConfig
+ extends
+ CamelSinkConnectorConfig {
+
+ public static final String CAMEL_SINK_JSONPATCH_PATH_RESOURCE_URI_CONF = "camel.sink.path.resourceUri";
+ public static final String CAMEL_SINK_JSONPATCH_PATH_RESOURCE_URI_DOC = "Path to the resource. You can prefix with: classpath, file, http, ref, or bean. classpath, file and http loads the resource using these protocols (classpath is default). ref will lookup the resource in the registry. bean will call a method on a bean to be used as the resource. For bean you can specify the method name after dot, eg bean:myBean.myMethod.";
+ public static final String CAMEL_SINK_JSONPATCH_PATH_RESOURCE_URI_DEFAULT = null;
+ public static final String CAMEL_SINK_JSONPATCH_ENDPOINT_ALLOW_CONTEXT_MAP_ALL_CONF = "camel.sink.endpoint.allowContextMapAll";
+ public static final String CAMEL_SINK_JSONPATCH_ENDPOINT_ALLOW_CONTEXT_MAP_ALL_DOC = "Sets whether the context map should allow access to all details. By default only the message body and headers can be accessed. This option can be enabled for full access to the current Exchange and CamelContext. Doing so impose a potential security risk as this opens access to the full power of CamelContext API.";
+ public static final Boolean CAMEL_SINK_JSONPATCH_ENDPOINT_ALLOW_CONTEXT_MAP_ALL_DEFAULT = false;
+ public static final String CAMEL_SINK_JSONPATCH_ENDPOINT_CONTENT_CACHE_CONF = "camel.sink.endpoint.contentCache";
+ public static final String CAMEL_SINK_JSONPATCH_ENDPOINT_CONTENT_CACHE_DOC = "Sets whether to use resource content cache or not";
+ public static final Boolean CAMEL_SINK_JSONPATCH_ENDPOINT_CONTENT_CACHE_DEFAULT = false;
+ public static final String CAMEL_SINK_JSONPATCH_ENDPOINT_LAZY_START_PRODUCER_CONF = "camel.sink.endpoint.lazyStartProducer";
+ public static final String CAMEL_SINK_JSONPATCH_ENDPOINT_LAZY_START_PRODUCER_DOC = "Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that [...]
+ public static final Boolean CAMEL_SINK_JSONPATCH_ENDPOINT_LAZY_START_PRODUCER_DEFAULT = false;
+ public static final String CAMEL_SINK_JSONPATCH_COMPONENT_LAZY_START_PRODUCER_CONF = "camel.component.json-patch.lazyStartProducer";
+ public static final String CAMEL_SINK_JSONPATCH_COMPONENT_LAZY_START_PRODUCER_DOC = "Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that [...]
+ public static final Boolean CAMEL_SINK_JSONPATCH_COMPONENT_LAZY_START_PRODUCER_DEFAULT = false;
+ public static final String CAMEL_SINK_JSONPATCH_COMPONENT_AUTOWIRED_ENABLED_CONF = "camel.component.json-patch.autowiredEnabled";
+ public static final String CAMEL_SINK_JSONPATCH_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_JSONPATCH_COMPONENT_AUTOWIRED_ENABLED_DEFAULT = true;
+
+ public CamelJsonpatchSinkConnectorConfig(
+ ConfigDef config,
+ Map<String, String> parsedConfig) {
+ super(config, parsedConfig);
+ }
+
+ public CamelJsonpatchSinkConnectorConfig(Map<String, String> parsedConfig) {
+ this(conf(), parsedConfig);
+ }
+
+ public static ConfigDef conf() {
+ ConfigDef conf = new ConfigDef(CamelSinkConnectorConfig.conf());
+ conf.define(CAMEL_SINK_JSONPATCH_PATH_RESOURCE_URI_CONF, ConfigDef.Type.STRING, CAMEL_SINK_JSONPATCH_PATH_RESOURCE_URI_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_JSONPATCH_PATH_RESOURCE_URI_DOC);
+ conf.define(CAMEL_SINK_JSONPATCH_ENDPOINT_ALLOW_CONTEXT_MAP_ALL_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_JSONPATCH_ENDPOINT_ALLOW_CONTEXT_MAP_ALL_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_JSONPATCH_ENDPOINT_ALLOW_CONTEXT_MAP_ALL_DOC);
+ conf.define(CAMEL_SINK_JSONPATCH_ENDPOINT_CONTENT_CACHE_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_JSONPATCH_ENDPOINT_CONTENT_CACHE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_JSONPATCH_ENDPOINT_CONTENT_CACHE_DOC);
+ conf.define(CAMEL_SINK_JSONPATCH_ENDPOINT_LAZY_START_PRODUCER_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_JSONPATCH_ENDPOINT_LAZY_START_PRODUCER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_JSONPATCH_ENDPOINT_LAZY_START_PRODUCER_DOC);
+ conf.define(CAMEL_SINK_JSONPATCH_COMPONENT_LAZY_START_PRODUCER_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_JSONPATCH_COMPONENT_LAZY_START_PRODUCER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_JSONPATCH_COMPONENT_LAZY_START_PRODUCER_DOC);
+ conf.define(CAMEL_SINK_JSONPATCH_COMPONENT_AUTOWIRED_ENABLED_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_JSONPATCH_COMPONENT_AUTOWIRED_ENABLED_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_JSONPATCH_COMPONENT_AUTOWIRED_ENABLED_DOC);
+ return conf;
+ }
+}
\ No newline at end of file
diff --git a/connectors/camel-json-patch-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/jsonpatch/CamelJsonpatchSinkTask.java b/connectors/camel-json-patch-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/jsonpatch/CamelJsonpatchSinkTask.java
new file mode 100644
index 0000000..279ed1c
--- /dev/null
+++ b/connectors/camel-json-patch-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/jsonpatch/CamelJsonpatchSinkTask.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.jsonpatch;
+
+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 CamelJsonpatchSinkTask extends CamelSinkTask {
+
+ @Override
+ protected CamelSinkConnectorConfig getCamelSinkConnectorConfig(
+ Map<String, String> props) {
+ return new CamelJsonpatchSinkConnectorConfig(props);
+ }
+ @Override
+ protected Map<String, String> getDefaultConfig() {
+ return new HashMap<String, String>() {{
+ put(CamelSinkConnectorConfig.CAMEL_SINK_COMPONENT_CONF, "json-patch");
+ }};
+ }
+}
\ No newline at end of file
diff --git a/connectors/camel-json-patch-kafka-connector/src/main/resources/META-INF/LICENSE.txt b/connectors/camel-json-patch-kafka-connector/src/main/resources/META-INF/LICENSE.txt
new file mode 100644
index 0000000..6b0b127
--- /dev/null
+++ b/connectors/camel-json-patch-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-json-patch-kafka-connector/src/main/resources/META-INF/NOTICE.txt b/connectors/camel-json-patch-kafka-connector/src/main/resources/META-INF/NOTICE.txt
new file mode 100644
index 0000000..2e215bf
--- /dev/null
+++ b/connectors/camel-json-patch-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-json-validator-kafka-connector/src/generated/resources/camel-json-validator-sink.json b/connectors/camel-json-validator-kafka-connector/src/generated/resources/camel-json-validator-sink.json
index 9a400a7..194c366 100644
--- a/connectors/camel-json-validator-kafka-connector/src/generated/resources/camel-json-validator-sink.json
+++ b/connectors/camel-json-validator-kafka-connector/src/generated/resources/camel-json-validator-sink.json
@@ -62,9 +62,9 @@
"priority": "MEDIUM",
"required": "false"
},
- "camel.sink.endpoint.schemaLoader": {
- "name": "camel.sink.endpoint.schemaLoader",
- "description": "To use a custom schema loader allowing for adding custom format validation. The default implementation will create a schema loader with draft v4 support.",
+ "camel.sink.endpoint.uriSchemaLoader": {
+ "name": "camel.sink.endpoint.uriSchemaLoader",
+ "description": "To use a custom schema loader allowing for adding custom format validation. The default implementation will create a schema loader that tries to determine the schema version from the $schema property of the specified schema.",
"priority": "MEDIUM",
"required": "false"
},
diff --git a/connectors/camel-json-validator-kafka-connector/src/main/docs/camel-json-validator-kafka-sink-connector.adoc b/connectors/camel-json-validator-kafka-connector/src/main/docs/camel-json-validator-kafka-sink-connector.adoc
index cf36ccf..ed548e4 100644
--- a/connectors/camel-json-validator-kafka-connector/src/main/docs/camel-json-validator-kafka-sink-connector.adoc
+++ b/connectors/camel-json-validator-kafka-connector/src/main/docs/camel-json-validator-kafka-sink-connector.adoc
@@ -39,7 +39,7 @@ The camel-json-validator sink connector supports 11 options, which are listed be
| *camel.sink.endpoint.headerName* | To validate against a header instead of the message body. | null | false | MEDIUM
| *camel.sink.endpoint.lazyStartProducer* | Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then cre [...]
| *camel.sink.endpoint.errorHandler* | To use a custom ValidatorErrorHandler. The default error handler captures the errors and throws an exception. | null | false | MEDIUM
-| *camel.sink.endpoint.schemaLoader* | To use a custom schema loader allowing for adding custom format validation. The default implementation will create a schema loader with draft v4 support. | null | false | MEDIUM
+| *camel.sink.endpoint.uriSchemaLoader* | To use a custom schema loader allowing for adding custom format validation. The default implementation will create a schema loader that tries to determine the schema version from the $schema property of the specified schema. | null | false | MEDIUM
| *camel.component.json-validator.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 process [...]
| *camel.component.json-validator.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
|===
diff --git a/connectors/camel-json-validator-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/jsonvalidator/CamelJsonvalidatorSinkConnectorConfig.java b/connectors/camel-json-validator-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/jsonvalidator/CamelJsonvalidatorSinkConnectorConfig.java
index f60a38b..18cc50e 100644
--- a/connectors/camel-json-validator-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/jsonvalidator/CamelJsonvalidatorSinkConnectorConfig.java
+++ b/connectors/camel-json-validator-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/jsonvalidator/CamelJsonvalidatorSinkConnectorConfig.java
@@ -50,9 +50,9 @@ public class CamelJsonvalidatorSinkConnectorConfig
public static final String CAMEL_SINK_JSONVALIDATOR_ENDPOINT_ERROR_HANDLER_CONF = "camel.sink.endpoint.errorHandler";
public static final String CAMEL_SINK_JSONVALIDATOR_ENDPOINT_ERROR_HANDLER_DOC = "To use a custom ValidatorErrorHandler. The default error handler captures the errors and throws an exception.";
public static final String CAMEL_SINK_JSONVALIDATOR_ENDPOINT_ERROR_HANDLER_DEFAULT = null;
- public static final String CAMEL_SINK_JSONVALIDATOR_ENDPOINT_SCHEMA_LOADER_CONF = "camel.sink.endpoint.schemaLoader";
- public static final String CAMEL_SINK_JSONVALIDATOR_ENDPOINT_SCHEMA_LOADER_DOC = "To use a custom schema loader allowing for adding custom format validation. The default implementation will create a schema loader with draft v4 support.";
- public static final String CAMEL_SINK_JSONVALIDATOR_ENDPOINT_SCHEMA_LOADER_DEFAULT = null;
+ public static final String CAMEL_SINK_JSONVALIDATOR_ENDPOINT_URI_SCHEMA_LOADER_CONF = "camel.sink.endpoint.uriSchemaLoader";
+ public static final String CAMEL_SINK_JSONVALIDATOR_ENDPOINT_URI_SCHEMA_LOADER_DOC = "To use a custom schema loader allowing for adding custom format validation. The default implementation will create a schema loader that tries to determine the schema version from the $schema property of the specified schema.";
+ public static final String CAMEL_SINK_JSONVALIDATOR_ENDPOINT_URI_SCHEMA_LOADER_DEFAULT = null;
public static final String CAMEL_SINK_JSONVALIDATOR_COMPONENT_LAZY_START_PRODUCER_CONF = "camel.component.json-validator.lazyStartProducer";
public static final String CAMEL_SINK_JSONVALIDATOR_COMPONENT_LAZY_START_PRODUCER_DOC = "Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware [...]
public static final Boolean CAMEL_SINK_JSONVALIDATOR_COMPONENT_LAZY_START_PRODUCER_DEFAULT = false;
@@ -81,7 +81,7 @@ public class CamelJsonvalidatorSinkConnectorConfig
conf.define(CAMEL_SINK_JSONVALIDATOR_ENDPOINT_HEADER_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SINK_JSONVALIDATOR_ENDPOINT_HEADER_NAME_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_JSONVALIDATOR_ENDPOINT_HEADER_NAME_DOC);
conf.define(CAMEL_SINK_JSONVALIDATOR_ENDPOINT_LAZY_START_PRODUCER_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_JSONVALIDATOR_ENDPOINT_LAZY_START_PRODUCER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_JSONVALIDATOR_ENDPOINT_LAZY_START_PRODUCER_DOC);
conf.define(CAMEL_SINK_JSONVALIDATOR_ENDPOINT_ERROR_HANDLER_CONF, ConfigDef.Type.STRING, CAMEL_SINK_JSONVALIDATOR_ENDPOINT_ERROR_HANDLER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_JSONVALIDATOR_ENDPOINT_ERROR_HANDLER_DOC);
- conf.define(CAMEL_SINK_JSONVALIDATOR_ENDPOINT_SCHEMA_LOADER_CONF, ConfigDef.Type.STRING, CAMEL_SINK_JSONVALIDATOR_ENDPOINT_SCHEMA_LOADER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_JSONVALIDATOR_ENDPOINT_SCHEMA_LOADER_DOC);
+ conf.define(CAMEL_SINK_JSONVALIDATOR_ENDPOINT_URI_SCHEMA_LOADER_CONF, ConfigDef.Type.STRING, CAMEL_SINK_JSONVALIDATOR_ENDPOINT_URI_SCHEMA_LOADER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_JSONVALIDATOR_ENDPOINT_URI_SCHEMA_LOADER_DOC);
conf.define(CAMEL_SINK_JSONVALIDATOR_COMPONENT_LAZY_START_PRODUCER_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_JSONVALIDATOR_COMPONENT_LAZY_START_PRODUCER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_JSONVALIDATOR_COMPONENT_LAZY_START_PRODUCER_DOC);
conf.define(CAMEL_SINK_JSONVALIDATOR_COMPONENT_AUTOWIRED_ENABLED_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_JSONVALIDATOR_COMPONENT_AUTOWIRED_ENABLED_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_JSONVALIDATOR_COMPONENT_AUTOWIRED_ENABLED_DOC);
return conf;
diff --git a/connectors/camel-log-kafka-connector/src/generated/resources/camel-log-sink.json b/connectors/camel-log-kafka-connector/src/generated/resources/camel-log-sink.json
index 83b4ea0..c5cbc0a 100644
--- a/connectors/camel-log-kafka-connector/src/generated/resources/camel-log-sink.json
+++ b/connectors/camel-log-kafka-connector/src/generated/resources/camel-log-sink.json
@@ -101,6 +101,13 @@
"priority": "MEDIUM",
"required": "false"
},
+ "camel.sink.endpoint.showAllProperties": {
+ "name": "camel.sink.endpoint.showAllProperties",
+ "description": "Show all of the exchange properties (both internal and custom).",
+ "defaultValue": "false",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
"camel.sink.endpoint.showBody": {
"name": "camel.sink.endpoint.showBody",
"description": "Show the message body.",
@@ -166,7 +173,7 @@
},
"camel.sink.endpoint.showProperties": {
"name": "camel.sink.endpoint.showProperties",
- "description": "Show the exchange properties.",
+ "description": "Show the exchange properties (only custom). Use showAllProperties to show both internal and custom properties.",
"defaultValue": "false",
"priority": "MEDIUM",
"required": "false"
diff --git a/connectors/camel-log-kafka-connector/src/main/docs/camel-log-kafka-sink-connector.adoc b/connectors/camel-log-kafka-connector/src/main/docs/camel-log-kafka-sink-connector.adoc
index fae5692..b128be8 100644
--- a/connectors/camel-log-kafka-connector/src/main/docs/camel-log-kafka-sink-connector.adoc
+++ b/connectors/camel-log-kafka-connector/src/main/docs/camel-log-kafka-sink-connector.adoc
@@ -24,7 +24,7 @@ connector.class=org.apache.camel.kafkaconnector.log.CamelLogSinkConnector
----
-The camel-log sink connector supports 30 options, which are listed below.
+The camel-log sink connector supports 31 options, which are listed below.
@@ -44,6 +44,7 @@ The camel-log sink connector supports 30 options, which are listed below.
| *camel.sink.endpoint.maxChars* | Limits the number of characters logged per line. | 10000 | false | MEDIUM
| *camel.sink.endpoint.multiline* | If enabled then each information is outputted on a newline. | false | false | MEDIUM
| *camel.sink.endpoint.showAll* | Quick option for turning all options on. (multiline, maxChars has to be manually set if to be used) | false | false | MEDIUM
+| *camel.sink.endpoint.showAllProperties* | Show all of the exchange properties (both internal and custom). | false | false | MEDIUM
| *camel.sink.endpoint.showBody* | Show the message body. | true | false | MEDIUM
| *camel.sink.endpoint.showBodyType* | Show the body Java type. | true | false | MEDIUM
| *camel.sink.endpoint.showCaughtException* | If the exchange has a caught exception, show the exception message (no stack trace). A caught exception is stored as a property on the exchange (using the key org.apache.camel.Exchange#EXCEPTION_CAUGHT) and for instance a doCatch can catch exceptions. | false | false | MEDIUM
@@ -53,7 +54,7 @@ The camel-log sink connector supports 30 options, which are listed below.
| *camel.sink.endpoint.showFiles* | If enabled Camel will output files | false | false | MEDIUM
| *camel.sink.endpoint.showFuture* | If enabled Camel will on Future objects wait for it to complete to obtain the payload to be logged. | false | false | MEDIUM
| *camel.sink.endpoint.showHeaders* | Show the message headers. | false | false | MEDIUM
-| *camel.sink.endpoint.showProperties* | Show the exchange properties. | false | false | MEDIUM
+| *camel.sink.endpoint.showProperties* | Show the exchange properties (only custom). Use showAllProperties to show both internal and custom properties. | false | false | MEDIUM
| *camel.sink.endpoint.showStackTrace* | Show the stack trace, if an exchange has an exception. Only effective if one of showAll, showException or showCaughtException are enabled. | false | false | MEDIUM
| *camel.sink.endpoint.showStreams* | Whether Camel should show stream bodies or not (eg such as java.io.InputStream). Beware if you enable this option then you may not be able later to access the message body as the stream have already been read by this logger. To remedy this you will have to use Stream Caching. | false | false | MEDIUM
| *camel.sink.endpoint.skipBodyLineSeparator* | Whether to skip line separators when logging the message body. This allows to log the message body in one line, setting this option to false will preserve any line separators from the body, which then will log the body as is. | true | false | MEDIUM
diff --git a/connectors/camel-log-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/log/CamelLogSinkConnectorConfig.java b/connectors/camel-log-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/log/CamelLogSinkConnectorConfig.java
index 9b16ab7..4ceb345 100644
--- a/connectors/camel-log-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/log/CamelLogSinkConnectorConfig.java
+++ b/connectors/camel-log-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/log/CamelLogSinkConnectorConfig.java
@@ -63,6 +63,9 @@ public class CamelLogSinkConnectorConfig extends CamelSinkConnectorConfig {
public static final String CAMEL_SINK_LOG_ENDPOINT_SHOW_ALL_CONF = "camel.sink.endpoint.showAll";
public static final String CAMEL_SINK_LOG_ENDPOINT_SHOW_ALL_DOC = "Quick option for turning all options on. (multiline, maxChars has to be manually set if to be used)";
public static final Boolean CAMEL_SINK_LOG_ENDPOINT_SHOW_ALL_DEFAULT = false;
+ public static final String CAMEL_SINK_LOG_ENDPOINT_SHOW_ALL_PROPERTIES_CONF = "camel.sink.endpoint.showAllProperties";
+ public static final String CAMEL_SINK_LOG_ENDPOINT_SHOW_ALL_PROPERTIES_DOC = "Show all of the exchange properties (both internal and custom).";
+ public static final Boolean CAMEL_SINK_LOG_ENDPOINT_SHOW_ALL_PROPERTIES_DEFAULT = false;
public static final String CAMEL_SINK_LOG_ENDPOINT_SHOW_BODY_CONF = "camel.sink.endpoint.showBody";
public static final String CAMEL_SINK_LOG_ENDPOINT_SHOW_BODY_DOC = "Show the message body.";
public static final Boolean CAMEL_SINK_LOG_ENDPOINT_SHOW_BODY_DEFAULT = true;
@@ -91,7 +94,7 @@ public class CamelLogSinkConnectorConfig extends CamelSinkConnectorConfig {
public static final String CAMEL_SINK_LOG_ENDPOINT_SHOW_HEADERS_DOC = "Show the message headers.";
public static final Boolean CAMEL_SINK_LOG_ENDPOINT_SHOW_HEADERS_DEFAULT = false;
public static final String CAMEL_SINK_LOG_ENDPOINT_SHOW_PROPERTIES_CONF = "camel.sink.endpoint.showProperties";
- public static final String CAMEL_SINK_LOG_ENDPOINT_SHOW_PROPERTIES_DOC = "Show the exchange properties.";
+ public static final String CAMEL_SINK_LOG_ENDPOINT_SHOW_PROPERTIES_DOC = "Show the exchange properties (only custom). Use showAllProperties to show both internal and custom properties.";
public static final Boolean CAMEL_SINK_LOG_ENDPOINT_SHOW_PROPERTIES_DEFAULT = false;
public static final String CAMEL_SINK_LOG_ENDPOINT_SHOW_STACK_TRACE_CONF = "camel.sink.endpoint.showStackTrace";
public static final String CAMEL_SINK_LOG_ENDPOINT_SHOW_STACK_TRACE_DOC = "Show the stack trace, if an exchange has an exception. Only effective if one of showAll, showException or showCaughtException are enabled.";
@@ -140,6 +143,7 @@ public class CamelLogSinkConnectorConfig extends CamelSinkConnectorConfig {
conf.define(CAMEL_SINK_LOG_ENDPOINT_MAX_CHARS_CONF, ConfigDef.Type.INT, CAMEL_SINK_LOG_ENDPOINT_MAX_CHARS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_LOG_ENDPOINT_MAX_CHARS_DOC);
conf.define(CAMEL_SINK_LOG_ENDPOINT_MULTILINE_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_LOG_ENDPOINT_MULTILINE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_LOG_ENDPOINT_MULTILINE_DOC);
conf.define(CAMEL_SINK_LOG_ENDPOINT_SHOW_ALL_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_LOG_ENDPOINT_SHOW_ALL_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_LOG_ENDPOINT_SHOW_ALL_DOC);
+ conf.define(CAMEL_SINK_LOG_ENDPOINT_SHOW_ALL_PROPERTIES_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_LOG_ENDPOINT_SHOW_ALL_PROPERTIES_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_LOG_ENDPOINT_SHOW_ALL_PROPERTIES_DOC);
conf.define(CAMEL_SINK_LOG_ENDPOINT_SHOW_BODY_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_LOG_ENDPOINT_SHOW_BODY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_LOG_ENDPOINT_SHOW_BODY_DOC);
conf.define(CAMEL_SINK_LOG_ENDPOINT_SHOW_BODY_TYPE_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_LOG_ENDPOINT_SHOW_BODY_TYPE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_LOG_ENDPOINT_SHOW_BODY_TYPE_DOC);
conf.define(CAMEL_SINK_LOG_ENDPOINT_SHOW_CAUGHT_EXCEPTION_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_LOG_ENDPOINT_SHOW_CAUGHT_EXCEPTION_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_LOG_ENDPOINT_SHOW_CAUGHT_EXCEPTION_DOC);
diff --git a/connectors/camel-netty-kafka-connector/src/generated/resources/camel-netty-sink.json b/connectors/camel-netty-kafka-connector/src/generated/resources/camel-netty-sink.json
index 83c4c02..1064578 100644
--- a/connectors/camel-netty-kafka-connector/src/generated/resources/camel-netty-sink.json
+++ b/connectors/camel-netty-kafka-connector/src/generated/resources/camel-netty-sink.json
@@ -6,7 +6,7 @@
"id": "camel-netty-sink",
"type": "sink",
"version": "0.12.0-SNAPSHOT",
- "description": "Socket level networking using TCP or UDP with the Netty 4.x."
+ "description": "Socket level networking using TCP or UDP with Netty 4.x."
},
"properties": {
"camel.sink.path.protocol": {
diff --git a/connectors/camel-netty-kafka-connector/src/generated/resources/camel-netty-source.json b/connectors/camel-netty-kafka-connector/src/generated/resources/camel-netty-source.json
index 5986ab6..60b8827 100644
--- a/connectors/camel-netty-kafka-connector/src/generated/resources/camel-netty-source.json
+++ b/connectors/camel-netty-kafka-connector/src/generated/resources/camel-netty-source.json
@@ -6,7 +6,7 @@
"id": "camel-netty-source",
"type": "source",
"version": "0.12.0-SNAPSHOT",
- "description": "Socket level networking using TCP or UDP with the Netty 4.x."
+ "description": "Socket level networking using TCP or UDP with Netty 4.x."
},
"properties": {
"camel.source.path.protocol": {
diff --git a/connectors/camel-netty-kafka-connector/src/main/docs/camel-netty-kafka-sink-connector.adoc b/connectors/camel-netty-kafka-connector/src/main/docs/camel-netty-kafka-sink-connector.adoc
index 3cd0dc3..dd4ef1e 100644
--- a/connectors/camel-netty-kafka-connector/src/main/docs/camel-netty-kafka-sink-connector.adoc
+++ b/connectors/camel-netty-kafka-connector/src/main/docs/camel-netty-kafka-sink-connector.adoc
@@ -2,7 +2,7 @@
[[camel-netty-kafka-connector-sink]]
= camel-netty-kafka-connector sink configuration
-Connector Description: Socket level networking using TCP or UDP with the Netty 4.x.
+Connector Description: Socket level networking using TCP or UDP with Netty 4.x.
When using camel-netty-kafka-connector as sink make sure to use the following Maven dependency to have support for the connector:
diff --git a/connectors/camel-netty-kafka-connector/src/main/docs/camel-netty-kafka-source-connector.adoc b/connectors/camel-netty-kafka-connector/src/main/docs/camel-netty-kafka-source-connector.adoc
index 07a8199..467085d 100644
--- a/connectors/camel-netty-kafka-connector/src/main/docs/camel-netty-kafka-source-connector.adoc
+++ b/connectors/camel-netty-kafka-connector/src/main/docs/camel-netty-kafka-source-connector.adoc
@@ -2,7 +2,7 @@
[[camel-netty-kafka-connector-source]]
= camel-netty-kafka-connector source configuration
-Connector description: Socket level networking using TCP or UDP with the Netty 4.x.
+Connector description: Socket level networking using TCP or UDP with Netty 4.x.
When using camel-netty-kafka-connector as source make sure to use the following Maven dependency to have support for the connector:
diff --git a/connectors/camel-paho-mqtt5-kafka-connector/src/generated/resources/camel-paho-mqtt5-sink.json b/connectors/camel-paho-mqtt5-kafka-connector/src/generated/resources/camel-paho-mqtt5-sink.json
index 0684845..96b3de9 100644
--- a/connectors/camel-paho-mqtt5-kafka-connector/src/generated/resources/camel-paho-mqtt5-sink.json
+++ b/connectors/camel-paho-mqtt5-kafka-connector/src/generated/resources/camel-paho-mqtt5-sink.json
@@ -107,6 +107,13 @@
"priority": "MEDIUM",
"required": "false"
},
+ "camel.sink.endpoint.sessionExpiryInterval": {
+ "name": "camel.sink.endpoint.sessionExpiryInterval",
+ "description": "Sets the Session Expiry Interval. This value, measured in seconds, defines the maximum time that the broker will maintain the session for once the client disconnects. Clients should only connect with a long Session Expiry interval if they intend to connect to the server at some later point in time. By default this value is -1 and so will not be sent, in this case, the session will not expire. If a 0 is sent, the session will end immediately once the Network Connection [...]
+ "defaultValue": "-1L",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
"camel.sink.endpoint.willMqttProperties": {
"name": "camel.sink.endpoint.willMqttProperties",
"description": "Sets the Last Will and Testament (LWT) for the connection. In the event that this client unexpectedly loses its connection to the server, the server will publish a message to itself using the supplied details. The MQTT properties set for the message.",
@@ -300,6 +307,13 @@
"priority": "MEDIUM",
"required": "false"
},
+ "camel.component.paho-mqtt5.sessionExpiryInterval": {
+ "name": "camel.component.paho-mqtt5.sessionExpiryInterval",
+ "description": "Sets the Session Expiry Interval. This value, measured in seconds, defines the maximum time that the broker will maintain the session for once the client disconnects. Clients should only connect with a long Session Expiry interval if they intend to connect to the server at some later point in time. By default this value is -1 and so will not be sent, in this case, the session will not expire. If a 0 is sent, the session will end immediately once the Network Connection [...]
+ "defaultValue": "-1L",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
"camel.component.paho-mqtt5.willMqttProperties": {
"name": "camel.component.paho-mqtt5.willMqttProperties",
"description": "Sets the Last Will and Testament (LWT) for the connection. In the event that this client unexpectedly loses its connection to the server, the server will publish a message to itself using the supplied details. The MQTT properties set for the message.",
diff --git a/connectors/camel-paho-mqtt5-kafka-connector/src/generated/resources/camel-paho-mqtt5-source.json b/connectors/camel-paho-mqtt5-kafka-connector/src/generated/resources/camel-paho-mqtt5-source.json
index 98bd85f..18c95c4 100644
--- a/connectors/camel-paho-mqtt5-kafka-connector/src/generated/resources/camel-paho-mqtt5-source.json
+++ b/connectors/camel-paho-mqtt5-kafka-connector/src/generated/resources/camel-paho-mqtt5-source.json
@@ -107,6 +107,13 @@
"priority": "MEDIUM",
"required": "false"
},
+ "camel.source.endpoint.sessionExpiryInterval": {
+ "name": "camel.source.endpoint.sessionExpiryInterval",
+ "description": "Sets the Session Expiry Interval. This value, measured in seconds, defines the maximum time that the broker will maintain the session for once the client disconnects. Clients should only connect with a long Session Expiry interval if they intend to connect to the server at some later point in time. By default this value is -1 and so will not be sent, in this case, the session will not expire. If a 0 is sent, the session will end immediately once the Network Connection [...]
+ "defaultValue": "-1L",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
"camel.source.endpoint.willMqttProperties": {
"name": "camel.source.endpoint.willMqttProperties",
"description": "Sets the Last Will and Testament (LWT) for the connection. In the event that this client unexpectedly loses its connection to the server, the server will publish a message to itself using the supplied details. The MQTT properties set for the message.",
@@ -317,6 +324,13 @@
"priority": "MEDIUM",
"required": "false"
},
+ "camel.component.paho-mqtt5.sessionExpiryInterval": {
+ "name": "camel.component.paho-mqtt5.sessionExpiryInterval",
+ "description": "Sets the Session Expiry Interval. This value, measured in seconds, defines the maximum time that the broker will maintain the session for once the client disconnects. Clients should only connect with a long Session Expiry interval if they intend to connect to the server at some later point in time. By default this value is -1 and so will not be sent, in this case, the session will not expire. If a 0 is sent, the session will end immediately once the Network Connection [...]
+ "defaultValue": "-1L",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
"camel.component.paho-mqtt5.willMqttProperties": {
"name": "camel.component.paho-mqtt5.willMqttProperties",
"description": "Sets the Last Will and Testament (LWT) for the connection. In the event that this client unexpectedly loses its connection to the server, the server will publish a message to itself using the supplied details. The MQTT properties set for the message.",
diff --git a/connectors/camel-paho-mqtt5-kafka-connector/src/main/docs/camel-paho-mqtt5-kafka-sink-connector.adoc b/connectors/camel-paho-mqtt5-kafka-connector/src/main/docs/camel-paho-mqtt5-kafka-sink-connector.adoc
index c08629f..097cfed 100644
--- a/connectors/camel-paho-mqtt5-kafka-connector/src/main/docs/camel-paho-mqtt5-kafka-sink-connector.adoc
+++ b/connectors/camel-paho-mqtt5-kafka-connector/src/main/docs/camel-paho-mqtt5-kafka-sink-connector.adoc
@@ -24,7 +24,7 @@ connector.class=org.apache.camel.kafkaconnector.pahomqtt5.CamelPahomqtt5SinkConn
----
-The camel-paho-mqtt5 sink connector supports 59 options, which are listed below.
+The camel-paho-mqtt5 sink connector supports 61 options, which are listed below.
@@ -45,6 +45,7 @@ The camel-paho-mqtt5 sink connector supports 59 options, which are listed below.
| *camel.sink.endpoint.receiveMaximum* | Sets the Receive Maximum. This value represents the limit of QoS 1 and QoS 2 publications that the client is willing to process concurrently. There is no mechanism to limit the number of QoS 0 publications that the Server might try to send. The default value is 65535 | 65535 | false | MEDIUM
| *camel.sink.endpoint.retained* | Retain option | false | false | MEDIUM
| *camel.sink.endpoint.serverURIs* | Set a list of one or more serverURIs the client may connect to. Multiple servers can be separated by comma. Each serverURI specifies the address of a server that the client may connect to. Two types of connection are supported tcp:// for a TCP connection and ssl:// for a TCP connection secured by SSL/TLS. For example: tcp://localhost:1883 ssl://localhost:8883 If the port is not specified, it will default to 1883 for tcp:// URIs, and 8883 for ssl:// UR [...]
+| *camel.sink.endpoint.sessionExpiryInterval* | Sets the Session Expiry Interval. This value, measured in seconds, defines the maximum time that the broker will maintain the session for once the client disconnects. Clients should only connect with a long Session Expiry interval if they intend to connect to the server at some later point in time. By default this value is -1 and so will not be sent, in this case, the session will not expire. If a 0 is sent, the session will end immediately [...]
| *camel.sink.endpoint.willMqttProperties* | Sets the Last Will and Testament (LWT) for the connection. In the event that this client unexpectedly loses its connection to the server, the server will publish a message to itself using the supplied details. The MQTT properties set for the message. | null | false | MEDIUM
| *camel.sink.endpoint.willPayload* | Sets the Last Will and Testament (LWT) for the connection. In the event that this client unexpectedly loses its connection to the server, the server will publish a message to itself using the supplied details. The byte payload for the message. | null | false | MEDIUM
| *camel.sink.endpoint.willQos* | Sets the Last Will and Testament (LWT) for the connection. In the event that this client unexpectedly loses its connection to the server, the server will publish a message to itself using the supplied details. The quality of service to publish the message at (0, 1 or 2). | 1 | false | MEDIUM
@@ -74,6 +75,7 @@ The camel-paho-mqtt5 sink connector supports 59 options, which are listed below.
| *camel.component.paho-mqtt5.receiveMaximum* | Sets the Receive Maximum. This value represents the limit of QoS 1 and QoS 2 publications that the client is willing to process concurrently. There is no mechanism to limit the number of QoS 0 publications that the Server might try to send. The default value is 65535 | 65535 | false | MEDIUM
| *camel.component.paho-mqtt5.retained* | Retain option | false | false | MEDIUM
| *camel.component.paho-mqtt5.serverURIs* | Set a list of one or more serverURIs the client may connect to. Multiple servers can be separated by comma. Each serverURI specifies the address of a server that the client may connect to. Two types of connection are supported tcp:// for a TCP connection and ssl:// for a TCP connection secured by SSL/TLS. For example: tcp://localhost:1883 ssl://localhost:8883 If the port is not specified, it will default to 1883 for tcp:// URIs, and 8883 for ss [...]
+| *camel.component.paho-mqtt5.sessionExpiryInterval* | Sets the Session Expiry Interval. This value, measured in seconds, defines the maximum time that the broker will maintain the session for once the client disconnects. Clients should only connect with a long Session Expiry interval if they intend to connect to the server at some later point in time. By default this value is -1 and so will not be sent, in this case, the session will not expire. If a 0 is sent, the session will end imme [...]
| *camel.component.paho-mqtt5.willMqttProperties* | Sets the Last Will and Testament (LWT) for the connection. In the event that this client unexpectedly loses its connection to the server, the server will publish a message to itself using the supplied details. The MQTT properties set for the message. | null | false | MEDIUM
| *camel.component.paho-mqtt5.willPayload* | Sets the Last Will and Testament (LWT) for the connection. In the event that this client unexpectedly loses its connection to the server, the server will publish a message to itself using the supplied details. The byte payload for the message. | null | false | MEDIUM
| *camel.component.paho-mqtt5.willQos* | Sets the Last Will and Testament (LWT) for the connection. In the event that this client unexpectedly loses its connection to the server, the server will publish a message to itself using the supplied details. The quality of service to publish the message at (0, 1 or 2). | 1 | false | MEDIUM
diff --git a/connectors/camel-paho-mqtt5-kafka-connector/src/main/docs/camel-paho-mqtt5-kafka-source-connector.adoc b/connectors/camel-paho-mqtt5-kafka-connector/src/main/docs/camel-paho-mqtt5-kafka-source-connector.adoc
index fd6262e..aad114c 100644
--- a/connectors/camel-paho-mqtt5-kafka-connector/src/main/docs/camel-paho-mqtt5-kafka-source-connector.adoc
+++ b/connectors/camel-paho-mqtt5-kafka-connector/src/main/docs/camel-paho-mqtt5-kafka-source-connector.adoc
@@ -24,7 +24,7 @@ connector.class=org.apache.camel.kafkaconnector.pahomqtt5.CamelPahomqtt5SourceCo
----
-The camel-paho-mqtt5 source connector supports 61 options, which are listed below.
+The camel-paho-mqtt5 source connector supports 63 options, which are listed below.
@@ -45,6 +45,7 @@ The camel-paho-mqtt5 source connector supports 61 options, which are listed belo
| *camel.source.endpoint.receiveMaximum* | Sets the Receive Maximum. This value represents the limit of QoS 1 and QoS 2 publications that the client is willing to process concurrently. There is no mechanism to limit the number of QoS 0 publications that the Server might try to send. The default value is 65535 | 65535 | false | MEDIUM
| *camel.source.endpoint.retained* | Retain option | false | false | MEDIUM
| *camel.source.endpoint.serverURIs* | Set a list of one or more serverURIs the client may connect to. Multiple servers can be separated by comma. Each serverURI specifies the address of a server that the client may connect to. Two types of connection are supported tcp:// for a TCP connection and ssl:// for a TCP connection secured by SSL/TLS. For example: tcp://localhost:1883 ssl://localhost:8883 If the port is not specified, it will default to 1883 for tcp:// URIs, and 8883 for ssl:// [...]
+| *camel.source.endpoint.sessionExpiryInterval* | Sets the Session Expiry Interval. This value, measured in seconds, defines the maximum time that the broker will maintain the session for once the client disconnects. Clients should only connect with a long Session Expiry interval if they intend to connect to the server at some later point in time. By default this value is -1 and so will not be sent, in this case, the session will not expire. If a 0 is sent, the session will end immediate [...]
| *camel.source.endpoint.willMqttProperties* | Sets the Last Will and Testament (LWT) for the connection. In the event that this client unexpectedly loses its connection to the server, the server will publish a message to itself using the supplied details. The MQTT properties set for the message. | null | false | MEDIUM
| *camel.source.endpoint.willPayload* | Sets the Last Will and Testament (LWT) for the connection. In the event that this client unexpectedly loses its connection to the server, the server will publish a message to itself using the supplied details. The byte payload for the message. | null | false | MEDIUM
| *camel.source.endpoint.willQos* | Sets the Last Will and Testament (LWT) for the connection. In the event that this client unexpectedly loses its connection to the server, the server will publish a message to itself using the supplied details. The quality of service to publish the message at (0, 1 or 2). | 1 | false | MEDIUM
@@ -76,6 +77,7 @@ The camel-paho-mqtt5 source connector supports 61 options, which are listed belo
| *camel.component.paho-mqtt5.receiveMaximum* | Sets the Receive Maximum. This value represents the limit of QoS 1 and QoS 2 publications that the client is willing to process concurrently. There is no mechanism to limit the number of QoS 0 publications that the Server might try to send. The default value is 65535 | 65535 | false | MEDIUM
| *camel.component.paho-mqtt5.retained* | Retain option | false | false | MEDIUM
| *camel.component.paho-mqtt5.serverURIs* | Set a list of one or more serverURIs the client may connect to. Multiple servers can be separated by comma. Each serverURI specifies the address of a server that the client may connect to. Two types of connection are supported tcp:// for a TCP connection and ssl:// for a TCP connection secured by SSL/TLS. For example: tcp://localhost:1883 ssl://localhost:8883 If the port is not specified, it will default to 1883 for tcp:// URIs, and 8883 for ss [...]
+| *camel.component.paho-mqtt5.sessionExpiryInterval* | Sets the Session Expiry Interval. This value, measured in seconds, defines the maximum time that the broker will maintain the session for once the client disconnects. Clients should only connect with a long Session Expiry interval if they intend to connect to the server at some later point in time. By default this value is -1 and so will not be sent, in this case, the session will not expire. If a 0 is sent, the session will end imme [...]
| *camel.component.paho-mqtt5.willMqttProperties* | Sets the Last Will and Testament (LWT) for the connection. In the event that this client unexpectedly loses its connection to the server, the server will publish a message to itself using the supplied details. The MQTT properties set for the message. | null | false | MEDIUM
| *camel.component.paho-mqtt5.willPayload* | Sets the Last Will and Testament (LWT) for the connection. In the event that this client unexpectedly loses its connection to the server, the server will publish a message to itself using the supplied details. The byte payload for the message. | null | false | MEDIUM
| *camel.component.paho-mqtt5.willQos* | Sets the Last Will and Testament (LWT) for the connection. In the event that this client unexpectedly loses its connection to the server, the server will publish a message to itself using the supplied details. The quality of service to publish the message at (0, 1 or 2). | 1 | false | MEDIUM
diff --git a/connectors/camel-paho-mqtt5-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/pahomqtt5/CamelPahomqtt5SinkConnectorConfig.java b/connectors/camel-paho-mqtt5-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/pahomqtt5/CamelPahomqtt5SinkConnectorConfig.java
index 49ba8a2..2e2c705 100644
--- a/connectors/camel-paho-mqtt5-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/pahomqtt5/CamelPahomqtt5SinkConnectorConfig.java
+++ b/connectors/camel-paho-mqtt5-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/pahomqtt5/CamelPahomqtt5SinkConnectorConfig.java
@@ -68,6 +68,9 @@ public class CamelPahomqtt5SinkConnectorConfig
public static final String CAMEL_SINK_PAHOMQTT5_ENDPOINT_SERVER_URIS_CONF = "camel.sink.endpoint.serverURIs";
public static final String CAMEL_SINK_PAHOMQTT5_ENDPOINT_SERVER_URIS_DOC = "Set a list of one or more serverURIs the client may connect to. Multiple servers can be separated by comma. Each serverURI specifies the address of a server that the client may connect to. Two types of connection are supported tcp:// for a TCP connection and ssl:// for a TCP connection secured by SSL/TLS. For example: tcp://localhost:1883 ssl://localhost:8883 If the port is not specified, it will default to 1 [...]
public static final String CAMEL_SINK_PAHOMQTT5_ENDPOINT_SERVER_URIS_DEFAULT = null;
+ public static final String CAMEL_SINK_PAHOMQTT5_ENDPOINT_SESSION_EXPIRY_INTERVAL_CONF = "camel.sink.endpoint.sessionExpiryInterval";
+ public static final String CAMEL_SINK_PAHOMQTT5_ENDPOINT_SESSION_EXPIRY_INTERVAL_DOC = "Sets the Session Expiry Interval. This value, measured in seconds, defines the maximum time that the broker will maintain the session for once the client disconnects. Clients should only connect with a long Session Expiry interval if they intend to connect to the server at some later point in time. By default this value is -1 and so will not be sent, in this case, the session will not expire. If a [...]
+ public static final Long CAMEL_SINK_PAHOMQTT5_ENDPOINT_SESSION_EXPIRY_INTERVAL_DEFAULT = -1L;
public static final String CAMEL_SINK_PAHOMQTT5_ENDPOINT_WILL_MQTT_PROPERTIES_CONF = "camel.sink.endpoint.willMqttProperties";
public static final String CAMEL_SINK_PAHOMQTT5_ENDPOINT_WILL_MQTT_PROPERTIES_DOC = "Sets the Last Will and Testament (LWT) for the connection. In the event that this client unexpectedly loses its connection to the server, the server will publish a message to itself using the supplied details. The MQTT properties set for the message.";
public static final String CAMEL_SINK_PAHOMQTT5_ENDPOINT_WILL_MQTT_PROPERTIES_DEFAULT = null;
@@ -155,6 +158,9 @@ public class CamelPahomqtt5SinkConnectorConfig
public static final String CAMEL_SINK_PAHOMQTT5_COMPONENT_SERVER_URIS_CONF = "camel.component.paho-mqtt5.serverURIs";
public static final String CAMEL_SINK_PAHOMQTT5_COMPONENT_SERVER_URIS_DOC = "Set a list of one or more serverURIs the client may connect to. Multiple servers can be separated by comma. Each serverURI specifies the address of a server that the client may connect to. Two types of connection are supported tcp:// for a TCP connection and ssl:// for a TCP connection secured by SSL/TLS. For example: tcp://localhost:1883 ssl://localhost:8883 If the port is not specified, it will default to [...]
public static final String CAMEL_SINK_PAHOMQTT5_COMPONENT_SERVER_URIS_DEFAULT = null;
+ public static final String CAMEL_SINK_PAHOMQTT5_COMPONENT_SESSION_EXPIRY_INTERVAL_CONF = "camel.component.paho-mqtt5.sessionExpiryInterval";
+ public static final String CAMEL_SINK_PAHOMQTT5_COMPONENT_SESSION_EXPIRY_INTERVAL_DOC = "Sets the Session Expiry Interval. This value, measured in seconds, defines the maximum time that the broker will maintain the session for once the client disconnects. Clients should only connect with a long Session Expiry interval if they intend to connect to the server at some later point in time. By default this value is -1 and so will not be sent, in this case, the session will not expire. If [...]
+ public static final Long CAMEL_SINK_PAHOMQTT5_COMPONENT_SESSION_EXPIRY_INTERVAL_DEFAULT = -1L;
public static final String CAMEL_SINK_PAHOMQTT5_COMPONENT_WILL_MQTT_PROPERTIES_CONF = "camel.component.paho-mqtt5.willMqttProperties";
public static final String CAMEL_SINK_PAHOMQTT5_COMPONENT_WILL_MQTT_PROPERTIES_DOC = "Sets the Last Will and Testament (LWT) for the connection. In the event that this client unexpectedly loses its connection to the server, the server will publish a message to itself using the supplied details. The MQTT properties set for the message.";
public static final String CAMEL_SINK_PAHOMQTT5_COMPONENT_WILL_MQTT_PROPERTIES_DEFAULT = null;
@@ -230,6 +236,7 @@ public class CamelPahomqtt5SinkConnectorConfig
conf.define(CAMEL_SINK_PAHOMQTT5_ENDPOINT_RECEIVE_MAXIMUM_CONF, ConfigDef.Type.INT, CAMEL_SINK_PAHOMQTT5_ENDPOINT_RECEIVE_MAXIMUM_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_PAHOMQTT5_ENDPOINT_RECEIVE_MAXIMUM_DOC);
conf.define(CAMEL_SINK_PAHOMQTT5_ENDPOINT_RETAINED_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_PAHOMQTT5_ENDPOINT_RETAINED_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_PAHOMQTT5_ENDPOINT_RETAINED_DOC);
conf.define(CAMEL_SINK_PAHOMQTT5_ENDPOINT_SERVER_URIS_CONF, ConfigDef.Type.STRING, CAMEL_SINK_PAHOMQTT5_ENDPOINT_SERVER_URIS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_PAHOMQTT5_ENDPOINT_SERVER_URIS_DOC);
+ conf.define(CAMEL_SINK_PAHOMQTT5_ENDPOINT_SESSION_EXPIRY_INTERVAL_CONF, ConfigDef.Type.LONG, CAMEL_SINK_PAHOMQTT5_ENDPOINT_SESSION_EXPIRY_INTERVAL_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_PAHOMQTT5_ENDPOINT_SESSION_EXPIRY_INTERVAL_DOC);
conf.define(CAMEL_SINK_PAHOMQTT5_ENDPOINT_WILL_MQTT_PROPERTIES_CONF, ConfigDef.Type.STRING, CAMEL_SINK_PAHOMQTT5_ENDPOINT_WILL_MQTT_PROPERTIES_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_PAHOMQTT5_ENDPOINT_WILL_MQTT_PROPERTIES_DOC);
conf.define(CAMEL_SINK_PAHOMQTT5_ENDPOINT_WILL_PAYLOAD_CONF, ConfigDef.Type.STRING, CAMEL_SINK_PAHOMQTT5_ENDPOINT_WILL_PAYLOAD_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_PAHOMQTT5_ENDPOINT_WILL_PAYLOAD_DOC);
conf.define(CAMEL_SINK_PAHOMQTT5_ENDPOINT_WILL_QOS_CONF, ConfigDef.Type.INT, CAMEL_SINK_PAHOMQTT5_ENDPOINT_WILL_QOS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_PAHOMQTT5_ENDPOINT_WILL_QOS_DOC);
@@ -259,6 +266,7 @@ public class CamelPahomqtt5SinkConnectorConfig
conf.define(CAMEL_SINK_PAHOMQTT5_COMPONENT_RECEIVE_MAXIMUM_CONF, ConfigDef.Type.INT, CAMEL_SINK_PAHOMQTT5_COMPONENT_RECEIVE_MAXIMUM_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_PAHOMQTT5_COMPONENT_RECEIVE_MAXIMUM_DOC);
conf.define(CAMEL_SINK_PAHOMQTT5_COMPONENT_RETAINED_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_PAHOMQTT5_COMPONENT_RETAINED_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_PAHOMQTT5_COMPONENT_RETAINED_DOC);
conf.define(CAMEL_SINK_PAHOMQTT5_COMPONENT_SERVER_URIS_CONF, ConfigDef.Type.STRING, CAMEL_SINK_PAHOMQTT5_COMPONENT_SERVER_URIS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_PAHOMQTT5_COMPONENT_SERVER_URIS_DOC);
+ conf.define(CAMEL_SINK_PAHOMQTT5_COMPONENT_SESSION_EXPIRY_INTERVAL_CONF, ConfigDef.Type.LONG, CAMEL_SINK_PAHOMQTT5_COMPONENT_SESSION_EXPIRY_INTERVAL_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_PAHOMQTT5_COMPONENT_SESSION_EXPIRY_INTERVAL_DOC);
conf.define(CAMEL_SINK_PAHOMQTT5_COMPONENT_WILL_MQTT_PROPERTIES_CONF, ConfigDef.Type.STRING, CAMEL_SINK_PAHOMQTT5_COMPONENT_WILL_MQTT_PROPERTIES_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_PAHOMQTT5_COMPONENT_WILL_MQTT_PROPERTIES_DOC);
conf.define(CAMEL_SINK_PAHOMQTT5_COMPONENT_WILL_PAYLOAD_CONF, ConfigDef.Type.STRING, CAMEL_SINK_PAHOMQTT5_COMPONENT_WILL_PAYLOAD_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_PAHOMQTT5_COMPONENT_WILL_PAYLOAD_DOC);
conf.define(CAMEL_SINK_PAHOMQTT5_COMPONENT_WILL_QOS_CONF, ConfigDef.Type.INT, CAMEL_SINK_PAHOMQTT5_COMPONENT_WILL_QOS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_PAHOMQTT5_COMPONENT_WILL_QOS_DOC);
diff --git a/connectors/camel-paho-mqtt5-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/pahomqtt5/CamelPahomqtt5SourceConnectorConfig.java b/connectors/camel-paho-mqtt5-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/pahomqtt5/CamelPahomqtt5SourceConnectorConfig.java
index 80b79b6..1a75a58 100644
--- a/connectors/camel-paho-mqtt5-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/pahomqtt5/CamelPahomqtt5SourceConnectorConfig.java
+++ b/connectors/camel-paho-mqtt5-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/pahomqtt5/CamelPahomqtt5SourceConnectorConfig.java
@@ -68,6 +68,9 @@ public class CamelPahomqtt5SourceConnectorConfig
public static final String CAMEL_SOURCE_PAHOMQTT5_ENDPOINT_SERVER_URIS_CONF = "camel.source.endpoint.serverURIs";
public static final String CAMEL_SOURCE_PAHOMQTT5_ENDPOINT_SERVER_URIS_DOC = "Set a list of one or more serverURIs the client may connect to. Multiple servers can be separated by comma. Each serverURI specifies the address of a server that the client may connect to. Two types of connection are supported tcp:// for a TCP connection and ssl:// for a TCP connection secured by SSL/TLS. For example: tcp://localhost:1883 ssl://localhost:8883 If the port is not specified, it will default to [...]
public static final String CAMEL_SOURCE_PAHOMQTT5_ENDPOINT_SERVER_URIS_DEFAULT = null;
+ public static final String CAMEL_SOURCE_PAHOMQTT5_ENDPOINT_SESSION_EXPIRY_INTERVAL_CONF = "camel.source.endpoint.sessionExpiryInterval";
+ public static final String CAMEL_SOURCE_PAHOMQTT5_ENDPOINT_SESSION_EXPIRY_INTERVAL_DOC = "Sets the Session Expiry Interval. This value, measured in seconds, defines the maximum time that the broker will maintain the session for once the client disconnects. Clients should only connect with a long Session Expiry interval if they intend to connect to the server at some later point in time. By default this value is -1 and so will not be sent, in this case, the session will not expire. If [...]
+ public static final Long CAMEL_SOURCE_PAHOMQTT5_ENDPOINT_SESSION_EXPIRY_INTERVAL_DEFAULT = -1L;
public static final String CAMEL_SOURCE_PAHOMQTT5_ENDPOINT_WILL_MQTT_PROPERTIES_CONF = "camel.source.endpoint.willMqttProperties";
public static final String CAMEL_SOURCE_PAHOMQTT5_ENDPOINT_WILL_MQTT_PROPERTIES_DOC = "Sets the Last Will and Testament (LWT) for the connection. In the event that this client unexpectedly loses its connection to the server, the server will publish a message to itself using the supplied details. The MQTT properties set for the message.";
public static final String CAMEL_SOURCE_PAHOMQTT5_ENDPOINT_WILL_MQTT_PROPERTIES_DEFAULT = null;
@@ -161,6 +164,9 @@ public class CamelPahomqtt5SourceConnectorConfig
public static final String CAMEL_SOURCE_PAHOMQTT5_COMPONENT_SERVER_URIS_CONF = "camel.component.paho-mqtt5.serverURIs";
public static final String CAMEL_SOURCE_PAHOMQTT5_COMPONENT_SERVER_URIS_DOC = "Set a list of one or more serverURIs the client may connect to. Multiple servers can be separated by comma. Each serverURI specifies the address of a server that the client may connect to. Two types of connection are supported tcp:// for a TCP connection and ssl:// for a TCP connection secured by SSL/TLS. For example: tcp://localhost:1883 ssl://localhost:8883 If the port is not specified, it will default t [...]
public static final String CAMEL_SOURCE_PAHOMQTT5_COMPONENT_SERVER_URIS_DEFAULT = null;
+ public static final String CAMEL_SOURCE_PAHOMQTT5_COMPONENT_SESSION_EXPIRY_INTERVAL_CONF = "camel.component.paho-mqtt5.sessionExpiryInterval";
+ public static final String CAMEL_SOURCE_PAHOMQTT5_COMPONENT_SESSION_EXPIRY_INTERVAL_DOC = "Sets the Session Expiry Interval. This value, measured in seconds, defines the maximum time that the broker will maintain the session for once the client disconnects. Clients should only connect with a long Session Expiry interval if they intend to connect to the server at some later point in time. By default this value is -1 and so will not be sent, in this case, the session will not expire. I [...]
+ public static final Long CAMEL_SOURCE_PAHOMQTT5_COMPONENT_SESSION_EXPIRY_INTERVAL_DEFAULT = -1L;
public static final String CAMEL_SOURCE_PAHOMQTT5_COMPONENT_WILL_MQTT_PROPERTIES_CONF = "camel.component.paho-mqtt5.willMqttProperties";
public static final String CAMEL_SOURCE_PAHOMQTT5_COMPONENT_WILL_MQTT_PROPERTIES_DOC = "Sets the Last Will and Testament (LWT) for the connection. In the event that this client unexpectedly loses its connection to the server, the server will publish a message to itself using the supplied details. The MQTT properties set for the message.";
public static final String CAMEL_SOURCE_PAHOMQTT5_COMPONENT_WILL_MQTT_PROPERTIES_DEFAULT = null;
@@ -236,6 +242,7 @@ public class CamelPahomqtt5SourceConnectorConfig
conf.define(CAMEL_SOURCE_PAHOMQTT5_ENDPOINT_RECEIVE_MAXIMUM_CONF, ConfigDef.Type.INT, CAMEL_SOURCE_PAHOMQTT5_ENDPOINT_RECEIVE_MAXIMUM_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_PAHOMQTT5_ENDPOINT_RECEIVE_MAXIMUM_DOC);
conf.define(CAMEL_SOURCE_PAHOMQTT5_ENDPOINT_RETAINED_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_PAHOMQTT5_ENDPOINT_RETAINED_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_PAHOMQTT5_ENDPOINT_RETAINED_DOC);
conf.define(CAMEL_SOURCE_PAHOMQTT5_ENDPOINT_SERVER_URIS_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_PAHOMQTT5_ENDPOINT_SERVER_URIS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_PAHOMQTT5_ENDPOINT_SERVER_URIS_DOC);
+ conf.define(CAMEL_SOURCE_PAHOMQTT5_ENDPOINT_SESSION_EXPIRY_INTERVAL_CONF, ConfigDef.Type.LONG, CAMEL_SOURCE_PAHOMQTT5_ENDPOINT_SESSION_EXPIRY_INTERVAL_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_PAHOMQTT5_ENDPOINT_SESSION_EXPIRY_INTERVAL_DOC);
conf.define(CAMEL_SOURCE_PAHOMQTT5_ENDPOINT_WILL_MQTT_PROPERTIES_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_PAHOMQTT5_ENDPOINT_WILL_MQTT_PROPERTIES_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_PAHOMQTT5_ENDPOINT_WILL_MQTT_PROPERTIES_DOC);
conf.define(CAMEL_SOURCE_PAHOMQTT5_ENDPOINT_WILL_PAYLOAD_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_PAHOMQTT5_ENDPOINT_WILL_PAYLOAD_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_PAHOMQTT5_ENDPOINT_WILL_PAYLOAD_DOC);
conf.define(CAMEL_SOURCE_PAHOMQTT5_ENDPOINT_WILL_QOS_CONF, ConfigDef.Type.INT, CAMEL_SOURCE_PAHOMQTT5_ENDPOINT_WILL_QOS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_PAHOMQTT5_ENDPOINT_WILL_QOS_DOC);
@@ -267,6 +274,7 @@ public class CamelPahomqtt5SourceConnectorConfig
conf.define(CAMEL_SOURCE_PAHOMQTT5_COMPONENT_RECEIVE_MAXIMUM_CONF, ConfigDef.Type.INT, CAMEL_SOURCE_PAHOMQTT5_COMPONENT_RECEIVE_MAXIMUM_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_PAHOMQTT5_COMPONENT_RECEIVE_MAXIMUM_DOC);
conf.define(CAMEL_SOURCE_PAHOMQTT5_COMPONENT_RETAINED_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_PAHOMQTT5_COMPONENT_RETAINED_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_PAHOMQTT5_COMPONENT_RETAINED_DOC);
conf.define(CAMEL_SOURCE_PAHOMQTT5_COMPONENT_SERVER_URIS_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_PAHOMQTT5_COMPONENT_SERVER_URIS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_PAHOMQTT5_COMPONENT_SERVER_URIS_DOC);
+ conf.define(CAMEL_SOURCE_PAHOMQTT5_COMPONENT_SESSION_EXPIRY_INTERVAL_CONF, ConfigDef.Type.LONG, CAMEL_SOURCE_PAHOMQTT5_COMPONENT_SESSION_EXPIRY_INTERVAL_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_PAHOMQTT5_COMPONENT_SESSION_EXPIRY_INTERVAL_DOC);
conf.define(CAMEL_SOURCE_PAHOMQTT5_COMPONENT_WILL_MQTT_PROPERTIES_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_PAHOMQTT5_COMPONENT_WILL_MQTT_PROPERTIES_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_PAHOMQTT5_COMPONENT_WILL_MQTT_PROPERTIES_DOC);
conf.define(CAMEL_SOURCE_PAHOMQTT5_COMPONENT_WILL_PAYLOAD_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_PAHOMQTT5_COMPONENT_WILL_PAYLOAD_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_PAHOMQTT5_COMPONENT_WILL_PAYLOAD_DOC);
conf.define(CAMEL_SOURCE_PAHOMQTT5_COMPONENT_WILL_QOS_CONF, ConfigDef.Type.INT, CAMEL_SOURCE_PAHOMQTT5_COMPONENT_WILL_QOS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_PAHOMQTT5_COMPONENT_WILL_QOS_DOC);
diff --git a/connectors/camel-pulsar-kafka-connector/src/generated/resources/camel-pulsar-sink.json b/connectors/camel-pulsar-kafka-connector/src/generated/resources/camel-pulsar-sink.json
index 25ef09f..7e37d19 100644
--- a/connectors/camel-pulsar-kafka-connector/src/generated/resources/camel-pulsar-sink.json
+++ b/connectors/camel-pulsar-kafka-connector/src/generated/resources/camel-pulsar-sink.json
@@ -37,6 +37,24 @@
"priority": "HIGH",
"required": "true"
},
+ "camel.sink.endpoint.authenticationClass": {
+ "name": "camel.sink.endpoint.authenticationClass",
+ "description": "The Authentication FQCN to be used while creating the client from URI",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
+ "camel.sink.endpoint.authenticationParams": {
+ "name": "camel.sink.endpoint.authenticationParams",
+ "description": "The Authentication Parameters to be used while creating the client from URI",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
+ "camel.sink.endpoint.serviceUrl": {
+ "name": "camel.sink.endpoint.serviceUrl",
+ "description": "The Pulsar Service URL to point while creating the client from URI",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
"camel.sink.endpoint.batcherBuilder": {
"name": "camel.sink.endpoint.batcherBuilder",
"description": "Control batching method used by the producer.",
@@ -145,12 +163,30 @@
"priority": "MEDIUM",
"required": "false"
},
+ "camel.component.pulsar.authenticationClass": {
+ "name": "camel.component.pulsar.authenticationClass",
+ "description": "The Authentication FQCN to be used while creating the client from URI",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
+ "camel.component.pulsar.authenticationParams": {
+ "name": "camel.component.pulsar.authenticationParams",
+ "description": "The Authentication Parameters to be used while creating the client from URI",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
"camel.component.pulsar.configuration": {
"name": "camel.component.pulsar.configuration",
"description": "Allows to pre-configure the Pulsar component with common options that the endpoints will reuse.",
"priority": "MEDIUM",
"required": "false"
},
+ "camel.component.pulsar.serviceUrl": {
+ "name": "camel.component.pulsar.serviceUrl",
+ "description": "The Pulsar Service URL to point while creating the client from URI",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
"camel.component.pulsar.batcherBuilder": {
"name": "camel.component.pulsar.batcherBuilder",
"description": "Control batching method used by the producer.",
diff --git a/connectors/camel-pulsar-kafka-connector/src/generated/resources/camel-pulsar-source.json b/connectors/camel-pulsar-kafka-connector/src/generated/resources/camel-pulsar-source.json
index da57b8c..0e57f58 100644
--- a/connectors/camel-pulsar-kafka-connector/src/generated/resources/camel-pulsar-source.json
+++ b/connectors/camel-pulsar-kafka-connector/src/generated/resources/camel-pulsar-source.json
@@ -37,6 +37,24 @@
"priority": "HIGH",
"required": "true"
},
+ "camel.source.endpoint.authenticationClass": {
+ "name": "camel.source.endpoint.authenticationClass",
+ "description": "The Authentication FQCN to be used while creating the client from URI",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
+ "camel.source.endpoint.authenticationParams": {
+ "name": "camel.source.endpoint.authenticationParams",
+ "description": "The Authentication Parameters to be used while creating the client from URI",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
+ "camel.source.endpoint.serviceUrl": {
+ "name": "camel.source.endpoint.serviceUrl",
+ "description": "The Pulsar Service URL to point while creating the client from URI",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
"camel.source.endpoint.ackGroupTimeMillis": {
"name": "camel.source.endpoint.ackGroupTimeMillis",
"description": "Group the consumer acknowledgments for the specified time in milliseconds - defaults to 100",
@@ -98,6 +116,13 @@
"priority": "MEDIUM",
"required": "false"
},
+ "camel.source.endpoint.messageListener": {
+ "name": "camel.source.endpoint.messageListener",
+ "description": "Whether to use the messageListener interface, or to receive messages using a separate thread pool",
+ "defaultValue": "true",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
"camel.source.endpoint.negativeAckRedeliveryDelayMicros": {
"name": "camel.source.endpoint.negativeAckRedeliveryDelayMicros",
"description": "Set the negative acknowledgement delay",
@@ -112,6 +137,13 @@
"priority": "MEDIUM",
"required": "false"
},
+ "camel.source.endpoint.numberOfConsumerThreads": {
+ "name": "camel.source.endpoint.numberOfConsumerThreads",
+ "description": "Number of threads to receive and handle messages when using a separate thread pool",
+ "defaultValue": "1",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
"camel.source.endpoint.readCompacted": {
"name": "camel.source.endpoint.readCompacted",
"description": "Enable compacted topic reading.",
@@ -186,12 +218,30 @@
"InOptionalOut"
]
},
+ "camel.component.pulsar.authenticationClass": {
+ "name": "camel.component.pulsar.authenticationClass",
+ "description": "The Authentication FQCN to be used while creating the client from URI",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
+ "camel.component.pulsar.authenticationParams": {
+ "name": "camel.component.pulsar.authenticationParams",
+ "description": "The Authentication Parameters to be used while creating the client from URI",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
"camel.component.pulsar.configuration": {
"name": "camel.component.pulsar.configuration",
"description": "Allows to pre-configure the Pulsar component with common options that the endpoints will reuse.",
"priority": "MEDIUM",
"required": "false"
},
+ "camel.component.pulsar.serviceUrl": {
+ "name": "camel.component.pulsar.serviceUrl",
+ "description": "The Pulsar Service URL to point while creating the client from URI",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
"camel.component.pulsar.ackGroupTimeMillis": {
"name": "camel.component.pulsar.ackGroupTimeMillis",
"description": "Group the consumer acknowledgments for the specified time in milliseconds - defaults to 100",
@@ -253,6 +303,13 @@
"priority": "MEDIUM",
"required": "false"
},
+ "camel.component.pulsar.messageListener": {
+ "name": "camel.component.pulsar.messageListener",
+ "description": "Whether to use the messageListener interface, or to receive messages using a separate thread pool",
+ "defaultValue": "true",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
"camel.component.pulsar.negativeAckRedeliveryDelayMicros": {
"name": "camel.component.pulsar.negativeAckRedeliveryDelayMicros",
"description": "Set the negative acknowledgement delay",
@@ -267,6 +324,13 @@
"priority": "MEDIUM",
"required": "false"
},
+ "camel.component.pulsar.numberOfConsumerThreads": {
+ "name": "camel.component.pulsar.numberOfConsumerThreads",
+ "description": "Number of threads to receive and handle messages when using a separate thread pool",
+ "defaultValue": "1",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
"camel.component.pulsar.readCompacted": {
"name": "camel.component.pulsar.readCompacted",
"description": "Enable compacted topic reading.",
diff --git a/connectors/camel-pulsar-kafka-connector/src/main/docs/camel-pulsar-kafka-sink-connector.adoc b/connectors/camel-pulsar-kafka-connector/src/main/docs/camel-pulsar-kafka-sink-connector.adoc
index 7d3a784..2952820 100644
--- a/connectors/camel-pulsar-kafka-connector/src/main/docs/camel-pulsar-kafka-sink-connector.adoc
+++ b/connectors/camel-pulsar-kafka-connector/src/main/docs/camel-pulsar-kafka-sink-connector.adoc
@@ -24,7 +24,7 @@ connector.class=org.apache.camel.kafkaconnector.pulsar.CamelPulsarSinkConnector
----
-The camel-pulsar sink connector supports 36 options, which are listed below.
+The camel-pulsar sink connector supports 42 options, which are listed below.
@@ -35,6 +35,9 @@ The camel-pulsar sink connector supports 36 options, which are listed below.
| *camel.sink.path.tenant* | The tenant | null | true | HIGH
| *camel.sink.path.namespace* | The namespace | null | true | HIGH
| *camel.sink.path.topic* | The topic | null | true | HIGH
+| *camel.sink.endpoint.authenticationClass* | The Authentication FQCN to be used while creating the client from URI | null | false | MEDIUM
+| *camel.sink.endpoint.authenticationParams* | The Authentication Parameters to be used while creating the client from URI | null | false | MEDIUM
+| *camel.sink.endpoint.serviceUrl* | The Pulsar Service URL to point while creating the client from URI | null | false | MEDIUM
| *camel.sink.endpoint.batcherBuilder* | Control batching method used by the producer. | "DEFAULT" | false | MEDIUM
| *camel.sink.endpoint.batchingEnabled* | Control whether automatic batching of messages is enabled for the producer. | true | false | MEDIUM
| *camel.sink.endpoint.batchingMaxMessages* | The maximum size to batch messages. | 1000 | false | MEDIUM
@@ -49,7 +52,10 @@ The camel-pulsar sink connector supports 36 options, which are listed below.
| *camel.sink.endpoint.messageRoutingMode* | Message Routing Mode to use One of: [SinglePartition] [RoundRobinPartition] [CustomPartition] | "RoundRobinPartition" | false | MEDIUM
| *camel.sink.endpoint.producerName* | Name of the producer. If unset, lets Pulsar select a unique identifier. | null | false | MEDIUM
| *camel.sink.endpoint.sendTimeoutMs* | Send timeout in milliseconds | 30000 | false | MEDIUM
+| *camel.component.pulsar.authenticationClass* | The Authentication FQCN to be used while creating the client from URI | null | false | MEDIUM
+| *camel.component.pulsar.authenticationParams* | The Authentication Parameters to be used while creating the client from URI | null | false | MEDIUM
| *camel.component.pulsar.configuration* | Allows to pre-configure the Pulsar component with common options that the endpoints will reuse. | null | false | MEDIUM
+| *camel.component.pulsar.serviceUrl* | The Pulsar Service URL to point while creating the client from URI | null | false | MEDIUM
| *camel.component.pulsar.batcherBuilder* | Control batching method used by the producer. | "DEFAULT" | false | MEDIUM
| *camel.component.pulsar.batchingEnabled* | Control whether automatic batching of messages is enabled for the producer. | true | false | MEDIUM
| *camel.component.pulsar.batchingMaxMessages* | The maximum size to batch messages. | 1000 | false | MEDIUM
diff --git a/connectors/camel-pulsar-kafka-connector/src/main/docs/camel-pulsar-kafka-source-connector.adoc b/connectors/camel-pulsar-kafka-connector/src/main/docs/camel-pulsar-kafka-source-connector.adoc
index b930159..3df0f4c 100644
--- a/connectors/camel-pulsar-kafka-connector/src/main/docs/camel-pulsar-kafka-source-connector.adoc
+++ b/connectors/camel-pulsar-kafka-connector/src/main/docs/camel-pulsar-kafka-source-connector.adoc
@@ -24,7 +24,7 @@ connector.class=org.apache.camel.kafkaconnector.pulsar.CamelPulsarSourceConnecto
----
-The camel-pulsar source connector supports 45 options, which are listed below.
+The camel-pulsar source connector supports 55 options, which are listed below.
@@ -35,6 +35,9 @@ The camel-pulsar source connector supports 45 options, which are listed below.
| *camel.source.path.tenant* | The tenant | null | true | HIGH
| *camel.source.path.namespace* | The namespace | null | true | HIGH
| *camel.source.path.topic* | The topic | null | true | HIGH
+| *camel.source.endpoint.authenticationClass* | The Authentication FQCN to be used while creating the client from URI | null | false | MEDIUM
+| *camel.source.endpoint.authenticationParams* | The Authentication Parameters to be used while creating the client from URI | null | false | MEDIUM
+| *camel.source.endpoint.serviceUrl* | The Pulsar Service URL to point while creating the client from URI | null | false | MEDIUM
| *camel.source.endpoint.ackGroupTimeMillis* | Group the consumer acknowledgments for the specified time in milliseconds - defaults to 100 | 100L | false | MEDIUM
| *camel.source.endpoint.ackTimeoutMillis* | Timeout for unacknowledged messages in milliseconds - defaults to 10000 | 10000L | false | MEDIUM
| *camel.source.endpoint.allowManualAcknowledgement* | Whether to allow manual message acknowledgements. If this option is enabled, then messages are not acknowledged automatically after successful route completion. Instead, an instance of PulsarMessageReceipt is stored as a header on the org.apache.camel.Exchange. Messages can then be acknowledged using PulsarMessageReceipt at any time before the ackTimeout occurs. | false | false | MEDIUM
@@ -44,8 +47,10 @@ The camel-pulsar source connector supports 45 options, which are listed below.
| *camel.source.endpoint.consumerQueueSize* | Size of the consumer queue - defaults to 10 | 10 | false | MEDIUM
| *camel.source.endpoint.deadLetterTopic* | Name of the topic where the messages which fail maxRedeliverCount times will be sent. Note: if not set, default topic name will be topicName-subscriptionName-DLQ | null | false | MEDIUM
| *camel.source.endpoint.maxRedeliverCount* | Maximum number of times that a message will be redelivered before being sent to the dead letter queue. If this value is not set, no Dead Letter Policy will be created | null | false | MEDIUM
+| *camel.source.endpoint.messageListener* | Whether to use the messageListener interface, or to receive messages using a separate thread pool | true | false | MEDIUM
| *camel.source.endpoint.negativeAckRedeliveryDelay Micros* | Set the negative acknowledgement delay | 60000000L | false | MEDIUM
| *camel.source.endpoint.numberOfConsumers* | Number of consumers - defaults to 1 | 1 | false | MEDIUM
+| *camel.source.endpoint.numberOfConsumerThreads* | Number of threads to receive and handle messages when using a separate thread pool | 1 | false | MEDIUM
| *camel.source.endpoint.readCompacted* | Enable compacted topic reading. | false | false | MEDIUM
| *camel.source.endpoint.subscriptionInitialPosition* | Control the initial position in the topic of a newly created subscription. Default is latest message. One of: [EARLIEST] [LATEST] | "LATEST" | false | MEDIUM
| *camel.source.endpoint.subscriptionName* | Name of the subscription to use | "subs" | false | MEDIUM
@@ -54,7 +59,10 @@ The camel-pulsar source connector supports 45 options, which are listed below.
| *camel.source.endpoint.topicsPattern* | Whether the topic is a pattern (regular expression) that allows the consumer to subscribe to all matching topics in the namespace | false | false | MEDIUM
| *camel.source.endpoint.exceptionHandler* | To let the consumer use a custom ExceptionHandler. Notice if the option bridgeErrorHandler is enabled then this option is not in use. By default the consumer will deal with exceptions, that will be logged at WARN or ERROR level and ignored. | null | false | MEDIUM
| *camel.source.endpoint.exchangePattern* | Sets the exchange pattern when the consumer creates an exchange. One of: [InOnly] [InOut] [InOptionalOut] | null | false | MEDIUM
+| *camel.component.pulsar.authenticationClass* | The Authentication FQCN to be used while creating the client from URI | null | false | MEDIUM
+| *camel.component.pulsar.authenticationParams* | The Authentication Parameters to be used while creating the client from URI | null | false | MEDIUM
| *camel.component.pulsar.configuration* | Allows to pre-configure the Pulsar component with common options that the endpoints will reuse. | null | false | MEDIUM
+| *camel.component.pulsar.serviceUrl* | The Pulsar Service URL to point while creating the client from URI | null | false | MEDIUM
| *camel.component.pulsar.ackGroupTimeMillis* | Group the consumer acknowledgments for the specified time in milliseconds - defaults to 100 | 100L | false | MEDIUM
| *camel.component.pulsar.ackTimeoutMillis* | Timeout for unacknowledged messages in milliseconds - defaults to 10000 | 10000L | false | MEDIUM
| *camel.component.pulsar.allowManualAcknowledgement* | Whether to allow manual message acknowledgements. If this option is enabled, then messages are not acknowledged automatically after successful route completion. Instead, an instance of PulsarMessageReceipt is stored as a header on the org.apache.camel.Exchange. Messages can then be acknowledged using PulsarMessageReceipt at any time before the ackTimeout occurs. | false | false | MEDIUM
@@ -64,8 +72,10 @@ The camel-pulsar source connector supports 45 options, which are listed below.
| *camel.component.pulsar.consumerQueueSize* | Size of the consumer queue - defaults to 10 | 10 | false | MEDIUM
| *camel.component.pulsar.deadLetterTopic* | Name of the topic where the messages which fail maxRedeliverCount times will be sent. Note: if not set, default topic name will be topicName-subscriptionName-DLQ | null | false | MEDIUM
| *camel.component.pulsar.maxRedeliverCount* | Maximum number of times that a message will be redelivered before being sent to the dead letter queue. If this value is not set, no Dead Letter Policy will be created | null | false | MEDIUM
+| *camel.component.pulsar.messageListener* | Whether to use the messageListener interface, or to receive messages using a separate thread pool | true | false | MEDIUM
| *camel.component.pulsar.negativeAckRedeliveryDelay Micros* | Set the negative acknowledgement delay | 60000000L | false | MEDIUM
| *camel.component.pulsar.numberOfConsumers* | Number of consumers - defaults to 1 | 1 | false | MEDIUM
+| *camel.component.pulsar.numberOfConsumerThreads* | Number of threads to receive and handle messages when using a separate thread pool | 1 | false | MEDIUM
| *camel.component.pulsar.readCompacted* | Enable compacted topic reading. | false | false | MEDIUM
| *camel.component.pulsar.subscriptionInitialPosition* | Control the initial position in the topic of a newly created subscription. Default is latest message. One of: [EARLIEST] [LATEST] | "LATEST" | false | MEDIUM
| *camel.component.pulsar.subscriptionName* | Name of the subscription to use | "subs" | false | MEDIUM
diff --git a/connectors/camel-pulsar-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/pulsar/CamelPulsarSinkConnectorConfig.java b/connectors/camel-pulsar-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/pulsar/CamelPulsarSinkConnectorConfig.java
index e99ef79..213d1ca 100644
--- a/connectors/camel-pulsar-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/pulsar/CamelPulsarSinkConnectorConfig.java
+++ b/connectors/camel-pulsar-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/pulsar/CamelPulsarSinkConnectorConfig.java
@@ -36,6 +36,15 @@ public class CamelPulsarSinkConnectorConfig extends CamelSinkConnectorConfig {
public static final String CAMEL_SINK_PULSAR_PATH_TOPIC_CONF = "camel.sink.path.topic";
public static final String CAMEL_SINK_PULSAR_PATH_TOPIC_DOC = "The topic";
public static final String CAMEL_SINK_PULSAR_PATH_TOPIC_DEFAULT = null;
+ public static final String CAMEL_SINK_PULSAR_ENDPOINT_AUTHENTICATION_CLASS_CONF = "camel.sink.endpoint.authenticationClass";
+ public static final String CAMEL_SINK_PULSAR_ENDPOINT_AUTHENTICATION_CLASS_DOC = "The Authentication FQCN to be used while creating the client from URI";
+ public static final String CAMEL_SINK_PULSAR_ENDPOINT_AUTHENTICATION_CLASS_DEFAULT = null;
+ public static final String CAMEL_SINK_PULSAR_ENDPOINT_AUTHENTICATION_PARAMS_CONF = "camel.sink.endpoint.authenticationParams";
+ public static final String CAMEL_SINK_PULSAR_ENDPOINT_AUTHENTICATION_PARAMS_DOC = "The Authentication Parameters to be used while creating the client from URI";
+ public static final String CAMEL_SINK_PULSAR_ENDPOINT_AUTHENTICATION_PARAMS_DEFAULT = null;
+ public static final String CAMEL_SINK_PULSAR_ENDPOINT_SERVICE_URL_CONF = "camel.sink.endpoint.serviceUrl";
+ public static final String CAMEL_SINK_PULSAR_ENDPOINT_SERVICE_URL_DOC = "The Pulsar Service URL to point while creating the client from URI";
+ public static final String CAMEL_SINK_PULSAR_ENDPOINT_SERVICE_URL_DEFAULT = null;
public static final String CAMEL_SINK_PULSAR_ENDPOINT_BATCHER_BUILDER_CONF = "camel.sink.endpoint.batcherBuilder";
public static final String CAMEL_SINK_PULSAR_ENDPOINT_BATCHER_BUILDER_DOC = "Control batching method used by the producer.";
public static final String CAMEL_SINK_PULSAR_ENDPOINT_BATCHER_BUILDER_DEFAULT = "DEFAULT";
@@ -78,9 +87,18 @@ public class CamelPulsarSinkConnectorConfig extends CamelSinkConnectorConfig {
public static final String CAMEL_SINK_PULSAR_ENDPOINT_SEND_TIMEOUT_MS_CONF = "camel.sink.endpoint.sendTimeoutMs";
public static final String CAMEL_SINK_PULSAR_ENDPOINT_SEND_TIMEOUT_MS_DOC = "Send timeout in milliseconds";
public static final Integer CAMEL_SINK_PULSAR_ENDPOINT_SEND_TIMEOUT_MS_DEFAULT = 30000;
+ public static final String CAMEL_SINK_PULSAR_COMPONENT_AUTHENTICATION_CLASS_CONF = "camel.component.pulsar.authenticationClass";
+ public static final String CAMEL_SINK_PULSAR_COMPONENT_AUTHENTICATION_CLASS_DOC = "The Authentication FQCN to be used while creating the client from URI";
+ public static final String CAMEL_SINK_PULSAR_COMPONENT_AUTHENTICATION_CLASS_DEFAULT = null;
+ public static final String CAMEL_SINK_PULSAR_COMPONENT_AUTHENTICATION_PARAMS_CONF = "camel.component.pulsar.authenticationParams";
+ public static final String CAMEL_SINK_PULSAR_COMPONENT_AUTHENTICATION_PARAMS_DOC = "The Authentication Parameters to be used while creating the client from URI";
+ public static final String CAMEL_SINK_PULSAR_COMPONENT_AUTHENTICATION_PARAMS_DEFAULT = null;
public static final String CAMEL_SINK_PULSAR_COMPONENT_CONFIGURATION_CONF = "camel.component.pulsar.configuration";
public static final String CAMEL_SINK_PULSAR_COMPONENT_CONFIGURATION_DOC = "Allows to pre-configure the Pulsar component with common options that the endpoints will reuse.";
public static final String CAMEL_SINK_PULSAR_COMPONENT_CONFIGURATION_DEFAULT = null;
+ public static final String CAMEL_SINK_PULSAR_COMPONENT_SERVICE_URL_CONF = "camel.component.pulsar.serviceUrl";
+ public static final String CAMEL_SINK_PULSAR_COMPONENT_SERVICE_URL_DOC = "The Pulsar Service URL to point while creating the client from URI";
+ public static final String CAMEL_SINK_PULSAR_COMPONENT_SERVICE_URL_DEFAULT = null;
public static final String CAMEL_SINK_PULSAR_COMPONENT_BATCHER_BUILDER_CONF = "camel.component.pulsar.batcherBuilder";
public static final String CAMEL_SINK_PULSAR_COMPONENT_BATCHER_BUILDER_DOC = "Control batching method used by the producer.";
public static final String CAMEL_SINK_PULSAR_COMPONENT_BATCHER_BUILDER_DEFAULT = "DEFAULT";
@@ -149,6 +167,9 @@ public class CamelPulsarSinkConnectorConfig extends CamelSinkConnectorConfig {
conf.define(CAMEL_SINK_PULSAR_PATH_TENANT_CONF, ConfigDef.Type.STRING, CAMEL_SINK_PULSAR_PATH_TENANT_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_PULSAR_PATH_TENANT_DOC);
conf.define(CAMEL_SINK_PULSAR_PATH_NAMESPACE_CONF, ConfigDef.Type.STRING, CAMEL_SINK_PULSAR_PATH_NAMESPACE_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_PULSAR_PATH_NAMESPACE_DOC);
conf.define(CAMEL_SINK_PULSAR_PATH_TOPIC_CONF, ConfigDef.Type.STRING, CAMEL_SINK_PULSAR_PATH_TOPIC_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_PULSAR_PATH_TOPIC_DOC);
+ conf.define(CAMEL_SINK_PULSAR_ENDPOINT_AUTHENTICATION_CLASS_CONF, ConfigDef.Type.STRING, CAMEL_SINK_PULSAR_ENDPOINT_AUTHENTICATION_CLASS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_PULSAR_ENDPOINT_AUTHENTICATION_CLASS_DOC);
+ conf.define(CAMEL_SINK_PULSAR_ENDPOINT_AUTHENTICATION_PARAMS_CONF, ConfigDef.Type.STRING, CAMEL_SINK_PULSAR_ENDPOINT_AUTHENTICATION_PARAMS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_PULSAR_ENDPOINT_AUTHENTICATION_PARAMS_DOC);
+ conf.define(CAMEL_SINK_PULSAR_ENDPOINT_SERVICE_URL_CONF, ConfigDef.Type.STRING, CAMEL_SINK_PULSAR_ENDPOINT_SERVICE_URL_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_PULSAR_ENDPOINT_SERVICE_URL_DOC);
conf.define(CAMEL_SINK_PULSAR_ENDPOINT_BATCHER_BUILDER_CONF, ConfigDef.Type.STRING, CAMEL_SINK_PULSAR_ENDPOINT_BATCHER_BUILDER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_PULSAR_ENDPOINT_BATCHER_BUILDER_DOC);
conf.define(CAMEL_SINK_PULSAR_ENDPOINT_BATCHING_ENABLED_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_PULSAR_ENDPOINT_BATCHING_ENABLED_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_PULSAR_ENDPOINT_BATCHING_ENABLED_DOC);
conf.define(CAMEL_SINK_PULSAR_ENDPOINT_BATCHING_MAX_MESSAGES_CONF, ConfigDef.Type.INT, CAMEL_SINK_PULSAR_ENDPOINT_BATCHING_MAX_MESSAGES_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_PULSAR_ENDPOINT_BATCHING_MAX_MESSAGES_DOC);
@@ -163,7 +184,10 @@ public class CamelPulsarSinkConnectorConfig extends CamelSinkConnectorConfig {
conf.define(CAMEL_SINK_PULSAR_ENDPOINT_MESSAGE_ROUTING_MODE_CONF, ConfigDef.Type.STRING, CAMEL_SINK_PULSAR_ENDPOINT_MESSAGE_ROUTING_MODE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_PULSAR_ENDPOINT_MESSAGE_ROUTING_MODE_DOC);
conf.define(CAMEL_SINK_PULSAR_ENDPOINT_PRODUCER_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SINK_PULSAR_ENDPOINT_PRODUCER_NAME_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_PULSAR_ENDPOINT_PRODUCER_NAME_DOC);
conf.define(CAMEL_SINK_PULSAR_ENDPOINT_SEND_TIMEOUT_MS_CONF, ConfigDef.Type.INT, CAMEL_SINK_PULSAR_ENDPOINT_SEND_TIMEOUT_MS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_PULSAR_ENDPOINT_SEND_TIMEOUT_MS_DOC);
+ conf.define(CAMEL_SINK_PULSAR_COMPONENT_AUTHENTICATION_CLASS_CONF, ConfigDef.Type.STRING, CAMEL_SINK_PULSAR_COMPONENT_AUTHENTICATION_CLASS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_PULSAR_COMPONENT_AUTHENTICATION_CLASS_DOC);
+ conf.define(CAMEL_SINK_PULSAR_COMPONENT_AUTHENTICATION_PARAMS_CONF, ConfigDef.Type.STRING, CAMEL_SINK_PULSAR_COMPONENT_AUTHENTICATION_PARAMS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_PULSAR_COMPONENT_AUTHENTICATION_PARAMS_DOC);
conf.define(CAMEL_SINK_PULSAR_COMPONENT_CONFIGURATION_CONF, ConfigDef.Type.STRING, CAMEL_SINK_PULSAR_COMPONENT_CONFIGURATION_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_PULSAR_COMPONENT_CONFIGURATION_DOC);
+ conf.define(CAMEL_SINK_PULSAR_COMPONENT_SERVICE_URL_CONF, ConfigDef.Type.STRING, CAMEL_SINK_PULSAR_COMPONENT_SERVICE_URL_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_PULSAR_COMPONENT_SERVICE_URL_DOC);
conf.define(CAMEL_SINK_PULSAR_COMPONENT_BATCHER_BUILDER_CONF, ConfigDef.Type.STRING, CAMEL_SINK_PULSAR_COMPONENT_BATCHER_BUILDER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_PULSAR_COMPONENT_BATCHER_BUILDER_DOC);
conf.define(CAMEL_SINK_PULSAR_COMPONENT_BATCHING_ENABLED_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_PULSAR_COMPONENT_BATCHING_ENABLED_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_PULSAR_COMPONENT_BATCHING_ENABLED_DOC);
conf.define(CAMEL_SINK_PULSAR_COMPONENT_BATCHING_MAX_MESSAGES_CONF, ConfigDef.Type.INT, CAMEL_SINK_PULSAR_COMPONENT_BATCHING_MAX_MESSAGES_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_PULSAR_COMPONENT_BATCHING_MAX_MESSAGES_DOC);
diff --git a/connectors/camel-pulsar-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/pulsar/CamelPulsarSourceConnectorConfig.java b/connectors/camel-pulsar-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/pulsar/CamelPulsarSourceConnectorConfig.java
index 49c42d1..026f3b3 100644
--- a/connectors/camel-pulsar-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/pulsar/CamelPulsarSourceConnectorConfig.java
+++ b/connectors/camel-pulsar-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/pulsar/CamelPulsarSourceConnectorConfig.java
@@ -38,6 +38,15 @@ public class CamelPulsarSourceConnectorConfig
public static final String CAMEL_SOURCE_PULSAR_PATH_TOPIC_CONF = "camel.source.path.topic";
public static final String CAMEL_SOURCE_PULSAR_PATH_TOPIC_DOC = "The topic";
public static final String CAMEL_SOURCE_PULSAR_PATH_TOPIC_DEFAULT = null;
+ public static final String CAMEL_SOURCE_PULSAR_ENDPOINT_AUTHENTICATION_CLASS_CONF = "camel.source.endpoint.authenticationClass";
+ public static final String CAMEL_SOURCE_PULSAR_ENDPOINT_AUTHENTICATION_CLASS_DOC = "The Authentication FQCN to be used while creating the client from URI";
+ public static final String CAMEL_SOURCE_PULSAR_ENDPOINT_AUTHENTICATION_CLASS_DEFAULT = null;
+ public static final String CAMEL_SOURCE_PULSAR_ENDPOINT_AUTHENTICATION_PARAMS_CONF = "camel.source.endpoint.authenticationParams";
+ public static final String CAMEL_SOURCE_PULSAR_ENDPOINT_AUTHENTICATION_PARAMS_DOC = "The Authentication Parameters to be used while creating the client from URI";
+ public static final String CAMEL_SOURCE_PULSAR_ENDPOINT_AUTHENTICATION_PARAMS_DEFAULT = null;
+ public static final String CAMEL_SOURCE_PULSAR_ENDPOINT_SERVICE_URL_CONF = "camel.source.endpoint.serviceUrl";
+ public static final String CAMEL_SOURCE_PULSAR_ENDPOINT_SERVICE_URL_DOC = "The Pulsar Service URL to point while creating the client from URI";
+ public static final String CAMEL_SOURCE_PULSAR_ENDPOINT_SERVICE_URL_DEFAULT = null;
public static final String CAMEL_SOURCE_PULSAR_ENDPOINT_ACK_GROUP_TIME_MILLIS_CONF = "camel.source.endpoint.ackGroupTimeMillis";
public static final String CAMEL_SOURCE_PULSAR_ENDPOINT_ACK_GROUP_TIME_MILLIS_DOC = "Group the consumer acknowledgments for the specified time in milliseconds - defaults to 100";
public static final Long CAMEL_SOURCE_PULSAR_ENDPOINT_ACK_GROUP_TIME_MILLIS_DEFAULT = 100L;
@@ -65,12 +74,18 @@ public class CamelPulsarSourceConnectorConfig
public static final String CAMEL_SOURCE_PULSAR_ENDPOINT_MAX_REDELIVER_COUNT_CONF = "camel.source.endpoint.maxRedeliverCount";
public static final String CAMEL_SOURCE_PULSAR_ENDPOINT_MAX_REDELIVER_COUNT_DOC = "Maximum number of times that a message will be redelivered before being sent to the dead letter queue. If this value is not set, no Dead Letter Policy will be created";
public static final String CAMEL_SOURCE_PULSAR_ENDPOINT_MAX_REDELIVER_COUNT_DEFAULT = null;
+ public static final String CAMEL_SOURCE_PULSAR_ENDPOINT_MESSAGE_LISTENER_CONF = "camel.source.endpoint.messageListener";
+ public static final String CAMEL_SOURCE_PULSAR_ENDPOINT_MESSAGE_LISTENER_DOC = "Whether to use the messageListener interface, or to receive messages using a separate thread pool";
+ public static final Boolean CAMEL_SOURCE_PULSAR_ENDPOINT_MESSAGE_LISTENER_DEFAULT = true;
public static final String CAMEL_SOURCE_PULSAR_ENDPOINT_NEGATIVE_ACK_REDELIVERY_DELAY_MICROS_CONF = "camel.source.endpoint.negativeAckRedeliveryDelayMicros";
public static final String CAMEL_SOURCE_PULSAR_ENDPOINT_NEGATIVE_ACK_REDELIVERY_DELAY_MICROS_DOC = "Set the negative acknowledgement delay";
public static final Long CAMEL_SOURCE_PULSAR_ENDPOINT_NEGATIVE_ACK_REDELIVERY_DELAY_MICROS_DEFAULT = 60000000L;
public static final String CAMEL_SOURCE_PULSAR_ENDPOINT_NUMBER_OF_CONSUMERS_CONF = "camel.source.endpoint.numberOfConsumers";
public static final String CAMEL_SOURCE_PULSAR_ENDPOINT_NUMBER_OF_CONSUMERS_DOC = "Number of consumers - defaults to 1";
public static final Integer CAMEL_SOURCE_PULSAR_ENDPOINT_NUMBER_OF_CONSUMERS_DEFAULT = 1;
+ public static final String CAMEL_SOURCE_PULSAR_ENDPOINT_NUMBER_OF_CONSUMER_THREADS_CONF = "camel.source.endpoint.numberOfConsumerThreads";
+ public static final String CAMEL_SOURCE_PULSAR_ENDPOINT_NUMBER_OF_CONSUMER_THREADS_DOC = "Number of threads to receive and handle messages when using a separate thread pool";
+ public static final Integer CAMEL_SOURCE_PULSAR_ENDPOINT_NUMBER_OF_CONSUMER_THREADS_DEFAULT = 1;
public static final String CAMEL_SOURCE_PULSAR_ENDPOINT_READ_COMPACTED_CONF = "camel.source.endpoint.readCompacted";
public static final String CAMEL_SOURCE_PULSAR_ENDPOINT_READ_COMPACTED_DOC = "Enable compacted topic reading.";
public static final Boolean CAMEL_SOURCE_PULSAR_ENDPOINT_READ_COMPACTED_DEFAULT = false;
@@ -95,9 +110,18 @@ public class CamelPulsarSourceConnectorConfig
public static final String CAMEL_SOURCE_PULSAR_ENDPOINT_EXCHANGE_PATTERN_CONF = "camel.source.endpoint.exchangePattern";
public static final String CAMEL_SOURCE_PULSAR_ENDPOINT_EXCHANGE_PATTERN_DOC = "Sets the exchange pattern when the consumer creates an exchange. One of: [InOnly] [InOut] [InOptionalOut]";
public static final String CAMEL_SOURCE_PULSAR_ENDPOINT_EXCHANGE_PATTERN_DEFAULT = null;
+ public static final String CAMEL_SOURCE_PULSAR_COMPONENT_AUTHENTICATION_CLASS_CONF = "camel.component.pulsar.authenticationClass";
+ public static final String CAMEL_SOURCE_PULSAR_COMPONENT_AUTHENTICATION_CLASS_DOC = "The Authentication FQCN to be used while creating the client from URI";
+ public static final String CAMEL_SOURCE_PULSAR_COMPONENT_AUTHENTICATION_CLASS_DEFAULT = null;
+ public static final String CAMEL_SOURCE_PULSAR_COMPONENT_AUTHENTICATION_PARAMS_CONF = "camel.component.pulsar.authenticationParams";
+ public static final String CAMEL_SOURCE_PULSAR_COMPONENT_AUTHENTICATION_PARAMS_DOC = "The Authentication Parameters to be used while creating the client from URI";
+ public static final String CAMEL_SOURCE_PULSAR_COMPONENT_AUTHENTICATION_PARAMS_DEFAULT = null;
public static final String CAMEL_SOURCE_PULSAR_COMPONENT_CONFIGURATION_CONF = "camel.component.pulsar.configuration";
public static final String CAMEL_SOURCE_PULSAR_COMPONENT_CONFIGURATION_DOC = "Allows to pre-configure the Pulsar component with common options that the endpoints will reuse.";
public static final String CAMEL_SOURCE_PULSAR_COMPONENT_CONFIGURATION_DEFAULT = null;
+ public static final String CAMEL_SOURCE_PULSAR_COMPONENT_SERVICE_URL_CONF = "camel.component.pulsar.serviceUrl";
+ public static final String CAMEL_SOURCE_PULSAR_COMPONENT_SERVICE_URL_DOC = "The Pulsar Service URL to point while creating the client from URI";
+ public static final String CAMEL_SOURCE_PULSAR_COMPONENT_SERVICE_URL_DEFAULT = null;
public static final String CAMEL_SOURCE_PULSAR_COMPONENT_ACK_GROUP_TIME_MILLIS_CONF = "camel.component.pulsar.ackGroupTimeMillis";
public static final String CAMEL_SOURCE_PULSAR_COMPONENT_ACK_GROUP_TIME_MILLIS_DOC = "Group the consumer acknowledgments for the specified time in milliseconds - defaults to 100";
public static final Long CAMEL_SOURCE_PULSAR_COMPONENT_ACK_GROUP_TIME_MILLIS_DEFAULT = 100L;
@@ -125,12 +149,18 @@ public class CamelPulsarSourceConnectorConfig
public static final String CAMEL_SOURCE_PULSAR_COMPONENT_MAX_REDELIVER_COUNT_CONF = "camel.component.pulsar.maxRedeliverCount";
public static final String CAMEL_SOURCE_PULSAR_COMPONENT_MAX_REDELIVER_COUNT_DOC = "Maximum number of times that a message will be redelivered before being sent to the dead letter queue. If this value is not set, no Dead Letter Policy will be created";
public static final String CAMEL_SOURCE_PULSAR_COMPONENT_MAX_REDELIVER_COUNT_DEFAULT = null;
+ public static final String CAMEL_SOURCE_PULSAR_COMPONENT_MESSAGE_LISTENER_CONF = "camel.component.pulsar.messageListener";
+ public static final String CAMEL_SOURCE_PULSAR_COMPONENT_MESSAGE_LISTENER_DOC = "Whether to use the messageListener interface, or to receive messages using a separate thread pool";
+ public static final Boolean CAMEL_SOURCE_PULSAR_COMPONENT_MESSAGE_LISTENER_DEFAULT = true;
public static final String CAMEL_SOURCE_PULSAR_COMPONENT_NEGATIVE_ACK_REDELIVERY_DELAY_MICROS_CONF = "camel.component.pulsar.negativeAckRedeliveryDelayMicros";
public static final String CAMEL_SOURCE_PULSAR_COMPONENT_NEGATIVE_ACK_REDELIVERY_DELAY_MICROS_DOC = "Set the negative acknowledgement delay";
public static final Long CAMEL_SOURCE_PULSAR_COMPONENT_NEGATIVE_ACK_REDELIVERY_DELAY_MICROS_DEFAULT = 60000000L;
public static final String CAMEL_SOURCE_PULSAR_COMPONENT_NUMBER_OF_CONSUMERS_CONF = "camel.component.pulsar.numberOfConsumers";
public static final String CAMEL_SOURCE_PULSAR_COMPONENT_NUMBER_OF_CONSUMERS_DOC = "Number of consumers - defaults to 1";
public static final Integer CAMEL_SOURCE_PULSAR_COMPONENT_NUMBER_OF_CONSUMERS_DEFAULT = 1;
+ public static final String CAMEL_SOURCE_PULSAR_COMPONENT_NUMBER_OF_CONSUMER_THREADS_CONF = "camel.component.pulsar.numberOfConsumerThreads";
+ public static final String CAMEL_SOURCE_PULSAR_COMPONENT_NUMBER_OF_CONSUMER_THREADS_DOC = "Number of threads to receive and handle messages when using a separate thread pool";
+ public static final Integer CAMEL_SOURCE_PULSAR_COMPONENT_NUMBER_OF_CONSUMER_THREADS_DEFAULT = 1;
public static final String CAMEL_SOURCE_PULSAR_COMPONENT_READ_COMPACTED_CONF = "camel.component.pulsar.readCompacted";
public static final String CAMEL_SOURCE_PULSAR_COMPONENT_READ_COMPACTED_DOC = "Enable compacted topic reading.";
public static final Boolean CAMEL_SOURCE_PULSAR_COMPONENT_READ_COMPACTED_DEFAULT = false;
@@ -178,6 +208,9 @@ public class CamelPulsarSourceConnectorConfig
conf.define(CAMEL_SOURCE_PULSAR_PATH_TENANT_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_PULSAR_PATH_TENANT_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_PULSAR_PATH_TENANT_DOC);
conf.define(CAMEL_SOURCE_PULSAR_PATH_NAMESPACE_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_PULSAR_PATH_NAMESPACE_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_PULSAR_PATH_NAMESPACE_DOC);
conf.define(CAMEL_SOURCE_PULSAR_PATH_TOPIC_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_PULSAR_PATH_TOPIC_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_PULSAR_PATH_TOPIC_DOC);
+ conf.define(CAMEL_SOURCE_PULSAR_ENDPOINT_AUTHENTICATION_CLASS_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_PULSAR_ENDPOINT_AUTHENTICATION_CLASS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_PULSAR_ENDPOINT_AUTHENTICATION_CLASS_DOC);
+ conf.define(CAMEL_SOURCE_PULSAR_ENDPOINT_AUTHENTICATION_PARAMS_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_PULSAR_ENDPOINT_AUTHENTICATION_PARAMS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_PULSAR_ENDPOINT_AUTHENTICATION_PARAMS_DOC);
+ conf.define(CAMEL_SOURCE_PULSAR_ENDPOINT_SERVICE_URL_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_PULSAR_ENDPOINT_SERVICE_URL_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_PULSAR_ENDPOINT_SERVICE_URL_DOC);
conf.define(CAMEL_SOURCE_PULSAR_ENDPOINT_ACK_GROUP_TIME_MILLIS_CONF, ConfigDef.Type.LONG, CAMEL_SOURCE_PULSAR_ENDPOINT_ACK_GROUP_TIME_MILLIS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_PULSAR_ENDPOINT_ACK_GROUP_TIME_MILLIS_DOC);
conf.define(CAMEL_SOURCE_PULSAR_ENDPOINT_ACK_TIMEOUT_MILLIS_CONF, ConfigDef.Type.LONG, CAMEL_SOURCE_PULSAR_ENDPOINT_ACK_TIMEOUT_MILLIS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_PULSAR_ENDPOINT_ACK_TIMEOUT_MILLIS_DOC);
conf.define(CAMEL_SOURCE_PULSAR_ENDPOINT_ALLOW_MANUAL_ACKNOWLEDGEMENT_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_PULSAR_ENDPOINT_ALLOW_MANUAL_ACKNOWLEDGEMENT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_PULSAR_ENDPOINT_ALLOW_MANUAL_ACKNOWLEDGEMENT_DOC);
@@ -187,8 +220,10 @@ public class CamelPulsarSourceConnectorConfig
conf.define(CAMEL_SOURCE_PULSAR_ENDPOINT_CONSUMER_QUEUE_SIZE_CONF, ConfigDef.Type.INT, CAMEL_SOURCE_PULSAR_ENDPOINT_CONSUMER_QUEUE_SIZE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_PULSAR_ENDPOINT_CONSUMER_QUEUE_SIZE_DOC);
conf.define(CAMEL_SOURCE_PULSAR_ENDPOINT_DEAD_LETTER_TOPIC_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_PULSAR_ENDPOINT_DEAD_LETTER_TOPIC_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_PULSAR_ENDPOINT_DEAD_LETTER_TOPIC_DOC);
conf.define(CAMEL_SOURCE_PULSAR_ENDPOINT_MAX_REDELIVER_COUNT_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_PULSAR_ENDPOINT_MAX_REDELIVER_COUNT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_PULSAR_ENDPOINT_MAX_REDELIVER_COUNT_DOC);
+ conf.define(CAMEL_SOURCE_PULSAR_ENDPOINT_MESSAGE_LISTENER_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_PULSAR_ENDPOINT_MESSAGE_LISTENER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_PULSAR_ENDPOINT_MESSAGE_LISTENER_DOC);
conf.define(CAMEL_SOURCE_PULSAR_ENDPOINT_NEGATIVE_ACK_REDELIVERY_DELAY_MICROS_CONF, ConfigDef.Type.LONG, CAMEL_SOURCE_PULSAR_ENDPOINT_NEGATIVE_ACK_REDELIVERY_DELAY_MICROS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_PULSAR_ENDPOINT_NEGATIVE_ACK_REDELIVERY_DELAY_MICROS_DOC);
conf.define(CAMEL_SOURCE_PULSAR_ENDPOINT_NUMBER_OF_CONSUMERS_CONF, ConfigDef.Type.INT, CAMEL_SOURCE_PULSAR_ENDPOINT_NUMBER_OF_CONSUMERS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_PULSAR_ENDPOINT_NUMBER_OF_CONSUMERS_DOC);
+ conf.define(CAMEL_SOURCE_PULSAR_ENDPOINT_NUMBER_OF_CONSUMER_THREADS_CONF, ConfigDef.Type.INT, CAMEL_SOURCE_PULSAR_ENDPOINT_NUMBER_OF_CONSUMER_THREADS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_PULSAR_ENDPOINT_NUMBER_OF_CONSUMER_THREADS_DOC);
conf.define(CAMEL_SOURCE_PULSAR_ENDPOINT_READ_COMPACTED_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_PULSAR_ENDPOINT_READ_COMPACTED_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_PULSAR_ENDPOINT_READ_COMPACTED_DOC);
conf.define(CAMEL_SOURCE_PULSAR_ENDPOINT_SUBSCRIPTION_INITIAL_POSITION_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_PULSAR_ENDPOINT_SUBSCRIPTION_INITIAL_POSITION_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_PULSAR_ENDPOINT_SUBSCRIPTION_INITIAL_POSITION_DOC);
conf.define(CAMEL_SOURCE_PULSAR_ENDPOINT_SUBSCRIPTION_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_PULSAR_ENDPOINT_SUBSCRIPTION_NAME_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_PULSAR_ENDPOINT_SUBSCRIPTION_NAME_DOC);
@@ -197,7 +232,10 @@ public class CamelPulsarSourceConnectorConfig
conf.define(CAMEL_SOURCE_PULSAR_ENDPOINT_TOPICS_PATTERN_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_PULSAR_ENDPOINT_TOPICS_PATTERN_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_PULSAR_ENDPOINT_TOPICS_PATTERN_DOC);
conf.define(CAMEL_SOURCE_PULSAR_ENDPOINT_EXCEPTION_HANDLER_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_PULSAR_ENDPOINT_EXCEPTION_HANDLER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_PULSAR_ENDPOINT_EXCEPTION_HANDLER_DOC);
conf.define(CAMEL_SOURCE_PULSAR_ENDPOINT_EXCHANGE_PATTERN_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_PULSAR_ENDPOINT_EXCHANGE_PATTERN_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_PULSAR_ENDPOINT_EXCHANGE_PATTERN_DOC);
+ conf.define(CAMEL_SOURCE_PULSAR_COMPONENT_AUTHENTICATION_CLASS_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_PULSAR_COMPONENT_AUTHENTICATION_CLASS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_PULSAR_COMPONENT_AUTHENTICATION_CLASS_DOC);
+ conf.define(CAMEL_SOURCE_PULSAR_COMPONENT_AUTHENTICATION_PARAMS_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_PULSAR_COMPONENT_AUTHENTICATION_PARAMS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_PULSAR_COMPONENT_AUTHENTICATION_PARAMS_DOC);
conf.define(CAMEL_SOURCE_PULSAR_COMPONENT_CONFIGURATION_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_PULSAR_COMPONENT_CONFIGURATION_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_PULSAR_COMPONENT_CONFIGURATION_DOC);
+ conf.define(CAMEL_SOURCE_PULSAR_COMPONENT_SERVICE_URL_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_PULSAR_COMPONENT_SERVICE_URL_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_PULSAR_COMPONENT_SERVICE_URL_DOC);
conf.define(CAMEL_SOURCE_PULSAR_COMPONENT_ACK_GROUP_TIME_MILLIS_CONF, ConfigDef.Type.LONG, CAMEL_SOURCE_PULSAR_COMPONENT_ACK_GROUP_TIME_MILLIS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_PULSAR_COMPONENT_ACK_GROUP_TIME_MILLIS_DOC);
conf.define(CAMEL_SOURCE_PULSAR_COMPONENT_ACK_TIMEOUT_MILLIS_CONF, ConfigDef.Type.LONG, CAMEL_SOURCE_PULSAR_COMPONENT_ACK_TIMEOUT_MILLIS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_PULSAR_COMPONENT_ACK_TIMEOUT_MILLIS_DOC);
conf.define(CAMEL_SOURCE_PULSAR_COMPONENT_ALLOW_MANUAL_ACKNOWLEDGEMENT_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_PULSAR_COMPONENT_ALLOW_MANUAL_ACKNOWLEDGEMENT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_PULSAR_COMPONENT_ALLOW_MANUAL_ACKNOWLEDGEMENT_DOC);
@@ -207,8 +245,10 @@ public class CamelPulsarSourceConnectorConfig
conf.define(CAMEL_SOURCE_PULSAR_COMPONENT_CONSUMER_QUEUE_SIZE_CONF, ConfigDef.Type.INT, CAMEL_SOURCE_PULSAR_COMPONENT_CONSUMER_QUEUE_SIZE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_PULSAR_COMPONENT_CONSUMER_QUEUE_SIZE_DOC);
conf.define(CAMEL_SOURCE_PULSAR_COMPONENT_DEAD_LETTER_TOPIC_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_PULSAR_COMPONENT_DEAD_LETTER_TOPIC_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_PULSAR_COMPONENT_DEAD_LETTER_TOPIC_DOC);
conf.define(CAMEL_SOURCE_PULSAR_COMPONENT_MAX_REDELIVER_COUNT_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_PULSAR_COMPONENT_MAX_REDELIVER_COUNT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_PULSAR_COMPONENT_MAX_REDELIVER_COUNT_DOC);
+ conf.define(CAMEL_SOURCE_PULSAR_COMPONENT_MESSAGE_LISTENER_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_PULSAR_COMPONENT_MESSAGE_LISTENER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_PULSAR_COMPONENT_MESSAGE_LISTENER_DOC);
conf.define(CAMEL_SOURCE_PULSAR_COMPONENT_NEGATIVE_ACK_REDELIVERY_DELAY_MICROS_CONF, ConfigDef.Type.LONG, CAMEL_SOURCE_PULSAR_COMPONENT_NEGATIVE_ACK_REDELIVERY_DELAY_MICROS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_PULSAR_COMPONENT_NEGATIVE_ACK_REDELIVERY_DELAY_MICROS_DOC);
conf.define(CAMEL_SOURCE_PULSAR_COMPONENT_NUMBER_OF_CONSUMERS_CONF, ConfigDef.Type.INT, CAMEL_SOURCE_PULSAR_COMPONENT_NUMBER_OF_CONSUMERS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_PULSAR_COMPONENT_NUMBER_OF_CONSUMERS_DOC);
+ conf.define(CAMEL_SOURCE_PULSAR_COMPONENT_NUMBER_OF_CONSUMER_THREADS_CONF, ConfigDef.Type.INT, CAMEL_SOURCE_PULSAR_COMPONENT_NUMBER_OF_CONSUMER_THREADS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_PULSAR_COMPONENT_NUMBER_OF_CONSUMER_THREADS_DOC);
conf.define(CAMEL_SOURCE_PULSAR_COMPONENT_READ_COMPACTED_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_PULSAR_COMPONENT_READ_COMPACTED_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_PULSAR_COMPONENT_READ_COMPACTED_DOC);
conf.define(CAMEL_SOURCE_PULSAR_COMPONENT_SUBSCRIPTION_INITIAL_POSITION_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_PULSAR_COMPONENT_SUBSCRIPTION_INITIAL_POSITION_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_PULSAR_COMPONENT_SUBSCRIPTION_INITIAL_POSITION_DOC);
conf.define(CAMEL_SOURCE_PULSAR_COMPONENT_SUBSCRIPTION_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_PULSAR_COMPONENT_SUBSCRIPTION_NAME_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_PULSAR_COMPONENT_SUBSCRIPTION_NAME_DOC);
diff --git a/connectors/camel-resteasy-kafka-connector/src/generated/resources/camel-resteasy-sink.json b/connectors/camel-resteasy-kafka-connector/src/generated/resources/camel-resteasy-sink.json
index 1155343..b9e021b 100644
--- a/connectors/camel-resteasy-kafka-connector/src/generated/resources/camel-resteasy-sink.json
+++ b/connectors/camel-resteasy-kafka-connector/src/generated/resources/camel-resteasy-sink.json
@@ -168,6 +168,12 @@
"priority": "MEDIUM",
"required": "false"
},
+ "camel.sink.endpoint.userAgent": {
+ "name": "camel.sink.endpoint.userAgent",
+ "description": "To set a custom HTTP User-Agent request header",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
"camel.sink.endpoint.headerFilterStrategy": {
"name": "camel.sink.endpoint.headerFilterStrategy",
"description": "To use a custom HeaderFilterStrategy to filter header to and from Camel message.",
diff --git a/connectors/camel-resteasy-kafka-connector/src/main/docs/camel-resteasy-kafka-sink-connector.adoc b/connectors/camel-resteasy-kafka-connector/src/main/docs/camel-resteasy-kafka-sink-connector.adoc
index 47ca60f..a738eba 100644
--- a/connectors/camel-resteasy-kafka-connector/src/main/docs/camel-resteasy-kafka-sink-connector.adoc
+++ b/connectors/camel-resteasy-kafka-connector/src/main/docs/camel-resteasy-kafka-sink-connector.adoc
@@ -24,7 +24,7 @@ connector.class=org.apache.camel.kafkaconnector.resteasy.CamelResteasySinkConnec
----
-The camel-resteasy sink connector supports 44 options, which are listed below.
+The camel-resteasy sink connector supports 45 options, which are listed below.
@@ -53,6 +53,7 @@ The camel-resteasy sink connector supports 44 options, which are listed below.
| *camel.sink.endpoint.okStatusCodeRange* | The status codes which are considered a success response. The values are inclusive. Multiple ranges can be defined, separated by comma, e.g. 200-204,209,301-304. Each range must be a single number or from-to with the dash included. | "200-299" | false | MEDIUM
| *camel.sink.endpoint.skipRequestHeaders* | Whether to skip mapping all the Camel headers as HTTP request headers. If there are no data from Camel headers needed to be included in the HTTP request then this can avoid parsing overhead with many object allocations for the JVM garbage collector. | false | false | MEDIUM
| *camel.sink.endpoint.skipResponseHeaders* | Whether to skip mapping all the HTTP response headers to Camel headers. If there are no data needed from HTTP headers then this can avoid parsing overhead with many object allocations for the JVM garbage collector. | false | false | MEDIUM
+| *camel.sink.endpoint.userAgent* | To set a custom HTTP User-Agent request header | null | false | MEDIUM
| *camel.sink.endpoint.headerFilterStrategy* | To use a custom HeaderFilterStrategy to filter header to and from Camel message. | null | false | MEDIUM
| *camel.sink.endpoint.setHttpResponseDuring Processing* | Sets the flag to use the endpoint where you can either populate camel exchange from servlet response or use request itself which may be thought as if it is a proxy. | null | false | MEDIUM
| *camel.sink.endpoint.skipServletProcessing* | Sets the flag to use skip servlet processing and let camel take over processing | null | false | MEDIUM
diff --git a/connectors/camel-resteasy-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/resteasy/CamelResteasySinkConnectorConfig.java b/connectors/camel-resteasy-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/resteasy/CamelResteasySinkConnectorConfig.java
index a6c2536..af1a1c4 100644
--- a/connectors/camel-resteasy-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/resteasy/CamelResteasySinkConnectorConfig.java
+++ b/connectors/camel-resteasy-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/resteasy/CamelResteasySinkConnectorConfig.java
@@ -92,6 +92,9 @@ public class CamelResteasySinkConnectorConfig
public static final String CAMEL_SINK_RESTEASY_ENDPOINT_SKIP_RESPONSE_HEADERS_CONF = "camel.sink.endpoint.skipResponseHeaders";
public static final String CAMEL_SINK_RESTEASY_ENDPOINT_SKIP_RESPONSE_HEADERS_DOC = "Whether to skip mapping all the HTTP response headers to Camel headers. If there are no data needed from HTTP headers then this can avoid parsing overhead with many object allocations for the JVM garbage collector.";
public static final Boolean CAMEL_SINK_RESTEASY_ENDPOINT_SKIP_RESPONSE_HEADERS_DEFAULT = false;
+ public static final String CAMEL_SINK_RESTEASY_ENDPOINT_USER_AGENT_CONF = "camel.sink.endpoint.userAgent";
+ public static final String CAMEL_SINK_RESTEASY_ENDPOINT_USER_AGENT_DOC = "To set a custom HTTP User-Agent request header";
+ public static final String CAMEL_SINK_RESTEASY_ENDPOINT_USER_AGENT_DEFAULT = null;
public static final String CAMEL_SINK_RESTEASY_ENDPOINT_HEADER_FILTER_STRATEGY_CONF = "camel.sink.endpoint.headerFilterStrategy";
public static final String CAMEL_SINK_RESTEASY_ENDPOINT_HEADER_FILTER_STRATEGY_DOC = "To use a custom HeaderFilterStrategy to filter header to and from Camel message.";
public static final String CAMEL_SINK_RESTEASY_ENDPOINT_HEADER_FILTER_STRATEGY_DEFAULT = null;
@@ -193,6 +196,7 @@ public class CamelResteasySinkConnectorConfig
conf.define(CAMEL_SINK_RESTEASY_ENDPOINT_OK_STATUS_CODE_RANGE_CONF, ConfigDef.Type.STRING, CAMEL_SINK_RESTEASY_ENDPOINT_OK_STATUS_CODE_RANGE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_RESTEASY_ENDPOINT_OK_STATUS_CODE_RANGE_DOC);
conf.define(CAMEL_SINK_RESTEASY_ENDPOINT_SKIP_REQUEST_HEADERS_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_RESTEASY_ENDPOINT_SKIP_REQUEST_HEADERS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_RESTEASY_ENDPOINT_SKIP_REQUEST_HEADERS_DOC);
conf.define(CAMEL_SINK_RESTEASY_ENDPOINT_SKIP_RESPONSE_HEADERS_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_RESTEASY_ENDPOINT_SKIP_RESPONSE_HEADERS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_RESTEASY_ENDPOINT_SKIP_RESPONSE_HEADERS_DOC);
+ conf.define(CAMEL_SINK_RESTEASY_ENDPOINT_USER_AGENT_CONF, ConfigDef.Type.STRING, CAMEL_SINK_RESTEASY_ENDPOINT_USER_AGENT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_RESTEASY_ENDPOINT_USER_AGENT_DOC);
conf.define(CAMEL_SINK_RESTEASY_ENDPOINT_HEADER_FILTER_STRATEGY_CONF, ConfigDef.Type.STRING, CAMEL_SINK_RESTEASY_ENDPOINT_HEADER_FILTER_STRATEGY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_RESTEASY_ENDPOINT_HEADER_FILTER_STRATEGY_DOC);
conf.define(CAMEL_SINK_RESTEASY_ENDPOINT_SET_HTTP_RESPONSE_DURING_PROCESSING_CONF, ConfigDef.Type.STRING, CAMEL_SINK_RESTEASY_ENDPOINT_SET_HTTP_RESPONSE_DURING_PROCESSING_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_RESTEASY_ENDPOINT_SET_HTTP_RESPONSE_DURING_PROCESSING_DOC);
conf.define(CAMEL_SINK_RESTEASY_ENDPOINT_SKIP_SERVLET_PROCESSING_CONF, ConfigDef.Type.STRING, CAMEL_SINK_RESTEASY_ENDPOINT_SKIP_SERVLET_PROCESSING_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_RESTEASY_ENDPOINT_SKIP_SERVLET_PROCESSING_DOC);
diff --git a/connectors/camel-sftp-kafka-connector/src/generated/resources/camel-sftp-source.json b/connectors/camel-sftp-kafka-connector/src/generated/resources/camel-sftp-source.json
index b8beadc..7c801d8 100644
--- a/connectors/camel-sftp-kafka-connector/src/generated/resources/camel-sftp-source.json
+++ b/connectors/camel-sftp-kafka-connector/src/generated/resources/camel-sftp-source.json
@@ -405,7 +405,7 @@
},
"camel.source.endpoint.idempotentRepository": {
"name": "camel.source.endpoint.idempotentRepository",
- "description": "A pluggable repository org.apache.camel.spi.IdempotentRepository which by default use MemoryMessageIdRepository if none is specified and idempotent is true.",
+ "description": "A pluggable repository org.apache.camel.spi.IdempotentRepository which by default use MemoryIdempotentRepository if none is specified and idempotent is true.",
"priority": "MEDIUM",
"required": "false"
},
diff --git a/connectors/camel-sftp-kafka-connector/src/main/docs/camel-sftp-kafka-source-connector.adoc b/connectors/camel-sftp-kafka-connector/src/main/docs/camel-sftp-kafka-source-connector.adoc
index fe78d53..1ced66a 100644
--- a/connectors/camel-sftp-kafka-connector/src/main/docs/camel-sftp-kafka-source-connector.adoc
+++ b/connectors/camel-sftp-kafka-connector/src/main/docs/camel-sftp-kafka-source-connector.adoc
@@ -89,7 +89,7 @@ The camel-sftp source connector supports 114 options, which are listed below.
| *camel.source.endpoint.filterFile* | Filters the file based on Simple language. For example to filter on file size, you can use ${file:size} 5000 | null | false | MEDIUM
| *camel.source.endpoint.idempotent* | Option to use the Idempotent Consumer EIP pattern to let Camel skip already processed files. Will by default use a memory based LRUCache that holds 1000 entries. If noop=true then idempotent will be enabled as well to avoid consuming the same files over and over again. | "false" | false | MEDIUM
| *camel.source.endpoint.idempotentKey* | To use a custom idempotent key. By default the absolute path of the file is used. You can use the File Language, for example to use the file name and file size, you can do: idempotentKey=${file:name}-${file:size} | null | false | MEDIUM
-| *camel.source.endpoint.idempotentRepository* | A pluggable repository org.apache.camel.spi.IdempotentRepository which by default use MemoryMessageIdRepository if none is specified and idempotent is true. | null | false | MEDIUM
+| *camel.source.endpoint.idempotentRepository* | A pluggable repository org.apache.camel.spi.IdempotentRepository which by default use MemoryIdempotentRepository if none is specified and idempotent is true. | null | false | MEDIUM
| *camel.source.endpoint.include* | Is used to include files, if filename matches the regex pattern (matching is case in-sensitive). Notice if you use symbols such as plus sign and others you would need to configure this using the RAW() syntax if configuring this as an endpoint uri. See more details at configuring endpoint uris | null | false | MEDIUM
| *camel.source.endpoint.includeExt* | Is used to include files matching file extension name (case insensitive). For example to include txt files, then use includeExt=txt. Multiple extensions can be separated by comma, for example to include txt and xml files, use includeExt=txt,xml. Note that the file extension includes all parts, for example having a file named mydata.tar.gz will have extension as tar.gz. For more flexibility then use the include/exclude options. | null | false | MEDIUM
| *camel.source.endpoint.maxDepth* | The maximum depth to traverse when recursively processing a directory. | 2147483647 | false | MEDIUM
diff --git a/connectors/camel-sftp-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/sftp/CamelSftpSourceConnectorConfig.java b/connectors/camel-sftp-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/sftp/CamelSftpSourceConnectorConfig.java
index d7fed9e..bd7c589 100644
--- a/connectors/camel-sftp-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/sftp/CamelSftpSourceConnectorConfig.java
+++ b/connectors/camel-sftp-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/sftp/CamelSftpSourceConnectorConfig.java
@@ -201,7 +201,7 @@ public class CamelSftpSourceConnectorConfig
public static final String CAMEL_SOURCE_SFTP_ENDPOINT_IDEMPOTENT_KEY_DOC = "To use a custom idempotent key. By default the absolute path of the file is used. You can use the File Language, for example to use the file name and file size, you can do: idempotentKey=${file:name}-${file:size}";
public static final String CAMEL_SOURCE_SFTP_ENDPOINT_IDEMPOTENT_KEY_DEFAULT = null;
public static final String CAMEL_SOURCE_SFTP_ENDPOINT_IDEMPOTENT_REPOSITORY_CONF = "camel.source.endpoint.idempotentRepository";
- public static final String CAMEL_SOURCE_SFTP_ENDPOINT_IDEMPOTENT_REPOSITORY_DOC = "A pluggable repository org.apache.camel.spi.IdempotentRepository which by default use MemoryMessageIdRepository if none is specified and idempotent is true.";
+ public static final String CAMEL_SOURCE_SFTP_ENDPOINT_IDEMPOTENT_REPOSITORY_DOC = "A pluggable repository org.apache.camel.spi.IdempotentRepository which by default use MemoryIdempotentRepository if none is specified and idempotent is true.";
public static final String CAMEL_SOURCE_SFTP_ENDPOINT_IDEMPOTENT_REPOSITORY_DEFAULT = null;
public static final String CAMEL_SOURCE_SFTP_ENDPOINT_INCLUDE_CONF = "camel.source.endpoint.include";
public static final String CAMEL_SOURCE_SFTP_ENDPOINT_INCLUDE_DOC = "Is used to include files, if filename matches the regex pattern (matching is case in-sensitive). Notice if you use symbols such as plus sign and others you would need to configure this using the RAW() syntax if configuring this as an endpoint uri. See more details at configuring endpoint uris";
diff --git a/connectors/camel-sjms2-kafka-connector/src/generated/resources/camel-sjms2-source.json b/connectors/camel-sjms2-kafka-connector/src/generated/resources/camel-sjms2-source.json
index 663d316..5585cc6 100644
--- a/connectors/camel-sjms2-kafka-connector/src/generated/resources/camel-sjms2-source.json
+++ b/connectors/camel-sjms2-kafka-connector/src/generated/resources/camel-sjms2-source.json
@@ -101,7 +101,7 @@
},
"camel.source.endpoint.durable": {
"name": "camel.source.endpoint.durable",
- "description": "Sets topic consumer to durable.",
+ "description": "Sets the topic to be durable",
"defaultValue": "false",
"priority": "MEDIUM",
"required": "false"
@@ -121,14 +121,14 @@
},
"camel.source.endpoint.shared": {
"name": "camel.source.endpoint.shared",
- "description": "Sets the consumer to shared.",
+ "description": "Sets the topic to be shared",
"defaultValue": "false",
"priority": "MEDIUM",
"required": "false"
},
"camel.source.endpoint.subscriptionId": {
"name": "camel.source.endpoint.subscriptionId",
- "description": "Sets the subscription Id, required for durable or shared topics.",
+ "description": "Sets the topic subscription id, required for durable or shared topics.",
"priority": "MEDIUM",
"required": "false"
},
diff --git a/connectors/camel-sjms2-kafka-connector/src/main/docs/camel-sjms2-kafka-source-connector.adoc b/connectors/camel-sjms2-kafka-connector/src/main/docs/camel-sjms2-kafka-source-connector.adoc
index 63d5f45..3d58f61 100644
--- a/connectors/camel-sjms2-kafka-connector/src/main/docs/camel-sjms2-kafka-source-connector.adoc
+++ b/connectors/camel-sjms2-kafka-connector/src/main/docs/camel-sjms2-kafka-source-connector.adoc
@@ -43,11 +43,11 @@ The camel-sjms2 source connector supports 46 options, which are listed below.
| *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* | Sets the JMS client ID to use. Note that this value, if specified, must be unique and can only be used by a single JMS connection instance. It is typically only required for durable topic subscriptions. If using Apache ActiveMQ you may prefer to use Virtual Topics instead. | null | false | MEDIUM
| *camel.source.endpoint.concurrentConsumers* | Specifies the default number of concurrent consumers when consuming from JMS (not for request/reply over JMS). See also the maxMessagesPerTask option to control dynamic scaling up/down of threads. When doing request/reply over JMS then the option replyToConcurrentConsumers is used to control number of concurrent consumers on the reply message listener. | 1 | false | MEDIUM
-| *camel.source.endpoint.durable* | Sets topic consumer to durable. | false | false | MEDIUM
+| *camel.source.endpoint.durable* | Sets the topic to be durable | false | false | MEDIUM
| *camel.source.endpoint.durableSubscriptionName* | The durable subscriber name for specifying durable topic subscriptions. The clientId option must be configured as well. | null | false | MEDIUM
| *camel.source.endpoint.replyToDeliveryPersistent* | Specifies whether to use persistent delivery by default for replies. | true | false | MEDIUM
-| *camel.source.endpoint.shared* | Sets the consumer to shared. | false | false | MEDIUM
-| *camel.source.endpoint.subscriptionId* | Sets the subscription Id, required for durable or shared topics. | null | false | MEDIUM
+| *camel.source.endpoint.shared* | Sets the topic to be shared | false | false | MEDIUM
+| *camel.source.endpoint.subscriptionId* | Sets the topic subscription id, required for durable or shared topics. | null | false | MEDIUM
| *camel.source.endpoint.eagerLoadingOfProperties* | Enables eager loading of JMS properties and payload as soon as a message is loaded which generally is inefficient as the JMS properties may not be required but sometimes can catch early any issues with the underlying JMS provider and the use of JMS properties. See also the option eagerPoisonBody. | false | false | MEDIUM
| *camel.source.endpoint.eagerPoisonBody* | If eagerLoadingOfProperties is enabled and the JMS message payload (JMS body or JMS properties) is poison (cannot be read/mapped), then set this text as the message body instead so the message can be processed (the cause of the poison are already stored as exception on the Exchange). This can be turned off by setting eagerPoisonBody=false. See also the option eagerLoadingOfProperties. | "Poison JMS message due to ${exception.message}" | false | MEDIUM
| *camel.source.endpoint.exceptionHandler* | To let the consumer use a custom ExceptionHandler. Notice if the option bridgeErrorHandler is enabled then this option is not in use. By default the consumer will deal with exceptions, that will be logged at WARN or ERROR level and ignored. | null | false | MEDIUM
diff --git a/connectors/camel-sjms2-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/sjms2/CamelSjms2SourceConnectorConfig.java b/connectors/camel-sjms2-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/sjms2/CamelSjms2SourceConnectorConfig.java
index b1043a6..418bad2 100644
--- a/connectors/camel-sjms2-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/sjms2/CamelSjms2SourceConnectorConfig.java
+++ b/connectors/camel-sjms2-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/sjms2/CamelSjms2SourceConnectorConfig.java
@@ -63,7 +63,7 @@ public class CamelSjms2SourceConnectorConfig
public static final String CAMEL_SOURCE_SJMS2_ENDPOINT_CONCURRENT_CONSUMERS_DOC = "Specifies the default number of concurrent consumers when consuming from JMS (not for request/reply over JMS). See also the maxMessagesPerTask option to control dynamic scaling up/down of threads. When doing request/reply over JMS then the option replyToConcurrentConsumers is used to control number of concurrent consumers on the reply message listener.";
public static final Integer CAMEL_SOURCE_SJMS2_ENDPOINT_CONCURRENT_CONSUMERS_DEFAULT = 1;
public static final String CAMEL_SOURCE_SJMS2_ENDPOINT_DURABLE_CONF = "camel.source.endpoint.durable";
- public static final String CAMEL_SOURCE_SJMS2_ENDPOINT_DURABLE_DOC = "Sets topic consumer to durable.";
+ public static final String CAMEL_SOURCE_SJMS2_ENDPOINT_DURABLE_DOC = "Sets the topic to be durable";
public static final Boolean CAMEL_SOURCE_SJMS2_ENDPOINT_DURABLE_DEFAULT = false;
public static final String CAMEL_SOURCE_SJMS2_ENDPOINT_DURABLE_SUBSCRIPTION_NAME_CONF = "camel.source.endpoint.durableSubscriptionName";
public static final String CAMEL_SOURCE_SJMS2_ENDPOINT_DURABLE_SUBSCRIPTION_NAME_DOC = "The durable subscriber name for specifying durable topic subscriptions. The clientId option must be configured as well.";
@@ -72,10 +72,10 @@ public class CamelSjms2SourceConnectorConfig
public static final String CAMEL_SOURCE_SJMS2_ENDPOINT_REPLY_TO_DELIVERY_PERSISTENT_DOC = "Specifies whether to use persistent delivery by default for replies.";
public static final Boolean CAMEL_SOURCE_SJMS2_ENDPOINT_REPLY_TO_DELIVERY_PERSISTENT_DEFAULT = true;
public static final String CAMEL_SOURCE_SJMS2_ENDPOINT_SHARED_CONF = "camel.source.endpoint.shared";
- public static final String CAMEL_SOURCE_SJMS2_ENDPOINT_SHARED_DOC = "Sets the consumer to shared.";
+ public static final String CAMEL_SOURCE_SJMS2_ENDPOINT_SHARED_DOC = "Sets the topic to be shared";
public static final Boolean CAMEL_SOURCE_SJMS2_ENDPOINT_SHARED_DEFAULT = false;
public static final String CAMEL_SOURCE_SJMS2_ENDPOINT_SUBSCRIPTION_ID_CONF = "camel.source.endpoint.subscriptionId";
- public static final String CAMEL_SOURCE_SJMS2_ENDPOINT_SUBSCRIPTION_ID_DOC = "Sets the subscription Id, required for durable or shared topics.";
+ public static final String CAMEL_SOURCE_SJMS2_ENDPOINT_SUBSCRIPTION_ID_DOC = "Sets the topic subscription id, required for durable or shared topics.";
public static final String CAMEL_SOURCE_SJMS2_ENDPOINT_SUBSCRIPTION_ID_DEFAULT = null;
public static final String CAMEL_SOURCE_SJMS2_ENDPOINT_EAGER_LOADING_OF_PROPERTIES_CONF = "camel.source.endpoint.eagerLoadingOfProperties";
public static final String CAMEL_SOURCE_SJMS2_ENDPOINT_EAGER_LOADING_OF_PROPERTIES_DOC = "Enables eager loading of JMS properties and payload as soon as a message is loaded which generally is inefficient as the JMS properties may not be required but sometimes can catch early any issues with the underlying JMS provider and the use of JMS properties. See also the option eagerPoisonBody.";
diff --git a/connectors/camel-stitch-kafka-connector/src/generated/resources/camel-stitch-sink.json b/connectors/camel-stitch-kafka-connector/src/generated/resources/camel-stitch-sink.json
index 3e79fdb..44ddc8d 100644
--- a/connectors/camel-stitch-kafka-connector/src/generated/resources/camel-stitch-sink.json
+++ b/connectors/camel-stitch-kafka-connector/src/generated/resources/camel-stitch-sink.json
@@ -11,7 +11,7 @@
"properties": {
"camel.sink.path.tableName": {
"name": "camel.sink.path.tableName",
- "description": "The name of the destination table the data is being pushed to. Table names must be unique in each destination schema, or loading issues will occur. Note: The number of characters in the table name should be within the destinations allowed limits or data will rejected.",
+ "description": "The name of the destination table the data is being pushed to. Table names must be unique in each destination schema, or loading issues will occur. Note: The number of characters in the table name should be within the destination's allowed limits or data will rejected.",
"priority": "MEDIUM",
"required": "false"
},
diff --git a/connectors/camel-stitch-kafka-connector/src/main/docs/camel-stitch-kafka-sink-connector.adoc b/connectors/camel-stitch-kafka-connector/src/main/docs/camel-stitch-kafka-sink-connector.adoc
index 0ee3280..78d248c 100644
--- a/connectors/camel-stitch-kafka-connector/src/main/docs/camel-stitch-kafka-sink-connector.adoc
+++ b/connectors/camel-stitch-kafka-connector/src/main/docs/camel-stitch-kafka-sink-connector.adoc
@@ -31,7 +31,7 @@ The camel-stitch sink connector supports 19 options, which are listed below.
[width="100%",cols="2,5,^1,1,1",options="header"]
|===
| Name | Description | Default | Required | Priority
-| *camel.sink.path.tableName* | The name of the destination table the data is being pushed to. Table names must be unique in each destination schema, or loading issues will occur. Note: The number of characters in the table name should be within the destinations allowed limits or data will rejected. | null | false | MEDIUM
+| *camel.sink.path.tableName* | The name of the destination table the data is being pushed to. Table names must be unique in each destination schema, or loading issues will occur. Note: The number of characters in the table name should be within the destination's allowed limits or data will rejected. | null | false | MEDIUM
| *camel.sink.endpoint.keyNames* | A collection of comma separated strings representing the Primary Key fields in the source table. Stitch use these Primary Keys to de-dupe data during loading If not provided, the table will be loaded in an append-only manner. | null | false | MEDIUM
| *camel.sink.endpoint.lazyStartProducer* | Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then cre [...]
| *camel.sink.endpoint.region* | Stitch account region, e.g: europe One of: [NORTH_AMERICA] [EUROPE] | "EUROPE" | false | MEDIUM
diff --git a/connectors/camel-stitch-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/stitch/CamelStitchSinkConnectorConfig.java b/connectors/camel-stitch-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/stitch/CamelStitchSinkConnectorConfig.java
index 1c1036c..87cb031 100644
--- a/connectors/camel-stitch-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/stitch/CamelStitchSinkConnectorConfig.java
+++ b/connectors/camel-stitch-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/stitch/CamelStitchSinkConnectorConfig.java
@@ -25,7 +25,7 @@ import org.apache.kafka.common.config.ConfigDef;
public class CamelStitchSinkConnectorConfig extends CamelSinkConnectorConfig {
public static final String CAMEL_SINK_STITCH_PATH_TABLE_NAME_CONF = "camel.sink.path.tableName";
- public static final String CAMEL_SINK_STITCH_PATH_TABLE_NAME_DOC = "The name of the destination table the data is being pushed to. Table names must be unique in each destination schema, or loading issues will occur. Note: The number of characters in the table name should be within the destinations allowed limits or data will rejected.";
+ public static final String CAMEL_SINK_STITCH_PATH_TABLE_NAME_DOC = "The name of the destination table the data is being pushed to. Table names must be unique in each destination schema, or loading issues will occur. Note: The number of characters in the table name should be within the destination's allowed limits or data will rejected.";
public static final String CAMEL_SINK_STITCH_PATH_TABLE_NAME_DEFAULT = null;
public static final String CAMEL_SINK_STITCH_ENDPOINT_KEY_NAMES_CONF = "camel.sink.endpoint.keyNames";
public static final String CAMEL_SINK_STITCH_ENDPOINT_KEY_NAMES_DOC = "A collection of comma separated strings representing the Primary Key fields in the source table. Stitch use these Primary Keys to de-dupe data during loading If not provided, the table will be loaded in an append-only manner.";
diff --git a/connectors/camel-websocket-kafka-connector/src/generated/resources/camel-websocket-sink.json b/connectors/camel-websocket-kafka-connector/src/generated/resources/camel-websocket-sink.json
index 679d6f8..8dcedbe 100644
--- a/connectors/camel-websocket-kafka-connector/src/generated/resources/camel-websocket-sink.json
+++ b/connectors/camel-websocket-kafka-connector/src/generated/resources/camel-websocket-sink.json
@@ -162,6 +162,13 @@
"priority": "MEDIUM",
"required": "false"
},
+ "camel.component.websocket.subprotocol": {
+ "name": "camel.component.websocket.subprotocol",
+ "description": "This is a comma-separated list of subprotocols that are supported by the application. The list is in priority order. The first subprotocol on this list that is proposed by the client is the one that will be accepted. If no subprotocol on this list is proposed by the client, then the websocket connection is refused. The special value 'any' means that any subprotocol is acceptable. 'any' can be used on its own, or as a failsafe at the end of a list of more specific proto [...]
+ "defaultValue": "\"any\"",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
"camel.component.websocket.threadPool": {
"name": "camel.component.websocket.threadPool",
"description": "To use a custom thread pool for the server. MaxThreads\/minThreads or threadPool fields are required due to switch to Jetty9.",
diff --git a/connectors/camel-websocket-kafka-connector/src/generated/resources/camel-websocket-source.json b/connectors/camel-websocket-kafka-connector/src/generated/resources/camel-websocket-source.json
index dc2228c..121aae3 100644
--- a/connectors/camel-websocket-kafka-connector/src/generated/resources/camel-websocket-source.json
+++ b/connectors/camel-websocket-kafka-connector/src/generated/resources/camel-websocket-source.json
@@ -56,6 +56,13 @@
"priority": "MEDIUM",
"required": "false"
},
+ "camel.source.endpoint.subprotocol": {
+ "name": "camel.source.endpoint.subprotocol",
+ "description": "This is a comma-separated list of subprotocols that are supported by the application. The list is in priority order. The first subprotocol on this list that is proposed by the client is the one that will be accepted. If no subprotocol on this list is proposed by the client, then the websocket connection is refused. The special value 'any' means that any subprotocol is acceptable. 'any' can be used on its own, or as a failsafe at the end of a list of more specific proto [...]
+ "defaultValue": "\"any\"",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
"camel.source.endpoint.exceptionHandler": {
"name": "camel.source.endpoint.exceptionHandler",
"description": "To let the consumer use a custom ExceptionHandler. Notice if the option bridgeErrorHandler is enabled then this option is not in use. By default the consumer will deal with exceptions, that will be logged at WARN or ERROR level and ignored.",
@@ -185,6 +192,13 @@
"priority": "MEDIUM",
"required": "false"
},
+ "camel.component.websocket.subprotocol": {
+ "name": "camel.component.websocket.subprotocol",
+ "description": "This is a comma-separated list of subprotocols that are supported by the application. The list is in priority order. The first subprotocol on this list that is proposed by the client is the one that will be accepted. If no subprotocol on this list is proposed by the client, then the websocket connection is refused. The special value 'any' means that any subprotocol is acceptable. 'any' can be used on its own, or as a failsafe at the end of a list of more specific proto [...]
+ "defaultValue": "\"any\"",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
"camel.component.websocket.threadPool": {
"name": "camel.component.websocket.threadPool",
"description": "To use a custom thread pool for the server. MaxThreads\/minThreads or threadPool fields are required due to switch to Jetty9.",
diff --git a/connectors/camel-websocket-kafka-connector/src/main/docs/camel-websocket-kafka-sink-connector.adoc b/connectors/camel-websocket-kafka-connector/src/main/docs/camel-websocket-kafka-sink-connector.adoc
index 18bef3f..a936c3c 100644
--- a/connectors/camel-websocket-kafka-connector/src/main/docs/camel-websocket-kafka-sink-connector.adoc
+++ b/connectors/camel-websocket-kafka-connector/src/main/docs/camel-websocket-kafka-sink-connector.adoc
@@ -24,7 +24,7 @@ connector.class=org.apache.camel.kafkaconnector.websocket.CamelWebsocketSinkConn
----
-The camel-websocket sink connector supports 29 options, which are listed below.
+The camel-websocket sink connector supports 30 options, which are listed below.
@@ -54,6 +54,7 @@ The camel-websocket sink connector supports 29 options, which are listed below.
| *camel.component.websocket.enableJmx* | If this option is true, Jetty JMX support will be enabled for this endpoint. See Jetty JMX support for more details. | false | false | MEDIUM
| *camel.component.websocket.maxThreads* | To set a value for maximum number of threads in server thread pool. MaxThreads/minThreads or threadPool fields are required due to switch to Jetty9. The default values for maxThreads is 1 2 noCores. | null | false | MEDIUM
| *camel.component.websocket.minThreads* | To set a value for minimum number of threads in server thread pool. MaxThreads/minThreads or threadPool fields are required due to switch to Jetty9. The default values for minThreads is 1. | null | false | MEDIUM
+| *camel.component.websocket.subprotocol* | This is a comma-separated list of subprotocols that are supported by the application. The list is in priority order. The first subprotocol on this list that is proposed by the client is the one that will be accepted. If no subprotocol on this list is proposed by the client, then the websocket connection is refused. The special value 'any' means that any subprotocol is acceptable. 'any' can be used on its own, or as a failsafe at the end of a li [...]
| *camel.component.websocket.threadPool* | To use a custom thread pool for the server. MaxThreads/minThreads or threadPool fields are required due to switch to Jetty9. | null | false | MEDIUM
| *camel.component.websocket.sslContextParameters* | To configure security using SSLContextParameters | null | false | MEDIUM
| *camel.component.websocket.sslKeyPassword* | The password for the keystore when using SSL. | null | false | MEDIUM
diff --git a/connectors/camel-websocket-kafka-connector/src/main/docs/camel-websocket-kafka-source-connector.adoc b/connectors/camel-websocket-kafka-connector/src/main/docs/camel-websocket-kafka-source-connector.adoc
index b00054f..72d2c7c 100644
--- a/connectors/camel-websocket-kafka-connector/src/main/docs/camel-websocket-kafka-source-connector.adoc
+++ b/connectors/camel-websocket-kafka-connector/src/main/docs/camel-websocket-kafka-source-connector.adoc
@@ -24,7 +24,7 @@ connector.class=org.apache.camel.kafkaconnector.websocket.CamelWebsocketSourceCo
----
-The camel-websocket source connector supports 32 options, which are listed below.
+The camel-websocket source connector supports 34 options, which are listed below.
@@ -38,6 +38,7 @@ The camel-websocket source connector supports 32 options, which are listed below
| *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.sessionSupport* | Whether to enable session support which enables HttpSession for each http request. | false | false | MEDIUM
| *camel.source.endpoint.staticResources* | Set a resource path for static resources (such as .html files etc). The resources can be loaded from classpath, if you prefix with classpath:, otherwise the resources is loaded from file system or from JAR files. For example to load from root classpath use classpath:., or classpath:WEB-INF/static If not configured (eg null) then no static resource is in use. | null | false | MEDIUM
+| *camel.source.endpoint.subprotocol* | This is a comma-separated list of subprotocols that are supported by the application. The list is in priority order. The first subprotocol on this list that is proposed by the client is the one that will be accepted. If no subprotocol on this list is proposed by the client, then the websocket connection is refused. The special value 'any' means that any subprotocol is acceptable. 'any' can be used on its own, or as a failsafe at the end of a list o [...]
| *camel.source.endpoint.exceptionHandler* | To let the consumer use a custom ExceptionHandler. Notice if the option bridgeErrorHandler is enabled then this option is not in use. By default the consumer will deal with exceptions, that will be logged at WARN or ERROR level and ignored. | null | false | MEDIUM
| *camel.source.endpoint.exchangePattern* | Sets the exchange pattern when the consumer creates an exchange. One of: [InOnly] [InOut] [InOptionalOut] | null | false | MEDIUM
| *camel.source.endpoint.bufferSize* | Set the buffer size of the websocketServlet, which is also the max frame byte size (default 8192) | "8192" | false | MEDIUM
@@ -57,6 +58,7 @@ The camel-websocket source connector supports 32 options, which are listed below
| *camel.component.websocket.enableJmx* | If this option is true, Jetty JMX support will be enabled for this endpoint. See Jetty JMX support for more details. | false | false | MEDIUM
| *camel.component.websocket.maxThreads* | To set a value for maximum number of threads in server thread pool. MaxThreads/minThreads or threadPool fields are required due to switch to Jetty9. The default values for maxThreads is 1 2 noCores. | null | false | MEDIUM
| *camel.component.websocket.minThreads* | To set a value for minimum number of threads in server thread pool. MaxThreads/minThreads or threadPool fields are required due to switch to Jetty9. The default values for minThreads is 1. | null | false | MEDIUM
+| *camel.component.websocket.subprotocol* | This is a comma-separated list of subprotocols that are supported by the application. The list is in priority order. The first subprotocol on this list that is proposed by the client is the one that will be accepted. If no subprotocol on this list is proposed by the client, then the websocket connection is refused. The special value 'any' means that any subprotocol is acceptable. 'any' can be used on its own, or as a failsafe at the end of a li [...]
| *camel.component.websocket.threadPool* | To use a custom thread pool for the server. MaxThreads/minThreads or threadPool fields are required due to switch to Jetty9. | null | false | MEDIUM
| *camel.component.websocket.sslContextParameters* | To configure security using SSLContextParameters | null | false | MEDIUM
| *camel.component.websocket.sslKeyPassword* | The password for the keystore when using SSL. | null | false | MEDIUM
diff --git a/connectors/camel-websocket-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/websocket/CamelWebsocketSinkConnectorConfig.java b/connectors/camel-websocket-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/websocket/CamelWebsocketSinkConnectorConfig.java
index 56a87b9..bf4d16e 100644
--- a/connectors/camel-websocket-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/websocket/CamelWebsocketSinkConnectorConfig.java
+++ b/connectors/camel-websocket-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/websocket/CamelWebsocketSinkConnectorConfig.java
@@ -95,6 +95,9 @@ public class CamelWebsocketSinkConnectorConfig
public static final String CAMEL_SINK_WEBSOCKET_COMPONENT_MIN_THREADS_CONF = "camel.component.websocket.minThreads";
public static final String CAMEL_SINK_WEBSOCKET_COMPONENT_MIN_THREADS_DOC = "To set a value for minimum number of threads in server thread pool. MaxThreads/minThreads or threadPool fields are required due to switch to Jetty9. The default values for minThreads is 1.";
public static final String CAMEL_SINK_WEBSOCKET_COMPONENT_MIN_THREADS_DEFAULT = null;
+ public static final String CAMEL_SINK_WEBSOCKET_COMPONENT_SUBPROTOCOL_CONF = "camel.component.websocket.subprotocol";
+ public static final String CAMEL_SINK_WEBSOCKET_COMPONENT_SUBPROTOCOL_DOC = "This is a comma-separated list of subprotocols that are supported by the application. The list is in priority order. The first subprotocol on this list that is proposed by the client is the one that will be accepted. If no subprotocol on this list is proposed by the client, then the websocket connection is refused. The special value 'any' means that any subprotocol is acceptable. 'any' can be used on its own [...]
+ public static final String CAMEL_SINK_WEBSOCKET_COMPONENT_SUBPROTOCOL_DEFAULT = "any";
public static final String CAMEL_SINK_WEBSOCKET_COMPONENT_THREAD_POOL_CONF = "camel.component.websocket.threadPool";
public static final String CAMEL_SINK_WEBSOCKET_COMPONENT_THREAD_POOL_DOC = "To use a custom thread pool for the server. MaxThreads/minThreads or threadPool fields are required due to switch to Jetty9.";
public static final String CAMEL_SINK_WEBSOCKET_COMPONENT_THREAD_POOL_DEFAULT = null;
@@ -149,6 +152,7 @@ public class CamelWebsocketSinkConnectorConfig
conf.define(CAMEL_SINK_WEBSOCKET_COMPONENT_ENABLE_JMX_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_WEBSOCKET_COMPONENT_ENABLE_JMX_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_WEBSOCKET_COMPONENT_ENABLE_JMX_DOC);
conf.define(CAMEL_SINK_WEBSOCKET_COMPONENT_MAX_THREADS_CONF, ConfigDef.Type.STRING, CAMEL_SINK_WEBSOCKET_COMPONENT_MAX_THREADS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_WEBSOCKET_COMPONENT_MAX_THREADS_DOC);
conf.define(CAMEL_SINK_WEBSOCKET_COMPONENT_MIN_THREADS_CONF, ConfigDef.Type.STRING, CAMEL_SINK_WEBSOCKET_COMPONENT_MIN_THREADS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_WEBSOCKET_COMPONENT_MIN_THREADS_DOC);
+ conf.define(CAMEL_SINK_WEBSOCKET_COMPONENT_SUBPROTOCOL_CONF, ConfigDef.Type.STRING, CAMEL_SINK_WEBSOCKET_COMPONENT_SUBPROTOCOL_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_WEBSOCKET_COMPONENT_SUBPROTOCOL_DOC);
conf.define(CAMEL_SINK_WEBSOCKET_COMPONENT_THREAD_POOL_CONF, ConfigDef.Type.STRING, CAMEL_SINK_WEBSOCKET_COMPONENT_THREAD_POOL_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_WEBSOCKET_COMPONENT_THREAD_POOL_DOC);
conf.define(CAMEL_SINK_WEBSOCKET_COMPONENT_SSL_CONTEXT_PARAMETERS_CONF, ConfigDef.Type.STRING, CAMEL_SINK_WEBSOCKET_COMPONENT_SSL_CONTEXT_PARAMETERS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_WEBSOCKET_COMPONENT_SSL_CONTEXT_PARAMETERS_DOC);
conf.define(CAMEL_SINK_WEBSOCKET_COMPONENT_SSL_KEY_PASSWORD_CONF, ConfigDef.Type.PASSWORD, CAMEL_SINK_WEBSOCKET_COMPONENT_SSL_KEY_PASSWORD_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_WEBSOCKET_COMPONENT_SSL_KEY_PASSWORD_DOC);
diff --git a/connectors/camel-websocket-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/websocket/CamelWebsocketSourceConnectorConfig.java b/connectors/camel-websocket-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/websocket/CamelWebsocketSourceConnectorConfig.java
index b21a2e6..f49eaf0 100644
--- a/connectors/camel-websocket-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/websocket/CamelWebsocketSourceConnectorConfig.java
+++ b/connectors/camel-websocket-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/websocket/CamelWebsocketSourceConnectorConfig.java
@@ -47,6 +47,9 @@ public class CamelWebsocketSourceConnectorConfig
public static final String CAMEL_SOURCE_WEBSOCKET_ENDPOINT_STATIC_RESOURCES_CONF = "camel.source.endpoint.staticResources";
public static final String CAMEL_SOURCE_WEBSOCKET_ENDPOINT_STATIC_RESOURCES_DOC = "Set a resource path for static resources (such as .html files etc). The resources can be loaded from classpath, if you prefix with classpath:, otherwise the resources is loaded from file system or from JAR files. For example to load from root classpath use classpath:., or classpath:WEB-INF/static If not configured (eg null) then no static resource is in use.";
public static final String CAMEL_SOURCE_WEBSOCKET_ENDPOINT_STATIC_RESOURCES_DEFAULT = null;
+ public static final String CAMEL_SOURCE_WEBSOCKET_ENDPOINT_SUBPROTOCOL_CONF = "camel.source.endpoint.subprotocol";
+ public static final String CAMEL_SOURCE_WEBSOCKET_ENDPOINT_SUBPROTOCOL_DOC = "This is a comma-separated list of subprotocols that are supported by the application. The list is in priority order. The first subprotocol on this list that is proposed by the client is the one that will be accepted. If no subprotocol on this list is proposed by the client, then the websocket connection is refused. The special value 'any' means that any subprotocol is acceptable. 'any' can be used on its ow [...]
+ public static final String CAMEL_SOURCE_WEBSOCKET_ENDPOINT_SUBPROTOCOL_DEFAULT = "any";
public static final String CAMEL_SOURCE_WEBSOCKET_ENDPOINT_EXCEPTION_HANDLER_CONF = "camel.source.endpoint.exceptionHandler";
public static final String CAMEL_SOURCE_WEBSOCKET_ENDPOINT_EXCEPTION_HANDLER_DOC = "To let the consumer use a custom ExceptionHandler. Notice if the option bridgeErrorHandler is enabled then this option is not in use. By default the consumer will deal with exceptions, that will be logged at WARN or ERROR level and ignored.";
public static final String CAMEL_SOURCE_WEBSOCKET_ENDPOINT_EXCEPTION_HANDLER_DEFAULT = null;
@@ -104,6 +107,9 @@ public class CamelWebsocketSourceConnectorConfig
public static final String CAMEL_SOURCE_WEBSOCKET_COMPONENT_MIN_THREADS_CONF = "camel.component.websocket.minThreads";
public static final String CAMEL_SOURCE_WEBSOCKET_COMPONENT_MIN_THREADS_DOC = "To set a value for minimum number of threads in server thread pool. MaxThreads/minThreads or threadPool fields are required due to switch to Jetty9. The default values for minThreads is 1.";
public static final String CAMEL_SOURCE_WEBSOCKET_COMPONENT_MIN_THREADS_DEFAULT = null;
+ public static final String CAMEL_SOURCE_WEBSOCKET_COMPONENT_SUBPROTOCOL_CONF = "camel.component.websocket.subprotocol";
+ public static final String CAMEL_SOURCE_WEBSOCKET_COMPONENT_SUBPROTOCOL_DOC = "This is a comma-separated list of subprotocols that are supported by the application. The list is in priority order. The first subprotocol on this list that is proposed by the client is the one that will be accepted. If no subprotocol on this list is proposed by the client, then the websocket connection is refused. The special value 'any' means that any subprotocol is acceptable. 'any' can be used on its o [...]
+ public static final String CAMEL_SOURCE_WEBSOCKET_COMPONENT_SUBPROTOCOL_DEFAULT = "any";
public static final String CAMEL_SOURCE_WEBSOCKET_COMPONENT_THREAD_POOL_CONF = "camel.component.websocket.threadPool";
public static final String CAMEL_SOURCE_WEBSOCKET_COMPONENT_THREAD_POOL_DOC = "To use a custom thread pool for the server. MaxThreads/minThreads or threadPool fields are required due to switch to Jetty9.";
public static final String CAMEL_SOURCE_WEBSOCKET_COMPONENT_THREAD_POOL_DEFAULT = null;
@@ -142,6 +148,7 @@ public class CamelWebsocketSourceConnectorConfig
conf.define(CAMEL_SOURCE_WEBSOCKET_ENDPOINT_BRIDGE_ERROR_HANDLER_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_WEBSOCKET_ENDPOINT_BRIDGE_ERROR_HANDLER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_WEBSOCKET_ENDPOINT_BRIDGE_ERROR_HANDLER_DOC);
conf.define(CAMEL_SOURCE_WEBSOCKET_ENDPOINT_SESSION_SUPPORT_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_WEBSOCKET_ENDPOINT_SESSION_SUPPORT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_WEBSOCKET_ENDPOINT_SESSION_SUPPORT_DOC);
conf.define(CAMEL_SOURCE_WEBSOCKET_ENDPOINT_STATIC_RESOURCES_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_WEBSOCKET_ENDPOINT_STATIC_RESOURCES_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_WEBSOCKET_ENDPOINT_STATIC_RESOURCES_DOC);
+ conf.define(CAMEL_SOURCE_WEBSOCKET_ENDPOINT_SUBPROTOCOL_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_WEBSOCKET_ENDPOINT_SUBPROTOCOL_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_WEBSOCKET_ENDPOINT_SUBPROTOCOL_DOC);
conf.define(CAMEL_SOURCE_WEBSOCKET_ENDPOINT_EXCEPTION_HANDLER_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_WEBSOCKET_ENDPOINT_EXCEPTION_HANDLER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_WEBSOCKET_ENDPOINT_EXCEPTION_HANDLER_DOC);
conf.define(CAMEL_SOURCE_WEBSOCKET_ENDPOINT_EXCHANGE_PATTERN_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_WEBSOCKET_ENDPOINT_EXCHANGE_PATTERN_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_WEBSOCKET_ENDPOINT_EXCHANGE_PATTERN_DOC);
conf.define(CAMEL_SOURCE_WEBSOCKET_ENDPOINT_BUFFER_SIZE_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_WEBSOCKET_ENDPOINT_BUFFER_SIZE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_WEBSOCKET_ENDPOINT_BUFFER_SIZE_DOC);
@@ -161,6 +168,7 @@ public class CamelWebsocketSourceConnectorConfig
conf.define(CAMEL_SOURCE_WEBSOCKET_COMPONENT_ENABLE_JMX_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_WEBSOCKET_COMPONENT_ENABLE_JMX_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_WEBSOCKET_COMPONENT_ENABLE_JMX_DOC);
conf.define(CAMEL_SOURCE_WEBSOCKET_COMPONENT_MAX_THREADS_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_WEBSOCKET_COMPONENT_MAX_THREADS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_WEBSOCKET_COMPONENT_MAX_THREADS_DOC);
conf.define(CAMEL_SOURCE_WEBSOCKET_COMPONENT_MIN_THREADS_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_WEBSOCKET_COMPONENT_MIN_THREADS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_WEBSOCKET_COMPONENT_MIN_THREADS_DOC);
+ conf.define(CAMEL_SOURCE_WEBSOCKET_COMPONENT_SUBPROTOCOL_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_WEBSOCKET_COMPONENT_SUBPROTOCOL_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_WEBSOCKET_COMPONENT_SUBPROTOCOL_DOC);
conf.define(CAMEL_SOURCE_WEBSOCKET_COMPONENT_THREAD_POOL_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_WEBSOCKET_COMPONENT_THREAD_POOL_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_WEBSOCKET_COMPONENT_THREAD_POOL_DOC);
conf.define(CAMEL_SOURCE_WEBSOCKET_COMPONENT_SSL_CONTEXT_PARAMETERS_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_WEBSOCKET_COMPONENT_SSL_CONTEXT_PARAMETERS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_WEBSOCKET_COMPONENT_SSL_CONTEXT_PARAMETERS_DOC);
conf.define(CAMEL_SOURCE_WEBSOCKET_COMPONENT_SSL_KEY_PASSWORD_CONF, ConfigDef.Type.PASSWORD, CAMEL_SOURCE_WEBSOCKET_COMPONENT_SSL_KEY_PASSWORD_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_WEBSOCKET_COMPONENT_SSL_KEY_PASSWORD_DOC);
diff --git a/connectors/pom.xml b/connectors/pom.xml
index 3abb492..1318df7 100644
--- a/connectors/pom.xml
+++ b/connectors/pom.xml
@@ -362,8 +362,11 @@
<module>camel-http-sink-kafka-connector</module>
<module>camel-http-source-kafka-connector</module>
<module>camel-https-kafka-connector</module>
+ <module>camel-hwcloud-dms-kafka-connector</module>
<module>camel-hwcloud-functiongraph-kafka-connector</module>
<module>camel-hwcloud-iam-kafka-connector</module>
+ <module>camel-hwcloud-imagerecognition-kafka-connector</module>
+ <module>camel-hwcloud-obs-kafka-connector</module>
<module>camel-hwcloud-smn-kafka-connector</module>
<module>camel-iec60870-client-kafka-connector</module>
<module>camel-iec60870-server-kafka-connector</module>
@@ -402,6 +405,7 @@
<module>camel-jooq-kafka-connector</module>
<module>camel-jpa-kafka-connector</module>
<module>camel-jslt-kafka-connector</module>
+ <module>camel-json-patch-kafka-connector</module>
<module>camel-json-validator-kafka-connector</module>
<module>camel-jsonata-kafka-connector</module>
<module>camel-jt400-kafka-connector</module>
diff --git a/docs/modules/ROOT/nav.adoc b/docs/modules/ROOT/nav.adoc
index d278a82..8e2642e 100644
--- a/docs/modules/ROOT/nav.adoc
+++ b/docs/modules/ROOT/nav.adoc
@@ -111,8 +111,14 @@
**** xref:reference/connectors/camel-aws-sqs-source-kafka-source-connector.adoc[Source Docs]
*** camel-aws2-athena-kafka-connector
**** xref:reference/connectors/camel-aws2-athena-kafka-sink-connector.adoc[Sink Docs]
+*** camel-aws2-cw-kafka-connector
+**** xref:reference/connectors/camel-aws2-cw-kafka-sink-connector.adoc[Sink Docs]
+*** camel-aws2-ddb-kafka-connector
+**** xref:reference/connectors/camel-aws2-ddb-kafka-sink-connector.adoc[Sink Docs]
*** camel-aws2-ddbstream-kafka-connector
**** xref:reference/connectors/camel-aws2-ddbstream-kafka-source-connector.adoc[Source Docs]
+*** camel-aws2-ec2-kafka-connector
+**** xref:reference/connectors/camel-aws2-ec2-kafka-sink-connector.adoc[Sink Docs]
*** camel-aws2-ecs-kafka-connector
**** xref:reference/connectors/camel-aws2-ecs-kafka-sink-connector.adoc[Sink Docs]
*** camel-aws2-eks-kafka-connector
@@ -123,14 +129,27 @@
**** xref:reference/connectors/camel-aws2-iam-kafka-sink-connector.adoc[Sink Docs]
*** camel-aws2-kinesis-firehose-kafka-connector
**** xref:reference/connectors/camel-aws2-kinesis-firehose-kafka-sink-connector.adoc[Sink Docs]
+*** camel-aws2-kinesis-kafka-connector
+**** xref:reference/connectors/camel-aws2-kinesis-kafka-source-connector.adoc[Source Docs]
+**** xref:reference/connectors/camel-aws2-kinesis-kafka-sink-connector.adoc[Sink Docs]
*** camel-aws2-kms-kafka-connector
**** xref:reference/connectors/camel-aws2-kms-kafka-sink-connector.adoc[Sink Docs]
+*** camel-aws2-lambda-kafka-connector
+**** xref:reference/connectors/camel-aws2-lambda-kafka-sink-connector.adoc[Sink Docs]
*** camel-aws2-mq-kafka-connector
**** xref:reference/connectors/camel-aws2-mq-kafka-sink-connector.adoc[Sink Docs]
*** camel-aws2-msk-kafka-connector
**** xref:reference/connectors/camel-aws2-msk-kafka-sink-connector.adoc[Sink Docs]
+*** camel-aws2-s3-kafka-connector
+**** xref:reference/connectors/camel-aws2-s3-kafka-source-connector.adoc[Source Docs]
+**** xref:reference/connectors/camel-aws2-s3-kafka-sink-connector.adoc[Sink Docs]
*** camel-aws2-ses-kafka-connector
**** xref:reference/connectors/camel-aws2-ses-kafka-sink-connector.adoc[Sink Docs]
+*** camel-aws2-sns-kafka-connector
+**** xref:reference/connectors/camel-aws2-sns-kafka-sink-connector.adoc[Sink Docs]
+*** camel-aws2-sqs-kafka-connector
+**** xref:reference/connectors/camel-aws2-sqs-kafka-source-connector.adoc[Source Docs]
+**** xref:reference/connectors/camel-aws2-sqs-kafka-sink-connector.adoc[Sink Docs]
*** camel-aws2-sts-kafka-connector
**** xref:reference/connectors/camel-aws2-sts-kafka-sink-connector.adoc[Sink Docs]
*** camel-aws2-translate-kafka-connector
@@ -138,10 +157,16 @@
*** camel-azure-cosmosdb-kafka-connector
**** xref:reference/connectors/camel-azure-cosmosdb-kafka-source-connector.adoc[Source Docs]
**** xref:reference/connectors/camel-azure-cosmosdb-kafka-sink-connector.adoc[Sink Docs]
+*** camel-azure-eventhubs-kafka-connector
+**** xref:reference/connectors/camel-azure-eventhubs-kafka-source-connector.adoc[Source Docs]
+**** xref:reference/connectors/camel-azure-eventhubs-kafka-sink-connector.adoc[Sink Docs]
*** camel-azure-eventhubs-sink-kafka-connector
**** xref:reference/connectors/camel-azure-eventhubs-sink-kafka-sink-connector.adoc[Sink Docs]
*** camel-azure-eventhubs-source-kafka-connector
**** xref:reference/connectors/camel-azure-eventhubs-source-kafka-source-connector.adoc[Source Docs]
+*** camel-azure-storage-blob-kafka-connector
+**** xref:reference/connectors/camel-azure-storage-blob-kafka-source-connector.adoc[Source Docs]
+**** xref:reference/connectors/camel-azure-storage-blob-kafka-sink-connector.adoc[Sink Docs]
*** camel-azure-storage-blob-sink-kafka-connector
**** xref:reference/connectors/camel-azure-storage-blob-sink-kafka-sink-connector.adoc[Sink Docs]
*** camel-azure-storage-blob-source-kafka-connector
@@ -149,6 +174,9 @@
*** camel-azure-storage-datalake-kafka-connector
**** xref:reference/connectors/camel-azure-storage-datalake-kafka-source-connector.adoc[Source Docs]
**** xref:reference/connectors/camel-azure-storage-datalake-kafka-sink-connector.adoc[Sink Docs]
+*** camel-azure-storage-queue-kafka-connector
+**** xref:reference/connectors/camel-azure-storage-queue-kafka-source-connector.adoc[Source Docs]
+**** xref:reference/connectors/camel-azure-storage-queue-kafka-sink-connector.adoc[Sink Docs]
*** camel-azure-storage-queue-sink-kafka-connector
**** xref:reference/connectors/camel-azure-storage-queue-sink-kafka-sink-connector.adoc[Sink Docs]
*** camel-azure-storage-queue-source-kafka-connector
@@ -219,6 +247,8 @@
*** camel-cql-kafka-connector
**** xref:reference/connectors/camel-cql-kafka-source-connector.adoc[Source Docs]
**** xref:reference/connectors/camel-cql-kafka-sink-connector.adoc[Sink Docs]
+*** camel-cron-kafka-connector
+**** xref:reference/connectors/camel-cron-kafka-source-connector.adoc[Source Docs]
*** camel-cron-source-kafka-connector
**** xref:reference/connectors/camel-cron-source-kafka-source-connector.adoc[Source Docs]
*** camel-crypto-kafka-connector
@@ -254,6 +284,9 @@
**** xref:reference/connectors/camel-dozer-kafka-sink-connector.adoc[Sink Docs]
*** camel-drill-kafka-connector
**** xref:reference/connectors/camel-drill-kafka-sink-connector.adoc[Sink Docs]
+*** camel-dropbox-kafka-connector
+**** xref:reference/connectors/camel-dropbox-kafka-source-connector.adoc[Source Docs]
+**** xref:reference/connectors/camel-dropbox-kafka-sink-connector.adoc[Sink Docs]
*** camel-dropbox-sink-kafka-connector
**** xref:reference/connectors/camel-dropbox-sink-kafka-sink-connector.adoc[Sink Docs]
*** camel-dropbox-source-kafka-connector
@@ -265,6 +298,8 @@
**** xref:reference/connectors/camel-ehcache-kafka-sink-connector.adoc[Sink Docs]
*** camel-elasticsearch-index-sink-kafka-connector
**** xref:reference/connectors/camel-elasticsearch-index-sink-kafka-sink-connector.adoc[Sink Docs]
+*** camel-elasticsearch-rest-kafka-connector
+**** xref:reference/connectors/camel-elasticsearch-rest-kafka-sink-connector.adoc[Sink Docs]
*** camel-elasticsearch-search-source-kafka-connector
**** xref:reference/connectors/camel-elasticsearch-search-source-kafka-source-connector.adoc[Source Docs]
*** camel-elsql-kafka-connector
@@ -277,16 +312,23 @@
**** xref:reference/connectors/camel-etcd-stats-kafka-sink-connector.adoc[Sink Docs]
*** camel-etcd-watch-kafka-connector
**** xref:reference/connectors/camel-etcd-watch-kafka-source-connector.adoc[Source Docs]
+*** camel-exec-kafka-connector
+**** xref:reference/connectors/camel-exec-kafka-sink-connector.adoc[Sink Docs]
*** camel-exec-sink-kafka-connector
**** xref:reference/connectors/camel-exec-sink-kafka-sink-connector.adoc[Sink Docs]
*** camel-facebook-kafka-connector
**** xref:reference/connectors/camel-facebook-kafka-source-connector.adoc[Source Docs]
**** xref:reference/connectors/camel-facebook-kafka-sink-connector.adoc[Sink Docs]
+*** camel-fhir-kafka-connector
+**** xref:reference/connectors/camel-fhir-kafka-source-connector.adoc[Source Docs]
+**** xref:reference/connectors/camel-fhir-kafka-sink-connector.adoc[Sink Docs]
*** camel-fhir-source-kafka-connector
**** xref:reference/connectors/camel-fhir-source-kafka-source-connector.adoc[Source Docs]
*** camel-file-kafka-connector
**** xref:reference/connectors/camel-file-kafka-source-connector.adoc[Source Docs]
**** xref:reference/connectors/camel-file-kafka-sink-connector.adoc[Sink Docs]
+*** camel-file-watch-kafka-connector
+**** xref:reference/connectors/camel-file-watch-kafka-source-connector.adoc[Source Docs]
*** camel-file-watch-source-kafka-connector
**** xref:reference/connectors/camel-file-watch-source-kafka-source-connector.adoc[Source Docs]
*** camel-flatpack-kafka-connector
@@ -298,6 +340,9 @@
**** xref:reference/connectors/camel-fop-kafka-sink-connector.adoc[Sink Docs]
*** camel-freemarker-kafka-connector
**** xref:reference/connectors/camel-freemarker-kafka-sink-connector.adoc[Sink Docs]
+*** camel-ftp-kafka-connector
+**** xref:reference/connectors/camel-ftp-kafka-source-connector.adoc[Source Docs]
+**** xref:reference/connectors/camel-ftp-kafka-sink-connector.adoc[Sink Docs]
*** camel-ftp-sink-kafka-connector
**** xref:reference/connectors/camel-ftp-sink-kafka-sink-connector.adoc[Sink Docs]
*** camel-ftp-source-kafka-connector
@@ -316,12 +361,18 @@
*** camel-git-kafka-connector
**** xref:reference/connectors/camel-git-kafka-source-connector.adoc[Source Docs]
**** xref:reference/connectors/camel-git-kafka-sink-connector.adoc[Sink Docs]
+*** camel-github-kafka-connector
+**** xref:reference/connectors/camel-github-kafka-source-connector.adoc[Source Docs]
+**** xref:reference/connectors/camel-github-kafka-sink-connector.adoc[Sink Docs]
*** camel-github-source-kafka-connector
**** xref:reference/connectors/camel-github-source-kafka-source-connector.adoc[Source Docs]
*** camel-google-bigquery-kafka-connector
**** xref:reference/connectors/camel-google-bigquery-kafka-sink-connector.adoc[Sink Docs]
*** camel-google-bigquery-sql-kafka-connector
**** xref:reference/connectors/camel-google-bigquery-sql-kafka-sink-connector.adoc[Sink Docs]
+*** camel-google-calendar-kafka-connector
+**** xref:reference/connectors/camel-google-calendar-kafka-source-connector.adoc[Source Docs]
+**** xref:reference/connectors/camel-google-calendar-kafka-sink-connector.adoc[Sink Docs]
*** camel-google-calendar-source-kafka-connector
**** xref:reference/connectors/camel-google-calendar-source-kafka-source-connector.adoc[Source Docs]
*** camel-google-calendar-stream-kafka-connector
@@ -331,6 +382,9 @@
**** xref:reference/connectors/camel-google-drive-kafka-sink-connector.adoc[Sink Docs]
*** camel-google-functions-kafka-connector
**** xref:reference/connectors/camel-google-functions-kafka-sink-connector.adoc[Sink Docs]
+*** camel-google-mail-kafka-connector
+**** xref:reference/connectors/camel-google-mail-kafka-source-connector.adoc[Source Docs]
+**** xref:reference/connectors/camel-google-mail-kafka-sink-connector.adoc[Sink Docs]
*** camel-google-mail-source-kafka-connector
**** xref:reference/connectors/camel-google-mail-source-kafka-source-connector.adoc[Source Docs]
*** camel-google-mail-stream-kafka-connector
@@ -338,6 +392,9 @@
*** camel-google-pubsub-kafka-connector
**** xref:reference/connectors/camel-google-pubsub-kafka-source-connector.adoc[Source Docs]
**** xref:reference/connectors/camel-google-pubsub-kafka-sink-connector.adoc[Sink Docs]
+*** camel-google-sheets-kafka-connector
+**** xref:reference/connectors/camel-google-sheets-kafka-source-connector.adoc[Source Docs]
+**** xref:reference/connectors/camel-google-sheets-kafka-sink-connector.adoc[Sink Docs]
*** camel-google-sheets-source-kafka-connector
**** xref:reference/connectors/camel-google-sheets-source-kafka-source-connector.adoc[Source Docs]
*** camel-google-sheets-stream-kafka-connector
@@ -394,6 +451,8 @@
*** camel-hdfs-kafka-connector
**** xref:reference/connectors/camel-hdfs-kafka-source-connector.adoc[Source Docs]
**** xref:reference/connectors/camel-hdfs-kafka-sink-connector.adoc[Sink Docs]
+*** camel-http-kafka-connector
+**** xref:reference/connectors/camel-http-kafka-sink-connector.adoc[Sink Docs]
*** camel-http-secured-sink-kafka-connector
**** xref:reference/connectors/camel-http-secured-sink-kafka-sink-connector.adoc[Sink Docs]
*** camel-http-secured-source-kafka-connector
@@ -404,10 +463,17 @@
**** xref:reference/connectors/camel-http-source-kafka-source-connector.adoc[Source Docs]
*** camel-https-kafka-connector
**** xref:reference/connectors/camel-https-kafka-sink-connector.adoc[Sink Docs]
+*** camel-hwcloud-dms-kafka-connector
+**** xref:reference/connectors/camel-hwcloud-dms-kafka-sink-connector.adoc[Sink Docs]
*** camel-hwcloud-functiongraph-kafka-connector
**** xref:reference/connectors/camel-hwcloud-functiongraph-kafka-sink-connector.adoc[Sink Docs]
*** camel-hwcloud-iam-kafka-connector
**** xref:reference/connectors/camel-hwcloud-iam-kafka-sink-connector.adoc[Sink Docs]
+*** camel-hwcloud-imagerecognition-kafka-connector
+**** xref:reference/connectors/camel-hwcloud-imagerecognition-kafka-sink-connector.adoc[Sink Docs]
+*** camel-hwcloud-obs-kafka-connector
+**** xref:reference/connectors/camel-hwcloud-obs-kafka-source-connector.adoc[Source Docs]
+**** xref:reference/connectors/camel-hwcloud-obs-kafka-sink-connector.adoc[Sink Docs]
*** camel-hwcloud-smn-kafka-connector
**** xref:reference/connectors/camel-hwcloud-smn-kafka-sink-connector.adoc[Sink Docs]
*** camel-iec60870-client-kafka-connector
@@ -441,6 +507,9 @@
*** camel-infinispan-embedded-kafka-connector
**** xref:reference/connectors/camel-infinispan-embedded-kafka-source-connector.adoc[Source Docs]
**** xref:reference/connectors/camel-infinispan-embedded-kafka-sink-connector.adoc[Sink Docs]
+*** camel-infinispan-kafka-connector
+**** xref:reference/connectors/camel-infinispan-kafka-source-connector.adoc[Source Docs]
+**** xref:reference/connectors/camel-infinispan-kafka-sink-connector.adoc[Sink Docs]
*** camel-infinispan-source-kafka-connector
**** xref:reference/connectors/camel-infinispan-source-kafka-source-connector.adoc[Source Docs]
*** camel-influxdb-kafka-connector
@@ -479,6 +548,9 @@
**** xref:reference/connectors/camel-jgroups-raft-kafka-sink-connector.adoc[Sink Docs]
*** camel-jing-kafka-connector
**** xref:reference/connectors/camel-jing-kafka-sink-connector.adoc[Sink Docs]
+*** camel-jira-kafka-connector
+**** xref:reference/connectors/camel-jira-kafka-source-connector.adoc[Source Docs]
+**** xref:reference/connectors/camel-jira-kafka-sink-connector.adoc[Sink Docs]
*** camel-jira-source-kafka-connector
**** xref:reference/connectors/camel-jira-source-kafka-source-connector.adoc[Source Docs]
*** camel-jms-amqp-10-sink-kafka-connector
@@ -489,6 +561,9 @@
**** xref:reference/connectors/camel-jms-apache-artemis-sink-kafka-sink-connector.adoc[Sink Docs]
*** camel-jms-apache-artemis-source-kafka-connector
**** xref:reference/connectors/camel-jms-apache-artemis-source-kafka-source-connector.adoc[Source Docs]
+*** camel-jms-kafka-connector
+**** xref:reference/connectors/camel-jms-kafka-source-connector.adoc[Source Docs]
+**** xref:reference/connectors/camel-jms-kafka-sink-connector.adoc[Sink Docs]
*** camel-jmx-kafka-connector
**** xref:reference/connectors/camel-jmx-kafka-source-connector.adoc[Source Docs]
*** camel-jolt-kafka-connector
@@ -501,6 +576,8 @@
**** xref:reference/connectors/camel-jpa-kafka-sink-connector.adoc[Sink Docs]
*** camel-jslt-kafka-connector
**** xref:reference/connectors/camel-jslt-kafka-sink-connector.adoc[Sink Docs]
+*** camel-json-patch-kafka-connector
+**** xref:reference/connectors/camel-json-patch-kafka-sink-connector.adoc[Sink Docs]
*** camel-json-validator-kafka-connector
**** xref:reference/connectors/camel-json-validator-kafka-sink-connector.adoc[Sink Docs]
*** camel-jsonata-kafka-connector
@@ -508,6 +585,9 @@
*** camel-jt400-kafka-connector
**** xref:reference/connectors/camel-jt400-kafka-source-connector.adoc[Source Docs]
**** xref:reference/connectors/camel-jt400-kafka-sink-connector.adoc[Sink Docs]
+*** camel-kafka-kafka-connector
+**** xref:reference/connectors/camel-kafka-kafka-source-connector.adoc[Source Docs]
+**** xref:reference/connectors/camel-kafka-kafka-sink-connector.adoc[Sink Docs]
*** camel-kafka-not-secured-sink-kafka-connector
**** xref:reference/connectors/camel-kafka-not-secured-sink-kafka-sink-connector.adoc[Sink Docs]
*** camel-kafka-not-secured-source-kafka-connector
@@ -516,6 +596,9 @@
**** xref:reference/connectors/camel-kafka-sink-kafka-sink-connector.adoc[Sink Docs]
*** camel-kafka-source-kafka-connector
**** xref:reference/connectors/camel-kafka-source-kafka-source-connector.adoc[Source Docs]
+*** camel-kamelet-kafka-connector
+**** xref:reference/connectors/camel-kamelet-kafka-source-connector.adoc[Source Docs]
+**** xref:reference/connectors/camel-kamelet-kafka-sink-connector.adoc[Sink Docs]
*** camel-kamelet-reify-kafka-connector
**** xref:reference/connectors/camel-kamelet-reify-kafka-source-connector.adoc[Source Docs]
**** xref:reference/connectors/camel-kamelet-reify-kafka-sink-connector.adoc[Sink Docs]
@@ -597,6 +680,9 @@
*** camel-mina-kafka-connector
**** xref:reference/connectors/camel-mina-kafka-source-connector.adoc[Source Docs]
**** xref:reference/connectors/camel-mina-kafka-sink-connector.adoc[Sink Docs]
+*** camel-minio-kafka-connector
+**** xref:reference/connectors/camel-minio-kafka-source-connector.adoc[Source Docs]
+**** xref:reference/connectors/camel-minio-kafka-sink-connector.adoc[Sink Docs]
*** camel-minio-sink-kafka-connector
**** xref:reference/connectors/camel-minio-sink-kafka-sink-connector.adoc[Sink Docs]
*** camel-minio-source-kafka-connector
@@ -607,6 +693,9 @@
*** camel-mongodb-gridfs-kafka-connector
**** xref:reference/connectors/camel-mongodb-gridfs-kafka-source-connector.adoc[Source Docs]
**** xref:reference/connectors/camel-mongodb-gridfs-kafka-sink-connector.adoc[Sink Docs]
+*** camel-mongodb-kafka-connector
+**** xref:reference/connectors/camel-mongodb-kafka-source-connector.adoc[Source Docs]
+**** xref:reference/connectors/camel-mongodb-kafka-sink-connector.adoc[Sink Docs]
*** camel-mongodb-sink-kafka-connector
**** xref:reference/connectors/camel-mongodb-sink-kafka-sink-connector.adoc[Sink Docs]
*** camel-mongodb-source-kafka-connector
@@ -630,6 +719,9 @@
**** xref:reference/connectors/camel-mysql-source-kafka-source-connector.adoc[Source Docs]
*** camel-nagios-kafka-connector
**** xref:reference/connectors/camel-nagios-kafka-sink-connector.adoc[Sink Docs]
+*** camel-nats-kafka-connector
+**** xref:reference/connectors/camel-nats-kafka-source-connector.adoc[Source Docs]
+**** xref:reference/connectors/camel-nats-kafka-sink-connector.adoc[Sink Docs]
*** camel-nats-sink-kafka-connector
**** xref:reference/connectors/camel-nats-sink-kafka-sink-connector.adoc[Sink Docs]
*** camel-nats-source-kafka-connector
@@ -674,6 +766,9 @@
*** camel-optaplanner-kafka-connector
**** xref:reference/connectors/camel-optaplanner-kafka-source-connector.adoc[Source Docs]
**** xref:reference/connectors/camel-optaplanner-kafka-sink-connector.adoc[Sink Docs]
+*** camel-paho-kafka-connector
+**** xref:reference/connectors/camel-paho-kafka-source-connector.adoc[Source Docs]
+**** xref:reference/connectors/camel-paho-kafka-sink-connector.adoc[Sink Docs]
*** camel-paho-mqtt5-kafka-connector
**** xref:reference/connectors/camel-paho-mqtt5-kafka-source-connector.adoc[Source Docs]
**** xref:reference/connectors/camel-paho-mqtt5-kafka-sink-connector.adoc[Sink Docs]
@@ -684,6 +779,8 @@
*** camel-pgevent-kafka-connector
**** xref:reference/connectors/camel-pgevent-kafka-source-connector.adoc[Source Docs]
**** xref:reference/connectors/camel-pgevent-kafka-sink-connector.adoc[Sink Docs]
+*** camel-platform-http-kafka-connector
+**** xref:reference/connectors/camel-platform-http-kafka-source-connector.adoc[Source Docs]
*** camel-pop3-kafka-connector
**** xref:reference/connectors/camel-pop3-kafka-source-connector.adoc[Source Docs]
**** xref:reference/connectors/camel-pop3-kafka-sink-connector.adoc[Sink Docs]
@@ -700,9 +797,14 @@
*** camel-pulsar-kafka-connector
**** xref:reference/connectors/camel-pulsar-kafka-source-connector.adoc[Source Docs]
**** xref:reference/connectors/camel-pulsar-kafka-sink-connector.adoc[Sink Docs]
+*** camel-quartz-kafka-connector
+**** xref:reference/connectors/camel-quartz-kafka-source-connector.adoc[Source Docs]
*** camel-quickfix-kafka-connector
**** xref:reference/connectors/camel-quickfix-kafka-source-connector.adoc[Source Docs]
**** xref:reference/connectors/camel-quickfix-kafka-sink-connector.adoc[Sink Docs]
+*** camel-rabbitmq-kafka-connector
+**** xref:reference/connectors/camel-rabbitmq-kafka-source-connector.adoc[Source Docs]
+**** xref:reference/connectors/camel-rabbitmq-kafka-sink-connector.adoc[Sink Docs]
*** camel-rabbitmq-source-kafka-connector
**** xref:reference/connectors/camel-rabbitmq-source-kafka-source-connector.adoc[Source Docs]
*** camel-reactive-streams-kafka-connector
@@ -724,6 +826,9 @@
**** xref:reference/connectors/camel-rss-kafka-source-connector.adoc[Source Docs]
*** camel-saga-kafka-connector
**** xref:reference/connectors/camel-saga-kafka-sink-connector.adoc[Sink Docs]
+*** camel-salesforce-kafka-connector
+**** xref:reference/connectors/camel-salesforce-kafka-source-connector.adoc[Source Docs]
+**** xref:reference/connectors/camel-salesforce-kafka-sink-connector.adoc[Sink Docs]
*** camel-salesforce-source-kafka-connector
**** xref:reference/connectors/camel-salesforce-source-kafka-source-connector.adoc[Source Docs]
*** camel-sap-netweaver-kafka-connector
@@ -762,6 +867,9 @@
*** camel-sjms2-kafka-connector
**** xref:reference/connectors/camel-sjms2-kafka-source-connector.adoc[Source Docs]
**** xref:reference/connectors/camel-sjms2-kafka-sink-connector.adoc[Sink Docs]
+*** camel-slack-kafka-connector
+**** xref:reference/connectors/camel-slack-kafka-source-connector.adoc[Source Docs]
+**** xref:reference/connectors/camel-slack-kafka-sink-connector.adoc[Sink Docs]
*** camel-slack-source-kafka-connector
**** xref:reference/connectors/camel-slack-source-kafka-source-connector.adoc[Source Docs]
*** camel-smpp-kafka-connector
@@ -816,12 +924,18 @@
*** camel-spring-ws-kafka-connector
**** xref:reference/connectors/camel-spring-ws-kafka-source-connector.adoc[Source Docs]
**** xref:reference/connectors/camel-spring-ws-kafka-sink-connector.adoc[Sink Docs]
+*** camel-sql-kafka-connector
+**** xref:reference/connectors/camel-sql-kafka-source-connector.adoc[Source Docs]
+**** xref:reference/connectors/camel-sql-kafka-sink-connector.adoc[Sink Docs]
*** camel-sql-stored-kafka-connector
**** xref:reference/connectors/camel-sql-stored-kafka-sink-connector.adoc[Sink Docs]
*** camel-sqlserver-sink-kafka-connector
**** xref:reference/connectors/camel-sqlserver-sink-kafka-sink-connector.adoc[Sink Docs]
*** camel-sqlserver-source-kafka-connector
**** xref:reference/connectors/camel-sqlserver-source-kafka-source-connector.adoc[Source Docs]
+*** camel-ssh-kafka-connector
+**** xref:reference/connectors/camel-ssh-kafka-source-connector.adoc[Source Docs]
+**** xref:reference/connectors/camel-ssh-kafka-sink-connector.adoc[Sink Docs]
*** camel-ssh-source-kafka-connector
**** xref:reference/connectors/camel-ssh-source-kafka-source-connector.adoc[Source Docs]
*** camel-stax-kafka-connector
@@ -842,6 +956,9 @@
*** camel-syslog-kafka-connector
**** xref:reference/connectors/camel-syslog-kafka-source-connector.adoc[Source Docs]
**** xref:reference/connectors/camel-syslog-kafka-sink-connector.adoc[Sink Docs]
+*** camel-telegram-kafka-connector
+**** xref:reference/connectors/camel-telegram-kafka-source-connector.adoc[Source Docs]
+**** xref:reference/connectors/camel-telegram-kafka-sink-connector.adoc[Sink Docs]
*** camel-telegram-sink-kafka-connector
**** xref:reference/connectors/camel-telegram-sink-kafka-sink-connector.adoc[Sink Docs]
*** camel-telegram-source-kafka-connector
@@ -851,6 +968,8 @@
**** xref:reference/connectors/camel-thrift-kafka-sink-connector.adoc[Sink Docs]
*** camel-tika-kafka-connector
**** xref:reference/connectors/camel-tika-kafka-sink-connector.adoc[Sink Docs]
+*** camel-timer-kafka-connector
+**** xref:reference/connectors/camel-timer-kafka-source-connector.adoc[Source Docs]
*** camel-timer-source-kafka-connector
**** xref:reference/connectors/camel-timer-source-kafka-source-connector.adoc[Source Docs]
*** camel-twilio-kafka-connector
@@ -915,6 +1034,8 @@
**** xref:reference/connectors/camel-wordpress-kafka-sink-connector.adoc[Sink Docs]
*** camel-workday-kafka-connector
**** xref:reference/connectors/camel-workday-kafka-sink-connector.adoc[Sink Docs]
+*** camel-xchange-kafka-connector
+**** xref:reference/connectors/camel-xchange-kafka-sink-connector.adoc[Sink Docs]
*** camel-xj-kafka-connector
**** xref:reference/connectors/camel-xj-kafka-sink-connector.adoc[Sink Docs]
*** camel-xmlsecurity-sign-kafka-connector
diff --git a/docs/modules/ROOT/pages/reference/connectors/camel-activemq-kafka-sink-connector.adoc b/docs/modules/ROOT/pages/reference/connectors/camel-activemq-kafka-sink-connector.adoc
index d84c3a1..1d9bced 100644
--- a/docs/modules/ROOT/pages/reference/connectors/camel-activemq-kafka-sink-connector.adoc
+++ b/docs/modules/ROOT/pages/reference/connectors/camel-activemq-kafka-sink-connector.adoc
@@ -66,7 +66,7 @@ The camel-activemq sink connector supports 149 options, which are listed below.
| *camel.sink.endpoint.replyToDestinationSelectorName* | Sets the JMS Selector using the fixed name to be used so you can filter out your own replies from the others when using a shared queue (that is, if you are not using a temporary reply queue). | null | false | MEDIUM
| *camel.sink.endpoint.streamMessageTypeEnabled* | Sets whether StreamMessage type is enabled or not. Message payloads of streaming kind such as files, InputStream, etc will either by sent as BytesMessage or StreamMessage. This option controls which kind will be used. By default BytesMessage is used which enforces the entire message payload to be read into memory. By enabling this option the message payload is read into memory in chunks and each chunk is then written to the StreamMessage [...]
| *camel.sink.endpoint.allowSerializedHeaders* | Controls whether or not to include serialized headers. Applies only when transferExchange is true. This requires that the objects are serializable. Camel will exclude any non-serializable objects and log it at WARN level. | false | false | MEDIUM
-| *camel.sink.endpoint.artemisStreamingEnabled* | Whether optimizing for Apache Artemis streaming mode. | true | false | MEDIUM
+| *camel.sink.endpoint.artemisStreamingEnabled* | Whether optimizing for Apache Artemis streaming mode. This can reduce memory overhead when using Artemis with JMS StreamMessage types. This option must only be enabled if Apache Artemis is being used. | false | false | MEDIUM
| *camel.sink.endpoint.asyncStartListener* | Whether to startup the JmsConsumer message listener asynchronously, when starting a route. For example if a JmsConsumer cannot get a connection to a remote JMS broker, then it may block while retrying and/or failover. This will cause Camel to block while starting routes. By setting this option to true, you will let routes startup, while the JmsConsumer connects to the JMS broker using a dedicated thread in asynchronous mode. If this option is [...]
| *camel.sink.endpoint.asyncStopListener* | Whether to stop the JmsConsumer message listener asynchronously, when stopping a route. | false | false | MEDIUM
| *camel.sink.endpoint.destinationResolver* | A pluggable org.springframework.jms.support.destination.DestinationResolver that allows you to use your own resolver (for example, to lookup the real destination in a JNDI registry). | null | false | MEDIUM
@@ -140,7 +140,7 @@ The camel-activemq sink connector supports 149 options, which are listed below.
| *camel.component.activemq.allowAutoWiredConnection Factory* | Whether to auto-discover ConnectionFactory from the registry, if no connection factory has been configured. If only one instance of ConnectionFactory is found then it will be used. This is enabled by default. | true | false | MEDIUM
| *camel.component.activemq.allowAutoWiredDestination Resolver* | Whether to auto-discover DestinationResolver from the registry, if no destination resolver has been configured. If only one instance of DestinationResolver is found then it will be used. This is enabled by default. | true | false | MEDIUM
| *camel.component.activemq.allowSerializedHeaders* | Controls whether or not to include serialized headers. Applies only when transferExchange is true. This requires that the objects are serializable. Camel will exclude any non-serializable objects and log it at WARN level. | false | false | MEDIUM
-| *camel.component.activemq.artemisStreamingEnabled* | Whether optimizing for Apache Artemis streaming mode. | true | false | MEDIUM
+| *camel.component.activemq.artemisStreamingEnabled* | Whether optimizing for Apache Artemis streaming mode. This can reduce memory overhead when using Artemis with JMS StreamMessage types. This option must only be enabled if Apache Artemis is being used. | false | false | MEDIUM
| *camel.component.activemq.asyncStartListener* | Whether to startup the JmsConsumer message listener asynchronously, when starting a route. For example if a JmsConsumer cannot get a connection to a remote JMS broker, then it may block while retrying and/or failover. This will cause Camel to block while starting routes. By setting this option to true, you will let routes startup, while the JmsConsumer connects to the JMS broker using a dedicated thread in asynchronous mode. If this optio [...]
| *camel.component.activemq.asyncStopListener* | Whether to stop the JmsConsumer message listener asynchronously, when stopping a route. | false | false | MEDIUM
| *camel.component.activemq.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
@@ -197,8 +197,4 @@ The camel-activemq sink connector has no transforms out of the box.
The camel-activemq sink connector has no aggregation strategies out of the box.
-
-
-
-
// kafka-connector options: END
diff --git a/docs/modules/ROOT/pages/reference/connectors/camel-activemq-kafka-source-connector.adoc b/docs/modules/ROOT/pages/reference/connectors/camel-activemq-kafka-source-connector.adoc
index 1dacbc8..4a47482 100644
--- a/docs/modules/ROOT/pages/reference/connectors/camel-activemq-kafka-source-connector.adoc
+++ b/docs/modules/ROOT/pages/reference/connectors/camel-activemq-kafka-source-connector.adoc
@@ -66,7 +66,7 @@ The camel-activemq source connector supports 150 options, which are listed below
| *camel.source.endpoint.replyToSameDestination Allowed* | Whether a JMS consumer is allowed to send a reply message to the same destination that the consumer is using to consume from. This prevents an endless loop by consuming and sending back the same message to itself. | false | false | MEDIUM
| *camel.source.endpoint.taskExecutor* | Allows you to specify a custom task executor for consuming messages. | null | false | MEDIUM
| *camel.source.endpoint.allowSerializedHeaders* | Controls whether or not to include serialized headers. Applies only when transferExchange is true. This requires that the objects are serializable. Camel will exclude any non-serializable objects and log it at WARN level. | false | false | MEDIUM
-| *camel.source.endpoint.artemisStreamingEnabled* | Whether optimizing for Apache Artemis streaming mode. | true | false | MEDIUM
+| *camel.source.endpoint.artemisStreamingEnabled* | Whether optimizing for Apache Artemis streaming mode. This can reduce memory overhead when using Artemis with JMS StreamMessage types. This option must only be enabled if Apache Artemis is being used. | false | false | MEDIUM
| *camel.source.endpoint.asyncStartListener* | Whether to startup the JmsConsumer message listener asynchronously, when starting a route. For example if a JmsConsumer cannot get a connection to a remote JMS broker, then it may block while retrying and/or failover. This will cause Camel to block while starting routes. By setting this option to true, you will let routes startup, while the JmsConsumer connects to the JMS broker using a dedicated thread in asynchronous mode. If this option i [...]
| *camel.source.endpoint.asyncStopListener* | Whether to stop the JmsConsumer message listener asynchronously, when stopping a route. | false | false | MEDIUM
| *camel.source.endpoint.destinationResolver* | A pluggable org.springframework.jms.support.destination.DestinationResolver that allows you to use your own resolver (for example, to lookup the real destination in a JNDI registry). | null | false | MEDIUM
@@ -139,7 +139,7 @@ The camel-activemq source connector supports 150 options, which are listed below
| *camel.component.activemq.allowAutoWiredConnection Factory* | Whether to auto-discover ConnectionFactory from the registry, if no connection factory has been configured. If only one instance of ConnectionFactory is found then it will be used. This is enabled by default. | true | false | MEDIUM
| *camel.component.activemq.allowAutoWiredDestination Resolver* | Whether to auto-discover DestinationResolver from the registry, if no destination resolver has been configured. If only one instance of DestinationResolver is found then it will be used. This is enabled by default. | true | false | MEDIUM
| *camel.component.activemq.allowSerializedHeaders* | Controls whether or not to include serialized headers. Applies only when transferExchange is true. This requires that the objects are serializable. Camel will exclude any non-serializable objects and log it at WARN level. | false | false | MEDIUM
-| *camel.component.activemq.artemisStreamingEnabled* | Whether optimizing for Apache Artemis streaming mode. | true | false | MEDIUM
+| *camel.component.activemq.artemisStreamingEnabled* | Whether optimizing for Apache Artemis streaming mode. This can reduce memory overhead when using Artemis with JMS StreamMessage types. This option must only be enabled if Apache Artemis is being used. | false | false | MEDIUM
| *camel.component.activemq.asyncStartListener* | Whether to startup the JmsConsumer message listener asynchronously, when starting a route. For example if a JmsConsumer cannot get a connection to a remote JMS broker, then it may block while retrying and/or failover. This will cause Camel to block while starting routes. By setting this option to true, you will let routes startup, while the JmsConsumer connects to the JMS broker using a dedicated thread in asynchronous mode. If this optio [...]
| *camel.component.activemq.asyncStopListener* | Whether to stop the JmsConsumer message listener asynchronously, when stopping a route. | false | false | MEDIUM
| *camel.component.activemq.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
@@ -198,8 +198,4 @@ The camel-activemq source connector has no transforms out of the box.
The camel-activemq source connector has no aggregation strategies out of the box.
-
-
-
-
// kafka-connector options: END
diff --git a/docs/modules/ROOT/pages/reference/connectors/camel-amqp-kafka-sink-connector.adoc b/docs/modules/ROOT/pages/reference/connectors/camel-amqp-kafka-sink-connector.adoc
index 6f4d2b4..3ac32fa 100644
--- a/docs/modules/ROOT/pages/reference/connectors/camel-amqp-kafka-sink-connector.adoc
+++ b/docs/modules/ROOT/pages/reference/connectors/camel-amqp-kafka-sink-connector.adoc
@@ -66,7 +66,7 @@ The camel-amqp sink connector supports 146 options, which are listed below.
| *camel.sink.endpoint.replyToDestinationSelectorName* | Sets the JMS Selector using the fixed name to be used so you can filter out your own replies from the others when using a shared queue (that is, if you are not using a temporary reply queue). | null | false | MEDIUM
| *camel.sink.endpoint.streamMessageTypeEnabled* | Sets whether StreamMessage type is enabled or not. Message payloads of streaming kind such as files, InputStream, etc will either by sent as BytesMessage or StreamMessage. This option controls which kind will be used. By default BytesMessage is used which enforces the entire message payload to be read into memory. By enabling this option the message payload is read into memory in chunks and each chunk is then written to the StreamMessage [...]
| *camel.sink.endpoint.allowSerializedHeaders* | Controls whether or not to include serialized headers. Applies only when transferExchange is true. This requires that the objects are serializable. Camel will exclude any non-serializable objects and log it at WARN level. | false | false | MEDIUM
-| *camel.sink.endpoint.artemisStreamingEnabled* | Whether optimizing for Apache Artemis streaming mode. | true | false | MEDIUM
+| *camel.sink.endpoint.artemisStreamingEnabled* | Whether optimizing for Apache Artemis streaming mode. This can reduce memory overhead when using Artemis with JMS StreamMessage types. This option must only be enabled if Apache Artemis is being used. | false | false | MEDIUM
| *camel.sink.endpoint.asyncStartListener* | Whether to startup the JmsConsumer message listener asynchronously, when starting a route. For example if a JmsConsumer cannot get a connection to a remote JMS broker, then it may block while retrying and/or failover. This will cause Camel to block while starting routes. By setting this option to true, you will let routes startup, while the JmsConsumer connects to the JMS broker using a dedicated thread in asynchronous mode. If this option is [...]
| *camel.sink.endpoint.asyncStopListener* | Whether to stop the JmsConsumer message listener asynchronously, when stopping a route. | false | false | MEDIUM
| *camel.sink.endpoint.destinationResolver* | A pluggable org.springframework.jms.support.destination.DestinationResolver that allows you to use your own resolver (for example, to lookup the real destination in a JNDI registry). | null | false | MEDIUM
@@ -138,7 +138,7 @@ The camel-amqp sink connector supports 146 options, which are listed below.
| *camel.component.amqp.allowAutoWiredConnection Factory* | Whether to auto-discover ConnectionFactory from the registry, if no connection factory has been configured. If only one instance of ConnectionFactory is found then it will be used. This is enabled by default. | true | false | MEDIUM
| *camel.component.amqp.allowAutoWiredDestination Resolver* | Whether to auto-discover DestinationResolver from the registry, if no destination resolver has been configured. If only one instance of DestinationResolver is found then it will be used. This is enabled by default. | true | false | MEDIUM
| *camel.component.amqp.allowSerializedHeaders* | Controls whether or not to include serialized headers. Applies only when transferExchange is true. This requires that the objects are serializable. Camel will exclude any non-serializable objects and log it at WARN level. | false | false | MEDIUM
-| *camel.component.amqp.artemisStreamingEnabled* | Whether optimizing for Apache Artemis streaming mode. | true | false | MEDIUM
+| *camel.component.amqp.artemisStreamingEnabled* | Whether optimizing for Apache Artemis streaming mode. This can reduce memory overhead when using Artemis with JMS StreamMessage types. This option must only be enabled if Apache Artemis is being used. | false | false | MEDIUM
| *camel.component.amqp.asyncStartListener* | Whether to startup the JmsConsumer message listener asynchronously, when starting a route. For example if a JmsConsumer cannot get a connection to a remote JMS broker, then it may block while retrying and/or failover. This will cause Camel to block while starting routes. By setting this option to true, you will let routes startup, while the JmsConsumer connects to the JMS broker using a dedicated thread in asynchronous mode. If this option is [...]
| *camel.component.amqp.asyncStopListener* | Whether to stop the JmsConsumer message listener asynchronously, when stopping a route. | false | false | MEDIUM
| *camel.component.amqp.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
@@ -194,8 +194,4 @@ The camel-amqp sink connector has no transforms out of the box.
The camel-amqp sink connector has no aggregation strategies out of the box.
-
-
-
-
// kafka-connector options: END
diff --git a/docs/modules/ROOT/pages/reference/connectors/camel-amqp-kafka-source-connector.adoc b/docs/modules/ROOT/pages/reference/connectors/camel-amqp-kafka-source-connector.adoc
index f9c9f88..dc20ea3 100644
--- a/docs/modules/ROOT/pages/reference/connectors/camel-amqp-kafka-source-connector.adoc
+++ b/docs/modules/ROOT/pages/reference/connectors/camel-amqp-kafka-source-connector.adoc
@@ -65,7 +65,7 @@ The camel-amqp source connector supports 146 options, which are listed below.
| *camel.source.endpoint.replyToSameDestination Allowed* | Whether a JMS consumer is allowed to send a reply message to the same destination that the consumer is using to consume from. This prevents an endless loop by consuming and sending back the same message to itself. | false | false | MEDIUM
| *camel.source.endpoint.taskExecutor* | Allows you to specify a custom task executor for consuming messages. | null | false | MEDIUM
| *camel.source.endpoint.allowSerializedHeaders* | Controls whether or not to include serialized headers. Applies only when transferExchange is true. This requires that the objects are serializable. Camel will exclude any non-serializable objects and log it at WARN level. | false | false | MEDIUM
-| *camel.source.endpoint.artemisStreamingEnabled* | Whether optimizing for Apache Artemis streaming mode. | true | false | MEDIUM
+| *camel.source.endpoint.artemisStreamingEnabled* | Whether optimizing for Apache Artemis streaming mode. This can reduce memory overhead when using Artemis with JMS StreamMessage types. This option must only be enabled if Apache Artemis is being used. | false | false | MEDIUM
| *camel.source.endpoint.asyncStartListener* | Whether to startup the JmsConsumer message listener asynchronously, when starting a route. For example if a JmsConsumer cannot get a connection to a remote JMS broker, then it may block while retrying and/or failover. This will cause Camel to block while starting routes. By setting this option to true, you will let routes startup, while the JmsConsumer connects to the JMS broker using a dedicated thread in asynchronous mode. If this option i [...]
| *camel.source.endpoint.asyncStopListener* | Whether to stop the JmsConsumer message listener asynchronously, when stopping a route. | false | false | MEDIUM
| *camel.source.endpoint.destinationResolver* | A pluggable org.springframework.jms.support.destination.DestinationResolver that allows you to use your own resolver (for example, to lookup the real destination in a JNDI registry). | null | false | MEDIUM
@@ -136,7 +136,7 @@ The camel-amqp source connector supports 146 options, which are listed below.
| *camel.component.amqp.allowAutoWiredConnection Factory* | Whether to auto-discover ConnectionFactory from the registry, if no connection factory has been configured. If only one instance of ConnectionFactory is found then it will be used. This is enabled by default. | true | false | MEDIUM
| *camel.component.amqp.allowAutoWiredDestination Resolver* | Whether to auto-discover DestinationResolver from the registry, if no destination resolver has been configured. If only one instance of DestinationResolver is found then it will be used. This is enabled by default. | true | false | MEDIUM
| *camel.component.amqp.allowSerializedHeaders* | Controls whether or not to include serialized headers. Applies only when transferExchange is true. This requires that the objects are serializable. Camel will exclude any non-serializable objects and log it at WARN level. | false | false | MEDIUM
-| *camel.component.amqp.artemisStreamingEnabled* | Whether optimizing for Apache Artemis streaming mode. | true | false | MEDIUM
+| *camel.component.amqp.artemisStreamingEnabled* | Whether optimizing for Apache Artemis streaming mode. This can reduce memory overhead when using Artemis with JMS StreamMessage types. This option must only be enabled if Apache Artemis is being used. | false | false | MEDIUM
| *camel.component.amqp.asyncStartListener* | Whether to startup the JmsConsumer message listener asynchronously, when starting a route. For example if a JmsConsumer cannot get a connection to a remote JMS broker, then it may block while retrying and/or failover. This will cause Camel to block while starting routes. By setting this option to true, you will let routes startup, while the JmsConsumer connects to the JMS broker using a dedicated thread in asynchronous mode. If this option is [...]
| *camel.component.amqp.asyncStopListener* | Whether to stop the JmsConsumer message listener asynchronously, when stopping a route. | false | false | MEDIUM
| *camel.component.amqp.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
@@ -194,8 +194,4 @@ The camel-amqp source connector has no transforms out of the box.
The camel-amqp source connector has no aggregation strategies out of the box.
-
-
-
-
// kafka-connector options: END
diff --git a/docs/modules/ROOT/pages/reference/connectors/camel-as2-kafka-sink-connector.adoc b/docs/modules/ROOT/pages/reference/connectors/camel-as2-kafka-sink-connector.adoc
index d113e41..f152e91 100644
--- a/docs/modules/ROOT/pages/reference/connectors/camel-as2-kafka-sink-connector.adoc
+++ b/docs/modules/ROOT/pages/reference/connectors/camel-as2-kafka-sink-connector.adoc
@@ -24,7 +24,7 @@ connector.class=org.apache.camel.kafkaconnector.as2.CamelAs2SinkConnector
----
-The camel-as2 sink connector supports 33 options, which are listed below.
+The camel-as2 sink connector supports 34 options, which are listed below.
@@ -37,6 +37,7 @@ The camel-as2 sink connector supports 33 options, which are listed below.
| *camel.sink.endpoint.as2MessageStructure* | The structure of AS2 Message. One of: PLAIN - No encryption, no signature, SIGNED - No encryption, signature, ENCRYPTED - Encryption, no signature, ENCRYPTED_SIGNED - Encryption, signature One of: [PLAIN] [SIGNED] [ENCRYPTED] [SIGNED_ENCRYPTED] [PLAIN_COMPRESSED] [SIGNED_COMPRESSED] [ENCRYPTED_COMPRESSED] [ENCRYPTED_COMPRESSED_SIGNED] | null | false | MEDIUM
| *camel.sink.endpoint.as2To* | The value of the AS2To header of AS2 message. | null | false | MEDIUM
| *camel.sink.endpoint.as2Version* | The version of the AS2 protocol. One of: [1.0] [1.1] | "1.1" | false | MEDIUM
+| *camel.sink.endpoint.attachedFileName* | The name of the attached file | null | false | MEDIUM
| *camel.sink.endpoint.clientFqdn* | The Client Fully Qualified Domain Name (FQDN). Used in message ids sent by endpoint. | "camel.apache.org" | false | MEDIUM
| *camel.sink.endpoint.compressionAlgorithm* | The algorithm used to compress EDI message. One of: [ZLIB] | null | false | MEDIUM
| *camel.sink.endpoint.decryptingPrivateKey* | The key used to encrypt the EDI message. | null | false | MEDIUM
@@ -81,8 +82,4 @@ The camel-as2 sink connector has no transforms out of the box.
The camel-as2 sink connector has no aggregation strategies out of the box.
-
-
-
-
// kafka-connector options: END
diff --git a/docs/modules/ROOT/pages/reference/connectors/camel-as2-kafka-source-connector.adoc b/docs/modules/ROOT/pages/reference/connectors/camel-as2-kafka-source-connector.adoc
index fdba869..04ade41 100644
--- a/docs/modules/ROOT/pages/reference/connectors/camel-as2-kafka-source-connector.adoc
+++ b/docs/modules/ROOT/pages/reference/connectors/camel-as2-kafka-source-connector.adoc
@@ -24,7 +24,7 @@ connector.class=org.apache.camel.kafkaconnector.as2.CamelAs2SourceConnector
----
-The camel-as2 source connector supports 34 options, which are listed below.
+The camel-as2 source connector supports 35 options, which are listed below.
@@ -37,6 +37,7 @@ The camel-as2 source connector supports 34 options, which are listed below.
| *camel.source.endpoint.as2MessageStructure* | The structure of AS2 Message. One of: PLAIN - No encryption, no signature, SIGNED - No encryption, signature, ENCRYPTED - Encryption, no signature, ENCRYPTED_SIGNED - Encryption, signature One of: [PLAIN] [SIGNED] [ENCRYPTED] [SIGNED_ENCRYPTED] [PLAIN_COMPRESSED] [SIGNED_COMPRESSED] [ENCRYPTED_COMPRESSED] [ENCRYPTED_COMPRESSED_SIGNED] | null | false | MEDIUM
| *camel.source.endpoint.as2To* | The value of the AS2To header of AS2 message. | null | false | MEDIUM
| *camel.source.endpoint.as2Version* | The version of the AS2 protocol. One of: [1.0] [1.1] | "1.1" | false | MEDIUM
+| *camel.source.endpoint.attachedFileName* | The name of the attached file | null | false | MEDIUM
| *camel.source.endpoint.clientFqdn* | The Client Fully Qualified Domain Name (FQDN). Used in message ids sent by endpoint. | "camel.apache.org" | false | MEDIUM
| *camel.source.endpoint.compressionAlgorithm* | The algorithm used to compress EDI message. One of: [ZLIB] | null | false | MEDIUM
| *camel.source.endpoint.decryptingPrivateKey* | The key used to encrypt the EDI message. | null | false | MEDIUM
@@ -82,8 +83,4 @@ The camel-as2 source connector has no transforms out of the box.
The camel-as2 source connector has no aggregation strategies out of the box.
-
-
-
-
// kafka-connector options: END
diff --git a/docs/modules/ROOT/pages/reference/connectors/camel-aws-secrets-manager-kafka-sink-connector.adoc b/docs/modules/ROOT/pages/reference/connectors/camel-aws-secrets-manager-kafka-sink-connector.adoc
index bb55545..d83c51e 100644
--- a/docs/modules/ROOT/pages/reference/connectors/camel-aws-secrets-manager-kafka-sink-connector.adoc
+++ b/docs/modules/ROOT/pages/reference/connectors/camel-aws-secrets-manager-kafka-sink-connector.adoc
@@ -34,7 +34,7 @@ The camel-aws-secrets-manager sink connector supports 33 options, which are list
| *camel.sink.path.label* | Logical name | null | true | HIGH
| *camel.sink.endpoint.binaryPayload* | Set if the secret is binary or not | false | false | MEDIUM
| *camel.sink.endpoint.lazyStartProducer* | Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then cre [...]
-| *camel.sink.endpoint.operation* | The operation to perform One of: [listSecrets] [createSecret] [getSecret] [describeSecret] [deleteSecret] [rotateSecret] [updateSecret] [replicateSecretToRegions] | null | true | HIGH
+| *camel.sink.endpoint.operation* | The operation to perform One of: [listSecrets] [createSecret] [getSecret] [describeSecret] [deleteSecret] [rotateSecret] [updateSecret] [restoreSecret] [replicateSecretToRegions] | 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
@@ -50,7 +50,7 @@ The camel-aws-secrets-manager sink connector supports 33 options, which are list
| *camel.component.aws-secrets-manager.binaryPayload* | Set if the secret is binary or not | false | 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] [createSecret] [getSecret] [describeSecret] [deleteSecret] [rotateSecret] [updateSecret] [replicateSecretToRegions] | null | true | HIGH
+| *camel.component.aws-secrets-manager.operation* | The operation to perform One of: [listSecrets] [createSecret] [getSecret] [describeSecret] [deleteSecret] [rotateSecret] [updateSecret] [restoreSecret] [replicateSecretToRegions] | 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
@@ -81,8 +81,4 @@ 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/reference/connectors/camel-aws2-ddbstream-kafka-source-connector.adoc b/docs/modules/ROOT/pages/reference/connectors/camel-aws2-ddbstream-kafka-source-connector.adoc
index c216d90..b3d6aed 100644
--- a/docs/modules/ROOT/pages/reference/connectors/camel-aws2-ddbstream-kafka-source-connector.adoc
+++ b/docs/modules/ROOT/pages/reference/connectors/camel-aws2-ddbstream-kafka-source-connector.adoc
@@ -24,7 +24,7 @@ connector.class=org.apache.camel.kafkaconnector.aws2ddbstream.CamelAws2ddbstream
----
-The camel-aws2-ddbstream source connector supports 51 options, which are listed below.
+The camel-aws2-ddbstream source connector supports 49 options, which are listed below.
@@ -34,7 +34,6 @@ The camel-aws2-ddbstream source connector supports 51 options, which are listed
| *camel.source.path.tableName* | Name of the dynamodb table | null | true | HIGH
| *camel.source.endpoint.amazonDynamoDbStreamsClient* | Amazon DynamoDB client to use for all requests for this endpoint | null | false | MEDIUM
| *camel.source.endpoint.bridgeErrorHandler* | Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN or ERROR level and ignored. | false | false | MEDIUM
-| *camel.source.endpoint.iteratorType* | Defines where in the DynaboDB stream to start getting records. Note that using TRIM_HORIZON can cause a significant delay before the stream has caught up to real-time. if {AT,AFTER}_SEQUENCE_NUMBER are used, then a sequenceNumberProvider MUST be supplied. One of: [TRIM_HORIZON] [LATEST] [AT_SEQUENCE_NUMBER] [AFTER_SEQUENCE_NUMBER] [null] | "LATEST" | false | MEDIUM
| *camel.source.endpoint.maxResultsPerRequest* | Maximum number of records that will be fetched in each poll | null | false | MEDIUM
| *camel.source.endpoint.overrideEndpoint* | Set the need for overidding the endpoint. This option needs to be used in combination with uriEndpointOverride option | false | false | MEDIUM
| *camel.source.endpoint.proxyHost* | To define a proxy host when instantiating the DDBStreams client | null | false | MEDIUM
@@ -42,7 +41,7 @@ The camel-aws2-ddbstream source connector supports 51 options, which are listed
| *camel.source.endpoint.proxyProtocol* | To define a proxy protocol when instantiating the DDBStreams client One of: [HTTP] [HTTPS] | "HTTPS" | false | MEDIUM
| *camel.source.endpoint.region* | The region in which DDBStreams client needs to work | null | 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
-| *camel.source.endpoint.sequenceNumberProvider* | Provider for the sequence number when using one of the two ShardIteratorType.{AT,AFTER}_SEQUENCE_NUMBER iterator types. Can be a registry reference or a literal sequence number. | null | false | MEDIUM
+| *camel.source.endpoint.streamIteratorType* | Defines where in the DynamoDB stream to start getting records. Note that using FROM_START can cause a significant delay before the stream has caught up to real-time. One of: [FROM_LATEST] [FROM_START] | "FROM_LATEST" | false | MEDIUM
| *camel.source.endpoint.trustAllCertificates* | If we want to trust all certificates in case of overriding the endpoint | false | false | MEDIUM
| *camel.source.endpoint.uriEndpointOverride* | Set the overriding uri endpoint. This option needs to be used in combination with overrideEndpoint option | null | false | MEDIUM
| *camel.source.endpoint.useDefaultCredentials Provider* | Set whether the DynamoDB Streams client should expect to load credentials through a default credentials provider or to expect static credentials to be passed in. | false | false | MEDIUM
@@ -68,14 +67,13 @@ The camel-aws2-ddbstream source connector supports 51 options, which are listed
| *camel.component.aws2-ddbstream.amazonDynamoDb StreamsClient* | Amazon DynamoDB client to use for all requests for this endpoint | null | false | MEDIUM
| *camel.component.aws2-ddbstream.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.component.aws2-ddbstream.configuration* | The component configuration | null | false | MEDIUM
-| *camel.component.aws2-ddbstream.iteratorType* | Defines where in the DynaboDB stream to start getting records. Note that using TRIM_HORIZON can cause a significant delay before the stream has caught up to real-time. if {AT,AFTER}_SEQUENCE_NUMBER are used, then a sequenceNumberProvider MUST be supplied. One of: [TRIM_HORIZON] [LATEST] [AT_SEQUENCE_NUMBER] [AFTER_SEQUENCE_NUMBER] [null] | "LATEST" | false | MEDIUM
| *camel.component.aws2-ddbstream.maxResultsPer Request* | Maximum number of records that will be fetched in each poll | null | false | MEDIUM
| *camel.component.aws2-ddbstream.overrideEndpoint* | Set the need for overidding the endpoint. This option needs to be used in combination with uriEndpointOverride option | false | false | MEDIUM
| *camel.component.aws2-ddbstream.proxyHost* | To define a proxy host when instantiating the DDBStreams client | null | false | MEDIUM
| *camel.component.aws2-ddbstream.proxyPort* | To define a proxy port when instantiating the DDBStreams client | null | false | MEDIUM
| *camel.component.aws2-ddbstream.proxyProtocol* | To define a proxy protocol when instantiating the DDBStreams client One of: [HTTP] [HTTPS] | "HTTPS" | false | MEDIUM
| *camel.component.aws2-ddbstream.region* | The region in which DDBStreams client needs to work | null | false | MEDIUM
-| *camel.component.aws2-ddbstream.sequenceNumber Provider* | Provider for the sequence number when using one of the two ShardIteratorType.{AT,AFTER}_SEQUENCE_NUMBER iterator types. Can be a registry reference or a literal sequence number. | null | false | MEDIUM
+| *camel.component.aws2-ddbstream.streamIteratorType* | Defines where in the DynamoDB stream to start getting records. Note that using FROM_START can cause a significant delay before the stream has caught up to real-time. One of: [FROM_LATEST] [FROM_START] | "FROM_LATEST" | false | MEDIUM
| *camel.component.aws2-ddbstream.trustAll Certificates* | If we want to trust all certificates in case of overriding the endpoint | false | false | MEDIUM
| *camel.component.aws2-ddbstream.uriEndpointOverride* | Set the overriding uri endpoint. This option needs to be used in combination with overrideEndpoint option | null | false | MEDIUM
| *camel.component.aws2-ddbstream.useDefault CredentialsProvider* | Set whether the DynamoDB Streams client should expect to load credentials through a default credentials provider or to expect static credentials to be passed in. | false | false | MEDIUM
@@ -99,8 +97,4 @@ The camel-aws2-ddbstream source connector has no transforms out of the box.
The camel-aws2-ddbstream source connector has no aggregation strategies out of the box.
-
-
-
-
// kafka-connector options: END
diff --git a/docs/modules/ROOT/pages/reference/connectors/camel-file-kafka-source-connector.adoc b/docs/modules/ROOT/pages/reference/connectors/camel-file-kafka-source-connector.adoc
index a0eff8b..e84ccd3 100644
--- a/docs/modules/ROOT/pages/reference/connectors/camel-file-kafka-source-connector.adoc
+++ b/docs/modules/ROOT/pages/reference/connectors/camel-file-kafka-source-connector.adoc
@@ -71,7 +71,7 @@ The camel-file source connector supports 81 options, which are listed below.
| *camel.source.endpoint.filterFile* | Filters the file based on Simple language. For example to filter on file size, you can use ${file:size} 5000 | null | false | MEDIUM
| *camel.source.endpoint.idempotent* | Option to use the Idempotent Consumer EIP pattern to let Camel skip already processed files. Will by default use a memory based LRUCache that holds 1000 entries. If noop=true then idempotent will be enabled as well to avoid consuming the same files over and over again. | "false" | false | MEDIUM
| *camel.source.endpoint.idempotentKey* | To use a custom idempotent key. By default the absolute path of the file is used. You can use the File Language, for example to use the file name and file size, you can do: idempotentKey=${file:name}-${file:size} | null | false | MEDIUM
-| *camel.source.endpoint.idempotentRepository* | A pluggable repository org.apache.camel.spi.IdempotentRepository which by default use MemoryMessageIdRepository if none is specified and idempotent is true. | null | false | MEDIUM
+| *camel.source.endpoint.idempotentRepository* | A pluggable repository org.apache.camel.spi.IdempotentRepository which by default use MemoryIdempotentRepository if none is specified and idempotent is true. | null | false | MEDIUM
| *camel.source.endpoint.include* | Is used to include files, if filename matches the regex pattern (matching is case in-sensitive). Notice if you use symbols such as plus sign and others you would need to configure this using the RAW() syntax if configuring this as an endpoint uri. See more details at configuring endpoint uris | null | false | MEDIUM
| *camel.source.endpoint.includeExt* | Is used to include files matching file extension name (case insensitive). For example to include txt files, then use includeExt=txt. Multiple extensions can be separated by comma, for example to include txt and xml files, use includeExt=txt,xml. Note that the file extension includes all parts, for example having a file named mydata.tar.gz will have extension as tar.gz. For more flexibility then use the include/exclude options. | null | false | MEDIUM
| *camel.source.endpoint.maxDepth* | The maximum depth to traverse when recursively processing a directory. | 2147483647 | false | MEDIUM
@@ -136,8 +136,4 @@ org.apache.camel.kafkaconnector.file.transformers.FileTransforms
The camel-file source connector has no aggregation strategies out of the box.
-
-
-
-
// kafka-connector options: END
diff --git a/docs/modules/ROOT/pages/reference/connectors/camel-ftps-kafka-source-connector.adoc b/docs/modules/ROOT/pages/reference/connectors/camel-ftps-kafka-source-connector.adoc
index 6d8794c..7c57e8d 100644
--- a/docs/modules/ROOT/pages/reference/connectors/camel-ftps-kafka-source-connector.adoc
+++ b/docs/modules/ROOT/pages/reference/connectors/camel-ftps-kafka-source-connector.adoc
@@ -93,7 +93,7 @@ The camel-ftps source connector supports 111 options, which are listed below.
| *camel.source.endpoint.filterFile* | Filters the file based on Simple language. For example to filter on file size, you can use ${file:size} 5000 | null | false | MEDIUM
| *camel.source.endpoint.idempotent* | Option to use the Idempotent Consumer EIP pattern to let Camel skip already processed files. Will by default use a memory based LRUCache that holds 1000 entries. If noop=true then idempotent will be enabled as well to avoid consuming the same files over and over again. | "false" | false | MEDIUM
| *camel.source.endpoint.idempotentKey* | To use a custom idempotent key. By default the absolute path of the file is used. You can use the File Language, for example to use the file name and file size, you can do: idempotentKey=${file:name}-${file:size} | null | false | MEDIUM
-| *camel.source.endpoint.idempotentRepository* | A pluggable repository org.apache.camel.spi.IdempotentRepository which by default use MemoryMessageIdRepository if none is specified and idempotent is true. | null | false | MEDIUM
+| *camel.source.endpoint.idempotentRepository* | A pluggable repository org.apache.camel.spi.IdempotentRepository which by default use MemoryIdempotentRepository if none is specified and idempotent is true. | null | false | MEDIUM
| *camel.source.endpoint.include* | Is used to include files, if filename matches the regex pattern (matching is case in-sensitive). Notice if you use symbols such as plus sign and others you would need to configure this using the RAW() syntax if configuring this as an endpoint uri. See more details at configuring endpoint uris | null | false | MEDIUM
| *camel.source.endpoint.includeExt* | Is used to include files matching file extension name (case insensitive). For example to include txt files, then use includeExt=txt. Multiple extensions can be separated by comma, for example to include txt and xml files, use includeExt=txt,xml. Note that the file extension includes all parts, for example having a file named mydata.tar.gz will have extension as tar.gz. For more flexibility then use the include/exclude options. | null | false | MEDIUM
| *camel.source.endpoint.maxDepth* | The maximum depth to traverse when recursively processing a directory. | 2147483647 | false | MEDIUM
@@ -166,8 +166,4 @@ org.apache.camel.kafkaconnector.ftps.transformers.FtpsRemoteFileTransforms
The camel-ftps source connector has no aggregation strategies out of the box.
-
-
-
-
// kafka-connector options: END
diff --git a/docs/modules/ROOT/pages/reference/connectors/camel-google-pubsub-kafka-sink-connector.adoc b/docs/modules/ROOT/pages/reference/connectors/camel-google-pubsub-kafka-sink-connector.adoc
index 6605808..b5eb3a5 100644
--- a/docs/modules/ROOT/pages/reference/connectors/camel-google-pubsub-kafka-sink-connector.adoc
+++ b/docs/modules/ROOT/pages/reference/connectors/camel-google-pubsub-kafka-sink-connector.adoc
@@ -24,7 +24,7 @@ connector.class=org.apache.camel.kafkaconnector.googlepubsub.CamelGooglepubsubSi
----
-The camel-google-pubsub sink connector supports 19 options, which are listed below.
+The camel-google-pubsub sink connector supports 17 options, which are listed below.
@@ -33,18 +33,16 @@ The camel-google-pubsub sink connector supports 19 options, which are listed bel
| Name | Description | Default | Required | Priority
| *camel.sink.path.projectId* | The Google Cloud PubSub Project Id | null | true | HIGH
| *camel.sink.path.destinationName* | The Destination Name. For the consumer this will be the subscription name, while for the producer this will be the topic name. | null | true | HIGH
-| *camel.sink.endpoint.ackMode* | AUTO = exchange gets ack'ed/nack'ed on completion. NONE = downstream process has to ack/nack explicitly One of: [AUTO] [NONE] | "AUTO" | false | MEDIUM
-| *camel.sink.endpoint.concurrentConsumers* | The number of parallel streams consuming from the subscription | "1" | false | MEDIUM
+| *camel.sink.endpoint.authenticate* | Use Credentials when interacting with PubSub service (no authentication is required when using emulator). | true | false | MEDIUM
| *camel.sink.endpoint.loggerId* | Logger ID to use when a match to the parent route required | null | false | MEDIUM
-| *camel.sink.endpoint.maxMessagesPerPoll* | The max number of messages to receive from the server in a single API call | "1" | false | MEDIUM
-| *camel.sink.endpoint.serviceAccountKey* | The Service account key that can be used as credentials for the PubSub publisher/subscriber. It can be loaded by default from classpath, but you can prefix with classpath:, file:, or http: to load the resource from different systems. | null | true | HIGH
-| *camel.sink.endpoint.synchronousPull* | Synchronously pull batches of messages | false | false | MEDIUM
+| *camel.sink.endpoint.serviceAccountKey* | The Service account key that can be used as credentials for the PubSub publisher/subscriber. It can be loaded by default from classpath, but you can prefix with classpath:, file:, or http: to load the resource from different systems. | null | false | MEDIUM
| *camel.sink.endpoint.lazyStartProducer* | Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then cre [...]
| *camel.sink.endpoint.messageOrderingEnabled* | Should message ordering be enabled | false | false | MEDIUM
| *camel.sink.endpoint.pubsubEndpoint* | Pub/Sub endpoint to use. Required when using message ordering, and ensures that messages are received in order even when multiple publishers are used | null | false | MEDIUM
| *camel.sink.endpoint.serializer* | A custom GooglePubsubSerializer to use for serializing message payloads in the producer | null | false | MEDIUM
+| *camel.component.google-pubsub.authenticate* | Use Credentials when interacting with PubSub service (no authentication is required when using emulator). | true | false | MEDIUM
| *camel.component.google-pubsub.endpoint* | Endpoint to use with local Pub/Sub emulator. | null | false | MEDIUM
-| *camel.component.google-pubsub.serviceAccountKey* | The Service account key that can be used as credentials for the PubSub publisher/subscriber. It can be loaded by default from classpath, but you can prefix with classpath:, file:, or http: to load the resource from different systems. | null | true | HIGH
+| *camel.component.google-pubsub.serviceAccountKey* | The Service account key that can be used as credentials for the PubSub publisher/subscriber. It can be loaded by default from classpath, but you can prefix with classpath:, file:, or http: to load the resource from different systems. | null | false | MEDIUM
| *camel.component.google-pubsub.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 processe [...]
| *camel.component.google-pubsub.publisherCacheSize* | Maximum number of producers to cache. This could be increased if you have producers for lots of different topics. | null | false | MEDIUM
| *camel.component.google-pubsub.publisherCache Timeout* | How many milliseconds should each producer stay alive in the cache. | null | false | MEDIUM
@@ -67,8 +65,4 @@ The camel-google-pubsub sink connector has no transforms out of the box.
The camel-google-pubsub sink connector has no aggregation strategies out of the box.
-
-
-
-
// kafka-connector options: END
diff --git a/docs/modules/ROOT/pages/reference/connectors/camel-google-pubsub-kafka-source-connector.adoc b/docs/modules/ROOT/pages/reference/connectors/camel-google-pubsub-kafka-source-connector.adoc
index 45150b3..619f7c0 100644
--- a/docs/modules/ROOT/pages/reference/connectors/camel-google-pubsub-kafka-source-connector.adoc
+++ b/docs/modules/ROOT/pages/reference/connectors/camel-google-pubsub-kafka-source-connector.adoc
@@ -24,7 +24,7 @@ connector.class=org.apache.camel.kafkaconnector.googlepubsub.CamelGooglepubsubSo
----
-The camel-google-pubsub source connector supports 16 options, which are listed below.
+The camel-google-pubsub source connector supports 18 options, which are listed below.
@@ -33,17 +33,19 @@ The camel-google-pubsub source connector supports 16 options, which are listed b
| Name | Description | Default | Required | Priority
| *camel.source.path.projectId* | The Google Cloud PubSub Project Id | null | true | HIGH
| *camel.source.path.destinationName* | The Destination Name. For the consumer this will be the subscription name, while for the producer this will be the topic name. | null | true | HIGH
+| *camel.source.endpoint.authenticate* | Use Credentials when interacting with PubSub service (no authentication is required when using emulator). | true | false | MEDIUM
+| *camel.source.endpoint.loggerId* | Logger ID to use when a match to the parent route required | null | false | MEDIUM
+| *camel.source.endpoint.serviceAccountKey* | The Service account key that can be used as credentials for the PubSub publisher/subscriber. It can be loaded by default from classpath, but you can prefix with classpath:, file:, or http: to load the resource from different systems. | null | false | MEDIUM
| *camel.source.endpoint.ackMode* | AUTO = exchange gets ack'ed/nack'ed on completion. NONE = downstream process has to ack/nack explicitly One of: [AUTO] [NONE] | "AUTO" | false | MEDIUM
+| *camel.source.endpoint.bridgeErrorHandler* | Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN or ERROR level and ignored. | false | false | MEDIUM
| *camel.source.endpoint.concurrentConsumers* | The number of parallel streams consuming from the subscription | "1" | false | MEDIUM
-| *camel.source.endpoint.loggerId* | Logger ID to use when a match to the parent route required | null | false | MEDIUM
| *camel.source.endpoint.maxMessagesPerPoll* | The max number of messages to receive from the server in a single API call | "1" | false | MEDIUM
-| *camel.source.endpoint.serviceAccountKey* | The Service account key that can be used as credentials for the PubSub publisher/subscriber. It can be loaded by default from classpath, but you can prefix with classpath:, file:, or http: to load the resource from different systems. | null | true | HIGH
| *camel.source.endpoint.synchronousPull* | Synchronously pull batches of messages | false | false | MEDIUM
-| *camel.source.endpoint.bridgeErrorHandler* | Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN or ERROR level and ignored. | false | false | MEDIUM
| *camel.source.endpoint.exceptionHandler* | To let the consumer use a custom ExceptionHandler. Notice if the option bridgeErrorHandler is enabled then this option is not in use. By default the consumer will deal with exceptions, that will be logged at WARN or ERROR level and ignored. | null | false | MEDIUM
| *camel.source.endpoint.exchangePattern* | Sets the exchange pattern when the consumer creates an exchange. One of: [InOnly] [InOut] [InOptionalOut] | null | false | MEDIUM
+| *camel.component.google-pubsub.authenticate* | Use Credentials when interacting with PubSub service (no authentication is required when using emulator). | true | false | MEDIUM
| *camel.component.google-pubsub.endpoint* | Endpoint to use with local Pub/Sub emulator. | null | false | MEDIUM
-| *camel.component.google-pubsub.serviceAccountKey* | The Service account key that can be used as credentials for the PubSub publisher/subscriber. It can be loaded by default from classpath, but you can prefix with classpath:, file:, or http: to load the resource from different systems. | null | true | HIGH
+| *camel.component.google-pubsub.serviceAccountKey* | The Service account key that can be used as credentials for the PubSub publisher/subscriber. It can be loaded by default from classpath, but you can prefix with classpath:, file:, or http: to load the resource from different systems. | null | false | MEDIUM
| *camel.component.google-pubsub.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.component.google-pubsub.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.google-pubsub.publisherTermination Timeout* | How many milliseconds should a producer be allowed to terminate. | null | false | MEDIUM
@@ -64,8 +66,4 @@ The camel-google-pubsub source connector has no transforms out of the box.
The camel-google-pubsub source connector has no aggregation strategies out of the box.
-
-
-
-
// kafka-connector options: END
diff --git a/docs/modules/ROOT/pages/reference/connectors/camel-google-sheets-stream-kafka-source-connector.adoc b/docs/modules/ROOT/pages/reference/connectors/camel-google-sheets-stream-kafka-source-connector.adoc
index 16251b1..587be5d 100644
--- a/docs/modules/ROOT/pages/reference/connectors/camel-google-sheets-stream-kafka-source-connector.adoc
+++ b/docs/modules/ROOT/pages/reference/connectors/camel-google-sheets-stream-kafka-source-connector.adoc
@@ -24,14 +24,14 @@ connector.class=org.apache.camel.kafkaconnector.googlesheetsstream.CamelGooglesh
----
-The camel-google-sheets-stream source connector supports 50 options, which are listed below.
+The camel-google-sheets-stream source connector supports 48 options, which are listed below.
[width="100%",cols="2,5,^1,1,1",options="header"]
|===
| Name | Description | Default | Required | Priority
-| *camel.source.path.apiName* | Sets the apiName. | null | true | HIGH
+| *camel.source.path.spreadsheetId* | Specifies the spreadsheet identifier that is used to identify the target to obtain. | null | true | HIGH
| *camel.source.endpoint.applicationName* | Google sheets application name. Example would be camel-google-sheets/1.0 | null | false | MEDIUM
| *camel.source.endpoint.bridgeErrorHandler* | Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN or ERROR level and ignored. | false | false | MEDIUM
| *camel.source.endpoint.clientId* | Client ID of the sheets application | null | false | MEDIUM
@@ -42,7 +42,6 @@ The camel-google-sheets-stream source connector supports 50 options, which are l
| *camel.source.endpoint.scopes* | Specifies the level of permissions you want a sheets application to have to a user account. See \https://developers.google.com/identity/protocols/googlescopes for more info. | null | 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
| *camel.source.endpoint.splitResults* | True if value range result should be split into rows or columns to process each of them individually. When true each row or column is represented with a separate exchange in batch processing. Otherwise value range object is used as exchange junk size. | false | false | MEDIUM
-| *camel.source.endpoint.spreadsheetId* | Specifies the spreadsheet identifier that is used to identify the target to obtain. | null | false | MEDIUM
| *camel.source.endpoint.valueRenderOption* | Determines how values should be rendered in the output. One of: [FORMATTED_VALUE] [UNFORMATTED_VALUE] [FORMULA] | "FORMATTED_VALUE" | false | MEDIUM
| *camel.source.endpoint.exceptionHandler* | To let the consumer use a custom ExceptionHandler. Notice if the option bridgeErrorHandler is enabled then this option is not in use. By default the consumer will deal with exceptions, that will be logged at WARN or ERROR level and ignored. | null | false | MEDIUM
| *camel.source.endpoint.exchangePattern* | Sets the exchange pattern when the consumer creates an exchange. One of: [InOnly] [InOut] [InOptionalOut] | null | false | MEDIUM
@@ -74,7 +73,6 @@ The camel-google-sheets-stream source connector supports 50 options, which are l
| *camel.component.google-sheets-stream.range* | Specifies the range of rows and columns in a sheet to get data from. | null | false | MEDIUM
| *camel.component.google-sheets-stream.scopes* | Specifies the level of permissions you want a sheets application to have to a user account. See \https://developers.google.com/identity/protocols/googlescopes for more info. | null | false | MEDIUM
| *camel.component.google-sheets-stream.splitResults* | True if value range result should be split into rows or columns to process each of them individually. When true each row or column is represented with a separate exchange in batch processing. Otherwise value range object is used as exchange junk size. | false | false | MEDIUM
-| *camel.component.google-sheets-stream.spreadsheetId* | Specifies the spreadsheet identifier that is used to identify the target to obtain. | null | false | MEDIUM
| *camel.component.google-sheets-stream.valueRender Option* | Determines how values should be rendered in the output. One of: [FORMATTED_VALUE] [UNFORMATTED_VALUE] [FORMULA] | "FORMATTED_VALUE" | false | MEDIUM
| *camel.component.google-sheets-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
| *camel.component.google-sheets-stream.clientFactory* | To use the GoogleSheetsClientFactory as factory for creating the client. Will by default use BatchGoogleSheetsClientFactory | null | false | MEDIUM
@@ -98,8 +96,4 @@ The camel-google-sheets-stream source connector has no transforms out of the box
The camel-google-sheets-stream source connector has no aggregation strategies out of the box.
-
-
-
-
// kafka-connector options: END
diff --git a/docs/modules/ROOT/pages/reference/connectors/camel-graphql-kafka-sink-connector.adoc b/docs/modules/ROOT/pages/reference/connectors/camel-graphql-kafka-sink-connector.adoc
index 8b9b093..23744cc 100644
--- a/docs/modules/ROOT/pages/reference/connectors/camel-graphql-kafka-sink-connector.adoc
+++ b/docs/modules/ROOT/pages/reference/connectors/camel-graphql-kafka-sink-connector.adoc
@@ -24,7 +24,7 @@ connector.class=org.apache.camel.kafkaconnector.graphql.CamelGraphqlSinkConnecto
----
-The camel-graphql sink connector supports 13 options, which are listed below.
+The camel-graphql sink connector supports 15 options, which are listed below.
@@ -37,7 +37,9 @@ The camel-graphql sink connector supports 13 options, which are listed below.
| *camel.sink.endpoint.proxyHost* | The proxy host in the format hostname:port. | null | false | MEDIUM
| *camel.sink.endpoint.query* | The query text. | null | false | MEDIUM
| *camel.sink.endpoint.queryFile* | The query file name located in the classpath. | null | false | MEDIUM
+| *camel.sink.endpoint.queryHeader* | The name of a header containing the GraphQL query. | null | false | MEDIUM
| *camel.sink.endpoint.variables* | The JsonObject instance containing the operation variables. | null | false | MEDIUM
+| *camel.sink.endpoint.variablesHeader* | The name of a header containing a JsonObject instance containing the operation variables. | null | false | MEDIUM
| *camel.sink.endpoint.accessToken* | The access token sent in the Authorization header. | null | false | MEDIUM
| *camel.sink.endpoint.jwtAuthorizationType* | The JWT Authorization type. Default is Bearer. | "Bearer" | false | MEDIUM
| *camel.sink.endpoint.password* | The password for Basic authentication. | null | false | MEDIUM
@@ -61,8 +63,4 @@ The camel-graphql sink connector has no transforms out of the box.
The camel-graphql sink connector has no aggregation strategies out of the box.
-
-
-
-
// kafka-connector options: END
diff --git a/docs/modules/ROOT/pages/reference/connectors/camel-https-kafka-sink-connector.adoc b/docs/modules/ROOT/pages/reference/connectors/camel-https-kafka-sink-connector.adoc
index e21aaac..f0a07f8 100644
--- a/docs/modules/ROOT/pages/reference/connectors/camel-https-kafka-sink-connector.adoc
+++ b/docs/modules/ROOT/pages/reference/connectors/camel-https-kafka-sink-connector.adoc
@@ -24,7 +24,7 @@ connector.class=org.apache.camel.kafkaconnector.https.CamelHttpsSinkConnector
----
-The camel-https sink connector supports 88 options, which are listed below.
+The camel-https sink connector supports 89 options, which are listed below.
@@ -32,11 +32,11 @@ The camel-https sink connector supports 88 options, which are listed below.
|===
| Name | Description | Default | Required | Priority
| *camel.sink.path.httpUri* | The url of the HTTP endpoint to call. | null | true | HIGH
+| *camel.sink.endpoint.chunked* | If this option is false the Servlet will disable the HTTP streaming and set the content-length header on the response | true | false | MEDIUM
| *camel.sink.endpoint.disableStreamCache* | Determines whether or not the raw input stream from Servlet is cached or not (Camel will read the stream into a in memory/overflow to file, Stream caching) cache. By default Camel will cache the Servlet input stream to support reading it multiple times to ensure it Camel can retrieve all data from the stream. However you can set this option to true when you for example need to access the raw stream, such as streaming it directly to a file or o [...]
| *camel.sink.endpoint.headerFilterStrategy* | To use a custom HeaderFilterStrategy to filter header to and from Camel message. | null | false | MEDIUM
| *camel.sink.endpoint.httpBinding* | To use a custom HttpBinding to control the mapping between Camel message and HttpClient. | null | false | MEDIUM
| *camel.sink.endpoint.bridgeEndpoint* | If the option is true, HttpProducer will ignore the Exchange.HTTP_URI header, and use the endpoint's URI for request. You may also set the option throwExceptionOnFailure to be false to let the HttpProducer send all the fault response back. | false | false | MEDIUM
-| *camel.sink.endpoint.chunked* | If this option is false the Servlet will disable the HTTP streaming and set the content-length header on the response | true | false | MEDIUM
| *camel.sink.endpoint.clearExpiredCookies* | Whether to clear expired cookies before sending the HTTP request. This ensures the cookies store does not keep growing by adding new cookies which is newer removed when they are expired. If the component has disabled cookie management then this option is disabled too. | true | false | MEDIUM
| *camel.sink.endpoint.connectionClose* | Specifies whether a Connection Close header must be added to HTTP Request. By default connectionClose is false. | false | false | MEDIUM
| *camel.sink.endpoint.copyHeaders* | If this option is true then IN exchange headers will be copied to OUT exchange headers according to copy strategy. Setting this to false, allows to only include the headers from the HTTP response (not propagating IN headers). | true | false | MEDIUM
@@ -54,6 +54,7 @@ The camel-https sink connector supports 88 options, which are listed below.
| *camel.sink.endpoint.okStatusCodeRange* | The status codes which are considered a success response. The values are inclusive. Multiple ranges can be defined, separated by comma, e.g. 200-204,209,301-304. Each range must be a single number or from-to with the dash included. | "200-299" | false | MEDIUM
| *camel.sink.endpoint.skipRequestHeaders* | Whether to skip mapping all the Camel headers as HTTP request headers. If there are no data from Camel headers needed to be included in the HTTP request then this can avoid parsing overhead with many object allocations for the JVM garbage collector. | false | false | MEDIUM
| *camel.sink.endpoint.skipResponseHeaders* | Whether to skip mapping all the HTTP response headers to Camel headers. If there are no data needed from HTTP headers then this can avoid parsing overhead with many object allocations for the JVM garbage collector. | false | false | MEDIUM
+| *camel.sink.endpoint.userAgent* | To set a custom HTTP User-Agent request header | null | false | MEDIUM
| *camel.sink.endpoint.clientBuilder* | Provide access to the http client request parameters used on new RequestConfig instances used by producers or consumers of this endpoint. | null | false | MEDIUM
| *camel.sink.endpoint.clientConnectionManager* | To use a custom HttpClientConnectionManager to manage connections | null | false | MEDIUM
| *camel.sink.endpoint.connectionsPerRoute* | The maximum number of connections per route. | 20 | false | MEDIUM
@@ -136,8 +137,4 @@ The camel-https sink connector has no transforms out of the box.
The camel-https sink connector has no aggregation strategies out of the box.
-
-
-
-
// kafka-connector options: END
diff --git a/docs/modules/ROOT/pages/reference/connectors/camel-hwcloud-dms-kafka-sink-connector.adoc b/docs/modules/ROOT/pages/reference/connectors/camel-hwcloud-dms-kafka-sink-connector.adoc
... 1247 lines suppressed ...