davsclaus commented on code in PR #31260: URL: https://github.com/apache/camel/pull/31260#discussion_r4796272434
########## components/camel-aws/camel-aws2-ses/src/main/docs/aws2-ses-component.adoc: ########## @@ -109,6 +109,19 @@ YAML:: The `#client` refers to a `SesClient` in the Registry. +=== Producer health check + +When the producer health check is enabled, it probes SES with `GetSendStatistics`. That call needs the +`ses:GetSendStatistics` permission, which is *not* implied by `ses:SendEmail` and `ses:SendRawEmail`. With a policy that +only grants the two sending actions, the check reports DOWN with an `AccessDenied` error although the route sends mail +correctly. Either grant `ses:GetSendStatistics` as well, or disable the check on the component, for example with +`camel.component.aws2-ses.healthCheckProducerEnabled=false`; `healthCheckProducerEnabled` is a component option, not +an endpoint option. + +Any other SES service error on the probe, throttling included, reports DOWN as well. Each SES endpoint runs its own +check and `GetSendStatistics` has a low rate limit, so a deployment with many SES endpoints can reach that limit with +the probes alone; disable the check as above if that happens. + Review Comment: Split in 5065a088148a. I kept "Each SES endpoint runs its own check", which explains why many endpoints reach the limit, and also split the semicolon sentence about `healthCheckProducerEnabled` in the paragraph above. The catalog copy is updated as well. _Claude Code on behalf of davsclaus_ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
