Automate a recoverable processing run
An hourly price import runs from an EventBridge schedule.
Automate a recoverable processing run
An hourly price import runs from an EventBridge schedule. Capture the scheduled interval separately from the wall clock so late retries read the same input. Carry the interval, source revision and attempt through the workflow. Use SDK pagination when listing inputs and record the precise job run ID when polling a managed transform.
Decisions to rehearse
- EventBridge Scheduler
- A recurring time expression invokes the target for each scheduled interval.
- SDK paginator
- Paginated list responses require subsequent requests to enumerate every matching resource.
- Execution history
- The attempt's input, transitions and failing step identify the repair boundary.
- Athena SQL
- Ad hoc SQL over cataloged lake files can verify a prepared dataset without provisioning a cluster.
Practise each AWS skill
These references use the skill numbers in the AWS guide.
- 3.1.1 · Draw a scheduled state machine and an Airflow backfill; identify which best supports the operational recovery contract.
- 3.1.2 · Isolate the first failed state or DAG task, inspect its exact inputs and verify which outputs already committed.
- 3.1.3 · Use the SDK's paginator to enumerate a large prefix; verify the last page and avoid repeating committed writes.
- 3.1.4 · Choose Glue, EMR or Redshift for a transform based on existing compute, data location and language requirements.
- 3.1.5 · Handle a breaking API version and rate-limited pagination while keeping the consumer's persisted contract stable.
- 3.1.6 · Profile raw input in DataBrew or Unified Studio before committing a recipe that changes types and removes rows.
- 3.1.7 · Query one expected partition with Athena to distinguish an inaccessible file from genuinely empty output.
- 3.1.8 · Use Lambda for a bounded event action and define its timeout, retry ceiling and deduplication key.
- 3.1.9 · Schedule a run or trigger on an arrival based on the real dependency and record the logical processing interval.
Official skills for this topic
Work through the decision
An operator wants to rerun yesterday's failed region. The workflow currently constructs its prefix from the wall clock. What should be captured before attempting recovery?
Check your reasoning
Capture the original input interval, region and source revision and pass them explicitly. Inspect the failed state and its side effects, then rerun the incomplete work using the original input.
Related recording chapters: 2:06:39.
Related lesson in Fabric Data Engineer Associate · Diagnose the first failing Fabric item.
Automate a recoverable processing run quiz
Answer 3 questions. Check each answer for an explanation.