Event Hub


The presented resiliency recommendations in this guidance include Event Hub and associated resources and settings.

Summary of Recommendations

Recommendations Details

EVHNS-1 - Enable zone redundancy for Event Hub namespace

Category: Availability

Impact: High

Recommendation

Event Hubs supports Availability Zones, providing fault-isolated locations within an Azure region. The Availability Zones support is only available in Azure regions with availability zones. Both metadata and data (events) are replicated across data centers in the availability zone.

Resources

Resource Graph Query

// Azure Resource Graph Query
// Find Event Hub namespace instances that are not zone redundant
resources
| where type == "microsoft.eventhub/namespaces"
| where properties.zoneRedundant == false
| project recommendationId = "evhns-1", name, id, tags, param1 = "ZoneRedundant: False"
| order by id asc



EVHNS-2 - Enable auto-inflate on Event Hub Standard tier

Category: System Efficiency

Impact: High

Recommendation

Enable auto-inflate on Event Hub Standard tier namespaces. 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.

Resources

Resource Graph Query

// Azure Resource Graph Query
// Find Event Hub namespace instances that are Standard tier and do not have Auto Inflate enabled
resources
| where type == "microsoft.eventhub/namespaces"
| where sku.tier == "Standard"
| where properties.isAutoInflateEnabled == "false"
| project recommendationId = "evhns-2", name, id, tags, param1 = "AutoInflateEnabled: False"