Summary
Implement the logic to read the last successful watermark from a dedicated ingestion_watermark table and write the new watermark after a successful batch.
Details
- A new table,
ingestion_watermark, will be needed to store the timestamp or ID of the last processed record.
- The ETL must read from this table at the start of a run and update it at the end.
Acceptance Criteria
Dependencies
IGDB ETL – Config & OAuth Token Retrieval
Out of Scope
- The actual data fetching based on the watermark.
Test Plan
- Write an integration test that connects to a test database, seeds a watermark value, and verifies that the ETL reads it and then updates it correctly.
Checklist
Summary
Implement the logic to read the last successful watermark from a dedicated
ingestion_watermarktable and write the new watermark after a successful batch.Details
ingestion_watermark, will be needed to store the timestamp or ID of the last processed record.Acceptance Criteria
Dependencies
IGDB ETL – Config & OAuth Token RetrievalOut of Scope
Test Plan
Checklist