|
1 | 1 | --- |
2 | | -title: Deleted Azure Event Hub is Automatically Recreated by Diagnostic Settings |
3 | | -description: Resolve issues with an Azure Event Hub that is automatically recreated by diagnostic settings after being deleted. |
4 | | -ms.date: 03/14/2025 |
| 2 | +title: Deleted Event Hub Is Automatically Re-created by Diagnostic Settings |
| 3 | +description: Resolves issues with an Azure event hub that is automatically re-created by diagnostic settings after being deleted. |
| 4 | +ms.date: 03/19/2025 |
5 | 5 | ms.reviewer: jfanjoy, v-weizhu |
6 | 6 | ms.service: azure-monitor |
7 | 7 | ms.custom: sap:Issues with configuring diagnostic settings |
8 | 8 | --- |
9 | | -# Deleted Azure Event Hub is automatically recreated by diagnostic settings |
| 9 | +# Deleted Azure event hub is automatically re-created by diagnostic settings |
10 | 10 |
|
11 | | -This article provides a solution to an issue where a deleted Azure Event Hub is automatically recreated by Azure diagnostic settings or their configuration cache. |
| 11 | +This article provides a solution to an issue where a deleted Azure event hub is automatically re-created by Azure diagnostic settings or their configuration cache. |
12 | 12 |
|
13 | 13 | ## Symptoms |
14 | 14 |
|
15 | 15 | You might see the following symptoms: |
16 | 16 |
|
17 | | -- When you delete an Event Hub from an Event Hub namespace, the Event Hub is recreated automatically by the data flowing into it through diagnostic settings. |
18 | | -- After you delete an Event Hub and all diagnostic settings configured to send data to it, it's recreated automatically. |
| 17 | +- When you delete an event hub from an Event Hubs namespace, the event hub is re-created automatically by the data flowing into it through the diagnostic settings. |
| 18 | +- After you delete an event hub and all diagnostic settings configured to send data to it, the event hub is re-created automatically. |
19 | 19 |
|
20 | 20 | ## Cause |
21 | 21 |
|
22 | | -Here's are causes of the issue: |
| 22 | +Here are the causes of the issue: |
23 | 23 |
|
24 | | -- When a diagnostic setting is configured to send data to an Azure Event Hub, if it receives an error that the Event Hub doesn't exist, it will try to create it and then continue trying to send the data. |
25 | | -- Azure diagnostic settings maintain a cache of configurations for approximately one hour. During this period, even if diagnostic settings have been removed, they will continue to send data to the destination such as a deleted Event Hub, causing it to be recreated. |
| 24 | +- When a diagnostic setting is configured to send data to an Azure event hub, if it receives an error indicating that the event hub doesn't exist, the diagnostic setting will try to create it and then continue trying to send the data. |
| 25 | +- Azure diagnostic settings maintain a cache of configurations for approximately one hour. During this period, even if diagnostic settings have been removed, they'll continue to send data to the destination, such as a deleted event hub, causing the event hub to be re-created. |
26 | 26 |
|
27 | 27 | ## Solution |
28 | 28 |
|
29 | | -In a scenario where you delete an Event Hub from an Event Hub namespace, use one of the following methods to resolve the issue: |
| 29 | +In a scenario where you delete an event hub from an Event Hubs namespace, use one of the following methods to resolve the issue: |
30 | 30 |
|
31 | | -- Update the diagnostic settings to prevent them from sending data to the Event Hub. |
| 31 | +- Update the diagnostic settings to prevent them from sending data to the event hub. |
32 | 32 | - Delete the diagnostic settings. |
33 | 33 |
|
34 | | -In a scenario when you delete an Event Hub and related diagnostic settings, update the diagnostic settings to prevent them from sending data to the Event Hub, delete them, wait for at least one hour to allow their configuration cache to expire, and then delete the Event Hub. |
| 34 | +In a scenario where you delete an event hub and related diagnostic settings, use this method to resolve the issue: |
| 35 | + |
| 36 | +- Update the diagnostic settings to prevent them from sending data to the event hub, delete them, wait at least one hour to allow their configuration cache to expire, and then delete the event hub. |
35 | 37 |
|
36 | 38 | [!INCLUDE [Azure Help Support](../../../../includes/azure-help-support.md)] |
0 commit comments