XINFOIntrospect a stream, its groups, or its consumers.
| 構文 | XINFO STREAM key [FULL [COUNT count]] | GROUPS key | CONSUMERS key group | HELP |
| グループ | stream |
| 引数の数 | -2 |
| 導入バージョン | 1.0.0 |
| フラグ | readonly |
| 計算量 | STREAM: O(log N). GROUPS: O(G log N + G log G) — 'lag' reads the stream's head once per group, and the groups are sorted by name. CONSUMERS: O(C log C), sorted by name. STREAM FULL: O(K + G * (P log C + C log C)) for K entries shown and P pending entries per group |
| Redis 互換性 | differs: answers field for field as valkey 9.1 does; against Redis 8.10, XINFO STREAM lacks the six idmp-* / pids-* / iids-* fields of an XADD option kevy does not have, radix-tree-keys and radix-tree-nodes are the nodes and tree nodes valkey's layout would hold for the same history (kevy keeps no radix tree), and where the two disagree on 'lag' and 'entries-read' — an ENTRIESREAD above entries-added, a group before the first entry with a deletion behind it — kevy answers as valkey does |