Skip to content

Add MKSTREAM support [DATAREDIS-1042] #1615

Closed
@spring-projects-issues

Description

@spring-projects-issues

Kevin McLaughlin opened DATAREDIS-1042 and commented

 

Add support for MKSTREAM option to createGroup operations (XGROUP) in ReactiveStreamOperations.

Right now you can't create a consumer group unless the stream already exists.  You get:

 

ERR The XGROUP subcommand requires the key to exist. Note that for CREATE you may want to use the MKSTREAM option to create an empty stream automatically

 

Use case:  Subscribe to a stream before it actually exists (but, most likely will be created very shortly by the 'publishing' service).

 

References:

redis/lettuce#898

https://github.com/antirez/redis/issues/4824

 

 

 


Referenced from: pull request #527

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions