feat: add support of node_redis 5
Legendary
Probably I miss something, that I must accomplish for this PR be merged? I will be most gratefull if someone points at those things.
yea, this seems to work perfectly. Be nice if the maintainer would merge this or otherwise provide some direction. TIA
Hi, sorry for the delay.
Unfortunately, I don't think this works with a Redis cluster, as we need isolated pools (commandOptions({ isolated: true }) in v4, client.createPool() in v5), so that client.xread() does not block client.xadd() operations.
References:
- https://github.com/redis/node-redis/blob/master/docs/pool.md
- https://github.com/redis/node-redis/blob/master/docs/clustering.md
Possibly related: https://github.com/redis/node-redis/issues/2928