Skip to content

Event subscription to System events with Azure Event Grid.

License

Notifications You must be signed in to change notification settings

epomatti/azure-eventgrid

Repository files navigation

Azure Event Grid

Subscribing to Azure system events with Event Grid.

Create the resource:

terraform init
terraform apply -auto-approve

As per Microsoft recent recommendations, implemented using CloudEvent schema.

To force trigger the topic, upload a blob file:

az storage blob upload \
    --account-name <storage-account> \
    --container-name blobs \
    --name blob.txt \
    --file blob.txt \
    --auth-mode login

A message will be pushed to the Service Bus queue.

Event Grid topic subscriptions allows for more advanced controls, such as:

  • Filters (Subject and Advanced)
  • Dead-lettering
  • Retry policies
  • Expiration time
  • Delivery headers

Releases

No releases published

Packages

No packages published

Languages