Skip to content

Instantly share code, notes, and snippets.

@antirez
Last active November 20, 2018 02:52
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save antirez/4e7049ce4fce4aa61bf0cfbc3672e64d to your computer and use it in GitHub Desktop.
Save antirez/4e7049ce4fce4aa61bf0cfbc3672e64d to your computer and use it in GitHub Desktop.
Consumer groups final API
  • XGROUP CREATE <key> <groupname> <id or $>
  • XGROUP SETID <key> <id or $>
  • XGROUP DELGROUP <key> <groupname>
  • XGROUP DELCONSUMER <key> <consumername>
  • XPENDING <key> [<start> <stop>]
  • XCLAIM <key> <group-name> <consumer-name> <min-idle-time> <ID-1> <ID-2> ...
  • XACK <key> <ID-1> <ID-2> ...
  • XREAD-GROUP (wrapper for XREAD that accepts GROUP and CONSUMER options)
  • XINFO <key> [CONSUMERS <groupname>|GROUPS|STREAM|...]. STREAM is the default
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment