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

   ### Implementation Notes and Trade-offs
   
   Head: 3132ec5b23a34943a6ac06cb4fe53c620f13f9c1
   
   Fourteen native read families share discovery but have different identity, 
time and envelope contracts. Organization/event ownership is discovered from 
the real parent lists, not from a Cartesian product of configured IDs. 
Filtering discovery by the output date window was rejected because an older 
event can contain newly changed attendees. The source therefore separates full 
dependency discovery from four dated output predicates; the ten undated 
directories/settings remain full reads. An omitted upper bound freezes once in 
the enumerated split rather than moving on restore.
   
   Native has_more_items is authoritative. Inferring completion from page 
length or from continuation presence was rejected: short/empty pages may 
continue, and a terminal response can still contain a continuation. Only the 
documented event list receives page_size; native changed_since is sent only to 
attendees/orders. Settings are a single object with no invented ID, and 
available ticket classes allow missing IDs. Question defaults use 
include_all=true. Opaque cursors remain encoded query values at the fixed 
origin; they are never followed as URLs. Personal tokens stay in the Bearer 
header. Diagnostics omit secrets, provider bodies and nested transport causes.
   
   An isolated artifact was chosen over the generic HTTP source, which lacks 
the required bounded ownership discovery and exact dependency/cursor checkpoint 
transitions. Existing HTTP/Jackson versions are reused; no new SDK or shared 
framework is changed. Page publication commits the discovered IDs and cursor 
atomically with its final selected row. Partial snapshots retain a canonical 
digest of the whole raw response, including excluded rows and pagination; 
replay accepts object-key reordering but rejects changed content before suffix 
output. Discovery lists and cursor-history sets are deep-copied. Committed 
parent/cursor transitions resume without repeated discovery, and terminal 
restore performs no request. The current cursor is saved in state; 
authentication tokens, record payloads and certificates are excluded.
   
   Finite byte/row/page/parent/history and time budgets fail explicitly instead 
of truncating or silently skipping. A required continuation beyond the page 
budget fails before that page is published. This favors a detectable incomplete 
scan over data loss. Existing connector/API/configuration behavior remains 
unchanged; only the two new modules, their own documentation and additive 
installation/SPI/distribution registration are included.
   
   Actual validation: scoped Java 11 Spotless apply/check, source self-audit, 
exact path/hash/deletion/ASF/whitespace/XML checks, 22 type Javadocs, 15 option 
tables and registration/state checks. Twelve real engine methods plus ten 
packaged modes are authored, including five engine savepoint paths. None ran 
locally. Compilation/runtime remain pending GitHub CI; live-provider 
interoperability, account access and mutable-list stability have not been 
established. This is an initial implementation submission, with subsequent 
CI/comment maintenance handed off after the initial readback; it is not a merge 
or production-acceptance claim.
   


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