Event routing, filtering, and system Events

Develop Azure Event-based and Message-based Solutions

Fiodar Sazanavets

Senior Software Engineer and Microsoft MVP

MQTT overview

  • Message Queuing Telemetry Transport (MQTT).

  • Used in Internet of Things (IoT) setups.

  • Multiple devices, such as weather stations, send data continuously.

  • Measurements include temperature and humidity.

  • MQTT enables communication between devices and a server.

  • Designed for low-bandwidth networks.

  • Supports high-latency or unreliable connections.

  • Common for sensors in outdoor or remote locations.

 

Event driven architecture

  • Common for sensors in outdoor or remote locations.
Develop Azure Event-based and Message-based Solutions

Event filtering

Event filtering

Develop Azure Event-based and Message-based Solutions

Event filtering in Event Grid

  • Event Grid has filtering capabilities.
  • Can filter events on:
    • Subject.
    • Event type.
    • Properties in event data.
  • Advanced filtering refines the results.
    • Greater than.
    • Contains.

Event grid filtering

Develop Azure Event-based and Message-based Solutions

Event routing

Event routing

  • Event Grid uses publish-subscribe model.
  • Publishers publish events to topics.
  • Subscriptions define destinations.
    • Data processing pipeline.
    • Azure Function.
    • A storage system.
  • Required for MQTT.
Develop Azure Event-based and Message-based Solutions

System events

  • Pre-defined events emitted by Azure services.
    • Azure storage emits blob created and blob deleted.
    • IoT hub lifecycle events: connected, disconnected.
  • System topics created automatically.

Develop Azure Event-based and Message-based Solutions

Event grid is key in filtering events

  • MQTT helps IoT telemetry reach the cloud.
  • Filtering controls which events are processed.
  • System events integrate with the system.

Lesson recap

Develop Azure Event-based and Message-based Solutions

Let's practice!

Develop Azure Event-based and Message-based Solutions

Preparing Video For Download...