Compare delivery, acknowledgement, replay and failure boundaries in Redis Streams, RabbitMQ and Kafka.
Scope and conventions
Redis Streams (Redis 6.2+ for XAUTOCLAIM), RabbitMQ AMQP 0-9-1 queues (quorum-specific behavior is named), and Kafka 4.4 standard consumer groups. These are related purposes, not interchangeable delivery guarantees. Text blocks describe protocol/configuration or application decisions, not invented SDK APIs. CLI examples require your own brokers and their installed tools.
A delivered, unacknowledged entry remains pending. Reclaiming requires a recovery worker and idle-time policy; XAUTOCLAIM transfers ownership but cannot stop an old process from continuing an external effect.
Protocol / decision sketch
Sequence or decision sketch; not executable code.
Redis Streams · Recover deliveries after a worker crash
A pending entry is not a general delayed-job scheduler. Track attempts and next eligibility in application state; reclaim after an intentional idle threshold and stop retrying according to policy.
Protocol / decision sketch
Sequence or decision sketch; not executable code.
Redis Streams · Use bounded retries and an explicit delay mechanism
Follow appearance
✓GitHub Light
GitHub Dark
Rosé Pine
Catppuccin Mocha
VS Code Dark+
attempt budget + eligibility time + idempotent handler→ retry or quarantine
Streams have no automatic universal dead-letter queue. Write a quarantine record with cause and event identity, define the reliability of that handoff, then decide when to acknowledge the source entry.
Protocol / decision sketch
Sequence or decision sketch; not executable code.
Redis Streams · Make poison-message handling an owned workflow
Follow appearance
✓GitHub Light
GitHub Dark
Rosé Pine
Catppuccin Mocha
VS Code Dark+
failed event → owned quarantine stream/storerecord cause + attempts + source ID → repair/replay policy
A connection can fail after XADD succeeded but before the reply reaches the client. Retrying can append another entry; use application event identity and a defined deduplication strategy.
Protocol / decision sketch
Sequence or decision sketch; not executable code.
Redis Streams · Treat a publication timeout as an ambiguous outcome
Follow appearance
✓GitHub Light
GitHub Dark
Rosé Pine
Catppuccin Mocha
VS Code Dark+
append committed → reply lost → caller sees timeout
Claiming a pending entry changes Redis bookkeeping. The former worker can still be running; protect external state with idempotency or a suitable fencing/version policy when stale work could be harmful.
Protocol / decision sketch
Sequence or decision sketch; not executable code.
Redis Streams · Do not confuse transferred ownership with stopped execution
Follow appearance
✓GitHub Light
GitHub Dark
Rosé Pine
Catppuccin Mocha
VS Code Dark+
XAUTOCLAIM transfer ≠ forced termination of old handler