Přeskočit na obsah
_CORE
Cloud Pokročilý

Azure Event Grid — Event-Driven architektura

AzureEvent GridEventsPub/Sub
5 min čtení

Event Grid topics, subscriptions, filtering, dead-lettering a CloudEvents.

Koncepty

  • Sources — Azure services nebo custom topics
  • Subscriptions — filtrování + routing na handlery
  • Handlers — Functions, Logic Apps, webhooks, Service Bus

Custom Topic

az eventgrid topic create --name my-events -g myRG -l westeurope
az eventgrid event-subscription create \
  --name handler --source-resource-id "/subscriptions/.../topics/my-events" \
  --endpoint "https://my-func.azurewebsites.net/api/handle" \
  --advanced-filter data.amount NumberGreaterThan 100

CloudEvents

Preferujte CloudEvents schema — CNCF standard, portabilní mezi providery.

Shrnutí

Event Grid = lepidlo event-driven architektury na Azure. Low latency, at-least-once delivery.

Potřebujete pomoct s implementací?

Náš tým má zkušenosti s návrhem a implementací moderních architektur. Rádi vám pomůžeme.

Nezávazná konzultace