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.
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.