kevy

XAUTOCLAIM

Scan and claim idle pending entries starting from a cursor.

语法XAUTOCLAIM key group consumer min-idle-time start [COUNT count] [JUSTID]
分组stream
参数个数-6
起始版本1.0.0
标志write
复杂度O(log P + K + COUNT log N); the idle filter runs before the take, so a PEL of fresh entries is walked in full
Redis 兼容性differs: 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

← 全部命令