Welcome to Microsoft Q&A Platform!
Thanks for reaching out your query on Service bus triggered azure function behaviour.
When multiple messages (like 1,000) are sent to your Azure Service Bus topic, the Azure Function will process them concurrently, but it will depend on your configuration. Since you're using an App Service Plan, it won't scale automatically like a Consumption Plan. However, if you have set up scaling, the function can scale horizontally to process the messages in parallel across multiple instances. Otherwise, the function will process them one by one in batches.
If you’d like to optimize performance, you can adjust settings such as batchSize and maxConcurrentCalls in the host.json file. This controls how many messages are processed at once and ensures efficient handling of the load.
For more details, you can refer to the official documentation:
Azure Service Bus bindings for Azure Functions
Hope this helps. Do let us know if you any further queries.
If this answers your query, do click Accept Answer
and Yes
for was this answer helpful. And, if you have any further query do let us know.