Originally published on the Neblex Blog .
Every integration can move a record from A to B. The difference shows up the morning after something broke overnight.
A payout file with half a million rows failed at row 480,000 because the ERP rate-limited the connection at two in the morning. Now someone has to decide: rerun the whole job and hope the first 480,000 rows are safe to write twice, or hand-pick the tail and load it by hand.
Both options cost a day. The first one also risks doubled journal entries, which is a far worse problem than a late one.
What resuming from the failed step requires
Resuming from the failed step sounds like a feature toggle. It's closer to an architecture decision, and it has three parts.
Checkpoints inside the run. Bulk steps process records in chunks and record where each chunk ended. A restart reads the last checkpoint and continues from there, so the 480,000 rows that already landed stay untouched.
An event-sourced run history.…