kevy

XAUTOCLAIM

Scan and claim idle pending entries starting from a cursor.

SyntaxXAUTOCLAIM key group consumer min-idle-time start [COUNT count] [JUSTID]
Groupstream
Arity-6
Since1.0.0
Flagswrite
ComplexityO(log P + K + COUNT log N); the idle filter runs before the take, so a PEL of fresh entries is walked in full
Redis compatibilitydiffers: the next-cursor is last-claimed+1 rather than 0-0 when the PEL scan completes, so a client looping until 0-0 needs one extra round trip

← All commands