kvrocks
kvrocks copied to clipboard
Hope Kvrocks can support full commands of the stream data type
Search before asking
- [X] I had searched in the issues and found no similar issues.
Motivation
Same as the title
Solution
No response
Are you willing to submit a PR?
- [ ] I'm willing to submit a PR!
@jcy1001 I would like to help you with your question/request/issue. But unfortunately, I don't know the language and Google Translate said I hope to increase the stream function of redis and realize the simple mq function
which I didn't fully understand.
hi, redis has stream function in t_stream.c , redis7.0 has xgroupCreate like command , but our project not implemented, i only find xadd xdel xinfo ..in cmd_stream.cc, thanks ~
this is our project
REDIS_REGISTER_COMMANDS(MakeCmdAttr<CommandXAdd>("xadd", -5, "write", 1, 1, 1), MakeCmdAttr<CommandXDel>("xdel", -3, "write", 1, 1, 1), MakeCmdAttr<CommandXLen>("xlen", -2, "read-only", 1, 1, 1), MakeCmdAttr<CommandXInfo>("xinfo", -2, "read-only", 0, 0, 0), MakeCmdAttr<CommandXRange>("xrange", -4, "read-only", 1, 1, 1), MakeCmdAttr<CommandXRevRange>("xrevrange", -2, "read-only", 1, 1, 1), MakeCmdAttr<CommandXRead>("xread", -4, "read-only", 0, 0, 0), MakeCmdAttr<CommandXTrim>("xtrim", -4, "write", 1, 1, 1), MakeCmdAttr<CommandXSetId>("xsetid", -3, "write", 1, 1, 1))
this is redis XACK XADD XCLAIM XDEL XGROUP XINFO XLEN XPENDING XRANGE XREAD XREADGROUP XREVRANGE XTRIM
We are implementing features to be compatible with Redis 7.0, it may need some time. I can drive this task when i'm free.
@jcy1001 Yes, you are right, currently, consumer groups aren't implemented in Kvrocks.