kevy4.0

XGROUP

Manage stream consumer groups.

XGROUP CREATE key group id|$ [MKSTREAM] | DESTROY key group | SETID key group id|$ | CREATECONSUMER key group consumer | DELCONSUMER key group consumer
Group
Stream
Since
1.0.0
Arity
at least 2
Flags
write

Complexity

CREATE / DESTROY: O(1) plus an O(N*F) reweigh. SETID / CREATECONSUMER: O(1). DELCONSUMER: O(P)

Complexity and compatibility are read out of kevy's implementation, not copied from Redis's reference. Several genuinely differ.

Redis compatibility

Differs

CREATE / SETID / DESTROY / CREATECONSUMER / DELCONSUMER / MKSTREAM are supported, but on a missing key the non-CREATE subcommands return 0 or NOGROUP instead of Redis's error, and XGROUP HELP is absent

See also

XACKXADDXAUTOCLAIMXCLAIMXDELXINFOXLENXPENDINGXRANGEXREADXREADGROUPXREVRANGEXSETIDXTRIM

← All commands