XINFO
XINFO subcommand [argument ...]
- Group
- Stream
- Arity
- -2 (at least 2 words, counting the command name)
- Flags
- read-only
- HotKV Cloud
- All plans
- On-Premise
- no license needed
XINFO is a container for the commands that report on a stream and its
consumer groups.
Subcommands
Section titled “Subcommands”| Subcommand | What it does |
|---|---|
| XINFO STREAM | A stream’s length, IDs and first and last entries; with FULL, its entries and groups in detail. |
| XINFO GROUPS | The stream’s consumer groups. |
| XINFO CONSUMERS | The consumers of one group. |
XINFO HELP |
List the subcommands. |
An unknown subcommand replies
ERR unknown subcommand 'name'. Try XINFO HELP. Every subcommand replies
ERR no such key when the stream does not exist.
Examples
Section titled “Examples”127.0.0.1:6379> XINFO GROUPS nosuchstream(error) ERR no such keyCompatibility
Section titled “Compatibility”Same subcommands as Redis 7 and Valkey 8.
See also
Section titled “See also”Was this page helpful?
Thanks for the feedback.