DanielLeens commented on PR #13572: URL: https://github.com/apache/seatunnel/pull/13572#issuecomment-7236439918
### Implementation Notes and Trade-offs Reviewed implementation at head `3c15d74fdc34a8b5b0ca8abf86522360a8755859`. - The source sends read-only CloudTrail LookupEvents requests to the configured AWS regional endpoint. It accepts standard, GovCloud, and China region names, signs the exact JSON request with SigV4, and includes a session token when temporary credentials are used. This implementation uses the existing HTTP and JSON libraries. - The connector fixes the inclusive UTC time range and optional lookup attribute for the whole read. It follows the opaque token through short or empty pages, preserves original event details and same-second events, and applies a bounded per-reader request rate, retry budget, and response size. - Recovery restores the original query and token. For an in-progress page, the reader checks the page digest before resuming at the saved row. Expired history and invalid tokens fail explicitly. CloudTrail Event history is limited to 90 days and may change between lookups. - Scoped Spotless and static checks passed. The change adds 12 Zeta cases with an independent Java HTTPS peer and saved output, plus 5 direct signing and checkpoint cases. Runtime validation is pending GitHub CI. -- 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]
