Can we subscribe an email ID or Cell number as sub

2019-08-23 05:24发布

In my python application, if any bad/good event happens, I want to send the event details as notification message to user's email addresses or phone #s that have been subscribed to this application. So I am looking for publisher-subscriber model azure cloud

Looks like multiple Azure services achieving similar goal but having a thin line of differences. Event hubs and notification hubs seems promising. So my question is as follows:

Can email ID/phone # be subscribed to Azure event hub and receive the message being sent/produced to Azure event hub?

If not event hub, what is the correct option? Can I achieve it with Service bus or Notification hub?

In AWS, there is a service called SNS (Simple Notification Service) where one can subscribe email/phone number and opt for receiving event messages about that application. I am looking for equivalent to that in Azure.

2条回答
萌系小妹纸
2楼-- · 2019-08-23 05:42

You can achieve this by using Azure Application Insights. With this, you will be able to monitor your application and receive alerts during application unavailabillity, failures or even during performance issue.

Check this https://docs.microsoft.com/en-us/azure/application-insights/app-insights-tutorial-alert

查看更多
何必那么认真
3楼-- · 2019-08-23 05:49

You can use the Azure Logic Apps / Azure Functions with Event Hubs to achieve this easily.

Using logic apps you can do like simple as below image.

enter image description here

Logic Apps has many in-build connectors for most all Azure Services, you can use Event-hubs,Service bus,SQL etc.,

You can find all the list of available connectors here


Update 1

Once you connected the Event-Hubs to send an Email connector, you will automatically get all the available source data from event-hubs to email task. See below

enter image description here

查看更多
登录 后发表回答