Set up Event Grid to react to Blob Creation
Cipher Coffee wants to automate downstream actions whenever new files are added to Blob Storage. You will configure Azure Event Grid to emit a notification on each blob creation and route it to a Storage Queue for processing. You will create a destination queue, subscribe the Storage account to the Blob Created event, upload a test blob, and verify that an event message appears in the queue.
Cet exercice fait partie du cours
Develop for Azure Storage
Instructions
In your Storage account, navigate to Data storage, then select Queues and create a queue named "blob-events".,Go to Events and create a new Event Subscription named "blob-created-to-queue" with System Topic Name "storage-events-topic" that routes Blob Created events to the "blob-events" queue using Storage Queues as the endpoint type.,Create an "images" container in Containers and upload any test file to trigger the event.,Return to the "blob-events" queue and use Peek messages to confirm the event notification was delivered.


Exercice interactif pratique
Passez de la théorie à la pratique avec l’un de nos exercices interactifs
Commencer l’exercice