A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://learn.microsoft.com/en-us/azure/event-grid/kubernetes/event-handlers below:

Azure Event Grid on Kubernetes - event handlers and destinations - Azure Event Grid

An event handler is any system that exposes an endpoint and is the destination for events sent by Event Grid. An event handler receiving an event acts upon it and uses the event payload to execute some logic, which might lead to the occurrence of new events.

The way to configure Event Grid to send events to a destination is through the creation of an event subscription. It can be done through Azure CLI, management SDK, or using direct HTTPS calls using the 2020-10-15-preview API version.

In general, Event Grid on Kubernetes can send events to any destination via Webhooks. Webhooks are HTTP(s) endpoints exposed by a service or workload to which Event Grid has access. The webhook can be a workload hosted in the same cluster, in the same network space, on the cloud, on-premises or anywhere that Event Grid can reach.

Important

Event Grid on Kubernetes with Azure Arc is currently in public preview. This preview version is provided without a service level agreement, and it's not recommended for production workloads. Certain features might not be supported or might have constrained capabilities. For more information, see Supplemental Terms of Use for Microsoft Azure Previews.

Through Webhooks, Event Grid supports the following destinations hosted on a Kubernetes cluster:

In addition to Webhooks, Event Grid on Kubernetes can send events to the following destinations hosted on Azure:

Feature parity

Event Grid on Kubernetes offers a good level of feature parity with Azure Event Grid's support for event subscriptions. The following list enumerates the main differences in event subscription functionality. Apart from those differences, you can use Azure Event Grid's REST api version 2020-10-15-preview as a reference when managing event subscriptions on Event Grid on Kubernetes.

  1. Use REST api version 2020-10-15-preview.
  2. Azure Event Grid trigger for Azure Functions isn't supported. You can use a WebHook destination type to deliver events to Azure Functions.
  3. There's no dead letter location support. That means that you can't use properties.deadLetterDestination in your event subscription payload.
  4. Azure Relay's Hybrid Connections as a destination isn't supported yet.
  5. Only CloudEvents schema is supported. The supported schema value is "CloudEventSchemaV1_0". Cloud Events schema is extensible and based on open standards.
  6. Labels (properties.labels) aren't applicable to Event Grid on Kubernetes. Hence, they aren't available.
  7. Delivery with resource identity isn't supported. So, all properties for Event Subscription Identity aren't supported.
  8. Destination endpoint validation isn't supported yet.
Event filtering in event subscriptions

The other important aspect of configuring an event subscription is selecting the events that are meant to be delivered to a destination. For more information, see Event Filtering.

Sample destination configurations

Following are some basic sample configurations depending on the intended destination.

WebHook

To publish to a WebHook endpoint, set the endpointType to WebHook and provide:

Azure Event Grid

To publish to an Azure Event Grid cloud endpoint, set the endpointType to WebHook and provide:

Event Hubs

To publish to an Event Hubs, set the endpointType to eventHub and provide:

Service Bus queues

To publish to a Service Bus queue, set the endpointType to serviceBusQueue and provide:

Service Bus topics

To publish to a Service Bus topic, set the endpointType to serviceBusTopic and provide:

Storage Queues

To publish to a Storage Queue, set the endpointType to storageQueue and provide:

Next steps

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4