XINFO
Introspect a stream, its groups, or its consumers.
XINFO STREAM key | GROUPS key | CONSUMERS key group | HELP
Complexity
STREAM: O(1). GROUPS: O(G*N) — 'lag' is a linear walk of every entry, once per group. CONSUMERS: O(C)
Complexity and compatibility are read out of kevy's implementation, not copied from Redis's reference. Several genuinely differ.
Redis compatibility
Differs
STREAM / GROUPS / CONSUMERS / HELP only — XINFO STREAM FULL is absent; radix-tree-keys and nodes are synthetic (we have no radix tree), entries-read is approximated, and CONSUMERS omits 'inactive'
See also
XACKXADDXAUTOCLAIMXCLAIMXDELXGROUPXLENXPENDINGXRANGEXREADXREADGROUPXREVRANGEXSETIDXTRIM