debasishg / scala-redis

A scala library for connecting to a redis server, or a cluster of redis nodes using consistent hashing on the client side.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Update: Missing stream commands XINFO, XADD, XTRIM, XDEL, XRANGE, XREVRANGE, XLEN, XREAD, XGROUP, XREADGROUP. XACK, XCLAIM, XAUTOCLAIM, XPENDING

zizzle6717 opened this issue · comments

I think the implementation of many of these methods would be fairly straightforward. I was able to easily extend RedisClient and add them myself, but the issue is using those methods with RedisClientPool which is not so simple. Adding these methods would make them available when using a pool.

I will gladly open a PR if there is no reason not to add these commands. Thank you!

Others include BZPOPMIN, BZPOPMAX...

and for streams...

XINFO, XADD, XTRIM, XDEL, XRANGE, XREVRANGE, XLEN, XREAD, XGROUP, XREADGROUP. XACK, XCLAIM, XAUTOCLAIM, XPENDING https://redis.io/commands#stream

Here is a PR to add the missing sorted set commands, #273

Hi @zizzle6717 - should we close this issue ? Does the PR handle all parts of the issue ?

@debasishg I have updated the title, because the PR only added sorted set commands (ZPOPMIN, ZPOPMAX, ETC.)...We are still missing the stream commands