dotnetcore / EasyCaching

:boom: EasyCaching is an open source caching library that contains basic usages and some advanced usages of caching which can help us to handle caching more easier!
MIT License
1.95k stars 322 forks source link

add reconnect handler and flush in-memory on reconnect #419

Closed sarmis closed 1 year ago

sarmis commented 1 year ago

add a reconnect handler to perform the following tasks when reconnecting to rabbit

When running RabbitMQ behind load balancers (which is a common practice on production systems) a load-balancer failure can trigger a disconnection during which the queue is dropped from rabbit.