Session Aware Azure Service Bus Binding for Azure Functions

2020-04-08

All articles from this blog can ONLY be redistributed on an Attribution-NonCommercial-NoDerivs basis. Please credit the source, thank you.
Twitter:@kelvinshen
Blog:Kelvin Shen's Blog

The Pain Point

Data integration layer comes in many shapes and forms. Sometimes the data you are integrating is transactional in nature. In that scenario, the order of each data operation is important.

That is the reason why Azure Service Bus has a session aware feature. Unfortunately, Azure Functions don’t support Azure Service Bus sessions since its creation.

The Solution

The solution is provided by the Azure Functions Service Bus Extension. The extension only supports .Net Core. It means you will have to build on top of Azure Function v2. Once you ticked all boxes above, all you need to do is to decorate your Azure Function with the IsSessionsEnabled attribute.

Reference

Leave a Reply

comments powered by Disqus


Table of Content