davidzollo opened a new issue, #11040:
URL: https://github.com/apache/seatunnel/issues/11040

   ## Background
   `PostgreSQL-CDC` can currently run as a continuous CDC source, but there is 
no dedicated startup mode for "snapshot only" jobs that should exit after the 
snapshot phase.
   
   Users who want a one-time bootstrap from PostgreSQL must currently rely on 
workarounds instead of a clear source-level mode.
   
   ## Proposed change
   Add a snapshot-only startup mode to `PostgreSQL-CDC`.
   
   ## Expected behavior
   - The source reads snapshot data for configured tables.
   - No WAL consumption continues after snapshot completion.
   - The job finishes successfully after the snapshot phase.
   
   ## Acceptance criteria
   - `PostgreSQL-CDC` accepts a snapshot-only startup mode.
   - Snapshot-only mode works with the incremental snapshot path that SeaTunnel 
already exposes.
   - End-of-job behavior is deterministic and documented.
   - English and Chinese docs are updated.
   - Add at least one focused validation path.
   
   ## Out of scope
   - Committed-offset startup.
   - Dynamic newly-added table discovery.
   - Broader CDC runtime refactors.
   


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