client.xrevrange('TEST_STREAM','count 1',function (err,Data) {
if (err) {
return console.error(err);
} else
console.log("Data from stream is:",Data);
});
I'm trying to read the data from Redis stream and this line is giving me this error:
ERROR:" ReplyError: ERR wrong number of arguments for 'xrevrange' command"
I need help regarding this error or if there is another way to read data from Redis stream do let me know.