Every job gets an id and a state machine: queued, running, retry, published. Deduplicate by job id before writing a publication record.

Source: [Dev.to](https://dev.to/devnote2319/idempotent-publishing-jobs-3ry8c-4ea9)

Sponsored