<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to stream messages from EventStream to an existing Azure EventHub in Eventstream</title>
    <link>https://community.fabric.microsoft.com/t5/Eventstream/How-to-stream-messages-from-EventStream-to-an-existing-Azure/m-p/3611486#M31</link>
    <description>&lt;P&gt;FWIW, I for now am using an Azure Function for this - trigger on messages from the source Custom App managed EventHub, then relay messages via code to the Azure EventHub. This works fine. There are pros/cons for Azure Functions versus EventGrid - from our friend chatgpt:&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;Azure Event Grid and Azure Functions are both cloud services that enable event-driven computing, but they have different purposes and features. Here are some of the pros and cons of each service:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Azure Event Grid is a&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;serverless event bus&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;that allows you to publish and subscribe to events from various sources, such as Azure services, custom applications, or third-party platforms. It supports advanced routing, filtering, and delivery of events to multiple endpoints, such as Azure Functions, Logic Apps, WebHooks, or Event Hubs. Some of the pros of Azure Event Grid are:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;It provides a&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;scalable and reliable&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;infrastructure for event-driven applications, with guaranteed delivery and 99.99% availability.&lt;/LI&gt;&lt;LI&gt;It enables&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;enterprise integration&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;loose coupling&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;of components, as events can be easily consumed by different services without direct dependencies.&lt;/LI&gt;&lt;LI&gt;It supports&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;advanced routing&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;filtering&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;of events based on various criteria, such as subject, data, or custom logic.&lt;/LI&gt;&lt;LI&gt;It is&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;cost-effective&lt;/STRONG&gt;, as it only charges for the number of events delivered, not the number of events published or the number of subscriptions. Some of the cons of Azure Event Grid are:&lt;/LI&gt;&lt;LI&gt;It has a&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;limited number of events per second&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;(10,000 per topic and 5,000 per subscription) and a&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;limited event size&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;(64 KB).&lt;/LI&gt;&lt;LI&gt;It does not provide any&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;built-in processing&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;or&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;transformation&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;of events, as it only delivers them to the endpoints.&lt;/LI&gt;&lt;LI&gt;It requires&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;additional configuration&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;management&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;of topics, subscriptions, and endpoints, as well as&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;security&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;authentication&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;of the event sources and handlers.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Azure Functions is a&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;serverless compute service&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;that allows you to run code in response to events or triggers, such as HTTP requests, timers, queues, or Event Grid. It supports various languages, such as C#, Java, JavaScript, Python, or PowerShell, and various bindings, such as Blob Storage, Cosmos DB, or SignalR. Some of the pros of Azure Functions are:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;It enables&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;rapid development&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;deployment&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;of event-driven applications, as you only need to write the code and configure the triggers and bindings.&lt;/LI&gt;&lt;LI&gt;It provides&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;flexible and dynamic scaling&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;based on the demand and workload, as well as&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;high availability&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;resiliency&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;of the functions.&lt;/LI&gt;&lt;LI&gt;It supports&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;multiple programming models&lt;/STRONG&gt;, such as imperative, declarative, or durable, as well as&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;multiple hosting options&lt;/STRONG&gt;, such as consumption, premium, or dedicated plans.&lt;/LI&gt;&lt;LI&gt;It is&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;cost-efficient&lt;/STRONG&gt;, as it only charges for the execution time and memory usage of the functions, not the idle time or the number of instances. Some of the cons of Azure Functions are:&lt;/LI&gt;&lt;LI&gt;It has a&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;limited execution time&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;(10 minutes by default, up to 60 minutes on premium or dedicated plans) and a&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;limited memory size&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;(1.5 GB by default, up to 14 GB on premium or dedicated plans).&lt;/LI&gt;&lt;LI&gt;It does not support&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;stateful&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;or&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;long-running&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;functions, as it relies on external storage or services to maintain the state or orchestrate the workflow.&lt;/LI&gt;&lt;LI&gt;It requires&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;additional testing&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;monitoring&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;of the functions, as well as&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;error handling&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;retry logic&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;for the events or triggers.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;In summary, Azure Event Grid and Azure Functions are complementary services that can work together to build event-driven applications. Azure Event Grid is responsible for&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;publishing&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;delivering&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;events, while Azure Functions is responsible for&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;processing&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;reacting&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to events. You can use both services to achieve&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;scalability&lt;/STRONG&gt;,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;reliability&lt;/STRONG&gt;, and&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;cost-effectiveness&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;of your applications. For more information, you can check out these resources:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://tutorialsdojo.com/azure-functions-vs-logic-apps-vs-event-grid/" target="_blank" rel="noopener"&gt;Azure Functions vs Logic Apps vs Event Grid&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://medium.com/microsoftazure/azure-event-grid-the-whole-story-4b7b4ec4ad23" target="_blank" rel="noopener"&gt;Azure Event Grid: The Whole Story&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://sourceforge.net/software/compare/Azure-Event-Grid-vs-Azure-Functions/" target="_blank" rel="noopener"&gt;Azure Event Grid vs. Azure Functions Comparison&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://www.projectpro.io/compare/apache-kafka-vs-azure-event-grid" target="_blank" rel="noopener"&gt;Apache Kafka vs Azure Event Grid&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://www.projectpro.io/compare/azure-event-grid-vs-aws-eventbridge" target="_blank" rel="noopener"&gt;Azure Event Grid vs AWS EventBridge&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 02 Jan 2024 17:01:48 GMT</pubDate>
    <dc:creator>roalexan</dc:creator>
    <dc:date>2024-01-02T17:01:48Z</dc:date>
    <item>
      <title>How to stream messages from EventStream to an existing Azure EventHub</title>
      <link>https://community.fabric.microsoft.com/t5/Eventstream/How-to-stream-messages-from-EventStream-to-an-existing-Azure/m-p/3607571#M29</link>
      <description>&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;Hello all. I'm trying to stream messages from a Fabric EventStream to an &lt;STRONG&gt;existing&lt;/STRONG&gt; Azure EventHub. From what I see &lt;A title="https://learn.microsoft.com/en-us/fabric/real-time-analytics/event-streams/add-manage-eventstream-destinations#supported-destinations" href="https://learn.microsoft.com/en-us/fabric/real-time-analytics/event-streams/add-manage-eventstream-destinations#supported-destinations" target="_blank" rel="noreferrer noopener"&gt;here&lt;/A&gt;, only these four types are supported as EventStream destinations: custom app, KQL database, lakehouse, and reflex. From what I see, custom apps support EventHubs, in the sense that they provide three "protocols":&amp;nbsp;Eventhub, AMQP and Kafka. This would enable callers to make use of the EventHub associated with the custom app.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;What I want to do is different. I want the messages sent to the custom app to be streamed to an &lt;STRONG&gt;existing&lt;/STRONG&gt; Azure EventHub. Our friend GPT 4 suggests creating an Azure EventGrid and using that as a pub sub message distribution service between the EventHub in the custom app and the existing Azure EventHub. Not having used EventGrid before, I wanted to reach out and see if anyone has any opinions on this approach (or it there are better options / best practices). BTW, I suppose another approach is to write my own code (e.g. Azure function) to read from the custom app's EventHub and write messages to the Azure EventHub, but I'm pretty sure I'd be way better off using a more "off the shelf" solution. Will report back on my findings one way or another.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2024 20:59:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Eventstream/How-to-stream-messages-from-EventStream-to-an-existing-Azure/m-p/3607571#M29</guid>
      <dc:creator>roalexan</dc:creator>
      <dc:date>2024-05-20T20:59:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to stream messages from EventStream to an existing Azure EventHub</title>
      <link>https://community.fabric.microsoft.com/t5/Eventstream/How-to-stream-messages-from-EventStream-to-an-existing-Azure/m-p/3610277#M30</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="4430" data-lia-user-login="roalexan" class="lia-mention lia-mention-user"&gt;roalexan&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Thanks for using Fabric Community.&lt;BR /&gt;At this time, we are reaching out to the internal team to get some help on this. &lt;BR /&gt;We will update you once we hear back from them. &lt;BR /&gt;Thanks&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jan 2024 05:52:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Eventstream/How-to-stream-messages-from-EventStream-to-an-existing-Azure/m-p/3610277#M30</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-01-02T05:52:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to stream messages from EventStream to an existing Azure EventHub</title>
      <link>https://community.fabric.microsoft.com/t5/Eventstream/How-to-stream-messages-from-EventStream-to-an-existing-Azure/m-p/3611486#M31</link>
      <description>&lt;P&gt;FWIW, I for now am using an Azure Function for this - trigger on messages from the source Custom App managed EventHub, then relay messages via code to the Azure EventHub. This works fine. There are pros/cons for Azure Functions versus EventGrid - from our friend chatgpt:&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;Azure Event Grid and Azure Functions are both cloud services that enable event-driven computing, but they have different purposes and features. Here are some of the pros and cons of each service:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Azure Event Grid is a&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;serverless event bus&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;that allows you to publish and subscribe to events from various sources, such as Azure services, custom applications, or third-party platforms. It supports advanced routing, filtering, and delivery of events to multiple endpoints, such as Azure Functions, Logic Apps, WebHooks, or Event Hubs. Some of the pros of Azure Event Grid are:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;It provides a&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;scalable and reliable&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;infrastructure for event-driven applications, with guaranteed delivery and 99.99% availability.&lt;/LI&gt;&lt;LI&gt;It enables&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;enterprise integration&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;loose coupling&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;of components, as events can be easily consumed by different services without direct dependencies.&lt;/LI&gt;&lt;LI&gt;It supports&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;advanced routing&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;filtering&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;of events based on various criteria, such as subject, data, or custom logic.&lt;/LI&gt;&lt;LI&gt;It is&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;cost-effective&lt;/STRONG&gt;, as it only charges for the number of events delivered, not the number of events published or the number of subscriptions. Some of the cons of Azure Event Grid are:&lt;/LI&gt;&lt;LI&gt;It has a&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;limited number of events per second&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;(10,000 per topic and 5,000 per subscription) and a&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;limited event size&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;(64 KB).&lt;/LI&gt;&lt;LI&gt;It does not provide any&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;built-in processing&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;or&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;transformation&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;of events, as it only delivers them to the endpoints.&lt;/LI&gt;&lt;LI&gt;It requires&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;additional configuration&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;management&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;of topics, subscriptions, and endpoints, as well as&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;security&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;authentication&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;of the event sources and handlers.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Azure Functions is a&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;serverless compute service&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;that allows you to run code in response to events or triggers, such as HTTP requests, timers, queues, or Event Grid. It supports various languages, such as C#, Java, JavaScript, Python, or PowerShell, and various bindings, such as Blob Storage, Cosmos DB, or SignalR. Some of the pros of Azure Functions are:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;It enables&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;rapid development&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;deployment&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;of event-driven applications, as you only need to write the code and configure the triggers and bindings.&lt;/LI&gt;&lt;LI&gt;It provides&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;flexible and dynamic scaling&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;based on the demand and workload, as well as&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;high availability&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;resiliency&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;of the functions.&lt;/LI&gt;&lt;LI&gt;It supports&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;multiple programming models&lt;/STRONG&gt;, such as imperative, declarative, or durable, as well as&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;multiple hosting options&lt;/STRONG&gt;, such as consumption, premium, or dedicated plans.&lt;/LI&gt;&lt;LI&gt;It is&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;cost-efficient&lt;/STRONG&gt;, as it only charges for the execution time and memory usage of the functions, not the idle time or the number of instances. Some of the cons of Azure Functions are:&lt;/LI&gt;&lt;LI&gt;It has a&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;limited execution time&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;(10 minutes by default, up to 60 minutes on premium or dedicated plans) and a&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;limited memory size&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;(1.5 GB by default, up to 14 GB on premium or dedicated plans).&lt;/LI&gt;&lt;LI&gt;It does not support&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;stateful&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;or&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;long-running&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;functions, as it relies on external storage or services to maintain the state or orchestrate the workflow.&lt;/LI&gt;&lt;LI&gt;It requires&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;additional testing&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;monitoring&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;of the functions, as well as&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;error handling&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;retry logic&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;for the events or triggers.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;In summary, Azure Event Grid and Azure Functions are complementary services that can work together to build event-driven applications. Azure Event Grid is responsible for&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;publishing&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;delivering&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;events, while Azure Functions is responsible for&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;processing&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;and&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;reacting&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to events. You can use both services to achieve&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;scalability&lt;/STRONG&gt;,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;reliability&lt;/STRONG&gt;, and&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;cost-effectiveness&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;of your applications. For more information, you can check out these resources:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://tutorialsdojo.com/azure-functions-vs-logic-apps-vs-event-grid/" target="_blank" rel="noopener"&gt;Azure Functions vs Logic Apps vs Event Grid&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://medium.com/microsoftazure/azure-event-grid-the-whole-story-4b7b4ec4ad23" target="_blank" rel="noopener"&gt;Azure Event Grid: The Whole Story&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://sourceforge.net/software/compare/Azure-Event-Grid-vs-Azure-Functions/" target="_blank" rel="noopener"&gt;Azure Event Grid vs. Azure Functions Comparison&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://www.projectpro.io/compare/apache-kafka-vs-azure-event-grid" target="_blank" rel="noopener"&gt;Apache Kafka vs Azure Event Grid&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://www.projectpro.io/compare/azure-event-grid-vs-aws-eventbridge" target="_blank" rel="noopener"&gt;Azure Event Grid vs AWS EventBridge&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jan 2024 17:01:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Eventstream/How-to-stream-messages-from-EventStream-to-an-existing-Azure/m-p/3611486#M31</guid>
      <dc:creator>roalexan</dc:creator>
      <dc:date>2024-01-02T17:01:48Z</dc:date>
    </item>
  </channel>
</rss>

