Jens Deppe created GEODE-7800:
---------------------------------

             Summary: Add Redis PSUBSCRIBE and PUNSUBSCRIBE commands
                 Key: GEODE-7800
                 URL: https://issues.apache.org/jira/browse/GEODE-7800
             Project: Geode
          Issue Type: Improvement
          Components: redis
            Reporter: Jens Deppe


Similar to {{SUBSCRIBE}} and {{UNSUBSCRIBE}}, {{PSUBSCRIBE}} allows a client to 
subscribe to a pattern. For example:
{noformat}
PSUBSCRIBE sal*s
{noformat}

The subscription pattern is in the form of a glob supporting {{*}}, {{?}} and 
ranges. https://redis.io/commands/psubscribe

Pattern subscriptions must be unsubscribed verbatim. i.e., the above 
subscription would not be unsubscribed using the pattern {{s*}}, but must be 
unsubscribed using the complete subscribed pattern, namely {{sal*s}}.

When clients subscribe to overlapping patterns (or channels) they will receive 
a message for every matched subscription. Matches for a single client are not 
conflated.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to