diff options
author | Wen Hui <wen.hui.ware@gmail.com> | 2022-09-08 02:37:49 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-08 09:37:49 +0300 |
commit | 5389fa62a64ddb277a58db4b21934d47cd298028 (patch) | |
tree | 03261a55371e6da2167c7639a29081ece9dd0e35 /src/commands | |
parent | e67d06ee6be9c93fe626ad19f11b2d572d58a0ba (diff) | |
download | redis-5389fa62a64ddb277a58db4b21934d47cd298028.tar.gz |
Update group and consumer description in json file for Unifying Stream command format (#11190)
For the stream data type, some commands, such as **XGROUP CREATE, XGROUP DESTROY, XGROUP CREATECONSUMER,
XGROUP DELCONSUMER and XINFO CONSUMERS** use groupname and consumername in the command description;
However, for the commands **XREADGROUP GROUP, XPENDING, XACK , XCLAIM and XAUTOCLAIM** use term "group and consumer", clients could be confused.
This PR goal is to unify all the commands to groupname and consumername.
Diffstat (limited to 'src/commands')
-rw-r--r-- | src/commands/xgroup-create.json | 2 | ||||
-rw-r--r-- | src/commands/xgroup-createconsumer.json | 4 | ||||
-rw-r--r-- | src/commands/xgroup-delconsumer.json | 4 | ||||
-rw-r--r-- | src/commands/xgroup-destroy.json | 2 | ||||
-rw-r--r-- | src/commands/xgroup-setid.json | 2 | ||||
-rw-r--r-- | src/commands/xinfo-consumers.json | 2 |
6 files changed, 8 insertions, 8 deletions
diff --git a/src/commands/xgroup-create.json b/src/commands/xgroup-create.json index 54aceb8f5..f099d90ce 100644 --- a/src/commands/xgroup-create.json +++ b/src/commands/xgroup-create.json @@ -47,7 +47,7 @@ "key_spec_index": 0 }, { - "name": "groupname", + "name": "group", "type": "string" }, { diff --git a/src/commands/xgroup-createconsumer.json b/src/commands/xgroup-createconsumer.json index 30c450e63..c338d4af6 100644 --- a/src/commands/xgroup-createconsumer.json +++ b/src/commands/xgroup-createconsumer.json @@ -41,11 +41,11 @@ "key_spec_index": 0 }, { - "name": "groupname", + "name": "group", "type": "string" }, { - "name": "consumername", + "name": "consumer", "type": "string" } ] diff --git a/src/commands/xgroup-delconsumer.json b/src/commands/xgroup-delconsumer.json index e98c3bbc8..29d62912d 100644 --- a/src/commands/xgroup-delconsumer.json +++ b/src/commands/xgroup-delconsumer.json @@ -40,11 +40,11 @@ "key_spec_index": 0 }, { - "name": "groupname", + "name": "group", "type": "string" }, { - "name": "consumername", + "name": "consumer", "type": "string" } ] diff --git a/src/commands/xgroup-destroy.json b/src/commands/xgroup-destroy.json index 79be27abf..4a78f4c14 100644 --- a/src/commands/xgroup-destroy.json +++ b/src/commands/xgroup-destroy.json @@ -40,7 +40,7 @@ "key_spec_index": 0 }, { - "name": "groupname", + "name": "group", "type": "string" } ] diff --git a/src/commands/xgroup-setid.json b/src/commands/xgroup-setid.json index a065f75fd..e7c41b3ab 100644 --- a/src/commands/xgroup-setid.json +++ b/src/commands/xgroup-setid.json @@ -46,7 +46,7 @@ "key_spec_index": 0 }, { - "name": "groupname", + "name": "group", "type": "string" }, { diff --git a/src/commands/xinfo-consumers.json b/src/commands/xinfo-consumers.json index 634b52887..15fe5e1a2 100644 --- a/src/commands/xinfo-consumers.json +++ b/src/commands/xinfo-consumers.json @@ -43,7 +43,7 @@ "key_spec_index": 0 }, { - "name": "groupname", + "name": "group", "type": "string" } ] |