Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-7800

Add Redis PSUBSCRIBE and PUNSUBSCRIBE commands

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.13.0
    • Component/s: redis
    • Labels:
      None

      Description

      Similar to SUBSCRIBE and UNSUBSCRIBE, PSUBSCRIBE allows a client to subscribe to a pattern. For example:

      PSUBSCRIBE sal*s
      

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jens.deppe Jens Deppe
                Reporter:
                jens.deppe Jens Deppe
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m