You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Jens Deppe (Jira)" <ji...@apache.org> on 2020/02/14 13:51:00 UTC
[jira] [Created] (GEODE-7800) Add Redis PSUBSCRIBE and PUNSUBSCRIBE
commands
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)