event hub vs event grid topics in ADF

arkiboys 9,706 Reputation points
2023-04-01T08:18:12.9233333+00:00

hello,
in my ADF pipelines I use eventgrid topic to send a notification to logic app...

Now I am learning about event hubs, azure functions.

Questions:

1- what is the benefit of using event hubs in ADF as opposed to event grid topic?

2- when using event hubs, should there be azure functions as well to go with it?

thank you

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
11,623 questions
0 comments No comments
{count} votes

Accepted answer
  1. Konstantinos Passadis 19,586 Reputation points MVP
    2023-04-01T09:12:47.2166667+00:00

    Hello @arkiboys

    1.The main benefit of using Event Hubs in Azure Data Factory (ADF) over Event Grid topics is that Event Hubs provides a high-throughput, low-latency data streaming service that is designed for event-driven architectures. Event Hubs can handle millions of events per second, making it suitable for high-volume data ingestion scenarios, while Event Grid is better suited for low-volume event processing scenarios. Additionally, Event Hubs provides more advanced features such as data partitioning and data retention policies, which can help you better manage and scale your event processing workloads.

    2.When using Event Hubs in ADF, you do not necessarily need to use Azure Functions as well. However, Azure Functions can be used to process the data streams generated by Event Hubs and perform more advanced data processing tasks such as data transformation, enrichment, and aggregation. Azure Functions can be triggered by Event Hubs, which allows you to create serverless event-driven architectures that can automatically scale based on the volume of incoming data. By combining Event Hubs with Azure Functions, you can build highly scalable and flexible data processing pipelines that can handle large volumes of streaming data in real-time.

    Kindly mark the answer as accepted in case you found it hlepful!

    BR

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.