How to combine the grouping aspect of Sessions with Batch receiving messages in an Azure Function

Othello Clemens 0 Reputation points
2024-02-28T09:06:48.07+00:00

I have a use case where incoming servicebus messages need to be grouped by sessionId (the ordered processing is not really needed), where a function instance can receive a batch of messages of a session at the same time by using ServiceBusReceivedMessage[]. This can work but by doing so the concurrency of the sessions gets lost. User's image

Is there another feature that can provide the grouping aspect and has the concurrency that sessions can give me?

Azure Service Bus
Azure Service Bus
An Azure service that provides cloud messaging as a service and hybrid integration.
548 questions
Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,299 questions
{count} votes