Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sqs autocreate queue #86

Merged
merged 4 commits into from
Mar 24, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions aws-sqs-fifo-sink.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,13 @@ spec:
description: Use content-based deduplication (should be enabled in the SQS FIFO queue first)
type: boolean
default: false
autoCreateQueue:
title: Autocreate queue
description: Setting the autocreation of the SQS queue.
type: boolean
x-descriptors:
- 'urn:alm:descriptor:com.tectonic.ui:checkbox'
default: false
dependencies:
- camel-quarkus:aws2-sqs
flow:
Expand Down Expand Up @@ -77,6 +84,7 @@ spec:
- to:
uri: "aws2-sqs:{{queueNameOrArn}}"
parameters:
autoCreateQueue: "{{autoCreateQueue}}"
accessKey: "{{accessKey}}"
secretKey: "{{secretKey}}"
region: "{{region}}"
Expand All @@ -87,6 +95,7 @@ spec:
- to:
uri: "aws2-sqs:{{queueNameOrArn}}"
parameters:
autoCreateQueue: "{{autoCreateQueue}}"
accessKey: "{{accessKey}}"
secretKey: "{{secretKey}}"
region: "{{region}}"
Expand Down
8 changes: 8 additions & 0 deletions aws-sqs-sink.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,21 @@ spec:
description: The AWS region to connect to
type: string
example: eu-west-1
autoCreateQueue:
title: Autocreate queue
description: Setting the autocreation of the SQS queue.
type: boolean
x-descriptors:
- 'urn:alm:descriptor:com.tectonic.ui:checkbox'
default: false
flow:
from:
uri: kamelet:source
steps:
- to:
uri: "aws2-sqs:{{queueNameOrArn}}"
parameters:
autoCreateQueue: "{{autoCreateQueue}}"
accessKey: "{{accessKey}}"
secretKey: "{{secretKey}}"
region: "{{region}}"
8 changes: 8 additions & 0 deletions aws-sqs-source.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,21 @@ spec:
description: The AWS region to connect to
type: string
example: eu-west-1
autoCreateQueue:
title: Autocreate queue
description: Setting the autocreation of the SQS queue.
type: boolean
x-descriptors:
- 'urn:alm:descriptor:com.tectonic.ui:checkbox'
default: false
types:
out:
mediaType: application/json
flow:
from:
uri: "aws2-sqs:{{queueNameOrArn}}"
parameters:
autoCreateQueue: "{{autoCreateQueue}}"
secretKey: "{{secretKey}}"
accessKey: "{{accessKey}}"
region: "{{region}}"
Expand Down
1 change: 1 addition & 0 deletions docs/modules/ROOT/pages/aws-sqs-fifo-sink.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ The following table summarizes the configuration options available for the `aws-
| *queueNameOrArn {empty}* *| Queue Name| The SQS Queue name or ARN| string| |
| *region {empty}* *| AWS Region| The AWS region to connect to| string| | `"eu-west-1"`
| *secretKey {empty}* *| Secret Key| The secret key obtained from AWS| string| |
| autoCreateQueue| Autocreate queue| Setting the autocreation of the SQS queue.| boolean| `false`|
| contentBasedDeduplication| Content-Based Deduplication| Use content-based deduplication (should be enabled in the SQS FIFO queue first)| boolean| `false`|
|===

Expand Down
1 change: 1 addition & 0 deletions docs/modules/ROOT/pages/aws-sqs-sink.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ The following table summarizes the configuration options available for the `aws-
| *queueNameOrArn {empty}* *| Queue Name| The SQS Queue name or ARN| string| |
| *region {empty}* *| AWS Region| The AWS region to connect to| string| | `"eu-west-1"`
| *secretKey {empty}* *| Secret Key| The secret key obtained from AWS| string| |
| autoCreateQueue| Autocreate queue| Setting the autocreation of the SQS queue.| boolean| `false`|
|===

NOTE: Fields marked with ({empty}*) are mandatory.
Expand Down
1 change: 1 addition & 0 deletions docs/modules/ROOT/pages/aws-sqs-source.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ The following table summarizes the configuration options available for the `aws-
| *queueNameOrArn {empty}* *| Queue Name| The SQS Queue name or ARN| string| |
| *region {empty}* *| AWS Region| The AWS region to connect to| string| | `"eu-west-1"`
| *secretKey {empty}* *| Secret Key| The secret key obtained from AWS| string| |
| autoCreateQueue| Autocreate queue| Setting the autocreation of the SQS queue.| boolean| `false`|
| deleteAfterRead| Auto-delete messages| Delete messages after consuming them| boolean| `true`|
|===

Expand Down
3 changes: 2 additions & 1 deletion docs/modules/ROOT/pages/dropbox-source.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ The following table summarizes the configuration options available for the `drop
| *accessToken {empty}* *| Dropbox Access Token| The access Token to use to access Dropbox| string| |
| *clientIdentifier {empty}* *| The client identifier| Dropbox App client Identifier| string| |
| *period {empty}* *| Period between polls| The interval between fetches to the earthquake API in milliseconds| integer| `10000`|
| *query {empty}* *| Querys| A space-separated list of sub-strings to search for. A file matches only if it contains all the sub-strings. If this option is not set, all files will be matched.| string| |
| *remotePath {empty}* *| Remote path| Original file or folder to work with| string| |
| query| Querys| A space-separated list of sub-strings to search for. A file matches only if it contains all the sub-strings. If this option is not set, all files will be matched.| string| |
|===

NOTE: Fields marked with ({empty}*) are mandatory.
Expand Down Expand Up @@ -44,6 +44,7 @@ spec:
properties:
accessToken: "The Dropbox Access Token"
clientIdentifier: "The The client identifier"
query: "The Querys"
remotePath: "The Remote path"
sink:
ref:
Expand Down