summaryrefslogtreecommitdiffstats
path: root/iredis/data/commands/xgroup-createconsumer.md
diff options
context:
space:
mode:
Diffstat (limited to 'iredis/data/commands/xgroup-createconsumer.md')
-rw-r--r--iredis/data/commands/xgroup-createconsumer.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/iredis/data/commands/xgroup-createconsumer.md b/iredis/data/commands/xgroup-createconsumer.md
new file mode 100644
index 0000000..17274a5
--- /dev/null
+++ b/iredis/data/commands/xgroup-createconsumer.md
@@ -0,0 +1,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) \ No newline at end of file