camel-aws-cloudwatch-sink-kafka-connector sink configuration

Connector Description: Send messages to AWS CloudWatch metrics. Access Key/Secret Key are the basic method for authenticating to the AWS CloudWatch Service. These parameters are optional, because the Kamelet provide also the 'useDefaultCredentialsProvider'. When using a default Credentials Provider the CloudWatch 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. The Kamelet expects the following headers to be set: There are several properties you can set in the headers, such as: `metric-name` / `ce-metricname` for the metric name. `metric-value` / `ce-metricvalue` for the metric value. `metric-unit` / `ce-metricunit` for the metric unit. `metric-timestamp` / `ce-metrictimestamp` for the metric timestamp. `metric-dimension-name` / `ce-metricdimensionname` for the dimension name. `metric-dimension-value` / `ce-metricdimensionvalue` for the dimension value.

When using camel-aws-cloudwatch-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-cloudwatch-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.awscloudwatchsink.CamelAwscloudwatchsinkSinkConnector

The camel-aws-cloudwatch-sink sink connector supports 7 options, which are listed below.

Name Description Default Priority

camel.kamelet.aws-cloudwatch-sink.cwNamespace

Required The cloud watch metric namespace.

HIGH

camel.kamelet.aws-cloudwatch-sink.accessKey

The access key obtained from AWS.

MEDIUM

camel.kamelet.aws-cloudwatch-sink.secretKey

The secret key obtained from AWS.

MEDIUM

camel.kamelet.aws-cloudwatch-sink.region

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

HIGH

camel.kamelet.aws-cloudwatch-sink.useDefaultCredentialsProvider

Set whether the CloudWatch 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-cloudwatch-sink.uriEndpointOverride

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

MEDIUM

camel.kamelet.aws-cloudwatch-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-cloudwatch-sink sink connector has no converters out of the box.

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

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