0

Recently we have been moved to Azure Service Bus from RabitMQ, from there we were getting many complaints about duplicate reminders/reports from customer.

Cause: As defer message is getting duplicated on restart app/component, due to that it is sending multiple times.

Why was working with RabitMQ? It was working because in initialization of bus it can be used configurer.Timeouts(x => x.StoreInMemory()) this feature, but with Azure Service Bus it can't be. On every restart defer (schedule list) will get cleared as it is stored in memory and with Azure Service Bus t gets persistence due to that it is increased request on every restart.

So, what is best way to handle it?

Is it possible to clear defer message on startup or is it possible to use Timeouts (in memory) feature with Azure Service Bus?

0 Answers0