Currently we have a legacy system (.net framework library) where a message is queued in service bus queue. There is windows service, which has multiple message handlers (custom classes for processing a message). We have a logic to split the message from queue into these message handlers. Ratio of split is 90% and 10% into these message handlers.
We are planning to migrate this legacy system into azure function/durable function, where we could have a queue trigger to process a message. We could have multiple azure functions, one for each message handler in legacy system. Challenge we face is how do we handle splitting of messages into these azure function?
For e.g.: Azure-Function-1 should take 90% of the queue message, Azure-Function-2 should take 10% of the queue message.
My question is does azure has out-of-the-box solution for handling messages in such a scenario? Is there any other better solution than Azure functions/durable functions?