BotNetwork

Poison message handling

detect repeated failures and park payloads in DLQ with redaction

Guide1 min readUpdated

Why it matters

Detect repeated failures and park payloads in DLQ with redaction.

Practical steps

  1. Define SLIs for misc queue poison (success rate, latency, backlog depth) before coding retries.
  2. Implement detect repeated failures and park payloads in DLQ with redaction with bounded retries, jitter, and a dead-letter path.
  3. Protect dependencies with timeouts and bulkheads so misc queue poison cannot cascade.
  4. Load-test a staging replica enough to see queue growth under misc queue poison.
  5. Document alert thresholds and playbooks for misc queue poison.

Watch out for

  • Copy-pasting outdated snippets for misc queue poison without re-reading current official docs.
  • Shipping misc queue poison to production without a staging rehearsal and a documented rollback.

Related comparisons and tools