- a created subscription to RMS/AMS Event Grid topic. Learn more here.
This sample demonstrates one way to use Event Grid with Storage Queue subscriptions. Please note that this is not the only possible approach for using Event Grid with RMS.
A Service Bus subscription is incompatible with this application.
Note
WARNING! The start of the application will consume all messages from the specified queue. So use it only for your non-production environment as a Proof of concept.
It is required to set 2 variables:
AzureWebJobsStorage
- it should contain your storage connection stringJobMonitoringQueueName
- it should contain your storage queue name
dotnet run
If you want to monitor a specific job, you need to specify arguments:
dotnet run <transform name> <job name>
The runtime listens for messages in the Storage Queue and prints them:
Press any key to stop the application. Be aware that all messages from your queue will disappear.