[
https://issues.apache.org/jira/browse/CAMEL-23174?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jiri Ondrusek updated CAMEL-23174:
----------------------------------
Affects Version/s: 4.18.0
> Kamelet: transformer in aws-ddb-sink is not executed
> ----------------------------------------------------
>
> Key: CAMEL-23174
> URL: https://issues.apache.org/jira/browse/CAMEL-23174
> Project: Camel
> Issue Type: Bug
> Components: camel-kamelet
> Affects Versions: 4.18.0, 4.19.0
> Reporter: Jiri Ondrusek
> Priority: Major
>
> I'm trying to run the aws-ddb-sink kamelet for the simple putItem operation.
> The first issues is already fixed in
> [https://github.com/apache/camel-kamelets/pull/2761]
> With the fix, something is still wrong.
> Here is a simple reproducer (plain-camel):
> [https://github.com/JiriOndrusek/kamelet-aws-ddb-reproducer]
> When you run the the example, you will see:
> {code:java}
> Caused by: org.apache.camel.component.kamelet.FailedToCreateKameletException:
> Error creating or loading Kamelet with id aws-ddb-sink (locations:
> classpath:kamelets)
> ...
> Caused by: software.amazon.awssdk.services.dynamodb.model.DynamoDbException:
> 6 validation errors detected: Value null at
> 'keySchema.1.member.attributeName' failed to satisfy constraint: Member must
> not be null; Value null at 'keySchema.1.member.keyType' failed to satisfy
> constraint: Member must not be null; Value null at
> 'provisionedThroughput.writeCapacityUnits' failed to satisfy constraint:
> Member must not be null; Value null at
> 'provisionedThroughput.readCapacityUnits' failed to satisfy constraint:
> Member must not be null; Value null at
> 'attributeDefinitions.1.member.attributeType' failed to satisfy constraint:
> Member must not be null; Value null at
> 'attributeDefinitions.1.member.attributeName' failed to satisfy constraint:
> Member must not be null (Service: DynamoDb, Status Code: 400, Request ID:
> EHMI75D0C0H7MR1GAPAN2QLD67VV4KQNSO5AEMVJF66Q9ASUAAJG) (SDK Attempt Count: 1)
> {code}
> Which is caused by missing transformer execution.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)