Step-by-step answer
Stretch 60–90 min6 stepsAn idempotent consumer against a local queue
The lesson's search-results consumer on the Vercel Queues Python SDK (vercel-queue 0.10.0), run in-process against the SDK's embedded queue service with a manual clock. Publish keys drop a re-posted webhook, a SQLite primary key drops a redelivered message, RetryAfter backs off a transient failure, and the handler itself records poison messages, because the embedded service's max_attempts never stops RetryAfter and silently drops a message that keeps raising.
Back to the exercise