Can Azure Event Hub process messages on a multithread mode?

Joe White 116 Reputation points

I've used this code suggested by Microsoft and I would expect to be creating Tasks in parallel but it seems to be processing in line
is there a way I could process multiple messages in parallel and control the amount of parallel instances/threads?

Azure Event Hubs
Azure Event Hubs
An Azure real-time data ingestion service.
581 questions
0 comments No comments
{count} votes

Accepted answer
  1. PRADEEPCHEEKATLA-MSFT 83,306 Reputation points Microsoft Employee

    Hello @Joe White ,

    Thanks for the question and using MS Q&A platform.

    The key to scale for Event Hubs is the idea of partitioned consumers. In contrast to the competing consumers pattern, the partitioned consumer pattern enables high scale by removing the contention bottleneck and facilitating end to end parallelism.

    For more details, refer to the below articles:

    Hope this helps. Do let us know if you any further queries.


    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

0 additional answers

Sort by: Most helpful