Event Hub
The presented resiliency recommendations in this guidance include Event Hub and associated resources and settings.
Summary of Recommendations
Recommendation | Category | Impact | State | ARG Query Available |
---|---|---|---|---|
EVHNS-1 - Enable zone redundancy for Event Hub namespace | High Availability | High | Preview | Yes |
EVHNS-2 - Enable auto-inflate on Event Hub Standard tier | System Efficiency | High | Preview | Yes |
Definitions of states can be found here
Recommendations Details
EVHNS-1 - Event Hub 名前空間のゾーン冗長を有効にします
Category: Availability
Impact: High
Recommendation
Event Hubs は Availability Zones をサポートしており、Azure リージョン内で障害が分離された場所を提供します。Availability Zones のサポートは、可用性ゾーンがある Azure リージョンでのみ使用できます。メタデータとデータ (イベント) の両方が、可用性ゾーン内のデータセンター間でレプリケートされます。
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 - Event Hub Standard レベルで自動インフレを有効にします
Category: System Efficiency
Impact: High
Recommendation
Event Hub Standard レベルの名前空間で自動インフレを有効にします。Event Hubs の自動インフレ機能は、使用ニーズを満たすために TU の数を増やすことで自動的にスケールアップされます。TU を増やすと、データのイングレス レートまたはデータ送信レートが、名前空間に割り当てられた TU で許可されているレートを超える調整シナリオが防止されます。
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"