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

   ### Implementation Notes and Trade-offs
   
   Head: e8bd2733eac08f0bdf98787fc83c9643d8c60abf
   
   The six native families use fixed-origin x-api-key GET requests. Child 
families discover actual event IDs once; arbitrary URLs, eager account probes 
and Cartesian products of configured IDs are not used. Duplicate parent records 
remain data when selected but do not duplicate child traversal. Category and 
transaction identities retain their native strings, including empty strings, 
without claiming uniqueness. Numeric identities are exact, and precision/scale 
checks precede exponent expansion; parent path IDs additionally require 
canonical integers. Ownership metadata never overwrites the returned payload.
   
   Endpoint-specific schemas declare offset/limit and pagination arrays for 
events, users and transactions; attendee/ticket/category schemas declare only 
their result arrays. Applying one pagination model to every family was rejected 
because it would add parameters absent from those endpoint definitions and 
could duplicate or truncate full arrays. The connector follows the specific 
schemas and does not cap full arrays at page_size. The API overview's generic 
paging wording remains a real documentation difference; this choice has not 
been verified against a live account. Unexpected metadata proving a complete 
array is accepted; metadata declaring more results on a full-array endpoint 
fails explicitly rather than hiding incomplete data. The native tickets array 
is selected without claiming an additional donation resource.
   
   When pagination metadata is present, offset must match the request and 
limit/total/row count must be coherent. Actual returned count advances the 
offset; multiplying page count by configured page_size was rejected because a 
provider can return a smaller limit. Native total drives continuation even on a 
short page. Empty pages with remaining total fail. Absent/null/empty pagination 
uses the full-page/short-page rule. Required continuation beyond the page 
budget fails before that page is published, and row/event limits are checked 
before any prefix output.
   
   An isolated artifact keeps event discovery and exact checkpoint behavior 
outside shared engine/API code while reusing existing HTTP/Jackson versions. 
Discovery commits with complete page publication, and checkpoint lists are 
deep-copied. Partial replay compares the canonical complete raw response, 
including unused fields and pagination, before suffix output. Object-key 
reordering is accepted; changed content or array order fails. Committed 
discovery/parent/offset transitions are not repeated; terminal restoration 
sends no request. Credentials, provider records and certificates are excluded 
from split state.
   
   Actual validation: scoped Java 11 Spotless apply/check, source self-audit, 
exact path/hash/deletion/ASF/whitespace/XML checks, 22 type Javadocs, 13 option 
tables and registration/state checks. Twelve engine methods and nine packaged 
modes are authored, including four real savepoint paths. None ran locally. 
Compilation/runtime and live-account interoperability remain pending GitHub CI 
or an appropriate account environment. This is an initial implementation 
submission; later CI/comment maintenance is handed off after the first 
readback. It is not a merge, production-acceptance or transaction-snapshot 
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