aboutsummaryrefslogtreecommitdiff
path: root/examples/redis-unstable/src/commands/xgroup-delconsumer.json
diff options
context:
space:
mode:
Diffstat (limited to 'examples/redis-unstable/src/commands/xgroup-delconsumer.json')
-rw-r--r--examples/redis-unstable/src/commands/xgroup-delconsumer.json57
1 files changed, 57 insertions, 0 deletions
diff --git a/examples/redis-unstable/src/commands/xgroup-delconsumer.json b/examples/redis-unstable/src/commands/xgroup-delconsumer.json
new file mode 100644
index 0000000..12244f8
--- /dev/null
+++ b/examples/redis-unstable/src/commands/xgroup-delconsumer.json
@@ -0,0 +1,57 @@
1{
2 "DELCONSUMER": {
3 "summary": "Deletes a consumer from a consumer group.",
4 "complexity": "O(1)",
5 "group": "stream",
6 "since": "5.0.0",
7 "arity": 5,
8 "container": "XGROUP",
9 "function": "xgroupCommand",
10 "command_flags": [
11 "WRITE"
12 ],
13 "acl_categories": [
14 "STREAM"
15 ],
16 "key_specs": [
17 {
18 "flags": [
19 "RW",
20 "DELETE"
21 ],
22 "begin_search": {
23 "index": {
24 "pos": 2
25 }
26 },
27 "find_keys": {
28 "range": {
29 "lastkey": 0,
30 "step": 1,
31 "limit": 0
32 }
33 }
34 }
35 ],
36 "arguments": [
37 {
38 "name": "key",
39 "type": "key",
40 "key_spec_index": 0
41 },
42 {
43 "name": "group",
44 "type": "string"
45 },
46 {
47 "name": "consumer",
48 "type": "string"
49 }
50 ],
51 "reply_schema": {
52 "description": "The number of pending messages that were yet associated with such a consumer",
53 "type": "integer",
54 "minimum": 0
55 }
56 }
57}