Skip to content

Poison Message

Medium — good to knowBackend

ELI5 — The Vibe Check

A poison message is a message that crashes your consumer every time it tries to process it. Bad data, missing fields, infinite loops — whatever the reason, it blocks everything behind it and gets retried forever. It's the rotten apple that spoils the whole queue.

Real Talk

A poison message (poison pill) is a message in a queue that consistently fails processing, potentially blocking other messages. Without handling, it creates an infinite retry loop. Mitigation strategies include max retry counts, dead letter queues, message TTLs, and circuit breakers. Identifying poison messages requires logging failed message content and error details.

When You'll Hear This

"A poison message with malformed JSON was blocking the entire payment queue." / "Set max retries to 3 so poison messages go to the DLQ instead of blocking forever."

Made with passive-aggressive love by manoga.digital. Powered by Claude.