DanielLeens opened a new pull request, #13514:
URL: https://github.com/apache/seatunnel/pull/13514

   ### Purpose of this pull request
   
   Yes, this contributes to Apache SeaTunnel. Adds the missing Slack Source 
direction inside the existing `connector-slack` artifact, related to #10753 
(Slack Source slice; this PR does not close that umbrella issue).
   
   ### Does this PR introduce _any_ user-facing change?
   
   Yes. Compared with `dev` at `ee0fb0d72f67edbcd6caf08360fd354fa68e002f`, 
users can read bounded `conversations.history` for explicit channel IDs into an 
eight-column string schema. Message timestamp digits, Unicode and missing 
optional fields are preserved. The request window is frozen and checkpointed; 
short/empty cursor pages continue, and malformed/non-progressing responses fail 
explicitly.
   
   The reader keeps one owned HTTP request worker and returns periodically to 
the engine while network/backoff is pending, so normal stop-with-savepoint can 
reach close. Only the polling thread emits rows and advances 
cursor/channel/window progress, under the collector/state locks. Close/cancel 
abort requests and shut down owned resources. Finite retry, deadline, page and 
response-byte limits prevent silent truncation or unbounded requests; 
diagnostics exclude response bodies and credentials.
   
   This is bounded conversation message history, not Events API streaming or 
complete Slack API stream coverage. Token scopes, conversation membership, 
retention and cursor expiry affect visibility. Pages after a restored 
checkpoint may replay; downstream idempotence is required. Existing Slack Sink 
behavior, configuration and artifact ownership are unchanged. English and 
Chinese source documentation describes the exact contract.
   
   The existing HTTP E2E module gains only a test-scope dependency on the 
existing Slack artifact. No new production artifact or third-party version is 
declared. Its existing transitive dependencies enter that test classpath, so 
the complete HTTP suite must remain covered by CI. Distribution and plugin 
installation already include `connector-slack`; only the missing source mapping 
and CI selection are added.
   
   ### How was this patch tested?
   
   Runtime validation is **pending**. The requested workflow prohibits local 
compilation, unit/integration/E2E, Docker, services and jobs; only scoped 
formatting/static inspection is permitted locally. Exact-head GitHub CI is 
required before acceptance. This draft is not a passed build, runtime 
certification or merge-readiness claim.
   
   Added focused real-HTTP reader tests and API-contract E2E executing real 
engine jobs against a deterministic HTTP fixture into PostgreSQL. Assertions 
cover exact rows/raw JSON, timestamp precision, Unicode/nulls, multi-channel 
short/empty pagination, same-cursor 429 Retry-After, authentication/API 
failures, malformed/repeated/cyclic cursors, retry/page/response limits, 
redirects, stalled and slow-response deadlines, cancellation, and Zeta 
checkpoint/savepoint/restore with the original job stopping before fixture 
release. Fixtures are not live Slack account certification. No existing test is 
skipped or weakened.
   
   Scoped formatting passed for both changed Maven modules using `./mvnw -nsu 
-Dmaven.gitcommitid.skip=true -f <module>/pom.xml spotless:apply` 
(connector-slack and connector-http-e2e). `git diff --check` and static Python 
AST/XML/YAML/hash checks passed. An independent scoped re-review found all 
three initial findings addressed and no new Critical, Important or Minor 
findings. These are formatting/static results only.
   
   GitHub CI results for this PR head will be recorded after the workflows run. 
Runtime acceptance remains pending.
   
   ### Check list
   
   * [x] Existing production artifact/dependency versions retained; no new 
third-party binary package.
   * [x] English and Chinese source documentation added.
   * [x] Existing public APIs/options/sink behavior retained; no 
incompatible-change migration required for this additive source.
   * [x] Source plugin mapping, CI scope and E2E added. 
`seatunnel-dist/pom.xml` and `config/plugin_config` already include the 
existing Slack artifact and do not need duplicate entries.
   * [ ] Exact-head GitHub CI runtime verification complete.
   


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