|
1 | 1 | ---
|
2 | 2 | title: Automatically scale up throughput units in Azure Event Hubs
|
3 |
| -description: Enable Auto-inflate on a namespace to automatically scale up throughput units (standard tier). |
| 3 | +description: Enable Auto inflate on a namespace to automatically scale up throughput units (standard tier). |
4 | 4 | ms.topic: article
|
5 | 5 | ms.custom: devx-track-arm-template
|
6 |
| -ms.date: 07/28/2023 |
| 6 | +ms.date: 11/12/2024 |
7 | 7 | ---
|
8 | 8 |
|
9 | 9 | # Automatically scale up Azure Event Hubs throughput units (standard tier)
|
10 | 10 |
|
11 |
| -When you create a standard tier Event Hubs namespace, you specify the number of [throughput units (TUs)](event-hubs-scalability.md#throughput-units). These TUs may not be enough when the usage goes up later. When that happens, you could manually increase the number of TUs assigned to the namespace. However, it's better to have Event Hubs automatically increase (inflate) TUs based on the workload. |
| 11 | +When you create a standard tier Event Hubs namespace, you specify the number of [throughput units (TUs)](event-hubs-scalability.md#throughput-units). These TUs might not be enough when the usage goes up later. When that happens, you could manually increase the number of TUs assigned to the namespace. However, it's better to have Event Hubs automatically increase (inflate) TUs based on the workload. |
12 | 12 |
|
13 |
| -The **Auto-inflate** feature of Event Hubs automatically scales up by increasing the number of TUs, to meet usage needs. Increasing TUs prevents throttling scenarios where data ingress or data egress rates exceed the rates allowed by the TUs assigned to the namespace. The Event Hubs service increases the throughput when load increases beyond the minimum threshold, without any requests failing with ServerBusy errors. |
| 13 | +The **Auto inflate** feature of Event Hubs automatically scales up by increasing the number of TUs, to meet usage needs. Increasing TUs prevents throttling scenarios where data ingress or data egress rates exceed the rates allowed by the TUs assigned to the namespace. The Event Hubs service increases the throughput when load increases beyond the minimum threshold, without any requests failing with ServerBusy errors. |
14 | 14 |
|
15 | 15 | > [!NOTE]
|
16 |
| -> The auto-inflate feature is currently supported only in the standard tier. |
| 16 | +> The auto inflate feature is currently supported only in the standard tier. |
17 | 17 |
|
18 |
| -## How Auto-inflate works in standard tier |
| 18 | +## How Auto inflate works in standard tier |
19 | 19 |
|
20 |
| -Event Hubs traffic is controlled by TUs (standard tier). For the limits such as ingress and egress rates per TU, see [Event Hubs quotas and limits](event-hubs-quotas.md). Auto-inflate enables you to start small with the minimum required TUs you choose. The feature then scales automatically to the maximum limit of TUs you need, depending on the increase in your traffic. Auto-inflate provides the following benefits: |
| 20 | +Event Hubs traffic is controlled by TUs (standard tier). For the limits such as ingress and egress rates per TU, see [Event Hubs quotas and limits](event-hubs-quotas.md). Auto inflate enables you to start small with the minimum required TUs you choose. The feature then scales automatically to the maximum limit of TUs you need, depending on the increase in your traffic. Auto inflate provides the following benefits: |
21 | 21 |
|
22 | 22 | - An efficient scaling mechanism to start small and scale up as you grow.
|
23 | 23 | - Automatically scale to the specified upper limit without throttling issues.
|
24 | 24 | - More control over scaling, because you control when and how much to scale.
|
25 | 25 |
|
26 | 26 | > [!NOTE]
|
27 |
| -> Auto-inflate doesn't **automatically scale down** the number of TUs when ingress or egress rates drop below the limits. |
| 27 | +> Auto inflate doesn't **automatically scale down** the number of TUs when ingress or egress rates drop below the limits. |
28 | 28 |
|
29 |
| - ## Enable Auto-inflate on a namespace |
| 29 | + ## Enable Auto inflate on a namespace |
30 | 30 |
|
31 |
| -You can enable or disable Auto-inflate on a standard tier Event Hubs namespace by using either [Azure portal](https://portal.azure.com) or an [Azure Resource Manager template](https://github.com/Azure/azure-quickstart-templates/tree/master/quickstarts/microsoft.eventhub/eventhubs-create-namespace-and-enable-inflate). |
| 31 | +You can enable or disable auto inflate on a standard tier Event Hubs namespace by using either [Azure portal](https://portal.azure.com) or an [Azure Resource Manager template](https://github.com/Azure/azure-quickstart-templates/tree/master/quickstarts/microsoft.eventhub/eventhubs-create-namespace-and-enable-inflate). |
32 | 32 |
|
33 | 33 | ## Use Azure portal
|
34 | 34 |
|
35 | 35 | In the Azure portal, you can enable the feature when creating a standard Event Hubs namespace or after the namespace is created. You can also set TUs for the namespace and specify maximum limit of TUs
|
36 | 36 |
|
37 |
| -You can enable the Auto-inflate feature **when creating an Event Hubs namespace**. The following image shows you how to enable the auto-inflate feature for a standard tier namespace and configure TUs to start with and the maximum number of TUs. |
| 37 | +You can enable the Auto inflate feature **when creating an Event Hubs namespace**. The following image shows you how to enable the auto inflate feature for a standard tier namespace and configure TUs to start with and the maximum number of TUs. |
38 | 38 |
|
39 | 39 | :::image type="content" source="./media/event-hubs-auto-inflate/event-hubs-auto-inflate.png" alt-text="Screenshot of enabling auto inflate at the time event hub creation for a standard tier namespace.":::
|
40 | 40 |
|
41 | 41 | With this option enabled, you can start small with your TUs and scale up as your usage needs increase. The upper limit for inflation doesn't immediately affect pricing, which depends on the number of TUs used per hour.
|
42 | 42 |
|
43 |
| -To enable the Auto-inflate feature and modify its settings for an existing namespace, follow these steps: |
| 43 | +To enable the Auto inflate feature and modify its settings for an existing namespace, follow these steps: |
44 | 44 |
|
45 |
| -1. On the **Event Hubs Namespace** page, select **Scale** under **Settings** on the left menu. |
| 45 | +1. On the **Event Hubs namespace** page, select **Scale** under **Settings** on the left menu. |
46 | 46 | 2. In the **Scale Settings** page, select the checkbox for **Enable** (if the autoscale feature wasn't enabled).
|
47 | 47 |
|
48 |
| - :::image type="content" source="./media/event-hubs-auto-inflate/scale-settings.png" alt-text="Screenshot of enabling auto-inflate for an existing standard namespace"::: |
| 48 | + :::image type="content" source="./media/event-hubs-auto-inflate/scale-settings.png" alt-text="Screenshot of enabling auto inflate for an existing standard namespace"::: |
49 | 49 | 3. Enter the **maximum** number of throughput units or use the scrollbar to set the value.
|
50 | 50 | 4. (optional) Update the **minimum** number of throughput units at the top of this page.
|
51 | 51 |
|
52 | 52 | > [!NOTE]
|
53 |
| -> When you apply the auto-inflate configuration to increase throughput units, the Event Hubs service emits diagnostic logs that give you information about why and when the throughput increased. To enable diagnostic logging for an event hub, select **Diagnostic settings** on the left menu on the Event Hub page in the Azure portal. For more information, see [Set up diagnostic logs for an Azure event hub](monitor-event-hubs-reference.md#resource-logs). |
| 53 | +> When you apply the auto inflate configuration to increase throughput units, the Event Hubs service emits diagnostic logs that give you information about why and when the throughput increased. To enable diagnostic logging for an event hub, select **Diagnostic settings** on the left menu on the Event Hub page in the Azure portal. For more information, see [Set up diagnostic logs for an Azure event hub](monitor-event-hubs-reference.md#resource-logs). |
54 | 54 |
|
55 | 55 |
|
56 | 56 | ## Use an Azure Resource Manager template
|
57 | 57 |
|
58 |
| -You can enable the Auto-inflate feature during an Azure Resource Manager template deployment. For example, set the |
| 58 | +You can enable the Auto inflate feature during an Azure Resource Manager template deployment. For example, set the |
59 | 59 | `isAutoInflateEnabled` property to **true** and set `maximumThroughputUnits` to 10. For example:
|
60 | 60 |
|
61 | 61 | ```json
|
|
0 commit comments