FoundatioFx / Foundatio.AzureServiceBus

Foundatio Azure ServiceBus
Apache License 2.0
19 stars 15 forks source link

ServiceBus FIFO guarantee #7

Closed kolipka closed 4 years ago

kolipka commented 5 years ago

as stated in docs: https://docs.microsoft.com/en-us/azure/service-bus-messaging/message-sessions To realize a FIFO guarantee in Service Bus, use Sessions

Similar problem with FIFO guarantee apply to Storage Queue Messages in Storage queues are typically first-in-first-out, but sometimes they can be out of order; for example, when a message's visibility timeout duration expires (for example, as a result of a client application crashing during processing)

Are there any plans to support Sessions in Foundatio?

niemyjski commented 5 years ago

We'd be willing to accept a pr for this. We could add an option for this and support both current and ordered messages.