Skip to content
masterclass Buddy

Redis · Concept

Stream

Redis Streams provide an append-only event log. Producers use XADD, consumer groups use XREADGROUP, consumers use XACK, and XAUTOCLAIM recovers idle pending entries.

Last updated

Syntax

XADD key [MAXLEN ~ count] * field value [field value ...]
XREADGROUP GROUP group consumer STREAMS key >
XACK key group id [id ...]
XAUTOCLAIM key group consumer min-idle-time start [COUNT count]
XRANGE key start end [COUNT count]

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • XADD
  • XREADGROUP
  • XACK
  • XAUTOCLAIM
  • XRANGE
  • XPENDING
  • XINFO STREAM
  • XINFO GROUPS

Source: Redis streaming with StackExchange.Redis. Checked 2026-11-03.