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