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

   ### Implementation Notes and Trade-offs
   
   Head: 0c34f616ad549a39859632b6db8ef88f07ce9339
   
   The native legacy v1.6 campaigns and lists reads are the complete scope of 
this source. v2, contact expansion and detailed reports use separate contracts 
and are not presented as implemented here. Full native JSON retains HTML/plain 
text, tags, nested fields, nulls and precise numbers; discarding these fields 
was rejected because the source should not irreversibly remove available data.
   
   The generic HTTP source was considered but does not represent checked native 
pagination, ordered resource state or exact partial-page replay. An isolated 
artifact keeps these behaviors out of shared connector/engine APIs and reuses 
existing HTTP/Jackson versions. The provider requires api_key in the HTTPS 
query; substituting a Bearer/custom header would break this protocol. Request 
URLs, provider error bodies and underlying transport causes never enter 
connector diagnostics, though configuration and infrastructure access logs 
still need appropriate protection.
   
   Native paging.next governs completion rather than response row count: 
short/empty pages can continue, and a full page can end. The link is validated 
against fixed HTTPS origin/port, exact collection path, credential, limit and 
next page, without duplicate/extra parameters, user information or fragments. 
Only the numeric page is retained and used to rebuild the next request; 
arbitrary server URLs are never followed. Invalid envelopes, identities or 
continuation fail before publishing a prefix.
   
   Network work runs outside checkpoint locks; bounded publication chunks 
advance row state under the output lock. Resource, numeric page/count, row and 
complete-envelope digest retain no key, certificate, URL or raw data. A 
restored partial response must match before suffix publication, including its 
pagination. Object-key reordering is accepted while content/array order or 
continuation changes fail. Committed page/resource transitions avoid replay, 
and terminal restore issues no request. API key/resource order/page-size 
changes are rejected because they alter the scan scope.
   
   Actual validation comprises scoped Java 11 Spotless apply/check, source 
review and static path/hash/deletion/ASF/whitespace/option/Javadoc/registration 
checks. Thirteen engine methods and six packaged modes were authored, with 
three real engine savepoint paths. None ran locally. Compilation, runtime and 
live-account interoperability remain pending GitHub CI, and this initial PR is 
handed off for later CI/comment maintenance. Provider permissions, legacy 
availability and live-list mutation are prerequisites; the bounded scan is not 
a transaction snapshot, v2 implementation or cross-job incremental watermark. 
No merge or production-readiness claim is made.
   


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