Azure EventHubs Processor recommendation

Macháček Martin 201 Reputation points

I have Azure Event Hubs and on my local machine, I'm using NuGet Azure.Messaging.EventHubs.Processor for processing events.

Is it possible to use Azure.Messaging.EventHubs.Processor in production or is it recommended to use Azure Functions and Event Hub Trigger for processing events?

I'm not sure what kind of Azure Service is most suitable for hosting Azure.Messaging.EventHubs.Processor.

Azure Event Hubs
Azure Event Hubs
An Azure real-time data ingestion service.
570 questions
{count} votes

Accepted answer
  1. AnnuKumari-MSFT 31,726 Reputation points Microsoft Employee

    Hi @Macháček Martin ,

    Thankyou for posting your query on Microsoft Q&A platform .

    Whether or not to use Azure.Messaging.EventHubs.Processor or Azure Functions with Event Hub Trigger depends on your specific use case and requirements.

    Azure Functions with Event Hub Trigger is a serverless compute service that automatically scales based on the number of events being processed. It is a good choice if you need to process a large number of events and want to minimize the operational overhead of managing the infrastructure.

    On the other hand, Azure.Messaging.EventHubs.Processor is a library that you can use in any .NET application, including those running on-premises or in a cloud-hosted VM. It provides more control over the processing of events and can be customized to meet specific requirements.

    In terms of hosting Azure.Messaging.EventHubs.Processor, you can host it in any .NET application, including console applications, Windows services, or web applications. You can also host it in a cloud-hosted VM or container. The choice of hosting environment depends on your specific requirements, such as scalability, availability, and cost.

    In summary, both Azure.Messaging.EventHubs.Processor and Azure Functions with Event Hub Trigger are suitable for processing events from Azure Event Hubs in production environments. The choice depends on your specific use case and requirements.

    Hope it helps. Kindly accept the answer by clicking on Accept answer button. Thankyou

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful