Reactive Architecture with Azure Event Grid
Reactive, event-driven architecture
Deep dive into Azure Event Grid
βTake a ride on the gridβ demo series
π Why Event Thinking Matters
Enterprises should embrace βevent thinkingβ as part of their digital strategy.
By 2020, event-sourced, real-time situational awareness will be required for 80% of digital business solutions, and 80% of new business ecosystems will require event processing. β Gartner Top 10 Strategic Technology Trends (2018)
Events Tell a Story
Change is captured in an event
A series of events captures behaviour
Event streams capture patterns
Together, they tell the narrative of the system
β‘ What Is a Reactive Architecture?
A system design approach focused on:
- Responsiveness
- Resilience
- Elasticity
- Message-driven communication
More at: https://www.reactivemanifesto.org
π¬ Messages vs Commands vs Events Command
- Has intent
- 1-to-1 from producer β consumer
- Request-based
Example: CreateCustomer
Event
- No intent β purely a notification
- 1-to-many subscribers
- Fact-based
Example: CustomerCreated
βοΈ Azure Messaging Services Overview
Azure provides a broad messaging ecosystem including:
- Service Bus
- Event Hubs
- Event Grid
- Storage Queues
Serverless and Integration Services
π· What Is Azure Event Grid?
Azure Event Grid is a cloud-native, fully managed event routing service for building event-driven and microservice-oriented systems without heavy plumbing.
π― What Is Event Grid For?
- Serverless apps
- Ops automation
- Third-party integrations
Azure Integration Services
π Event Grid vs Service Bus vs Event Hub
A quick framing:
- Event Grid β reactive notifications (push model, lightweight)
- Service Bus β commands, workflow coordination, reliable messaging
- Event Hub β large event ingestion, telemetry, streaming
π£ Why a Push Model?
Event Grid pushes events to subscribers as they occur, supporting system-wide reactivity.
Example system events:
- Microsoft.Storage.BlobCreated
- Microsoft.ServiceBus.ActiveMessagesAvailableWithNoListeners
π§© Event Schemas
- Event Grid Native Schema
- Standard structure used by Azure Event Grid.
- CloudEvents Schema
An industry-standard, cloud-agnostic event schema.
Resources:
CNCF Serverless Working Group
GitHub: https://github.com/cloudevents/spec
.NET SDK: https://github.com/aliencube/CloudEvents.NET
βοΈ Triggers
Event Grid can trigger:
- Azure Functions
- Logic Apps
- Automation workflows
- Webhooks
- Custom subscribers
π Security
Event Grid supports:
- Managed identities
- Key authentication
- IP filtering
- Private endpoints
- Event domain-level access controls
π Event Grid β Daily Metrics
- Native monitoring includes:
- Delivery attempts
- Latency
- Subscriber response codes
- Dead-letter events
ποΈ Event Domains
Allows multi-tenant event routing at scale, ideal for large distributed platforms.
Excluded 6 demos done on day :(
π§ͺ Demo Highlights Demo 1
Ride the grid: event publishing and subscriptions.
Demo 2
Live event monitoring π https://eventsmonitoring2019.azurewebsites.net/
Demo 3
_Microsoft Flow integration. _ Demo 4
Dumb insurance claim management flow
Example pattern:
_Inbound API request β publish event _ Event subscriber β execute command
Event publisher β emit result event
Multiple subscribers react
ποΈ Claim Entity Event Flow Example
For each Claim:
Claim has a Status
Business process flows trigger on status changes
Status updates broadcast events
Microservices react and write back updates
BPF rules trigger again from field updates
Reactive loops power distributed workflows.
Thanks & remember ‘#PushDontPull’
π Images