You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A Redis list is initialized with 3 messages '1', '2' and '3'.
A main function iterates forever on a redis receiver.
After each received message the goroutine sleeps for 30 seconds.
I would expect that after pulling a single message ('1') - two message will remain on the redis list, but instead - only the last message remains while the second message was already pulled by the redis.makeSubscriber function, and waits in the internal channel instead of in the redis list itself.
This functionality prevents from other machines pulling the message while the first is sleeping.
Is there any way to fix it?
Thanks!
The text was updated successfully, but these errors were encountered:
I have this use case:
I would expect that after pulling a single message ('1') - two message will remain on the redis list, but instead - only the last message remains while the second message was already pulled by the
redis.makeSubscriber
function, and waits in the internal channel instead of in the redis list itself.This functionality prevents from other machines pulling the message while the first is sleeping.
Is there any way to fix it?
Thanks!
The text was updated successfully, but these errors were encountered: