From e3eca1068835db7b2098068ec59ae5f381ade0e0 Mon Sep 17 00:00:00 2001 From: Andrea Cosentino Date: Wed, 23 Sep 2020 07:53:38 +0200 Subject: [PATCH] Poor man rebase on master --- ...aws2-eventbridge-kafka-sink-connector.adoc | 28 ++- ...melAws2eventbridgeSinkConnector.properties | 4 +- ...melAws2eventbridgeSinkConnectorConfig.java | 28 ++- .../camel-browse-kafka-connector/pom.xml | 135 ------------ .../src/main/assembly/package.xml | 57 ----- .../camel-browse-kafka-sink-connector.adoc | 55 ----- .../camel-browse-kafka-source-connector.adoc | 57 ----- .../CamelBrowseSinkConnector.properties | 33 --- .../CamelBrowseSourceConnector.properties | 33 --- .../browse/CamelBrowseSinkConnector.java | 35 --- .../CamelBrowseSinkConnectorConfig.java | 66 ------ .../browse/CamelBrowseSinkTask.java | 39 ---- .../browse/CamelBrowseSourceConnector.java | 35 --- .../CamelBrowseSourceConnectorConfig.java | 76 ------- .../browse/CamelBrowseSourceTask.java | 39 ---- .../src/main/resources/META-INF/LICENSE.txt | 203 ------------------ .../src/main/resources/META-INF/NOTICE.txt | 11 - .../camel-class-kafka-connector/pom.xml | 135 ------------ .../src/main/assembly/package.xml | 57 ----- .../camel-class-kafka-sink-connector.adoc | 61 ------ .../CamelClassSinkConnector.properties | 33 --- .../clazz/CamelClassSinkConnector.java | 35 --- .../clazz/CamelClassSinkConnectorConfig.java | 90 -------- .../clazz/CamelClassSinkTask.java | 39 ---- .../src/main/resources/META-INF/LICENSE.txt | 203 ------------------ .../src/main/resources/META-INF/NOTICE.txt | 11 - connectors/pom.xml | 4 +- docs/modules/ROOT/pages/connectors.adoc | 4 +- ...aws2-eventbridge-kafka-sink-connector.adoc | 28 ++- .../camel-browse-kafka-sink-connector.adoc | 55 ----- .../camel-browse-kafka-source-connector.adoc | 57 ----- .../camel-class-kafka-sink-connector.adoc | 61 ------ 32 files changed, 49 insertions(+), 1758 deletions(-) delete mode 100644 connectors/camel-browse-kafka-connector/pom.xml delete mode 100644 connectors/camel-browse-kafka-connector/src/main/assembly/package.xml delete mode 100644 connectors/camel-browse-kafka-connector/src/main/docs/camel-browse-kafka-sink-connector.adoc delete mode 100644 connectors/camel-browse-kafka-connector/src/main/docs/camel-browse-kafka-source-connector.adoc delete mode 100644 connectors/camel-browse-kafka-connector/src/main/docs/examples/CamelBrowseSinkConnector.properties delete mode 100644 connectors/camel-browse-kafka-connector/src/main/docs/examples/CamelBrowseSourceConnector.properties delete mode 100644 connectors/camel-browse-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/browse/CamelBrowseSinkConnector.java delete mode 100644 connectors/camel-browse-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/browse/CamelBrowseSinkConnectorConfig.java delete mode 100644 connectors/camel-browse-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/browse/CamelBrowseSinkTask.java delete mode 100644 connectors/camel-browse-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/browse/CamelBrowseSourceConnector.java delete mode 100644 connectors/camel-browse-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/browse/CamelBrowseSourceConnectorConfig.java delete mode 100644 connectors/camel-browse-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/browse/CamelBrowseSourceTask.java delete mode 100644 connectors/camel-browse-kafka-connector/src/main/resources/META-INF/LICENSE.txt delete mode 100644 connectors/camel-browse-kafka-connector/src/main/resources/META-INF/NOTICE.txt delete mode 100644 connectors/camel-class-kafka-connector/pom.xml delete mode 100644 connectors/camel-class-kafka-connector/src/main/assembly/package.xml delete mode 100644 connectors/camel-class-kafka-connector/src/main/docs/camel-class-kafka-sink-connector.adoc delete mode 100644 connectors/camel-class-kafka-connector/src/main/docs/examples/CamelClassSinkConnector.properties delete mode 100644 connectors/camel-class-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/clazz/CamelClassSinkConnector.java delete mode 100644 connectors/camel-class-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/clazz/CamelClassSinkConnectorConfig.java delete mode 100644 connectors/camel-class-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/clazz/CamelClassSinkTask.java delete mode 100644 connectors/camel-class-kafka-connector/src/main/resources/META-INF/LICENSE.txt delete mode 100644 connectors/camel-class-kafka-connector/src/main/resources/META-INF/NOTICE.txt delete mode 100644 docs/modules/ROOT/pages/connectors/camel-browse-kafka-sink-connector.adoc delete mode 100644 docs/modules/ROOT/pages/connectors/camel-browse-kafka-source-connector.adoc delete mode 100644 docs/modules/ROOT/pages/connectors/camel-class-kafka-sink-connector.adoc diff --git a/connectors/camel-aws2-eventbridge-kafka-connector/src/main/docs/camel-aws2-eventbridge-kafka-sink-connector.adoc b/connectors/camel-aws2-eventbridge-kafka-connector/src/main/docs/camel-aws2-eventbridge-kafka-sink-connector.adoc index c2471cae70..b593cf1957 100644 --- a/connectors/camel-aws2-eventbridge-kafka-connector/src/main/docs/camel-aws2-eventbridge-kafka-sink-connector.adoc +++ b/connectors/camel-aws2-eventbridge-kafka-connector/src/main/docs/camel-aws2-eventbridge-kafka-sink-connector.adoc @@ -22,7 +22,7 @@ connector.class=org.apache.camel.kafkaconnector.aws2eventbridge.CamelAws2eventbr ---- -The camel-aws2-eventbridge sink connector supports 31 options, which are listed below. +The camel-aws2-eventbridge sink connector supports 33 options, which are listed below. @@ -32,14 +32,15 @@ The camel-aws2-eventbridge sink connector supports 31 options, which are listed | *camel.sink.path.label* | Logical name | null | HIGH | *camel.sink.endpoint.autoDiscoverClient* | Setting the autoDiscoverClient mechanism, if true, the component will look for a client instance in the registry automatically otherwise it will skip that checking. | true | MEDIUM | *camel.sink.endpoint.eventbridgeClient* | To use a existing configured AWS Eventbridge as client | null | MEDIUM +| *camel.sink.endpoint.eventbusName* | The eventbus name, the default value is default and this means it will be the AWS event bus of your account. | "default" | MEDIUM | *camel.sink.endpoint.eventPatternFile* | EventPattern File | null | 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 creating and starting the producer may take a little time and prolong the total processing time of the processing. | false | MEDIUM -| *camel.sink.endpoint.operation* | The operation to perform One of: [putRule] [putTargets] | "putRule" | HIGH +| *camel.sink.endpoint.operation* | The operation to perform One of: [putRule] [putTargets] [removeTargets] | "putRule" | HIGH | *camel.sink.endpoint.pojoRequest* | If we want to use a POJO request as body or not | false | MEDIUM -| *camel.sink.endpoint.proxyHost* | To define a proxy host when instantiating the STS client | null | MEDIUM -| *camel.sink.endpoint.proxyPort* | To define a proxy port when instantiating the STS client | null | MEDIUM -| *camel.sink.endpoint.proxyProtocol* | To define a proxy protocol when instantiating the STS client One of: [HTTP] [HTTPS] | "HTTPS" | MEDIUM -| *camel.sink.endpoint.region* | The region in which STS client needs to work. When using this parameter, the configuration will expect the lowercase name of the region (for example ap-east-1) You'll need to use the name Region.EU_WEST_1.id() | null | MEDIUM +| *camel.sink.endpoint.proxyHost* | To define a proxy host when instantiating the Eventbridge client | null | MEDIUM +| *camel.sink.endpoint.proxyPort* | To define a proxy port when instantiating the Eventbridge client | null | MEDIUM +| *camel.sink.endpoint.proxyProtocol* | To define a proxy protocol when instantiating the Eventbridge client One of: [HTTP] [HTTPS] | "HTTPS" | MEDIUM +| *camel.sink.endpoint.region* | The region in which Eventbridge client needs to work. When using this parameter, the configuration will expect the lowercase name of the region (for example ap-east-1) You'll need to use the name Region.EU_WEST_1.id() | null | MEDIUM | *camel.sink.endpoint.trustAllCertificates* | If we want to trust all certificates in case of overriding the endpoint | false | MEDIUM | *camel.sink.endpoint.basicPropertyBinding* | Whether the endpoint should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities | false | MEDIUM | *camel.sink.endpoint.synchronous* | Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported). | false | MEDIUM @@ -48,14 +49,15 @@ The camel-aws2-eventbridge sink connector supports 31 options, which are listed | *camel.component.aws2-eventbridge.autoDiscover Client* | Setting the autoDiscoverClient mechanism, if true, the component will look for a client instance in the registry automatically otherwise it will skip that checking. | true | MEDIUM | *camel.component.aws2-eventbridge.configuration* | Component configuration | null | MEDIUM | *camel.component.aws2-eventbridge.eventbridgeClient* | To use a existing configured AWS Eventbridge as client | null | MEDIUM +| *camel.component.aws2-eventbridge.eventbusName* | The eventbus name, the default value is default and this means it will be the AWS event bus of your account. | "default" | MEDIUM | *camel.component.aws2-eventbridge.eventPatternFile* | EventPattern File | null | MEDIUM | *camel.component.aws2-eventbridge.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 creating and starting the producer may take a little time and prolong the total processing time of the processing. | false | MEDIUM -| *camel.component.aws2-eventbridge.operation* | The operation to perform One of: [putRule] [putTargets] | "putRule" | HIGH +| *camel.component.aws2-eventbridge.operation* | The operation to perform One of: [putRule] [putTargets] [removeTargets] | "putRule" | HIGH | *camel.component.aws2-eventbridge.pojoRequest* | If we want to use a POJO request as body or not | false | MEDIUM -| *camel.component.aws2-eventbridge.proxyHost* | To define a proxy host when instantiating the STS client | null | MEDIUM -| *camel.component.aws2-eventbridge.proxyPort* | To define a proxy port when instantiating the STS client | null | MEDIUM -| *camel.component.aws2-eventbridge.proxyProtocol* | To define a proxy protocol when instantiating the STS client One of: [HTTP] [HTTPS] | "HTTPS" | MEDIUM -| *camel.component.aws2-eventbridge.region* | The region in which STS client needs to work. When using this parameter, the configuration will expect the lowercase name of the region (for example ap-east-1) You'll need to use the name Region.EU_WEST_1.id() | null | MEDIUM +| *camel.component.aws2-eventbridge.proxyHost* | To define a proxy host when instantiating the Eventbridge client | null | MEDIUM +| *camel.component.aws2-eventbridge.proxyPort* | To define a proxy port when instantiating the Eventbridge client | null | MEDIUM +| *camel.component.aws2-eventbridge.proxyProtocol* | To define a proxy protocol when instantiating the Eventbridge client One of: [HTTP] [HTTPS] | "HTTPS" | MEDIUM +| *camel.component.aws2-eventbridge.region* | The region in which Eventbridge client needs to work. When using this parameter, the configuration will expect the lowercase name of the region (for example ap-east-1) You'll need to use the name Region.EU_WEST_1.id() | null | MEDIUM | *camel.component.aws2-eventbridge.trustAll Certificates* | If we want to trust all certificates in case of overriding the endpoint | false | MEDIUM | *camel.component.aws2-eventbridge.basicProperty Binding* | Whether the component should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities | false | LOW | *camel.component.aws2-eventbridge.accessKey* | Amazon AWS Access Key | null | MEDIUM @@ -77,8 +79,4 @@ The camel-aws2-eventbridge sink connector has no transforms out of the box. The camel-aws2-eventbridge sink connector has no aggregation strategies out of the box. - - - - // kafka-connector options: END diff --git a/connectors/camel-aws2-eventbridge-kafka-connector/src/main/docs/examples/CamelAws2eventbridgeSinkConnector.properties b/connectors/camel-aws2-eventbridge-kafka-connector/src/main/docs/examples/CamelAws2eventbridgeSinkConnector.properties index 718221e1de..c3bda11af1 100644 --- a/connectors/camel-aws2-eventbridge-kafka-connector/src/main/docs/examples/CamelAws2eventbridgeSinkConnector.properties +++ b/connectors/camel-aws2-eventbridge-kafka-connector/src/main/docs/examples/CamelAws2eventbridgeSinkConnector.properties @@ -28,9 +28,9 @@ topics= # mandatory properties (for a complete properties list see the connector documentation): -# The operation to perform One of: [putRule] [putTargets] +# The operation to perform One of: [putRule] [putTargets] [removeTargets] camel.component.aws2-eventbridge.operation= -# The operation to perform One of: [putRule] [putTargets] +# The operation to perform One of: [putRule] [putTargets] [removeTargets] camel.sink.endpoint.operation= # Logical name camel.sink.path.label= diff --git a/connectors/camel-aws2-eventbridge-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/aws2eventbridge/CamelAws2eventbridgeSinkConnectorConfig.java b/connectors/camel-aws2-eventbridge-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/aws2eventbridge/CamelAws2eventbridgeSinkConnectorConfig.java index 96eeca61d3..dc33c89554 100644 --- a/connectors/camel-aws2-eventbridge-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/aws2eventbridge/CamelAws2eventbridgeSinkConnectorConfig.java +++ b/connectors/camel-aws2-eventbridge-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/aws2eventbridge/CamelAws2eventbridgeSinkConnectorConfig.java @@ -35,6 +35,9 @@ public class CamelAws2eventbridgeSinkConnectorConfig public static final String CAMEL_SINK_AWS2EVENTBRIDGE_ENDPOINT_EVENTBRIDGE_CLIENT_CONF = "camel.sink.endpoint.eventbridgeClient"; public static final String CAMEL_SINK_AWS2EVENTBRIDGE_ENDPOINT_EVENTBRIDGE_CLIENT_DOC = "To use a existing configured AWS Eventbridge as client"; public static final String CAMEL_SINK_AWS2EVENTBRIDGE_ENDPOINT_EVENTBRIDGE_CLIENT_DEFAULT = null; + public static final String CAMEL_SINK_AWS2EVENTBRIDGE_ENDPOINT_EVENTBUS_NAME_CONF = "camel.sink.endpoint.eventbusName"; + public static final String CAMEL_SINK_AWS2EVENTBRIDGE_ENDPOINT_EVENTBUS_NAME_DOC = "The eventbus name, the default value is default and this means it will be the AWS event bus of your account."; + public static final String CAMEL_SINK_AWS2EVENTBRIDGE_ENDPOINT_EVENTBUS_NAME_DEFAULT = "default"; public static final String CAMEL_SINK_AWS2EVENTBRIDGE_ENDPOINT_EVENT_PATTERN_FILE_CONF = "camel.sink.endpoint.eventPatternFile"; public static final String CAMEL_SINK_AWS2EVENTBRIDGE_ENDPOINT_EVENT_PATTERN_FILE_DOC = "EventPattern File"; public static final String CAMEL_SINK_AWS2EVENTBRIDGE_ENDPOINT_EVENT_PATTERN_FILE_DEFAULT = null; @@ -42,22 +45,22 @@ public class CamelAws2eventbridgeSinkConnectorConfig public static final String CAMEL_SINK_AWS2EVENTBRIDGE_ENDPOINT_LAZY_START_PRODUCER_DOC = "Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing."; public static final Boolean CAMEL_SINK_AWS2EVENTBRIDGE_ENDPOINT_LAZY_START_PRODUCER_DEFAULT = false; public static final String CAMEL_SINK_AWS2EVENTBRIDGE_ENDPOINT_OPERATION_CONF = "camel.sink.endpoint.operation"; - public static final String CAMEL_SINK_AWS2EVENTBRIDGE_ENDPOINT_OPERATION_DOC = "The operation to perform One of: [putRule] [putTargets]"; + public static final String CAMEL_SINK_AWS2EVENTBRIDGE_ENDPOINT_OPERATION_DOC = "The operation to perform One of: [putRule] [putTargets] [removeTargets]"; public static final String CAMEL_SINK_AWS2EVENTBRIDGE_ENDPOINT_OPERATION_DEFAULT = "putRule"; public static final String CAMEL_SINK_AWS2EVENTBRIDGE_ENDPOINT_POJO_REQUEST_CONF = "camel.sink.endpoint.pojoRequest"; public static final String CAMEL_SINK_AWS2EVENTBRIDGE_ENDPOINT_POJO_REQUEST_DOC = "If we want to use a POJO request as body or not"; public static final Boolean CAMEL_SINK_AWS2EVENTBRIDGE_ENDPOINT_POJO_REQUEST_DEFAULT = false; public static final String CAMEL_SINK_AWS2EVENTBRIDGE_ENDPOINT_PROXY_HOST_CONF = "camel.sink.endpoint.proxyHost"; - public static final String CAMEL_SINK_AWS2EVENTBRIDGE_ENDPOINT_PROXY_HOST_DOC = "To define a proxy host when instantiating the STS client"; + public static final String CAMEL_SINK_AWS2EVENTBRIDGE_ENDPOINT_PROXY_HOST_DOC = "To define a proxy host when instantiating the Eventbridge client"; public static final String CAMEL_SINK_AWS2EVENTBRIDGE_ENDPOINT_PROXY_HOST_DEFAULT = null; public static final String CAMEL_SINK_AWS2EVENTBRIDGE_ENDPOINT_PROXY_PORT_CONF = "camel.sink.endpoint.proxyPort"; - public static final String CAMEL_SINK_AWS2EVENTBRIDGE_ENDPOINT_PROXY_PORT_DOC = "To define a proxy port when instantiating the STS client"; + public static final String CAMEL_SINK_AWS2EVENTBRIDGE_ENDPOINT_PROXY_PORT_DOC = "To define a proxy port when instantiating the Eventbridge client"; public static final String CAMEL_SINK_AWS2EVENTBRIDGE_ENDPOINT_PROXY_PORT_DEFAULT = null; public static final String CAMEL_SINK_AWS2EVENTBRIDGE_ENDPOINT_PROXY_PROTOCOL_CONF = "camel.sink.endpoint.proxyProtocol"; - public static final String CAMEL_SINK_AWS2EVENTBRIDGE_ENDPOINT_PROXY_PROTOCOL_DOC = "To define a proxy protocol when instantiating the STS client One of: [HTTP] [HTTPS]"; + public static final String CAMEL_SINK_AWS2EVENTBRIDGE_ENDPOINT_PROXY_PROTOCOL_DOC = "To define a proxy protocol when instantiating the Eventbridge client One of: [HTTP] [HTTPS]"; public static final String CAMEL_SINK_AWS2EVENTBRIDGE_ENDPOINT_PROXY_PROTOCOL_DEFAULT = "HTTPS"; public static final String CAMEL_SINK_AWS2EVENTBRIDGE_ENDPOINT_REGION_CONF = "camel.sink.endpoint.region"; - public static final String CAMEL_SINK_AWS2EVENTBRIDGE_ENDPOINT_REGION_DOC = "The region in which STS client needs to work. When using this parameter, the configuration will expect the lowercase name of the region (for example ap-east-1) You'll need to use the name Region.EU_WEST_1.id()"; + public static final String CAMEL_SINK_AWS2EVENTBRIDGE_ENDPOINT_REGION_DOC = "The region in which Eventbridge client needs to work. When using this parameter, the configuration will expect the lowercase name of the region (for example ap-east-1) You'll need to use the name Region.EU_WEST_1.id()"; public static final String CAMEL_SINK_AWS2EVENTBRIDGE_ENDPOINT_REGION_DEFAULT = null; public static final String CAMEL_SINK_AWS2EVENTBRIDGE_ENDPOINT_TRUST_ALL_CERTIFICATES_CONF = "camel.sink.endpoint.trustAllCertificates"; public static final String CAMEL_SINK_AWS2EVENTBRIDGE_ENDPOINT_TRUST_ALL_CERTIFICATES_DOC = "If we want to trust all certificates in case of overriding the endpoint"; @@ -83,6 +86,9 @@ public class CamelAws2eventbridgeSinkConnectorConfig public static final String CAMEL_SINK_AWS2EVENTBRIDGE_COMPONENT_EVENTBRIDGE_CLIENT_CONF = "camel.component.aws2-eventbridge.eventbridgeClient"; public static final String CAMEL_SINK_AWS2EVENTBRIDGE_COMPONENT_EVENTBRIDGE_CLIENT_DOC = "To use a existing configured AWS Eventbridge as client"; public static final String CAMEL_SINK_AWS2EVENTBRIDGE_COMPONENT_EVENTBRIDGE_CLIENT_DEFAULT = null; + public static final String CAMEL_SINK_AWS2EVENTBRIDGE_COMPONENT_EVENTBUS_NAME_CONF = "camel.component.aws2-eventbridge.eventbusName"; + public static final String CAMEL_SINK_AWS2EVENTBRIDGE_COMPONENT_EVENTBUS_NAME_DOC = "The eventbus name, the default value is default and this means it will be the AWS event bus of your account."; + public static final String CAMEL_SINK_AWS2EVENTBRIDGE_COMPONENT_EVENTBUS_NAME_DEFAULT = "default"; public static final String CAMEL_SINK_AWS2EVENTBRIDGE_COMPONENT_EVENT_PATTERN_FILE_CONF = "camel.component.aws2-eventbridge.eventPatternFile"; public static final String CAMEL_SINK_AWS2EVENTBRIDGE_COMPONENT_EVENT_PATTERN_FILE_DOC = "EventPattern File"; public static final String CAMEL_SINK_AWS2EVENTBRIDGE_COMPONENT_EVENT_PATTERN_FILE_DEFAULT = null; @@ -90,22 +96,22 @@ public class CamelAws2eventbridgeSinkConnectorConfig public static final String CAMEL_SINK_AWS2EVENTBRIDGE_COMPONENT_LAZY_START_PRODUCER_DOC = "Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing."; public static final Boolean CAMEL_SINK_AWS2EVENTBRIDGE_COMPONENT_LAZY_START_PRODUCER_DEFAULT = false; public static final String CAMEL_SINK_AWS2EVENTBRIDGE_COMPONENT_OPERATION_CONF = "camel.component.aws2-eventbridge.operation"; - public static final String CAMEL_SINK_AWS2EVENTBRIDGE_COMPONENT_OPERATION_DOC = "The operation to perform One of: [putRule] [putTargets]"; + public static final String CAMEL_SINK_AWS2EVENTBRIDGE_COMPONENT_OPERATION_DOC = "The operation to perform One of: [putRule] [putTargets] [removeTargets]"; public static final String CAMEL_SINK_AWS2EVENTBRIDGE_COMPONENT_OPERATION_DEFAULT = "putRule"; public static final String CAMEL_SINK_AWS2EVENTBRIDGE_COMPONENT_POJO_REQUEST_CONF = "camel.component.aws2-eventbridge.pojoRequest"; public static final String CAMEL_SINK_AWS2EVENTBRIDGE_COMPONENT_POJO_REQUEST_DOC = "If we want to use a POJO request as body or not"; public static final Boolean CAMEL_SINK_AWS2EVENTBRIDGE_COMPONENT_POJO_REQUEST_DEFAULT = false; public static final String CAMEL_SINK_AWS2EVENTBRIDGE_COMPONENT_PROXY_HOST_CONF = "camel.component.aws2-eventbridge.proxyHost"; - public static final String CAMEL_SINK_AWS2EVENTBRIDGE_COMPONENT_PROXY_HOST_DOC = "To define a proxy host when instantiating the STS client"; + public static final String CAMEL_SINK_AWS2EVENTBRIDGE_COMPONENT_PROXY_HOST_DOC = "To define a proxy host when instantiating the Eventbridge client"; public static final String CAMEL_SINK_AWS2EVENTBRIDGE_COMPONENT_PROXY_HOST_DEFAULT = null; public static final String CAMEL_SINK_AWS2EVENTBRIDGE_COMPONENT_PROXY_PORT_CONF = "camel.component.aws2-eventbridge.proxyPort"; - public static final String CAMEL_SINK_AWS2EVENTBRIDGE_COMPONENT_PROXY_PORT_DOC = "To define a proxy port when instantiating the STS client"; + public static final String CAMEL_SINK_AWS2EVENTBRIDGE_COMPONENT_PROXY_PORT_DOC = "To define a proxy port when instantiating the Eventbridge client"; public static final String CAMEL_SINK_AWS2EVENTBRIDGE_COMPONENT_PROXY_PORT_DEFAULT = null; public static final String CAMEL_SINK_AWS2EVENTBRIDGE_COMPONENT_PROXY_PROTOCOL_CONF = "camel.component.aws2-eventbridge.proxyProtocol"; - public static final String CAMEL_SINK_AWS2EVENTBRIDGE_COMPONENT_PROXY_PROTOCOL_DOC = "To define a proxy protocol when instantiating the STS client One of: [HTTP] [HTTPS]"; + public static final String CAMEL_SINK_AWS2EVENTBRIDGE_COMPONENT_PROXY_PROTOCOL_DOC = "To define a proxy protocol when instantiating the Eventbridge client One of: [HTTP] [HTTPS]"; public static final String CAMEL_SINK_AWS2EVENTBRIDGE_COMPONENT_PROXY_PROTOCOL_DEFAULT = "HTTPS"; public static final String CAMEL_SINK_AWS2EVENTBRIDGE_COMPONENT_REGION_CONF = "camel.component.aws2-eventbridge.region"; - public static final String CAMEL_SINK_AWS2EVENTBRIDGE_COMPONENT_REGION_DOC = "The region in which STS client needs to work. When using this parameter, the configuration will expect the lowercase name of the region (for example ap-east-1) You'll need to use the name Region.EU_WEST_1.id()"; + public static final String CAMEL_SINK_AWS2EVENTBRIDGE_COMPONENT_REGION_DOC = "The region in which Eventbridge client needs to work. When using this parameter, the configuration will expect the lowercase name of the region (for example ap-east-1) You'll need to use the name Region.EU_WEST_1.id()"; public static final String CAMEL_SINK_AWS2EVENTBRIDGE_COMPONENT_REGION_DEFAULT = null; public static final String CAMEL_SINK_AWS2EVENTBRIDGE_COMPONENT_TRUST_ALL_CERTIFICATES_CONF = "camel.component.aws2-eventbridge.trustAllCertificates"; public static final String CAMEL_SINK_AWS2EVENTBRIDGE_COMPONENT_TRUST_ALL_CERTIFICATES_DOC = "If we want to trust all certificates in case of overriding the endpoint"; @@ -136,6 +142,7 @@ public static ConfigDef conf() { conf.define(CAMEL_SINK_AWS2EVENTBRIDGE_PATH_LABEL_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AWS2EVENTBRIDGE_PATH_LABEL_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_AWS2EVENTBRIDGE_PATH_LABEL_DOC); conf.define(CAMEL_SINK_AWS2EVENTBRIDGE_ENDPOINT_AUTO_DISCOVER_CLIENT_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_AWS2EVENTBRIDGE_ENDPOINT_AUTO_DISCOVER_CLIENT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2EVENTBRIDGE_ENDPOINT_AUTO_DISCOVER_CLIENT_DOC); conf.define(CAMEL_SINK_AWS2EVENTBRIDGE_ENDPOINT_EVENTBRIDGE_CLIENT_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AWS2EVENTBRIDGE_ENDPOINT_EVENTBRIDGE_CLIENT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2EVENTBRIDGE_ENDPOINT_EVENTBRIDGE_CLIENT_DOC); + conf.define(CAMEL_SINK_AWS2EVENTBRIDGE_ENDPOINT_EVENTBUS_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AWS2EVENTBRIDGE_ENDPOINT_EVENTBUS_NAME_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2EVENTBRIDGE_ENDPOINT_EVENTBUS_NAME_DOC); conf.define(CAMEL_SINK_AWS2EVENTBRIDGE_ENDPOINT_EVENT_PATTERN_FILE_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AWS2EVENTBRIDGE_ENDPOINT_EVENT_PATTERN_FILE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2EVENTBRIDGE_ENDPOINT_EVENT_PATTERN_FILE_DOC); conf.define(CAMEL_SINK_AWS2EVENTBRIDGE_ENDPOINT_LAZY_START_PRODUCER_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_AWS2EVENTBRIDGE_ENDPOINT_LAZY_START_PRODUCER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2EVENTBRIDGE_ENDPOINT_LAZY_START_PRODUCER_DOC); conf.define(CAMEL_SINK_AWS2EVENTBRIDGE_ENDPOINT_OPERATION_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AWS2EVENTBRIDGE_ENDPOINT_OPERATION_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_AWS2EVENTBRIDGE_ENDPOINT_OPERATION_DOC); @@ -152,6 +159,7 @@ public static ConfigDef conf() { conf.define(CAMEL_SINK_AWS2EVENTBRIDGE_COMPONENT_AUTO_DISCOVER_CLIENT_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_AWS2EVENTBRIDGE_COMPONENT_AUTO_DISCOVER_CLIENT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2EVENTBRIDGE_COMPONENT_AUTO_DISCOVER_CLIENT_DOC); conf.define(CAMEL_SINK_AWS2EVENTBRIDGE_COMPONENT_CONFIGURATION_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AWS2EVENTBRIDGE_COMPONENT_CONFIGURATION_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2EVENTBRIDGE_COMPONENT_CONFIGURATION_DOC); conf.define(CAMEL_SINK_AWS2EVENTBRIDGE_COMPONENT_EVENTBRIDGE_CLIENT_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AWS2EVENTBRIDGE_COMPONENT_EVENTBRIDGE_CLIENT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2EVENTBRIDGE_COMPONENT_EVENTBRIDGE_CLIENT_DOC); + conf.define(CAMEL_SINK_AWS2EVENTBRIDGE_COMPONENT_EVENTBUS_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AWS2EVENTBRIDGE_COMPONENT_EVENTBUS_NAME_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2EVENTBRIDGE_COMPONENT_EVENTBUS_NAME_DOC); conf.define(CAMEL_SINK_AWS2EVENTBRIDGE_COMPONENT_EVENT_PATTERN_FILE_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AWS2EVENTBRIDGE_COMPONENT_EVENT_PATTERN_FILE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2EVENTBRIDGE_COMPONENT_EVENT_PATTERN_FILE_DOC); conf.define(CAMEL_SINK_AWS2EVENTBRIDGE_COMPONENT_LAZY_START_PRODUCER_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_AWS2EVENTBRIDGE_COMPONENT_LAZY_START_PRODUCER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2EVENTBRIDGE_COMPONENT_LAZY_START_PRODUCER_DOC); conf.define(CAMEL_SINK_AWS2EVENTBRIDGE_COMPONENT_OPERATION_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AWS2EVENTBRIDGE_COMPONENT_OPERATION_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_AWS2EVENTBRIDGE_COMPONENT_OPERATION_DOC); diff --git a/connectors/camel-browse-kafka-connector/pom.xml b/connectors/camel-browse-kafka-connector/pom.xml deleted file mode 100644 index 090a01df00..0000000000 --- a/connectors/camel-browse-kafka-connector/pom.xml +++ /dev/null @@ -1,135 +0,0 @@ - - - - 4.0.0 - - org.apache.camel.kafkaconnector - connectors - 0.6.0-SNAPSHOT - - camel-browse-kafka-connector - Camel-Kafka-Connector :: browse - Camel Kafka Connector for browse - - - - org.apache.kafka - connect-api - provided - - - org.apache.kafka - connect-transforms - provided - - - - org.apache.camel - camel-browse - - - - org.apache.camel.kafkaconnector - camel-kafka-connector - - - - - - - org.apache.maven.plugins - maven-surefire-plugin - ${version.maven.surefire.plugin} - - false - - - - org.apache.maven.plugins - maven-jar-plugin - ${version.maven.jar} - - - - true - true - - - - - - org.apache.maven.plugins - maven-compiler-plugin - 2.5.1 - true - - 1.8 - 1.8 - - - - maven-assembly-plugin - 2.5.3 - - - src/main/assembly/package.xml - - - - - make-assembly - package - - single - - - - - - - - - - - atlassian-public - https://packages.atlassian.com/maven-external - Atlassian Public Repo - - false - - - true - - - - - jboss.thirdparty - JBoss Thirdparty Repository - https://repository.jboss.org/nexus/service/local/repositories/thirdparty-releases/content/ - - false - - - true - - - - - diff --git a/connectors/camel-browse-kafka-connector/src/main/assembly/package.xml b/connectors/camel-browse-kafka-connector/src/main/assembly/package.xml deleted file mode 100644 index 4fd25291ab..0000000000 --- a/connectors/camel-browse-kafka-connector/src/main/assembly/package.xml +++ /dev/null @@ -1,57 +0,0 @@ - - - - - package - - zip - tar.gz - - false - - - ${project.basedir}/../.. - ${project.artifactId}/ - - README* - LICENSE* - NOTICE* - licenses/ - - - - ${project.basedir}/src/main/docs - docs/ - - **/* - - - - - - ${project.artifactId}/ - true - true - - org.apache.kafka:connect-api - - - - diff --git a/connectors/camel-browse-kafka-connector/src/main/docs/camel-browse-kafka-sink-connector.adoc b/connectors/camel-browse-kafka-connector/src/main/docs/camel-browse-kafka-sink-connector.adoc deleted file mode 100644 index f3b2f29ce3..0000000000 --- a/connectors/camel-browse-kafka-connector/src/main/docs/camel-browse-kafka-sink-connector.adoc +++ /dev/null @@ -1,55 +0,0 @@ -// kafka-connector options: START -[[camel-browse-kafka-connector-sink]] -= camel-browse-kafka-connector sink configuration - -When using camel-browse-kafka-connector as sink make sure to use the following Maven dependency to have support for the connector: - -[source,xml] ----- - - org.apache.camel.kafkaconnector - camel-browse-kafka-connector - x.x.x - - ----- - -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.browse.CamelBrowseSinkConnector ----- - - -The camel-browse sink connector supports 6 options, which are listed below. - - - -[width="100%",cols="2,5,^1,2",options="header"] -|=== -| Name | Description | Default | Priority -| *camel.sink.path.name* | A name which can be any string to uniquely identify the endpoint | null | HIGH -| *camel.sink.endpoint.lazyStartProducer* | Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing. | false | MEDIUM -| *camel.sink.endpoint.basicPropertyBinding* | Whether the endpoint should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities | false | MEDIUM -| *camel.sink.endpoint.synchronous* | Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported). | false | MEDIUM -| *camel.component.browse.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 creating and starting the producer may take a little time and prolong the total processing time of the processing. | false | MEDIUM -| *camel.component.browse.basicPropertyBinding* | Whether the component should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities | false | LOW -|=== - - - -The camel-browse sink connector has no converters out of the box. - - - - - -The camel-browse sink connector has no transforms out of the box. - - - - - -The camel-browse sink connector has no aggregation strategies out of the box. -// kafka-connector options: END diff --git a/connectors/camel-browse-kafka-connector/src/main/docs/camel-browse-kafka-source-connector.adoc b/connectors/camel-browse-kafka-connector/src/main/docs/camel-browse-kafka-source-connector.adoc deleted file mode 100644 index 3ef4df4cc3..0000000000 --- a/connectors/camel-browse-kafka-connector/src/main/docs/camel-browse-kafka-source-connector.adoc +++ /dev/null @@ -1,57 +0,0 @@ -// kafka-connector options: START -[[camel-browse-kafka-connector-source]] -= camel-browse-kafka-connector source configuration - -When using camel-browse-kafka-connector as source make sure to use the following Maven dependency to have support for the connector: - -[source,xml] ----- - - org.apache.camel.kafkaconnector - camel-browse-kafka-connector - x.x.x - - ----- - -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.browse.CamelBrowseSourceConnector ----- - - -The camel-browse source connector supports 8 options, which are listed below. - - - -[width="100%",cols="2,5,^1,2",options="header"] -|=== -| Name | Description | Default | Priority -| *camel.source.path.name* | A name which can be any string to uniquely identify the endpoint | null | 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 | 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 | MEDIUM -| *camel.source.endpoint.exchangePattern* | Sets the exchange pattern when the consumer creates an exchange. One of: [InOnly] [InOut] [InOptionalOut] | null | MEDIUM -| *camel.source.endpoint.basicPropertyBinding* | Whether the endpoint should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities | false | MEDIUM -| *camel.source.endpoint.synchronous* | Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported). | false | MEDIUM -| *camel.component.browse.bridgeErrorHandler* | Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN or ERROR level and ignored. | false | MEDIUM -| *camel.component.browse.basicPropertyBinding* | Whether the component should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities | false | LOW -|=== - - - -The camel-browse sink connector has no converters out of the box. - - - - - -The camel-browse sink connector has no transforms out of the box. - - - - - -The camel-browse sink connector has no aggregation strategies out of the box. -// kafka-connector options: END diff --git a/connectors/camel-browse-kafka-connector/src/main/docs/examples/CamelBrowseSinkConnector.properties b/connectors/camel-browse-kafka-connector/src/main/docs/examples/CamelBrowseSinkConnector.properties deleted file mode 100644 index b6b96e1d9d..0000000000 --- a/connectors/camel-browse-kafka-connector/src/main/docs/examples/CamelBrowseSinkConnector.properties +++ /dev/null @@ -1,33 +0,0 @@ -## --------------------------------------------------------------------------- -## Licensed to the Apache Software Foundation (ASF) under one or more -## contributor license agreements. See the NOTICE file distributed with -## this work for additional information regarding copyright ownership. -## The ASF licenses this file to You under the Apache License, Version 2.0 -## (the "License"); you may not use this file except in compliance with -## the License. You may obtain a copy of the License at -## -## http://www.apache.org/licenses/LICENSE-2.0 -## -## Unless required by applicable law or agreed to in writing, software -## distributed under the License is distributed on an "AS IS" BASIS, -## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -## See the License for the specific language governing permissions and -## limitations under the License. -## --------------------------------------------------------------------------- - -name=CamelBrowseSinkConnector -connector.class=org.apache.camel.kafkaconnector.browse.CamelBrowseSinkConnector -tasks.max=1 - -# use the kafka converters that better suit your needs, these are just defaults: -key.converter=org.apache.kafka.connect.storage.StringConverter -value.converter=org.apache.kafka.connect.storage.StringConverter - -# comma separated topics to get messages from -topics= - -# mandatory properties (for a complete properties list see the connector documentation): - -# A name which can be any string to uniquely identify the endpoint -camel.sink.path.name= - diff --git a/connectors/camel-browse-kafka-connector/src/main/docs/examples/CamelBrowseSourceConnector.properties b/connectors/camel-browse-kafka-connector/src/main/docs/examples/CamelBrowseSourceConnector.properties deleted file mode 100644 index a553300792..0000000000 --- a/connectors/camel-browse-kafka-connector/src/main/docs/examples/CamelBrowseSourceConnector.properties +++ /dev/null @@ -1,33 +0,0 @@ -## --------------------------------------------------------------------------- -## Licensed to the Apache Software Foundation (ASF) under one or more -## contributor license agreements. See the NOTICE file distributed with -## this work for additional information regarding copyright ownership. -## The ASF licenses this file to You under the Apache License, Version 2.0 -## (the "License"); you may not use this file except in compliance with -## the License. You may obtain a copy of the License at -## -## http://www.apache.org/licenses/LICENSE-2.0 -## -## Unless required by applicable law or agreed to in writing, software -## distributed under the License is distributed on an "AS IS" BASIS, -## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -## See the License for the specific language governing permissions and -## limitations under the License. -## --------------------------------------------------------------------------- - -name=CamelBrowseSourceConnector -connector.class=org.apache.camel.kafkaconnector.browse.CamelBrowseSourceConnector -tasks.max=1 - -# use the kafka converters that better suit your needs, these are just defaults: -key.converter=org.apache.kafka.connect.storage.StringConverter -value.converter=org.apache.kafka.connect.storage.StringConverter - -# comma separated topics to send messages into -topics= - -# mandatory properties (for a complete properties list see the connector documentation): - -# A name which can be any string to uniquely identify the endpoint -camel.source.path.name= - diff --git a/connectors/camel-browse-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/browse/CamelBrowseSinkConnector.java b/connectors/camel-browse-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/browse/CamelBrowseSinkConnector.java deleted file mode 100644 index c231838e02..0000000000 --- a/connectors/camel-browse-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/browse/CamelBrowseSinkConnector.java +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.camel.kafkaconnector.browse; - -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 CamelBrowseSinkConnector extends CamelSinkConnector { - - @Override - public ConfigDef config() { - return CamelBrowseSinkConnectorConfig.conf(); - } - @Override - public Class taskClass() { - return CamelBrowseSinkTask.class; - } -} \ No newline at end of file diff --git a/connectors/camel-browse-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/browse/CamelBrowseSinkConnectorConfig.java b/connectors/camel-browse-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/browse/CamelBrowseSinkConnectorConfig.java deleted file mode 100644 index f8c867be97..0000000000 --- a/connectors/camel-browse-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/browse/CamelBrowseSinkConnectorConfig.java +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.camel.kafkaconnector.browse; - -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 CamelBrowseSinkConnectorConfig extends CamelSinkConnectorConfig { - - public static final String CAMEL_SINK_BROWSE_PATH_NAME_CONF = "camel.sink.path.name"; - public static final String CAMEL_SINK_BROWSE_PATH_NAME_DOC = "A name which can be any string to uniquely identify the endpoint"; - public static final String CAMEL_SINK_BROWSE_PATH_NAME_DEFAULT = null; - public static final String CAMEL_SINK_BROWSE_ENDPOINT_LAZY_START_PRODUCER_CONF = "camel.sink.endpoint.lazyStartProducer"; - public static final String CAMEL_SINK_BROWSE_ENDPOINT_LAZY_START_PRODUCER_DOC = "Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing."; - public static final Boolean CAMEL_SINK_BROWSE_ENDPOINT_LAZY_START_PRODUCER_DEFAULT = false; - public static final String CAMEL_SINK_BROWSE_ENDPOINT_BASIC_PROPERTY_BINDING_CONF = "camel.sink.endpoint.basicPropertyBinding"; - public static final String CAMEL_SINK_BROWSE_ENDPOINT_BASIC_PROPERTY_BINDING_DOC = "Whether the endpoint should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities"; - public static final Boolean CAMEL_SINK_BROWSE_ENDPOINT_BASIC_PROPERTY_BINDING_DEFAULT = false; - public static final String CAMEL_SINK_BROWSE_ENDPOINT_SYNCHRONOUS_CONF = "camel.sink.endpoint.synchronous"; - public static final String CAMEL_SINK_BROWSE_ENDPOINT_SYNCHRONOUS_DOC = "Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported)."; - public static final Boolean CAMEL_SINK_BROWSE_ENDPOINT_SYNCHRONOUS_DEFAULT = false; - public static final String CAMEL_SINK_BROWSE_COMPONENT_LAZY_START_PRODUCER_CONF = "camel.component.browse.lazyStartProducer"; - public static final String CAMEL_SINK_BROWSE_COMPONENT_LAZY_START_PRODUCER_DOC = "Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing."; - public static final Boolean CAMEL_SINK_BROWSE_COMPONENT_LAZY_START_PRODUCER_DEFAULT = false; - public static final String CAMEL_SINK_BROWSE_COMPONENT_BASIC_PROPERTY_BINDING_CONF = "camel.component.browse.basicPropertyBinding"; - public static final String CAMEL_SINK_BROWSE_COMPONENT_BASIC_PROPERTY_BINDING_DOC = "Whether the component should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities"; - public static final Boolean CAMEL_SINK_BROWSE_COMPONENT_BASIC_PROPERTY_BINDING_DEFAULT = false; - - public CamelBrowseSinkConnectorConfig( - ConfigDef config, - Map parsedConfig) { - super(config, parsedConfig); - } - - public CamelBrowseSinkConnectorConfig(Map parsedConfig) { - this(conf(), parsedConfig); - } - - public static ConfigDef conf() { - ConfigDef conf = new ConfigDef(CamelSinkConnectorConfig.conf()); - conf.define(CAMEL_SINK_BROWSE_PATH_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SINK_BROWSE_PATH_NAME_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_BROWSE_PATH_NAME_DOC); - conf.define(CAMEL_SINK_BROWSE_ENDPOINT_LAZY_START_PRODUCER_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_BROWSE_ENDPOINT_LAZY_START_PRODUCER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_BROWSE_ENDPOINT_LAZY_START_PRODUCER_DOC); - conf.define(CAMEL_SINK_BROWSE_ENDPOINT_BASIC_PROPERTY_BINDING_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_BROWSE_ENDPOINT_BASIC_PROPERTY_BINDING_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_BROWSE_ENDPOINT_BASIC_PROPERTY_BINDING_DOC); - conf.define(CAMEL_SINK_BROWSE_ENDPOINT_SYNCHRONOUS_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_BROWSE_ENDPOINT_SYNCHRONOUS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_BROWSE_ENDPOINT_SYNCHRONOUS_DOC); - conf.define(CAMEL_SINK_BROWSE_COMPONENT_LAZY_START_PRODUCER_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_BROWSE_COMPONENT_LAZY_START_PRODUCER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_BROWSE_COMPONENT_LAZY_START_PRODUCER_DOC); - conf.define(CAMEL_SINK_BROWSE_COMPONENT_BASIC_PROPERTY_BINDING_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_BROWSE_COMPONENT_BASIC_PROPERTY_BINDING_DEFAULT, ConfigDef.Importance.LOW, CAMEL_SINK_BROWSE_COMPONENT_BASIC_PROPERTY_BINDING_DOC); - return conf; - } -} \ No newline at end of file diff --git a/connectors/camel-browse-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/browse/CamelBrowseSinkTask.java b/connectors/camel-browse-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/browse/CamelBrowseSinkTask.java deleted file mode 100644 index da6c1961ba..0000000000 --- a/connectors/camel-browse-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/browse/CamelBrowseSinkTask.java +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.camel.kafkaconnector.browse; - -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 CamelBrowseSinkTask extends CamelSinkTask { - - @Override - protected CamelSinkConnectorConfig getCamelSinkConnectorConfig( - Map props) { - return new CamelBrowseSinkConnectorConfig(props); - } - @Override - protected Map getDefaultConfig() { - return new HashMap() {{ - put(CamelSinkConnectorConfig.CAMEL_SINK_COMPONENT_CONF, "browse"); - }}; - } -} \ No newline at end of file diff --git a/connectors/camel-browse-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/browse/CamelBrowseSourceConnector.java b/connectors/camel-browse-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/browse/CamelBrowseSourceConnector.java deleted file mode 100644 index 21b78cb1e4..0000000000 --- a/connectors/camel-browse-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/browse/CamelBrowseSourceConnector.java +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.camel.kafkaconnector.browse; - -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 CamelBrowseSourceConnector extends CamelSourceConnector { - - @Override - public ConfigDef config() { - return CamelBrowseSourceConnectorConfig.conf(); - } - @Override - public Class taskClass() { - return CamelBrowseSourceTask.class; - } -} \ No newline at end of file diff --git a/connectors/camel-browse-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/browse/CamelBrowseSourceConnectorConfig.java b/connectors/camel-browse-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/browse/CamelBrowseSourceConnectorConfig.java deleted file mode 100644 index 230df0f7de..0000000000 --- a/connectors/camel-browse-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/browse/CamelBrowseSourceConnectorConfig.java +++ /dev/null @@ -1,76 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.camel.kafkaconnector.browse; - -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 CamelBrowseSourceConnectorConfig - extends - CamelSourceConnectorConfig { - - public static final String CAMEL_SOURCE_BROWSE_PATH_NAME_CONF = "camel.source.path.name"; - public static final String CAMEL_SOURCE_BROWSE_PATH_NAME_DOC = "A name which can be any string to uniquely identify the endpoint"; - public static final String CAMEL_SOURCE_BROWSE_PATH_NAME_DEFAULT = null; - public static final String CAMEL_SOURCE_BROWSE_ENDPOINT_BRIDGE_ERROR_HANDLER_CONF = "camel.source.endpoint.bridgeErrorHandler"; - public static final String CAMEL_SOURCE_BROWSE_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 ignored."; - public static final Boolean CAMEL_SOURCE_BROWSE_ENDPOINT_BRIDGE_ERROR_HANDLER_DEFAULT = false; - public static final String CAMEL_SOURCE_BROWSE_ENDPOINT_EXCEPTION_HANDLER_CONF = "camel.source.endpoint.exceptionHandler"; - public static final String CAMEL_SOURCE_BROWSE_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_BROWSE_ENDPOINT_EXCEPTION_HANDLER_DEFAULT = null; - public static final String CAMEL_SOURCE_BROWSE_ENDPOINT_EXCHANGE_PATTERN_CONF = "camel.source.endpoint.exchangePattern"; - public static final String CAMEL_SOURCE_BROWSE_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_BROWSE_ENDPOINT_EXCHANGE_PATTERN_DEFAULT = null; - public static final String CAMEL_SOURCE_BROWSE_ENDPOINT_BASIC_PROPERTY_BINDING_CONF = "camel.source.endpoint.basicPropertyBinding"; - public static final String CAMEL_SOURCE_BROWSE_ENDPOINT_BASIC_PROPERTY_BINDING_DOC = "Whether the endpoint should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities"; - public static final Boolean CAMEL_SOURCE_BROWSE_ENDPOINT_BASIC_PROPERTY_BINDING_DEFAULT = false; - public static final String CAMEL_SOURCE_BROWSE_ENDPOINT_SYNCHRONOUS_CONF = "camel.source.endpoint.synchronous"; - public static final String CAMEL_SOURCE_BROWSE_ENDPOINT_SYNCHRONOUS_DOC = "Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported)."; - public static final Boolean CAMEL_SOURCE_BROWSE_ENDPOINT_SYNCHRONOUS_DEFAULT = false; - public static final String CAMEL_SOURCE_BROWSE_COMPONENT_BRIDGE_ERROR_HANDLER_CONF = "camel.component.browse.bridgeErrorHandler"; - public static final String CAMEL_SOURCE_BROWSE_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 ignored."; - public static final Boolean CAMEL_SOURCE_BROWSE_COMPONENT_BRIDGE_ERROR_HANDLER_DEFAULT = false; - public static final String CAMEL_SOURCE_BROWSE_COMPONENT_BASIC_PROPERTY_BINDING_CONF = "camel.component.browse.basicPropertyBinding"; - public static final String CAMEL_SOURCE_BROWSE_COMPONENT_BASIC_PROPERTY_BINDING_DOC = "Whether the component should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities"; - public static final Boolean CAMEL_SOURCE_BROWSE_COMPONENT_BASIC_PROPERTY_BINDING_DEFAULT = false; - - public CamelBrowseSourceConnectorConfig( - ConfigDef config, - Map parsedConfig) { - super(config, parsedConfig); - } - - public CamelBrowseSourceConnectorConfig(Map parsedConfig) { - this(conf(), parsedConfig); - } - - public static ConfigDef conf() { - ConfigDef conf = new ConfigDef(CamelSourceConnectorConfig.conf()); - conf.define(CAMEL_SOURCE_BROWSE_PATH_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_BROWSE_PATH_NAME_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SOURCE_BROWSE_PATH_NAME_DOC); - conf.define(CAMEL_SOURCE_BROWSE_ENDPOINT_BRIDGE_ERROR_HANDLER_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_BROWSE_ENDPOINT_BRIDGE_ERROR_HANDLER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_BROWSE_ENDPOINT_BRIDGE_ERROR_HANDLER_DOC); - conf.define(CAMEL_SOURCE_BROWSE_ENDPOINT_EXCEPTION_HANDLER_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_BROWSE_ENDPOINT_EXCEPTION_HANDLER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_BROWSE_ENDPOINT_EXCEPTION_HANDLER_DOC); - conf.define(CAMEL_SOURCE_BROWSE_ENDPOINT_EXCHANGE_PATTERN_CONF, ConfigDef.Type.STRING, CAMEL_SOURCE_BROWSE_ENDPOINT_EXCHANGE_PATTERN_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_BROWSE_ENDPOINT_EXCHANGE_PATTERN_DOC); - conf.define(CAMEL_SOURCE_BROWSE_ENDPOINT_BASIC_PROPERTY_BINDING_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_BROWSE_ENDPOINT_BASIC_PROPERTY_BINDING_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_BROWSE_ENDPOINT_BASIC_PROPERTY_BINDING_DOC); - conf.define(CAMEL_SOURCE_BROWSE_ENDPOINT_SYNCHRONOUS_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_BROWSE_ENDPOINT_SYNCHRONOUS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_BROWSE_ENDPOINT_SYNCHRONOUS_DOC); - conf.define(CAMEL_SOURCE_BROWSE_COMPONENT_BRIDGE_ERROR_HANDLER_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_BROWSE_COMPONENT_BRIDGE_ERROR_HANDLER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SOURCE_BROWSE_COMPONENT_BRIDGE_ERROR_HANDLER_DOC); - conf.define(CAMEL_SOURCE_BROWSE_COMPONENT_BASIC_PROPERTY_BINDING_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SOURCE_BROWSE_COMPONENT_BASIC_PROPERTY_BINDING_DEFAULT, ConfigDef.Importance.LOW, CAMEL_SOURCE_BROWSE_COMPONENT_BASIC_PROPERTY_BINDING_DOC); - return conf; - } -} \ No newline at end of file diff --git a/connectors/camel-browse-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/browse/CamelBrowseSourceTask.java b/connectors/camel-browse-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/browse/CamelBrowseSourceTask.java deleted file mode 100644 index 07fdbf2975..0000000000 --- a/connectors/camel-browse-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/browse/CamelBrowseSourceTask.java +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.camel.kafkaconnector.browse; - -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 CamelBrowseSourceTask extends CamelSourceTask { - - @Override - protected CamelSourceConnectorConfig getCamelSourceConnectorConfig( - Map props) { - return new CamelBrowseSourceConnectorConfig(props); - } - @Override - protected Map getDefaultConfig() { - return new HashMap() {{ - put(CamelSourceConnectorConfig.CAMEL_SOURCE_COMPONENT_CONF, "browse"); - }}; - } -} \ No newline at end of file diff --git a/connectors/camel-browse-kafka-connector/src/main/resources/META-INF/LICENSE.txt b/connectors/camel-browse-kafka-connector/src/main/resources/META-INF/LICENSE.txt deleted file mode 100644 index 6b0b1270ff..0000000000 --- a/connectors/camel-browse-kafka-connector/src/main/resources/META-INF/LICENSE.txt +++ /dev/null @@ -1,203 +0,0 @@ - - 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-browse-kafka-connector/src/main/resources/META-INF/NOTICE.txt b/connectors/camel-browse-kafka-connector/src/main/resources/META-INF/NOTICE.txt deleted file mode 100644 index 2e215bf2e6..0000000000 --- a/connectors/camel-browse-kafka-connector/src/main/resources/META-INF/NOTICE.txt +++ /dev/null @@ -1,11 +0,0 @@ - ========================================================================= - == 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-class-kafka-connector/pom.xml b/connectors/camel-class-kafka-connector/pom.xml deleted file mode 100644 index c51bcd414a..0000000000 --- a/connectors/camel-class-kafka-connector/pom.xml +++ /dev/null @@ -1,135 +0,0 @@ - - - - 4.0.0 - - org.apache.camel.kafkaconnector - connectors - 0.6.0-SNAPSHOT - - camel-class-kafka-connector - Camel-Kafka-Connector :: class - Camel Kafka Connector for class - - - - org.apache.kafka - connect-api - provided - - - org.apache.kafka - connect-transforms - provided - - - - org.apache.camel - camel-bean - - - - org.apache.camel.kafkaconnector - camel-kafka-connector - - - - - - - org.apache.maven.plugins - maven-surefire-plugin - ${version.maven.surefire.plugin} - - false - - - - org.apache.maven.plugins - maven-jar-plugin - ${version.maven.jar} - - - - true - true - - - - - - org.apache.maven.plugins - maven-compiler-plugin - 2.5.1 - true - - 1.8 - 1.8 - - - - maven-assembly-plugin - 2.5.3 - - - src/main/assembly/package.xml - - - - - make-assembly - package - - single - - - - - - - - - - - atlassian-public - https://packages.atlassian.com/maven-external - Atlassian Public Repo - - false - - - true - - - - - jboss.thirdparty - JBoss Thirdparty Repository - https://repository.jboss.org/nexus/service/local/repositories/thirdparty-releases/content/ - - false - - - true - - - - - diff --git a/connectors/camel-class-kafka-connector/src/main/assembly/package.xml b/connectors/camel-class-kafka-connector/src/main/assembly/package.xml deleted file mode 100644 index 4fd25291ab..0000000000 --- a/connectors/camel-class-kafka-connector/src/main/assembly/package.xml +++ /dev/null @@ -1,57 +0,0 @@ - - - - - package - - zip - tar.gz - - false - - - ${project.basedir}/../.. - ${project.artifactId}/ - - README* - LICENSE* - NOTICE* - licenses/ - - - - ${project.basedir}/src/main/docs - docs/ - - **/* - - - - - - ${project.artifactId}/ - true - true - - org.apache.kafka:connect-api - - - - diff --git a/connectors/camel-class-kafka-connector/src/main/docs/camel-class-kafka-sink-connector.adoc b/connectors/camel-class-kafka-connector/src/main/docs/camel-class-kafka-sink-connector.adoc deleted file mode 100644 index 67378486de..0000000000 --- a/connectors/camel-class-kafka-connector/src/main/docs/camel-class-kafka-sink-connector.adoc +++ /dev/null @@ -1,61 +0,0 @@ -// kafka-connector options: START -[[camel-class-kafka-connector-sink]] -= camel-class-kafka-connector sink configuration - -When using camel-class-kafka-connector as sink make sure to use the following Maven dependency to have support for the connector: - -[source,xml] ----- - - org.apache.camel.kafkaconnector - camel-class-kafka-connector - x.x.x - - ----- - -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.clazz.CamelClassSinkConnector ----- - - -The camel-class sink connector supports 12 options, which are listed below. - - - -[width="100%",cols="2,5,^1,2",options="header"] -|=== -| Name | Description | Default | Priority -| *camel.sink.path.beanName* | Sets the name of the bean to invoke | null | HIGH -| *camel.sink.endpoint.cache* | Use scope option instead. | null | LOW -| *camel.sink.endpoint.method* | Sets the name of the method to invoke on the bean | null | MEDIUM -| *camel.sink.endpoint.scope* | Scope of bean. When using singleton scope (default) the bean is created or looked up only once and reused for the lifetime of the endpoint. The bean should be thread-safe in case concurrent threads is calling the bean at the same time. When using request scope the bean is created or looked up once per request (exchange). This can be used if you want to store state on a bean while processing a request and you want to call the same bean instance multiple times while processing the request. The bean does not have to be thread-safe as the instance is only called from the same request. When using prototype scope, then the bean will be looked up or created per call. However in case of lookup then this is delegated to the bean registry such as Spring or CDI (if in use), which depends on their configuration can act as either singleton or prototype scope. so when using prototype then this depends on the delegated registry. One of: [Singleton] [Request] [Prototype] | "Singleton" | 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 creating and starting the producer may take a little time and prolong the total processing time of the processing. | false | MEDIUM -| *camel.sink.endpoint.basicPropertyBinding* | Whether the endpoint should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities | false | MEDIUM -| *camel.sink.endpoint.parameters* | Used for configuring additional properties on the bean | null | MEDIUM -| *camel.sink.endpoint.synchronous* | Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported). | false | MEDIUM -| *camel.component.class.cache* | Use singleton option instead. | "true" | LOW -| *camel.component.class.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 creating and starting the producer may take a little time and prolong the total processing time of the processing. | false | MEDIUM -| *camel.component.class.scope* | Scope of bean. When using singleton scope (default) the bean is created or looked up only once and reused for the lifetime of the endpoint. The bean should be thread-safe in case concurrent threads is calling the bean at the same time. When using request scope the bean is created or looked up once per request (exchange). This can be used if you want to store state on a bean while processing a request and you want to call the same bean instance multiple times while processing the request. The bean does not have to be thread-safe as the instance is only called from the same request. When using delegate scope, then the bean will be looked up or created per call. However in case of lookup then this is delegated to the bean registry such as Spring or CDI (if in use), which depends on their configuration can act as either singleton or prototype scope. so when using prototype then this depends on the delegated registry. One of: [Singleton] [Request] [Prototype] | "Singleton" | MEDIUM -| *camel.component.class.basicPropertyBinding* | Whether the component should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities | false | LOW -|=== - - - -The camel-class sink connector has no converters out of the box. - - - - - -The camel-class sink connector has no transforms out of the box. - - - - - -The camel-class sink connector has no aggregation strategies out of the box. -// kafka-connector options: END diff --git a/connectors/camel-class-kafka-connector/src/main/docs/examples/CamelClassSinkConnector.properties b/connectors/camel-class-kafka-connector/src/main/docs/examples/CamelClassSinkConnector.properties deleted file mode 100644 index e3906e39d3..0000000000 --- a/connectors/camel-class-kafka-connector/src/main/docs/examples/CamelClassSinkConnector.properties +++ /dev/null @@ -1,33 +0,0 @@ -## --------------------------------------------------------------------------- -## Licensed to the Apache Software Foundation (ASF) under one or more -## contributor license agreements. See the NOTICE file distributed with -## this work for additional information regarding copyright ownership. -## The ASF licenses this file to You under the Apache License, Version 2.0 -## (the "License"); you may not use this file except in compliance with -## the License. You may obtain a copy of the License at -## -## http://www.apache.org/licenses/LICENSE-2.0 -## -## Unless required by applicable law or agreed to in writing, software -## distributed under the License is distributed on an "AS IS" BASIS, -## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -## See the License for the specific language governing permissions and -## limitations under the License. -## --------------------------------------------------------------------------- - -name=CamelClassSinkConnector -connector.class=org.apache.camel.kafkaconnector.clazz.CamelClassSinkConnector -tasks.max=1 - -# use the kafka converters that better suit your needs, these are just defaults: -key.converter=org.apache.kafka.connect.storage.StringConverter -value.converter=org.apache.kafka.connect.storage.StringConverter - -# comma separated topics to get messages from -topics= - -# mandatory properties (for a complete properties list see the connector documentation): - -# Sets the name of the bean to invoke -camel.sink.path.beanName= - diff --git a/connectors/camel-class-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/clazz/CamelClassSinkConnector.java b/connectors/camel-class-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/clazz/CamelClassSinkConnector.java deleted file mode 100644 index 2ea133baa3..0000000000 --- a/connectors/camel-class-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/clazz/CamelClassSinkConnector.java +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.camel.kafkaconnector.clazz; - -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 CamelClassSinkConnector extends CamelSinkConnector { - - @Override - public ConfigDef config() { - return CamelClassSinkConnectorConfig.conf(); - } - @Override - public Class taskClass() { - return CamelClassSinkTask.class; - } -} \ No newline at end of file diff --git a/connectors/camel-class-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/clazz/CamelClassSinkConnectorConfig.java b/connectors/camel-class-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/clazz/CamelClassSinkConnectorConfig.java deleted file mode 100644 index 9f2bf5bf7f..0000000000 --- a/connectors/camel-class-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/clazz/CamelClassSinkConnectorConfig.java +++ /dev/null @@ -1,90 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.camel.kafkaconnector.clazz; - -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 CamelClassSinkConnectorConfig extends CamelSinkConnectorConfig { - - public static final String CAMEL_SINK_CLASS_PATH_BEAN_NAME_CONF = "camel.sink.path.beanName"; - public static final String CAMEL_SINK_CLASS_PATH_BEAN_NAME_DOC = "Sets the name of the bean to invoke"; - public static final String CAMEL_SINK_CLASS_PATH_BEAN_NAME_DEFAULT = null; - public static final String CAMEL_SINK_CLASS_ENDPOINT_CACHE_CONF = "camel.sink.endpoint.cache"; - public static final String CAMEL_SINK_CLASS_ENDPOINT_CACHE_DOC = "Use scope option instead."; - public static final String CAMEL_SINK_CLASS_ENDPOINT_CACHE_DEFAULT = null; - public static final String CAMEL_SINK_CLASS_ENDPOINT_METHOD_CONF = "camel.sink.endpoint.method"; - public static final String CAMEL_SINK_CLASS_ENDPOINT_METHOD_DOC = "Sets the name of the method to invoke on the bean"; - public static final String CAMEL_SINK_CLASS_ENDPOINT_METHOD_DEFAULT = null; - public static final String CAMEL_SINK_CLASS_ENDPOINT_SCOPE_CONF = "camel.sink.endpoint.scope"; - public static final String CAMEL_SINK_CLASS_ENDPOINT_SCOPE_DOC = "Scope of bean. When using singleton scope (default) the bean is created or looked up only once and reused for the lifetime of the endpoint. The bean should be thread-safe in case concurrent threads is calling the bean at the same time. When using request scope the bean is created or looked up once per request (exchange). This can be used if you want to store state on a bean while processing a request and you want to call the same bean instance multiple times while processing the request. The bean does not have to be thread-safe as the instance is only called from the same request. When using prototype scope, then the bean will be looked up or created per call. However in case of lookup then this is delegated to the bean registry such as Spring or CDI (if in use), which depends on their configuration can act as either singleton or prototype scope. so when using prototype then this depends on the delegated registry. One of: [Singleton] [Request] [Prototype]"; - public static final String CAMEL_SINK_CLASS_ENDPOINT_SCOPE_DEFAULT = "Singleton"; - public static final String CAMEL_SINK_CLASS_ENDPOINT_LAZY_START_PRODUCER_CONF = "camel.sink.endpoint.lazyStartProducer"; - public static final String CAMEL_SINK_CLASS_ENDPOINT_LAZY_START_PRODUCER_DOC = "Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing."; - public static final Boolean CAMEL_SINK_CLASS_ENDPOINT_LAZY_START_PRODUCER_DEFAULT = false; - public static final String CAMEL_SINK_CLASS_ENDPOINT_BASIC_PROPERTY_BINDING_CONF = "camel.sink.endpoint.basicPropertyBinding"; - public static final String CAMEL_SINK_CLASS_ENDPOINT_BASIC_PROPERTY_BINDING_DOC = "Whether the endpoint should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities"; - public static final Boolean CAMEL_SINK_CLASS_ENDPOINT_BASIC_PROPERTY_BINDING_DEFAULT = false; - public static final String CAMEL_SINK_CLASS_ENDPOINT_PARAMETERS_CONF = "camel.sink.endpoint.parameters"; - public static final String CAMEL_SINK_CLASS_ENDPOINT_PARAMETERS_DOC = "Used for configuring additional properties on the bean"; - public static final String CAMEL_SINK_CLASS_ENDPOINT_PARAMETERS_DEFAULT = null; - public static final String CAMEL_SINK_CLASS_ENDPOINT_SYNCHRONOUS_CONF = "camel.sink.endpoint.synchronous"; - public static final String CAMEL_SINK_CLASS_ENDPOINT_SYNCHRONOUS_DOC = "Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported)."; - public static final Boolean CAMEL_SINK_CLASS_ENDPOINT_SYNCHRONOUS_DEFAULT = false; - public static final String CAMEL_SINK_CLASS_COMPONENT_CACHE_CONF = "camel.component.class.cache"; - public static final String CAMEL_SINK_CLASS_COMPONENT_CACHE_DOC = "Use singleton option instead."; - public static final String CAMEL_SINK_CLASS_COMPONENT_CACHE_DEFAULT = "true"; - public static final String CAMEL_SINK_CLASS_COMPONENT_LAZY_START_PRODUCER_CONF = "camel.component.class.lazyStartProducer"; - public static final String CAMEL_SINK_CLASS_COMPONENT_LAZY_START_PRODUCER_DOC = "Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing."; - public static final Boolean CAMEL_SINK_CLASS_COMPONENT_LAZY_START_PRODUCER_DEFAULT = false; - public static final String CAMEL_SINK_CLASS_COMPONENT_SCOPE_CONF = "camel.component.class.scope"; - public static final String CAMEL_SINK_CLASS_COMPONENT_SCOPE_DOC = "Scope of bean. When using singleton scope (default) the bean is created or looked up only once and reused for the lifetime of the endpoint. The bean should be thread-safe in case concurrent threads is calling the bean at the same time. When using request scope the bean is created or looked up once per request (exchange). This can be used if you want to store state on a bean while processing a request and you want to call the same bean instance multiple times while processing the request. The bean does not have to be thread-safe as the instance is only called from the same request. When using delegate scope, then the bean will be looked up or created per call. However in case of lookup then this is delegated to the bean registry such as Spring or CDI (if in use), which depends on their configuration can act as either singleton or prototype scope. so when using prototype then this depends on the delegated registry. One of: [Singleton] [Request] [Prototype]"; - public static final String CAMEL_SINK_CLASS_COMPONENT_SCOPE_DEFAULT = "Singleton"; - public static final String CAMEL_SINK_CLASS_COMPONENT_BASIC_PROPERTY_BINDING_CONF = "camel.component.class.basicPropertyBinding"; - public static final String CAMEL_SINK_CLASS_COMPONENT_BASIC_PROPERTY_BINDING_DOC = "Whether the component should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities"; - public static final Boolean CAMEL_SINK_CLASS_COMPONENT_BASIC_PROPERTY_BINDING_DEFAULT = false; - - public CamelClassSinkConnectorConfig( - ConfigDef config, - Map parsedConfig) { - super(config, parsedConfig); - } - - public CamelClassSinkConnectorConfig(Map parsedConfig) { - this(conf(), parsedConfig); - } - - public static ConfigDef conf() { - ConfigDef conf = new ConfigDef(CamelSinkConnectorConfig.conf()); - conf.define(CAMEL_SINK_CLASS_PATH_BEAN_NAME_CONF, ConfigDef.Type.STRING, CAMEL_SINK_CLASS_PATH_BEAN_NAME_DEFAULT, ConfigDef.Importance.HIGH, CAMEL_SINK_CLASS_PATH_BEAN_NAME_DOC); - conf.define(CAMEL_SINK_CLASS_ENDPOINT_CACHE_CONF, ConfigDef.Type.STRING, CAMEL_SINK_CLASS_ENDPOINT_CACHE_DEFAULT, ConfigDef.Importance.LOW, CAMEL_SINK_CLASS_ENDPOINT_CACHE_DOC); - conf.define(CAMEL_SINK_CLASS_ENDPOINT_METHOD_CONF, ConfigDef.Type.STRING, CAMEL_SINK_CLASS_ENDPOINT_METHOD_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_CLASS_ENDPOINT_METHOD_DOC); - conf.define(CAMEL_SINK_CLASS_ENDPOINT_SCOPE_CONF, ConfigDef.Type.STRING, CAMEL_SINK_CLASS_ENDPOINT_SCOPE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_CLASS_ENDPOINT_SCOPE_DOC); - conf.define(CAMEL_SINK_CLASS_ENDPOINT_LAZY_START_PRODUCER_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_CLASS_ENDPOINT_LAZY_START_PRODUCER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_CLASS_ENDPOINT_LAZY_START_PRODUCER_DOC); - conf.define(CAMEL_SINK_CLASS_ENDPOINT_BASIC_PROPERTY_BINDING_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_CLASS_ENDPOINT_BASIC_PROPERTY_BINDING_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_CLASS_ENDPOINT_BASIC_PROPERTY_BINDING_DOC); - conf.define(CAMEL_SINK_CLASS_ENDPOINT_PARAMETERS_CONF, ConfigDef.Type.STRING, CAMEL_SINK_CLASS_ENDPOINT_PARAMETERS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_CLASS_ENDPOINT_PARAMETERS_DOC); - conf.define(CAMEL_SINK_CLASS_ENDPOINT_SYNCHRONOUS_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_CLASS_ENDPOINT_SYNCHRONOUS_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_CLASS_ENDPOINT_SYNCHRONOUS_DOC); - conf.define(CAMEL_SINK_CLASS_COMPONENT_CACHE_CONF, ConfigDef.Type.STRING, CAMEL_SINK_CLASS_COMPONENT_CACHE_DEFAULT, ConfigDef.Importance.LOW, CAMEL_SINK_CLASS_COMPONENT_CACHE_DOC); - conf.define(CAMEL_SINK_CLASS_COMPONENT_LAZY_START_PRODUCER_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_CLASS_COMPONENT_LAZY_START_PRODUCER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_CLASS_COMPONENT_LAZY_START_PRODUCER_DOC); - conf.define(CAMEL_SINK_CLASS_COMPONENT_SCOPE_CONF, ConfigDef.Type.STRING, CAMEL_SINK_CLASS_COMPONENT_SCOPE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_CLASS_COMPONENT_SCOPE_DOC); - conf.define(CAMEL_SINK_CLASS_COMPONENT_BASIC_PROPERTY_BINDING_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_CLASS_COMPONENT_BASIC_PROPERTY_BINDING_DEFAULT, ConfigDef.Importance.LOW, CAMEL_SINK_CLASS_COMPONENT_BASIC_PROPERTY_BINDING_DOC); - return conf; - } -} \ No newline at end of file diff --git a/connectors/camel-class-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/clazz/CamelClassSinkTask.java b/connectors/camel-class-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/clazz/CamelClassSinkTask.java deleted file mode 100644 index cabc9ccab9..0000000000 --- a/connectors/camel-class-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/clazz/CamelClassSinkTask.java +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.camel.kafkaconnector.clazz; - -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 CamelClassSinkTask extends CamelSinkTask { - - @Override - protected CamelSinkConnectorConfig getCamelSinkConnectorConfig( - Map props) { - return new CamelClassSinkConnectorConfig(props); - } - @Override - protected Map getDefaultConfig() { - return new HashMap() {{ - put(CamelSinkConnectorConfig.CAMEL_SINK_COMPONENT_CONF, "class"); - }}; - } -} \ No newline at end of file diff --git a/connectors/camel-class-kafka-connector/src/main/resources/META-INF/LICENSE.txt b/connectors/camel-class-kafka-connector/src/main/resources/META-INF/LICENSE.txt deleted file mode 100644 index 6b0b1270ff..0000000000 --- a/connectors/camel-class-kafka-connector/src/main/resources/META-INF/LICENSE.txt +++ /dev/null @@ -1,203 +0,0 @@ - - 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-class-kafka-connector/src/main/resources/META-INF/NOTICE.txt b/connectors/camel-class-kafka-connector/src/main/resources/META-INF/NOTICE.txt deleted file mode 100644 index 2e215bf2e6..0000000000 --- a/connectors/camel-class-kafka-connector/src/main/resources/META-INF/NOTICE.txt +++ /dev/null @@ -1,11 +0,0 @@ - ========================================================================= - == 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/pom.xml b/connectors/pom.xml index c7637b67a0..fae2a3f969 100644 --- a/connectors/pom.xml +++ b/connectors/pom.xml @@ -116,6 +116,8 @@ aws2-kms aws2-mq aws2-msk + browse + class dataset dataset-test debezium-mongodb @@ -236,12 +238,10 @@ camel-beanstalk-kafka-connector camel-box-kafka-connector camel-braintree-kafka-connector - camel-browse-kafka-connector camel-caffeine-cache-kafka-connector camel-caffeine-loadcache-kafka-connector camel-chatscript-kafka-connector camel-chunk-kafka-connector - camel-class-kafka-connector camel-cm-sms-kafka-connector camel-cmis-kafka-connector camel-coap-kafka-connector diff --git a/docs/modules/ROOT/pages/connectors.adoc b/docs/modules/ROOT/pages/connectors.adoc index 10ca60136c..86e561d4aa 100644 --- a/docs/modules/ROOT/pages/connectors.adoc +++ b/docs/modules/ROOT/pages/connectors.adoc @@ -2,7 +2,7 @@ = Supported connectors and documentation // kafka-connectors list: START -Number of Camel Kafka connectors: 336 +Number of Camel Kafka connectors: 334 [width="100%",cols="4,1,1,1,1,1,1",options="header"] |=== @@ -63,12 +63,10 @@ Number of Camel Kafka connectors: 336 | *camel-beanstalk-kafka-connector* | true | true | xref:connectors/camel-beanstalk-kafka-sink-connector.adoc[Sink Docs] | xref:connectors/camel-beanstalk-kafka-source-connector.adoc[Source Docs] | https://repo.maven.apache.org/maven2/org/apache/camel/kafkaconnector/camel-beanstalk-kafka-connector/0.5.0/camel-beanstalk-kafka-connector-0.5.0-package.zip[Download Zip] | https://repo.maven.apache.org/maven2/org/apache/camel/kafkaconnector/camel-beanstalk-kafka-connector/0.5.0/camel-beanstalk-kafka-connector-0.5.0-package.tar.gz[Download Tar.gz] | *camel-box-kafka-connector* | true | true | xref:connectors/camel-box-kafka-sink-connector.adoc[Sink Docs] | xref:connectors/camel-box-kafka-source-connector.adoc[Source Docs] | https://repo.maven.apache.org/maven2/org/apache/camel/kafkaconnector/camel-box-kafka-connector/0.5.0/camel-box-kafka-connector-0.5.0-package.zip[Download Zip] | https://repo.maven.apache.org/maven2/org/apache/camel/kafkaconnector/camel-box-kafka-connector/0.5.0/camel-box-kafka-connector-0.5.0-package.tar.gz[Download Tar.gz] | *camel-braintree-kafka-connector* | true | true | xref:connectors/camel-braintree-kafka-sink-connector.adoc[Sink Docs] | xref:connectors/camel-braintree-kafka-source-connector.adoc[Source Docs] | https://repo.maven.apache.org/maven2/org/apache/camel/kafkaconnector/camel-braintree-kafka-connector/0.5.0/camel-braintree-kafka-connector-0.5.0-package.zip[Download Zip] | https://repo.maven.apache.org/maven2/org/apache/camel/kafkaconnector/camel-braintree-kafka-connector/0.5.0/camel-braintree-kafka-connector-0.5.0-package.tar.gz[Download Tar.gz] -| *camel-browse-kafka-connector* | true | true | xref:connectors/camel-browse-kafka-sink-connector.adoc[Sink Docs] | xref:connectors/camel-browse-kafka-source-connector.adoc[Source Docs] | https://repo.maven.apache.org/maven2/org/apache/camel/kafkaconnector/camel-browse-kafka-connector/0.5.0/camel-browse-kafka-connector-0.5.0-package.zip[Download Zip] | https://repo.maven.apache.org/maven2/org/apache/camel/kafkaconnector/camel-browse-kafka-connector/0.5.0/camel-browse-kafka-connector-0.5.0-package.tar.gz[Download Tar.gz] | *camel-caffeine-cache-kafka-connector* | true | false | xref:connectors/camel-caffeine-cache-kafka-sink-connector.adoc[Sink Docs] | | https://repo.maven.apache.org/maven2/org/apache/camel/kafkaconnector/camel-caffeine-cache-kafka-connector/0.5.0/camel-caffeine-cache-kafka-connector-0.5.0-package.zip[Download Zip] | https://repo.maven.apache.org/maven2/org/apache/camel/kafkaconnector/camel-caffeine-cache-kafka-connector/0.5.0/camel-caffeine-cache-kafka-connector-0.5.0-package.tar.gz[Download Tar.gz] | *camel-caffeine-loadcache-kafka-connector* | true | false | xref:connectors/camel-caffeine-loadcache-kafka-sink-connector.adoc[Sink Docs] | | https://repo.maven.apache.org/maven2/org/apache/camel/kafkaconnector/camel-caffeine-loadcache-kafka-connector/0.5.0/camel-caffeine-loadcache-kafka-connector-0.5.0-package.zip[Download Zip] | https://repo.maven.apache.org/maven2/org/apache/camel/kafkaconnector/camel-caffeine-loadcache-kafka-connector/0.5.0/camel-caffeine-loadcache-kafka-connector-0.5.0-package.tar.gz[Download Tar.gz] | *camel-chatscript-kafka-connector* | true | false | xref:connectors/camel-chatscript-kafka-sink-connector.adoc[Sink Docs] | | https://repo.maven.apache.org/maven2/org/apache/camel/kafkaconnector/camel-chatscript-kafka-connector/0.5.0/camel-chatscript-kafka-connector-0.5.0-package.zip[Download Zip] | https://repo.maven.apache.org/maven2/org/apache/camel/kafkaconnector/camel-chatscript-kafka-connector/0.5.0/camel-chatscript-kafka-connector-0.5.0-package.tar.gz[Download Tar.gz] | *camel-chunk-kafka-connector* | true | false | xref:connectors/camel-chunk-kafka-sink-connector.adoc[Sink Docs] | | https://repo.maven.apache.org/maven2/org/apache/camel/kafkaconnector/camel-chunk-kafka-connector/0.5.0/camel-chunk-kafka-connector-0.5.0-package.zip[Download Zip] | https://repo.maven.apache.org/maven2/org/apache/camel/kafkaconnector/camel-chunk-kafka-connector/0.5.0/camel-chunk-kafka-connector-0.5.0-package.tar.gz[Download Tar.gz] -| *camel-class-kafka-connector* | true | false | xref:connectors/camel-class-kafka-sink-connector.adoc[Sink Docs] | | https://repo.maven.apache.org/maven2/org/apache/camel/kafkaconnector/camel-class-kafka-connector/0.5.0/camel-class-kafka-connector-0.5.0-package.zip[Download Zip] | https://repo.maven.apache.org/maven2/org/apache/camel/kafkaconnector/camel-class-kafka-connector/0.5.0/camel-class-kafka-connector-0.5.0-package.tar.gz[Download Tar.gz] | *camel-cm-sms-kafka-connector* | true | false | xref:connectors/camel-cm-sms-kafka-sink-connector.adoc[Sink Docs] | | https://repo.maven.apache.org/maven2/org/apache/camel/kafkaconnector/camel-cm-sms-kafka-connector/0.5.0/camel-cm-sms-kafka-connector-0.5.0-package.zip[Download Zip] | https://repo.maven.apache.org/maven2/org/apache/camel/kafkaconnector/camel-cm-sms-kafka-connector/0.5.0/camel-cm-sms-kafka-connector-0.5.0-package.tar.gz[Download Tar.gz] | *camel-cmis-kafka-connector* | true | true | xref:connectors/camel-cmis-kafka-sink-connector.adoc[Sink Docs] | xref:connectors/camel-cmis-kafka-source-connector.adoc[Source Docs] | https://repo.maven.apache.org/maven2/org/apache/camel/kafkaconnector/camel-cmis-kafka-connector/0.5.0/camel-cmis-kafka-connector-0.5.0-package.zip[Download Zip] | https://repo.maven.apache.org/maven2/org/apache/camel/kafkaconnector/camel-cmis-kafka-connector/0.5.0/camel-cmis-kafka-connector-0.5.0-package.tar.gz[Download Tar.gz] | *camel-coap-kafka-connector* | true | true | xref:connectors/camel-coap-kafka-sink-connector.adoc[Sink Docs] | xref:connectors/camel-coap-kafka-source-connector.adoc[Source Docs] | https://repo.maven.apache.org/maven2/org/apache/camel/kafkaconnector/camel-coap-kafka-connector/0.5.0/camel-coap-kafka-connector-0.5.0-package.zip[Download Zip] | https://repo.maven.apache.org/maven2/org/apache/camel/kafkaconnector/camel-coap-kafka-connector/0.5.0/camel-coap-kafka-connector-0.5.0-package.tar.gz[Download Tar.gz] diff --git a/docs/modules/ROOT/pages/connectors/camel-aws2-eventbridge-kafka-sink-connector.adoc b/docs/modules/ROOT/pages/connectors/camel-aws2-eventbridge-kafka-sink-connector.adoc index c2471cae70..b593cf1957 100644 --- a/docs/modules/ROOT/pages/connectors/camel-aws2-eventbridge-kafka-sink-connector.adoc +++ b/docs/modules/ROOT/pages/connectors/camel-aws2-eventbridge-kafka-sink-connector.adoc @@ -22,7 +22,7 @@ connector.class=org.apache.camel.kafkaconnector.aws2eventbridge.CamelAws2eventbr ---- -The camel-aws2-eventbridge sink connector supports 31 options, which are listed below. +The camel-aws2-eventbridge sink connector supports 33 options, which are listed below. @@ -32,14 +32,15 @@ The camel-aws2-eventbridge sink connector supports 31 options, which are listed | *camel.sink.path.label* | Logical name | null | HIGH | *camel.sink.endpoint.autoDiscoverClient* | Setting the autoDiscoverClient mechanism, if true, the component will look for a client instance in the registry automatically otherwise it will skip that checking. | true | MEDIUM | *camel.sink.endpoint.eventbridgeClient* | To use a existing configured AWS Eventbridge as client | null | MEDIUM +| *camel.sink.endpoint.eventbusName* | The eventbus name, the default value is default and this means it will be the AWS event bus of your account. | "default" | MEDIUM | *camel.sink.endpoint.eventPatternFile* | EventPattern File | null | 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 creating and starting the producer may take a little time and prolong the total processing time of the processing. | false | MEDIUM -| *camel.sink.endpoint.operation* | The operation to perform One of: [putRule] [putTargets] | "putRule" | HIGH +| *camel.sink.endpoint.operation* | The operation to perform One of: [putRule] [putTargets] [removeTargets] | "putRule" | HIGH | *camel.sink.endpoint.pojoRequest* | If we want to use a POJO request as body or not | false | MEDIUM -| *camel.sink.endpoint.proxyHost* | To define a proxy host when instantiating the STS client | null | MEDIUM -| *camel.sink.endpoint.proxyPort* | To define a proxy port when instantiating the STS client | null | MEDIUM -| *camel.sink.endpoint.proxyProtocol* | To define a proxy protocol when instantiating the STS client One of: [HTTP] [HTTPS] | "HTTPS" | MEDIUM -| *camel.sink.endpoint.region* | The region in which STS client needs to work. When using this parameter, the configuration will expect the lowercase name of the region (for example ap-east-1) You'll need to use the name Region.EU_WEST_1.id() | null | MEDIUM +| *camel.sink.endpoint.proxyHost* | To define a proxy host when instantiating the Eventbridge client | null | MEDIUM +| *camel.sink.endpoint.proxyPort* | To define a proxy port when instantiating the Eventbridge client | null | MEDIUM +| *camel.sink.endpoint.proxyProtocol* | To define a proxy protocol when instantiating the Eventbridge client One of: [HTTP] [HTTPS] | "HTTPS" | MEDIUM +| *camel.sink.endpoint.region* | The region in which Eventbridge client needs to work. When using this parameter, the configuration will expect the lowercase name of the region (for example ap-east-1) You'll need to use the name Region.EU_WEST_1.id() | null | MEDIUM | *camel.sink.endpoint.trustAllCertificates* | If we want to trust all certificates in case of overriding the endpoint | false | MEDIUM | *camel.sink.endpoint.basicPropertyBinding* | Whether the endpoint should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities | false | MEDIUM | *camel.sink.endpoint.synchronous* | Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported). | false | MEDIUM @@ -48,14 +49,15 @@ The camel-aws2-eventbridge sink connector supports 31 options, which are listed | *camel.component.aws2-eventbridge.autoDiscover Client* | Setting the autoDiscoverClient mechanism, if true, the component will look for a client instance in the registry automatically otherwise it will skip that checking. | true | MEDIUM | *camel.component.aws2-eventbridge.configuration* | Component configuration | null | MEDIUM | *camel.component.aws2-eventbridge.eventbridgeClient* | To use a existing configured AWS Eventbridge as client | null | MEDIUM +| *camel.component.aws2-eventbridge.eventbusName* | The eventbus name, the default value is default and this means it will be the AWS event bus of your account. | "default" | MEDIUM | *camel.component.aws2-eventbridge.eventPatternFile* | EventPattern File | null | MEDIUM | *camel.component.aws2-eventbridge.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 creating and starting the producer may take a little time and prolong the total processing time of the processing. | false | MEDIUM -| *camel.component.aws2-eventbridge.operation* | The operation to perform One of: [putRule] [putTargets] | "putRule" | HIGH +| *camel.component.aws2-eventbridge.operation* | The operation to perform One of: [putRule] [putTargets] [removeTargets] | "putRule" | HIGH | *camel.component.aws2-eventbridge.pojoRequest* | If we want to use a POJO request as body or not | false | MEDIUM -| *camel.component.aws2-eventbridge.proxyHost* | To define a proxy host when instantiating the STS client | null | MEDIUM -| *camel.component.aws2-eventbridge.proxyPort* | To define a proxy port when instantiating the STS client | null | MEDIUM -| *camel.component.aws2-eventbridge.proxyProtocol* | To define a proxy protocol when instantiating the STS client One of: [HTTP] [HTTPS] | "HTTPS" | MEDIUM -| *camel.component.aws2-eventbridge.region* | The region in which STS client needs to work. When using this parameter, the configuration will expect the lowercase name of the region (for example ap-east-1) You'll need to use the name Region.EU_WEST_1.id() | null | MEDIUM +| *camel.component.aws2-eventbridge.proxyHost* | To define a proxy host when instantiating the Eventbridge client | null | MEDIUM +| *camel.component.aws2-eventbridge.proxyPort* | To define a proxy port when instantiating the Eventbridge client | null | MEDIUM +| *camel.component.aws2-eventbridge.proxyProtocol* | To define a proxy protocol when instantiating the Eventbridge client One of: [HTTP] [HTTPS] | "HTTPS" | MEDIUM +| *camel.component.aws2-eventbridge.region* | The region in which Eventbridge client needs to work. When using this parameter, the configuration will expect the lowercase name of the region (for example ap-east-1) You'll need to use the name Region.EU_WEST_1.id() | null | MEDIUM | *camel.component.aws2-eventbridge.trustAll Certificates* | If we want to trust all certificates in case of overriding the endpoint | false | MEDIUM | *camel.component.aws2-eventbridge.basicProperty Binding* | Whether the component should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities | false | LOW | *camel.component.aws2-eventbridge.accessKey* | Amazon AWS Access Key | null | MEDIUM @@ -77,8 +79,4 @@ The camel-aws2-eventbridge sink connector has no transforms out of the box. The camel-aws2-eventbridge sink connector has no aggregation strategies out of the box. - - - - // kafka-connector options: END diff --git a/docs/modules/ROOT/pages/connectors/camel-browse-kafka-sink-connector.adoc b/docs/modules/ROOT/pages/connectors/camel-browse-kafka-sink-connector.adoc deleted file mode 100644 index f3b2f29ce3..0000000000 --- a/docs/modules/ROOT/pages/connectors/camel-browse-kafka-sink-connector.adoc +++ /dev/null @@ -1,55 +0,0 @@ -// kafka-connector options: START -[[camel-browse-kafka-connector-sink]] -= camel-browse-kafka-connector sink configuration - -When using camel-browse-kafka-connector as sink make sure to use the following Maven dependency to have support for the connector: - -[source,xml] ----- - - org.apache.camel.kafkaconnector - camel-browse-kafka-connector - x.x.x - - ----- - -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.browse.CamelBrowseSinkConnector ----- - - -The camel-browse sink connector supports 6 options, which are listed below. - - - -[width="100%",cols="2,5,^1,2",options="header"] -|=== -| Name | Description | Default | Priority -| *camel.sink.path.name* | A name which can be any string to uniquely identify the endpoint | null | HIGH -| *camel.sink.endpoint.lazyStartProducer* | Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing. | false | MEDIUM -| *camel.sink.endpoint.basicPropertyBinding* | Whether the endpoint should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities | false | MEDIUM -| *camel.sink.endpoint.synchronous* | Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported). | false | MEDIUM -| *camel.component.browse.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 creating and starting the producer may take a little time and prolong the total processing time of the processing. | false | MEDIUM -| *camel.component.browse.basicPropertyBinding* | Whether the component should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities | false | LOW -|=== - - - -The camel-browse sink connector has no converters out of the box. - - - - - -The camel-browse sink connector has no transforms out of the box. - - - - - -The camel-browse sink connector has no aggregation strategies out of the box. -// kafka-connector options: END diff --git a/docs/modules/ROOT/pages/connectors/camel-browse-kafka-source-connector.adoc b/docs/modules/ROOT/pages/connectors/camel-browse-kafka-source-connector.adoc deleted file mode 100644 index 3ef4df4cc3..0000000000 --- a/docs/modules/ROOT/pages/connectors/camel-browse-kafka-source-connector.adoc +++ /dev/null @@ -1,57 +0,0 @@ -// kafka-connector options: START -[[camel-browse-kafka-connector-source]] -= camel-browse-kafka-connector source configuration - -When using camel-browse-kafka-connector as source make sure to use the following Maven dependency to have support for the connector: - -[source,xml] ----- - - org.apache.camel.kafkaconnector - camel-browse-kafka-connector - x.x.x - - ----- - -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.browse.CamelBrowseSourceConnector ----- - - -The camel-browse source connector supports 8 options, which are listed below. - - - -[width="100%",cols="2,5,^1,2",options="header"] -|=== -| Name | Description | Default | Priority -| *camel.source.path.name* | A name which can be any string to uniquely identify the endpoint | null | 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 | 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 | MEDIUM -| *camel.source.endpoint.exchangePattern* | Sets the exchange pattern when the consumer creates an exchange. One of: [InOnly] [InOut] [InOptionalOut] | null | MEDIUM -| *camel.source.endpoint.basicPropertyBinding* | Whether the endpoint should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities | false | MEDIUM -| *camel.source.endpoint.synchronous* | Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported). | false | MEDIUM -| *camel.component.browse.bridgeErrorHandler* | Allows for bridging the consumer to the Camel routing Error Handler, which mean any exceptions occurred while the consumer is trying to pickup incoming messages, or the likes, will now be processed as a message and handled by the routing Error Handler. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN or ERROR level and ignored. | false | MEDIUM -| *camel.component.browse.basicPropertyBinding* | Whether the component should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities | false | LOW -|=== - - - -The camel-browse sink connector has no converters out of the box. - - - - - -The camel-browse sink connector has no transforms out of the box. - - - - - -The camel-browse sink connector has no aggregation strategies out of the box. -// kafka-connector options: END diff --git a/docs/modules/ROOT/pages/connectors/camel-class-kafka-sink-connector.adoc b/docs/modules/ROOT/pages/connectors/camel-class-kafka-sink-connector.adoc deleted file mode 100644 index 67378486de..0000000000 --- a/docs/modules/ROOT/pages/connectors/camel-class-kafka-sink-connector.adoc +++ /dev/null @@ -1,61 +0,0 @@ -// kafka-connector options: START -[[camel-class-kafka-connector-sink]] -= camel-class-kafka-connector sink configuration - -When using camel-class-kafka-connector as sink make sure to use the following Maven dependency to have support for the connector: - -[source,xml] ----- - - org.apache.camel.kafkaconnector - camel-class-kafka-connector - x.x.x - - ----- - -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.clazz.CamelClassSinkConnector ----- - - -The camel-class sink connector supports 12 options, which are listed below. - - - -[width="100%",cols="2,5,^1,2",options="header"] -|=== -| Name | Description | Default | Priority -| *camel.sink.path.beanName* | Sets the name of the bean to invoke | null | HIGH -| *camel.sink.endpoint.cache* | Use scope option instead. | null | LOW -| *camel.sink.endpoint.method* | Sets the name of the method to invoke on the bean | null | MEDIUM -| *camel.sink.endpoint.scope* | Scope of bean. When using singleton scope (default) the bean is created or looked up only once and reused for the lifetime of the endpoint. The bean should be thread-safe in case concurrent threads is calling the bean at the same time. When using request scope the bean is created or looked up once per request (exchange). This can be used if you want to store state on a bean while processing a request and you want to call the same bean instance multiple times while processing the request. The bean does not have to be thread-safe as the instance is only called from the same request. When using prototype scope, then the bean will be looked up or created per call. However in case of lookup then this is delegated to the bean registry such as Spring or CDI (if in use), which depends on their configuration can act as either singleton or prototype scope. so when using prototype then this depends on the delegated registry. One of: [Singleton] [Request] [Prototype] | "Singleton" | 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 creating and starting the producer may take a little time and prolong the total processing time of the processing. | false | MEDIUM -| *camel.sink.endpoint.basicPropertyBinding* | Whether the endpoint should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities | false | MEDIUM -| *camel.sink.endpoint.parameters* | Used for configuring additional properties on the bean | null | MEDIUM -| *camel.sink.endpoint.synchronous* | Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported). | false | MEDIUM -| *camel.component.class.cache* | Use singleton option instead. | "true" | LOW -| *camel.component.class.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 creating and starting the producer may take a little time and prolong the total processing time of the processing. | false | MEDIUM -| *camel.component.class.scope* | Scope of bean. When using singleton scope (default) the bean is created or looked up only once and reused for the lifetime of the endpoint. The bean should be thread-safe in case concurrent threads is calling the bean at the same time. When using request scope the bean is created or looked up once per request (exchange). This can be used if you want to store state on a bean while processing a request and you want to call the same bean instance multiple times while processing the request. The bean does not have to be thread-safe as the instance is only called from the same request. When using delegate scope, then the bean will be looked up or created per call. However in case of lookup then this is delegated to the bean registry such as Spring or CDI (if in use), which depends on their configuration can act as either singleton or prototype scope. so when using prototype then this depends on the delegated registry. One of: [Singleton] [Request] [Prototype] | "Singleton" | MEDIUM -| *camel.component.class.basicPropertyBinding* | Whether the component should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities | false | LOW -|=== - - - -The camel-class sink connector has no converters out of the box. - - - - - -The camel-class sink connector has no transforms out of the box. - - - - - -The camel-class sink connector has no aggregation strategies out of the box. -// kafka-connector options: END