DanielLeens commented on PR #13548:
URL: https://github.com/apache/seatunnel/pull/13548#issuecomment-7234857402

   ### Implementation Notes and Trade-offs
   
   Reviewed implementation for head `feb1fcd46452f4cd9fb4baa616bf1491fbb3a61e`.
   
   - The eight functions use different response shapes and argument sets. The 
source decodes those shapes directly, maps each price observation to one row, 
and preserves provider field names and decimal strings in the JSON payload. 
Intraday keeps its market-local timestamp and timezone.
   - One batch reader applies a shared request count and minimum interval 
across first attempts and retries. Each resource also has its own total 
deadline and attempt limit. Clear temporary throttles can retry. The source 
stops on explicit daily quota exhaustion or an entitlement response. Provider 
key usage is shared outside SeaTunnel. A new reader after restore gets a fresh 
local budget.
   - The checkpoint identifies the query and next output position. 
Partial-response restores first verify a fingerprint of the sorted response and 
completed resources are skipped. API keys can be rotated without changing that 
query identity.
   - The integration suite uses the standard Java 11 Zeta test container and a 
separate local HTTPS provider process. That process checks queries and produces 
deterministic provider responses so tests can assert persisted output and 
request sequences. Scoped Spotless and static checks passed. GitHub CI owns 
runtime validation.
   


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