[ 
https://issues.apache.org/jira/browse/GEODE-9203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Owen Nichols closed GEODE-9203.
-------------------------------

> Implement NUMSUB Subcommand
> ---------------------------
>
>                 Key: GEODE-9203
>                 URL: https://issues.apache.org/jira/browse/GEODE-9203
>             Project: Geode
>          Issue Type: Sub-task
>          Components: redis
>            Reporter: Wayne
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.15.0
>
>
> Implement the 
> [NUMSUB|https://redis.io/commands/pubsub#codepubsub-numsub-channel-1--channel-ncode]
>  subcommand.
>  
> +Acceptance Criteria+
> The NUMSUB subcommand has been implemented along with unit tests to assert 
> that the subcommand correctly returns the number of subscribers (not counting 
> clients subscribed to patterns) for the specified channels.
> h5. Return value
> [Array reply|https://redis.io/topics/protocol#array-reply]: a list of 
> channels and number of subscribers for every channel. The format is channel, 
> count, channel, count, ..., so the list is flat. The order in which the 
> channels are listed is the same as the order of the channels specified in the 
> command call.
> Note that it is valid to call this command without channels. In this case it 
> will just return an empty list.
>  



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to