camel-aws-ddb-sink-kafka-connector sink configuration

Connector Description: Send data to AWS DynamoDB service. The sent data will insert/update/delete an item on the given AWS DynamoDB table. Access Key/Secret Key are the basic method for authenticating to the AWS DynamoDB service. These parameters are optional, because the Kamelet provide also the 'useDefaultCredentialsProvider'. When using a default Credentials Provider the AWS DynamoDB client will load the credentials through this provider and won’t use the static credential. This is reason for not having the access key and secret key as mandatory parameter for this Kamelet. This Kamelet expects a JSON as body. The mapping between the JSON fields and table attribute values is done by key, so if you have the input: '{"username":"oscerd", "city":"Rome"}' The Kamelet will insert/update an item in the given AWS DynamoDB table and set the attributes 'username' and 'city' respectively. Please note that the JSON object must include the primary key values that define the item.

When using camel-aws-ddb-sink-kafka-connector as sink make sure to use the following Maven dependency to have support for the connector:

<dependency>
  <groupId>org.apache.camel.kafkaconnector</groupId>
  <artifactId>camel-aws-ddb-sink-kafka-connector</artifactId>
  <version>x.x.x</version>
  <!-- use the same version as your Camel Kafka connector version -->
</dependency>

To use this sink connector in Kafka connect you’ll need to set the following connector.class

connector.class=org.apache.camel.kafkaconnector.awsddbsink.CamelAwsddbsinkSinkConnector

The camel-aws-ddb-sink sink connector supports 9 options, which are listed below.

Name Description Default Priority

camel.kamelet.aws-ddb-sink.table

Required Name of the DynamoDB table to look at.

HIGH

camel.kamelet.aws-ddb-sink.accessKey

The access key obtained from AWS.

MEDIUM

camel.kamelet.aws-ddb-sink.secretKey

The secret key obtained from AWS.

MEDIUM

camel.kamelet.aws-ddb-sink.region

Required The AWS region to connect to Example: eu-west-1.

HIGH

camel.kamelet.aws-ddb-sink.operation

The operation to perform (one of PutItem, UpdateItem, DeleteItem) Example: PutItem.

"PutItem"

MEDIUM

camel.kamelet.aws-ddb-sink.writeCapacity

The provisioned throughput to reserved for writing resources to your table.

1

MEDIUM

camel.kamelet.aws-ddb-sink.useDefaultCredentialsProvider

Set whether the DynamoDB client should expect to load credentials through a default credentials provider or to expect static credentials to be passed in.

false

MEDIUM

camel.kamelet.aws-ddb-sink.uriEndpointOverride

Set the overriding endpoint URI. This option needs to be used in combination with overrideEndpoint option.

MEDIUM

camel.kamelet.aws-ddb-sink.overrideEndpoint

Set the need for overiding the endpoint URI. This option needs to be used in combination with uriEndpointOverride setting.

false

MEDIUM

The camel-aws-ddb-sink sink connector has no converters out of the box.

The camel-aws-ddb-sink sink connector has no transforms out of the box.

The camel-aws-ddb-sink sink connector has no aggregation strategies out of the box.