scala-redis icon indicating copy to clipboard operation
scala-redis copied to clipboard

Add support for Redis Streams

Open gkorland opened this issue 6 years ago • 5 comments

Add support for XADD / XREAD / XRANGE / XREVRANGE / XLEN ... operations

gkorland avatar Jul 05 '18 14:07 gkorland

Thanks for reporting. I assigned this to myself and will work on it .. may be it will take some time to push into my already full calendar ..

debasishg avatar Jul 21 '18 18:07 debasishg

Hi , @debasishg Do you work it now? I'd like to implement this and started to do it.

https://github.com/masahitojp/scala-redis/tree/support-redis-stream Could you please assign this issue to me if you do not mind?

Thanks!

masahitojp avatar Jan 22 '19 15:01 masahitojp

FYI. I tried to continue this for our own projects that are now based on Redis Streams. I found it not trivial to make a simple yet generic implementation. The responses from various Stream command have potentially a high variability. The response parsing functions are therefore not so straightforward.

We've resorted to custom parsers ATM to workaround this.

nguyenvietyen avatar Sep 05 '19 11:09 nguyenvietyen

Just wondering what the status of this additional feature will be? Does anyone have a basic implementation of this as a workaround for now?

codeninja55 avatar Mar 01 '20 04:03 codeninja55

@masahitojp Thanks for your effort .. I am too pre-occupied with other stuff to start working on this. It would be wonderful to have a PR though .. and apologies for the late response ..

debasishg avatar Mar 01 '20 09:03 debasishg