1

How to read values from the Redis Stream using ServiceStack.Redis Library? For example, you can read all values from Redis List using RedisClient.GetAllItemsFromList method.

user306080
  • 1,409
  • 3
  • 16
  • 37

2 Answers2

2

ServiceStack.Redis doesn't support Streams yet, you can submit a feature request on UserVoice to request it and be notified when it's implemented.

mythz
  • 141,670
  • 29
  • 246
  • 390
2

There is workaround for those who interested:

client.ExecLua("return redis.call('XRANGE', '" + stream_name + "', '-', '+')")
user306080
  • 1,409
  • 3
  • 16
  • 37