summaryrefslogtreecommitdiffstats
path: root/iredis/data/commands/xgroup-createconsumer.md
blob: 17274a5eab8dea63074039bad2e4701e96cbd3a2 (plain)
1
2
3
4
5
6
7
Create a consumer named `<consumername>` in the consumer group `<groupname>` of the stream that's stored at `<key>`.

Consumers are also created automatically whenever an operation, such as `XREADGROUP`, references a consumer that doesn't exist.

@return

@integer-reply: the number of created consumers (0 or 1)