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

Connector Description: Send data to Amazon CloudWatch metrics. The basic authentication method for the AWS CloudWatch metrics service is to specify an access key and a secret key. These parameters are optional because the Kamelet provides a default credentials provider. If you use the default credentials provider, the CloudWatch client loads the credentials through this provider and doesn’t use the basic authentication method. You can set the following properties in the header: `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 11 options, which are listed below.

Name Description Default Priority

camel.kamelet.aws-cloudwatch-sink.cwNamespace

Required The CloudWatch 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 access.

HIGH

camel.kamelet.aws-cloudwatch-sink.useDefaultCredentialsProvider

If true, the Cloudwatch client loads credentials through a default credentials provider. If false, it uses the basic authentication method (access key and secret key).

false

MEDIUM

camel.kamelet.aws-cloudwatch-sink.useProfileCredentialsProvider

Set whether the Cloudwatch client should expect to load credentials through a profile credentials provider.

false

MEDIUM

camel.kamelet.aws-cloudwatch-sink.useSessionCredentials

Set whether the Cloudwatch client should expect to use Session Credentials. This is useful in situation in which the user needs to assume a IAM role for doing operations in Cloudwatch.

false

MEDIUM

camel.kamelet.aws-cloudwatch-sink.profileCredentialsName

If using a profile credentials provider this parameter will set the profile name.

MEDIUM

camel.kamelet.aws-cloudwatch-sink.sessionToken

Amazon AWS Session Token used when the user needs to assume a IAM role.

MEDIUM

camel.kamelet.aws-cloudwatch-sink.uriEndpointOverride

The overriding endpoint URI. To use this option, you must also select the overrideEndpoint option.

MEDIUM

camel.kamelet.aws-cloudwatch-sink.overrideEndpoint

Select this option to override the endpoint URI. To use this option, you must also provide a URI for the uriEndpointOverride option.

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.