gnodet-bot commented on code in PR #31260:
URL: https://github.com/apache/camel/pull/31260#discussion_r4782723991


##########
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:
   **[low]** This wraps into a 37-word sentence at the join ("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"), exceeding the 25-word STE guideline. Suggest splitting at the period 
and the semicolon:
   
   ```suggestion
   Any other SES service error on the probe, throttling included, reports DOWN 
as well. `GetSendStatistics` has a low
   rate limit; a deployment with many SES endpoints can reach that limit from 
the probes alone. Disable the check as
   above if that happens.
   ```



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

Reply via email to