redis / ioredis

🚀 A robust, performance-focused, and full-featured Redis client for Node.js.
MIT License
14.38k stars 1.2k forks source link

ioredis support for streaming interface from redis #1462

Open RichardWright opened 2 years ago

RichardWright commented 2 years ago

Does io-redis support this library? I'd like to stream data from redis.

https://www.npmjs.com/package/redis-rstream

Rossb0b commented 2 years ago

@RichardWright Doesn't seems to be a real good choice of library (unactive, unused..). You can totally work with redis-streams (https://redis.io/topics/streams-intro) with ioredis. I am doing so & for what I know, there isn't good abstraction around redis-streams in Node.js ecosystem. Maybe I'll put something in public later.

Uzlopak commented 2 years ago

https://github.com/luin/ioredis/pull/1376

RichardWright commented 2 years ago

@Rossb0b Sorry I never replied, but I'm not talking about redis streams, but a nodejs stream (aka https://nodejs.org/api/stream.html)

RichardWright commented 2 years ago

@Uzlopak what I'm looking for is a way to stream the contents of a get command using these (https://nodejs.org/api/stream.html).

karankraina commented 3 weeks ago

This seems like a nice thing to have in the lib. I can pick this up