skip to Main Content

Redis Stream I need Event Driven Architecture,

When any new message received in the stream, on that time OnMessageReceived event should trigger. public event EventHandler<MqMessageReceivedEventArgs> OnMessageReceived; var result = await redisDatabase.StreamRangeAsync(StreamName, "-", "+", 1, Order.Ascending); protected virtual void OnMessageReceivedEvent(MqMessageReceivedEventArgs e) { OnMessageReceived?.Invoke(this, e); }

VIEW QUESTION

Redis Stream NOMKSTREAM

What is this NOMKSTREAM in redis stream? I went through the documentation. Too bad they do not even provide simple description about it. https://redis.io/commands/xadd Can someone please explain?

VIEW QUESTION

Why i get (nil) when read redis stream

In my stream I have 1 pending message: redis[7]> XREADGROUP GROUP symfony consumer COUNT 1 STREAMS messages 0 1) 1) "messages" 2) 1) 1) "1592850947048-0" 2) (nil) redis[7]> XPENDING messages symfony 1) (integer) 1 2) "1592850947048-0" 3) "1592850947048-0" 4) 1)…

VIEW QUESTION
Back To Top
Search