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

AWS DDB Stream Source: Expose Kamelet data type information #1971

Merged
merged 1 commit into from
Mar 27, 2024
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
45 changes: 43 additions & 2 deletions kamelets/aws-ddb-streams-source.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,50 @@ spec:
description: The number of milliseconds before the next poll from the database.
type: integer
default: 500
types:
dataTypes:
out:
mediaType: application/json
default: json
headers:
CamelAwsDdbStreamEventSource:
title: The DDB Stream Event Source
description: The Amazon Web Services service from which the stream record originated. For DynamoDB Streams, this is aws:dynamodb.
type: string
CamelAwsDdbStreamEventId:
title: The DDB Stream Event Id
description: A globally unique identifier for the event that was recorded in this stream record.
type: string
types:
json:
format: "application-json"
description: Default Json representation of a DDB Stream Event.
mediaType: application/json
cloudevents:
format: "aws2-sqs:application-cloudevents"
description: |-
Data type transformer converts AWS Dynamo DB Streams get records response to CloudEvent v1_0 data format. The data
type sets Camel specific CloudEvent headers with values extracted from AWS Dynamo DB Streams get records.
headers:
CamelCloudEventID:
title: CloudEvent ID
description: The Camel exchange id set as event id
type: string
CamelCloudEventType:
title: CloudEvent Type
description: The event type
default: "org.apache.camel.event.aws.ddbstream.getRecords"
type: string
CamelCloudEventSource:
title: CloudEvent Source
description: The event source. By default, the DDB Stream Event source receipt handle with prefix "aws.ddbstream.".
type: string
CamelCloudEventSubject:
title: CloudEvent Subject
description: The event subject. The DDB Stream Event Id.
type: string
CamelCloudEventTime:
title: CloudEvent Time
description: The exchange creation timestamp as event time.
type: string
dependencies:
- "camel:gson"
- "camel:aws2-ddb"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,50 @@ spec:
description: The number of milliseconds before the next poll from the database.
type: integer
default: 500
types:
dataTypes:
out:
mediaType: application/json
default: json
headers:
CamelAwsDdbStreamEventSource:
title: The DDB Stream Event Source
description: The Amazon Web Services service from which the stream record originated. For DynamoDB Streams, this is aws:dynamodb.
type: string
CamelAwsDdbStreamEventId:
title: The DDB Stream Event Id
description: A globally unique identifier for the event that was recorded in this stream record.
type: string
types:
json:
format: "application-json"
description: Default Json representation of a DDB Stream Event.
mediaType: application/json
cloudevents:
format: "aws2-sqs:application-cloudevents"
description: |-
Data type transformer converts AWS Dynamo DB Streams get records response to CloudEvent v1_0 data format. The data
type sets Camel specific CloudEvent headers with values extracted from AWS Dynamo DB Streams get records.
headers:
CamelCloudEventID:
title: CloudEvent ID
description: The Camel exchange id set as event id
type: string
CamelCloudEventType:
title: CloudEvent Type
description: The event type
default: "org.apache.camel.event.aws.ddbstream.getRecords"
type: string
CamelCloudEventSource:
title: CloudEvent Source
description: The event source. By default, the DDB Stream Event source receipt handle with prefix "aws.ddbstream.".
type: string
CamelCloudEventSubject:
title: CloudEvent Subject
description: The event subject. The DDB Stream Event Id.
type: string
CamelCloudEventTime:
title: CloudEvent Time
description: The exchange creation timestamp as event time.
type: string
dependencies:
- "camel:gson"
- "camel:aws2-ddb"
Expand Down