XGROUP

Since 1.1.0Streams

Syntax

XGROUP
  • Flags: write
  • ACL categories: @slow, @stream, @write
  • Arity: -2

Creates and manages consumer groups: named readers of a stream that share its entries among their consumers, and track what each consumer has been given and not yet acknowledged. See its subcommands.

Subcommands

  • XGROUP CREATE: Creates the consumer group group on the stream at key, which will deliver entries after id: 0 for every entry, $ for only those added from now on.
  • XGROUP CREATECONSUMER: Creates the consumer consumer in the group.
  • XGROUP DELCONSUMER: Deletes the consumer consumer from the group, with its pending entries: they are no longer pending for anyone.
  • XGROUP DESTROY: Deletes the group, its consumers and its pending entries.
  • XGROUP HELP: Lists the XGROUP subcommands and what each does.
  • XGROUP SETID: Sets the ID the group delivers after: 0 to deliver every entry again, $ to skip to the end.