Using server-sent events (SSE), you can look into using Azure API Management. Follow the guidelines for configuring an API in API Management that implements SSE. SSE is based on the HTML5 EventSource standard for streaming (pushing) data automatically to a client over HTTP after a client has established a connection. Another option is using Azure SignalR Service leverages events which allows applications to react to client connections connected or disconnected using modern serverless architectures. You can also use Azure Relay hybrid connections as event handlers for Azure Event Grid. To learn more about using Azure Event Grid and Azure CLI to publish a topic, and subscribe to that event, see the tutorial on routing custom events to Azure Relay Hybrid Connections with Azure CLI and Event Grid.
Best configuration to host an SSE listener in Azure to listen for external messages?
Jeff Humphry
20
Reputation points
I am looking to build and SSE listener to listen for messages from an external vendor's system. I would like to host this process in an Azure resource. What would be the best way to set that up? Is there an Azure resource that does this function specifically? Would like to avoid running a service on a VM instance. I feel like Web Jobs or Functions might not be the best architecture as these are functions that are triggered by and event; an SSE listener just runs continuously (for the most part).
Accepted answer
-
Ryan Hill 29,291 Reputation points Microsoft Employee
2023-04-05T03:55:35.6233333+00:00