|
1 | 1 | ---
|
2 |
| -title: Reacting to Azure App Configuration key-value events | Microsoft Docs |
| 2 | +title: Reacting to Azure App Configuration key-value events |
3 | 3 | description: Use Azure Event Grid to subscribe to App Configuration events.
|
4 | 4 | services: azure-app-configuration,event-grid
|
5 | 5 | author: jimmyca
|
6 | 6 |
|
7 | 7 | ms.author: jimmyca
|
8 |
| -ms.date: 05/30/2019 |
| 8 | +ms.date: 02/20/2020 |
9 | 9 | ms.topic: article
|
10 | 10 | ms.service: azure-app-configuration
|
11 | 11 |
|
12 | 12 | ---
|
13 | 13 |
|
14 | 14 | # Reacting to Azure App Configuration events
|
15 | 15 |
|
16 |
| -Azure App Configuration events enable applications to react to changes in key-values. This is done without the need for complicated code or expensive and inefficient polling services. Instead, events are pushed through [Azure Event Grid](https://azure.microsoft.com/services/event-grid/) to subscribers such as [Azure Functions](https://azure.microsoft.com/services/functions/), [Azure Logic Apps](https://azure.microsoft.com/services/logic-apps/), or even to your own custom http listener, and you only pay for what you use. |
| 16 | +Azure App Configuration events enable applications to react to changes in key-values. This is done without the need for complicated code or expensive and inefficient polling services. Instead, events are pushed through [Azure Event Grid](https://azure.microsoft.com/services/event-grid/) to subscribers such as [Azure Functions](https://azure.microsoft.com/services/functions/), [Azure Logic Apps](https://azure.microsoft.com/services/logic-apps/), or even to your own custom http listener. Critically, you only pay for what you use. |
17 | 17 |
|
18 | 18 | Azure App Configuration events are sent to the Azure Event Grid which provides reliable delivery services to your applications through rich retry policies and dead-letter delivery. To learn more, see [Event Grid message delivery and retry](https://docs.microsoft.com/azure/event-grid/delivery-and-retry).
|
19 | 19 |
|
@@ -70,11 +70,12 @@ Here is an example of a KeyValueModified event:
|
70 | 70 | For more information, see [Azure App Configuration events schema](../event-grid/event-schema-app-configuration.md).
|
71 | 71 |
|
72 | 72 | ## Practices for consuming events
|
73 |
| -Applications that handle App Configuration events should follow a few recommended practices: |
| 73 | +Applications that handle App Configuration events should follow these recommended practices: |
74 | 74 | > [!div class="checklist"]
|
75 |
| -> * As multiple subscriptions can be configured to route events to the same event handler, it is important not to assume events are from a particular source, but to check the topic of the message to ensure that it comes from the App Configuration you are expecting. |
76 |
| -> * Similarly, check that the eventType is one you are prepared to process, and do not assume that all events you receive will be the types you expect. |
77 |
| -> * As messages can arrive out of order and after some delay, use the etag fields to understand if your information about objects is still up-to-date. Also, use the sequencer fields to understand the order of events on any particular object. |
| 75 | +> * Multiple subscriptions can be configured to route events to the same event handler, so do not assume events are from a particular source. Instead, check the topic of the message to ensure the App Configuration instance sending the event. |
| 76 | +> * Check the eventType and do not assume that all events you receive will be the types you expect. |
| 77 | +> * Use the etag fields to understand if your information about objects is still up-to-date. |
| 78 | +> * Use the sequencer fields to understand the order of events on any particular object. |
78 | 79 | > * Use the subject field to access the key-value that was modified.
|
79 | 80 |
|
80 | 81 |
|
|
0 commit comments