Skip to content

Commit

Permalink
Add Support for Kinesis KCL Consumers to Kinesis Source Kamelet (#2090)
Browse files Browse the repository at this point in the history
* Add Support for Kinesis KCL Consumers to Kinesis Source Kamelet

Signed-off-by: Andrea Cosentino <ancosen@gmail.com>

* Moving to Camel 4.7.0-SNAPSHOT

Signed-off-by: Andrea Cosentino <ancosen@gmail.com>

---------

Signed-off-by: Andrea Cosentino <ancosen@gmail.com>
  • Loading branch information
oscerd committed Jun 26, 2024
1 parent d4cbeeb commit acfe23f
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 2 deletions.
12 changes: 12 additions & 0 deletions kamelets/aws-kinesis-source.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,16 @@ spec:
description: The number of milliseconds before the next poll of the selected stream.
type: integer
default: 500
asyncClient:
title: Async Client
description: If we want to a KinesisAsyncClient instance set it to true.
type: boolean
default: false
useKclConsumers:
title: KCL Consumer
description: If we want to a KCL Consumer set it to true
type: boolean
default: false
types:
out:
mediaType: application/octet-stream
Expand All @@ -105,5 +115,7 @@ spec:
uriEndpointOverride: "{{?uriEndpointOverride}}"
overrideEndpoint: "{{overrideEndpoint}}"
delay: "{{delay}}"
useKclConsumers: "{{useKclConsumers}}"
asyncClient: "{{asyncClient}}"
steps:
- to: "kamelet:sink"
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,16 @@ spec:
description: The number of milliseconds before the next poll of the selected stream.
type: integer
default: 500
asyncClient:
title: Async Client
description: If we want to a KinesisAsyncClient instance set it to true.
type: boolean
default: false
useKclConsumers:
title: KCL Consumer
description: If we want to a KCL Consumer set it to true
type: boolean
default: false
types:
out:
mediaType: application/octet-stream
Expand All @@ -105,5 +115,7 @@ spec:
uriEndpointOverride: "{{?uriEndpointOverride}}"
overrideEndpoint: "{{overrideEndpoint}}"
delay: "{{delay}}"
useKclConsumers: "{{useKclConsumers}}"
asyncClient: "{{asyncClient}}"
steps:
- to: "kamelet:sink"
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<parent>
<groupId>org.apache.camel</groupId>
<artifactId>camel-dependencies</artifactId>
<version>4.6.0</version>
<version>4.7.0-SNAPSHOT</version>
</parent>

<groupId>org.apache.camel.kamelets</groupId>
Expand Down Expand Up @@ -62,7 +62,7 @@
<apache-rat-plugin.version>0.16.1</apache-rat-plugin.version>
<cyclonedx-maven-plugin-version>2.8.0</cyclonedx-maven-plugin-version>

<camel.version>4.6.0</camel.version>
<camel.version>4.7.0-SNAPSHOT</camel.version>
<camel.k.crds.version>2.3.3</camel.k.crds.version>

<citrus.version>4.2.0</citrus.version>
Expand Down

0 comments on commit acfe23f

Please sign in to comment.