Affects Version/s: 2.1.11 (Lovelace SR11), 2.2 GA (Moore)
Connection to Redis are never closed after doFinally call, which leads to a big number of active connections. I'm not sure it's a desired behavior.
I'm creating a reactive Flux SSE with listenToChannel methods. When the doFinally is called, the redis connection still active and channel is still active too.
It means that if I have a micro network cut, I still have all the reconnection, although the fluxes are over.
I made this sample project to demonstrate :
Just run the project and make some
And CTRL+C after one heartbeat.
If you then put a debug on the App.java:30, you'll see that the redisclient still have all the pub sub connections actives and the channels too.
If you then make some docker stop / start on the redis container, you'll see that every connection are reconnecting
Connections should be closed when the flux are over ?