Exercise 4: Event-Driven Automation
In the next exercise, you will leverage event subscriptions. You’ll become familiar with the event structure by observing it on your consumer application in the next section. The following schema will help you understand the event processing solution you have provisioned:
Figure 12.9: Resource group change processing with Event Grid
During the demo script execution, you connect the Event Hubs instance provisioned previously. The name of this Event Hubs instance can be picked from the previous script output. You also need to run the consumer console application, subscriber.exe
, from the previous example for the Event Hubs SDK. The application should be already connected to the Event Hubs instance, and you just need to start the console application. No changes or code updates are required for Event Hubs and console applications.
In this exercise, be aware of the one-minute delay in delivering the event to the...