Oracle Integration Cloud: Building Integrations That Survive Production · Module 9 · Idempotency and duplicate prevention
Idempotency across a whole file
Lesson 99 of 175 · 2 min
File-level and record-level are DIFFERENT GUARANTEES, and knowing which you have is what decides whether a mid-file restart is safe. FILE-LEVEL idempotency says "this file will not be processed twice". The move-first pattern from the scheduling module gives you it: the file leaves inbound when claimed, so a second run cannot pick it up. RECORD-LEVEL says "this record will not be created twice". A correlation key and a constraint, per Lessons 3 and 4. FILE-LEVEL ALONE FAILS ON A MID-FILE RESTART, and that is the gap. A run that dies at record 200 of 400 has committed 199. The file is in the processing directory, which correctly says "started, unfinished" — and a rerun of that file reprocesses all 400. Without record-level protection, 199 duplicates. RECORD-LEVEL ALONE IS WASTEFUL BUT SAFE: the file is processed twice, 199 records are recognised and skipped, 201 are created. Correct outcome, twice the work,…
The full lesson is part of the course
The video, the complete written lesson and the module quiz are included in Oracle Integration Cloud: Building Integrations That Survive Production, with a certificate on completion and a fourteen-day refund window.
In this module: Module 9 · Idempotency and duplicate prevention
- 1Why every integration is retriedFree preview
- 2What idempotency means here
- 3Choosing a correlation key
- 4Where to enforce it
- 5When the target has no natural key
- 6Timeouts: the ambiguous outcome
- 7Idempotency across a whole file
- 8What breaks: three duplicate scenarios
- 9Lab briefing · Make a payment flow safe to retry
