Reference

Queues, events & background jobs

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.

Ordering, replay & retention

Redis Streams docs XTRIM ↗

State the scope of ordering

Redis Streams

Stream IDs order appended entries; multiple group consumers can finish work in a different order. If per-entity effect order matters, enforce it in the application’s partitioning or concurrency policy.

Protocol / decision sketch

Sequence or decision sketch; not executable code.

Redis Streams · State the scope of ordering
Follow appearance
GitHub Light
GitHub Dark
Rosé Pine
Catppuccin Mocha
VS Code Dark+
append order ≠ multi-worker completion order

Separate historical replay from failure retry

Redis Streams

Independent readers or groups can revisit retained stream entries. XACK does not erase history; trimming/deletion can make requested entries unavailable.

Protocol / decision sketch

Sequence or decision sketch; not executable code.

Redis Streams · Separate historical replay from failure retry
Follow appearance
GitHub Light
GitHub Dark
Rosé Pine
Catppuccin Mocha
VS Code Dark+
reader/group position → retained entries
acknowledgement       → group pending bookkeeping

Bound storage without assuming it protects pending work

Redis Streams

Trimming can remove retained payloads independently of consumer progress. Pending bookkeeping is not a promise that the payload will remain readable; set retention from recovery requirements.

Protocol / decision sketch

Sequence or decision sketch; not executable code.

Redis Streams · Bound storage without assuming it protects pending work
Follow appearance
GitHub Light
GitHub Dark
Rosé Pine
Catppuccin Mocha
VS Code Dark+
XTRIM jobs MAXLEN ~ 10000
# Approximate length policy; assess slow/pending readers first.