A message shape is a contract with every consumer that exists and every consumer that is mid-deploy. Adding an optional field is safe because an old consumer ignores…
An event listener marked as queued, doing 20 seconds of PDF generation, and failing in a way that made the original event look like the problem. A queued…
Publishing to a broker inside a database transaction is two systems and one commit, which cannot be made atomic. The index on (published_at, id) with nulls first is…
Every broker worth using delivers at least once, and every consumer that does not say how it handles that is claiming something it has not checked. Writing the…
Some operations are safe to repeat by construction, and recognising them saves a table and a transaction. Setting a value is safe and adjusting one is not, which…