diff --git a/libs/resources/RespCommandsDocs.json b/libs/resources/RespCommandsDocs.json index b57c74dab4..307965a1fe 100644 --- a/libs/resources/RespCommandsDocs.json +++ b/libs/resources/RespCommandsDocs.json @@ -5853,6 +5853,27 @@ } ] }, + { + "Command": "SPUBLISH", + "Name": "SPUBLISH", + "Summary": "Posts a message to a shard channel.", + "Group": "PubSub", + "Complexity": "O(N) where N is the number of clients subscribed to the receiving shard channel.", + "Arguments": [ + { + "TypeDiscriminator": "RespCommandBasicArgument", + "Name": "SHARDCHANNEL", + "DisplayText": "shardchannel", + "Type": "String" + }, + { + "TypeDiscriminator": "RespCommandBasicArgument", + "Name": "MESSAGE", + "DisplayText": "message", + "Type": "String" + } + ] + }, { "Command": "STRLEN", "Name": "STRLEN", @@ -5885,6 +5906,22 @@ } ] }, + { + "Command": "SSUBSCRIBE", + "Name": "SSUBSCRIBE", + "Summary": "Listens for messages published to shard channels.", + "Group": "PubSub", + "Complexity": "O(N) where N is the number of shard channels to subscribe to.", + "Arguments": [ + { + "TypeDiscriminator": "RespCommandBasicArgument", + "Name": "shardchannel", + "DisplayText": "channel", + "Type": "String", + "ArgumentFlags": "Multiple" + } + ] + }, { "Command": "SUBSTR", "Name": "SUBSTR",