jhthorsen / mojo-redis

Non-blocking Redis driver using Mojo::IOLoop
https://metacpan.org/pod/Mojo::Redis
14 stars 11 forks source link

Implement new stream commands in Redis 5.0.0 #45

Open jhthorsen opened 5 years ago

jhthorsen commented 5 years ago

There's some new stream commands that are not implemented:

$ CHECK_METHOD_COVERAGE=1 TEST_ONLINE=redis://localhost/8 prove -vl t/method-coverage.t
...
not ok 179 - not implemented: xack (xack)
not ok 181 - not implemented: xclaim (xclaim)
not ok 182 - not implemented: xdel (xdel)
not ok 183 - not implemented: xgroup (xgroup)
not ok 184 - not implemented: xinfo (xinfo)
not ok 191 - not implemented: xtrim (xtrim)

These methods should be added to Mojo::Redis::Database. Adding them to @BASIC_COMMANDS could be enough, but I'm not sure. Doing so and running the test again will generate documentation though, so it might be a good place to start.