HangfireIO / Hangfire.Azure.ServiceBusQueue

ServiceBus Queue support for SQL Server job storage implementation
MIT License
58 stars 33 forks source link

Jobs get lost if the service bus is unavailable, dashboard page fails to load. #22

Open yorfmeister69 opened 2 years ago

yorfmeister69 commented 2 years ago

Currently, the BackgroundJob scheduler throws a "BackgroundJobClientException" , if the service bus is unavailable during the time in which the job was enqueued. Also the dashboard page fails to load too, if the service bus is unreachable.

This is a big issue and it decreases the reliability of Hangfire itself.

We cannot afford to lose critical jobs just because the gateway service was down.

How about maybe implementing an outbox to temporary hold the jobs in a local cache until the service bus is back online again.