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

   ### Implementation Notes and Trade-offs
   
   Head: 6b742f6f2228dfe2a8cab6da96475b1b7b54afa2
   
   The source reads five native collections through a connector-private 
transport. Hidden customers are traversed without a creation-time predicate so 
an old customer can expose a new funding source. Only selected dated records 
are filtered, and the classification directory remains complete. The existing 
connector boundaries and shared engine contracts are unchanged.
   
   Token issuance is separated from read-only data retries. A 401 renews a 
bearer at most once for the same read; expiry uses monotonic time with a safety 
margin. An explicit token 429 can retry, while an ambiguous token POST outcome 
fails without blind reissuance. Redirects, cross-origin or changed-resource HAL 
links and malformed successful responses fail without leaking response bodies 
or credentials.
   
   Checkpoint state stores a frozen end, resource/parent position, offsets and 
complete-page digests, rather than raw records or credentials. Restoring a 
partial page checks its complete response before suffix publication. Funding 
restores also verify the parent page before opening the child. The same 
application key can use a rotated secret; changed environment, key, dates, 
resource order or page size are incompatible scopes.
   
   Alternatives considered: generic HTTP extraction lacks the token lifecycle, 
HAL embedding and parent traversal required here; filtering parent customers by 
creation would omit new funding sources; retaining only an emitted prefix would 
miss changes to unpublished or filtered rows; treating every token failure as 
retryable would blindly repeat issuance. The isolated artifact uses managed 
HTTP/Jackson dependencies instead of introducing a new SDK or altering shared 
HTTP behavior.
   
   Bounded bodies, row/page/customer caps, JSON depth/token limits and 
cancellation constrain work. A single bounded split preserves deterministic 
traversal; provider paging is not a transactional snapshot. Events remain 
subject to the provider's retention period, and independent scans require 
explicit time-window management.
   
   Scoped Java 11 Spotless and static source/registration/documentation checks 
passed. Twenty engine E2E methods, seven packaged recovery modes and five 
engine savepoint paths were authored. Compilation, runtime correctness, fixture 
interoperability and live-provider behavior remain unverified pending GitHub 
CI; no local runtime or live account was used. This initial submission is 
handed off for CI/comment maintenance without claiming merge or production 
readiness.
   


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