Open
Description
Problem
I have been following this guide for implementing asynchronous message listeners for Redis streams. The listeners work as expected at first. However, if a temporary connection timeout occurs towards Redis (e.g. Redis becomes unavailable), the listeners stop consuming messages indefinitely (even though Redis is available).
How to reproduce
- Create a message listener using this guide (with a
StreamMessageListenerContainer
). - Publish an event (to make sure the message is successfully received).
- Restart the Redis instance (to simulate a connection timeout)
- Publish an event (should not be received)