Azure 事件中心的配额和限制Azure Event Hubs quotas and limits

本部分列出了 Azure 事件中心的基本配额和限制。This section lists basic quotas and limits in Azure Event Hubs.

下表提供了特定于 Azure 事件中心的配额和限制。The following tables provide quotas and limits specific to Azure Event Hubs. 有关事件中心定价的信息,请参阅事件中心定价For information about Event Hubs pricing, see Event Hubs pricing.

以下限制是基本层、标准层和专用层之间的通用限制。The following limits are common across basic, standard, and dedicated tiers.

限制Limit 范围Scope 说明Notes Value
每个订阅的事件中心命名空间数Number of Event Hubs namespaces per subscription 订阅Subscription - 100100
每个命名空间的事件中心数Number of event hubs per namespace 命名空间Namespace 创建新事件中心的后续请求会被拒绝。Subsequent requests for creation of a new event hub are rejected. 1010
每个事件中心的分区数Number of partitions per event hub 实体Entity - 3232
事件中心名称的最大大小Maximum size of an event hub name 实体Entity - 50 个字符50 characters
每个使用者组的非 epoch 接收者数Number of non-epoch receivers per consumer group 实体Entity - 55
最大吞吐量单位Maximum throughput units 命名空间Namespace 超出吞吐量单位限制会导致数据受到限制,并生成服务器忙异常Exceeding the throughput unit limit causes your data to be throttled and generates a server busy exception. 若要为标准层请求更大数量的吞吐量单位,请提交支持请求To request a larger number of throughput units for a Standard tier, file a support request. 额外的吞吐量单位将基于承诺的购买以大小为 20 个单位的块的形式提供。Additional throughput units are available in blocks of 20 on a committed purchase basis. 2020
每个命名空间的授权规则数量Number of authorization rules per namespace 命名空间Namespace 将拒绝后续的授权规则创建请求。Subsequent requests for authorization rule creation are rejected. 1212
对 GetRuntimeInformation 方法的调用次数Number of calls to the GetRuntimeInformation method 实体Entity - 每秒 50 次50 per second
虚拟网络 (VNet) 和 IP 配置规则的数量Number of virtual network (VNet) and IP Config rules 实体Entity - 128128

事件中心基本层和标准层 - 配额和限制Event Hubs Basic and Standard - quotas and limits

限制Limit 范围Scope 说明Notes 基本Basic StandardStandard
事件中心事件的最大大小Maximum size of Event Hubs event 实体Entity   256 KB256 KB 1 MB1 MB
每个事件中心的使用者组数Number of consumer groups per event hub 实体Entity   11 2020
每个命名空间的 AMQP 连接数Number of AMQP connections per namespace 命名空间Namespace 系统会拒绝后续的附加连接请求,且调用代码会收到异常。Subsequent requests for additional connections are rejected, and an exception is received by the calling code. 100100 5,0005,000
事件数据的最长保留期限Maximum retention period of event data 实体Entity   1 天1 day 1-7 天1-7 days
启用 Apache Kafka 的命名空间Apache Kafka enabled namespace 命名空间Namespace 使用 Kafka 协议的事件中心命名空间流应用程序Event Hubs namespace streams applications using Kafka protocol No Yes
捕获Capture 实体Entity 启用后,同一流上的微批处理When enabled, micro-batches on the same stream No Yes

事件中心专用层 - 配额和限制Event Hubs Dedicated - quotas and limits

事件中心专用层产品/服务按固定的月度价格计费,至少使用 4 个小时。The Event Hubs Dedicated offering is billed at a fixed monthly price, with a minimum of 4 hours of usage. 专用层提供标准计划的所有功能,但具有企业规模容量和限制,以满足客户的工作负荷需求。The Dedicated tier offers all the features of the Standard plan, but with enterprise scale capacity and limits for customers with demanding workloads.

FeatureFeature 限制Limits
带宽Bandwidth 20 CU20 CUs
命名空间Namespaces 每个 CU 5050 per CU
事件中心Event Hubs 每个命名空间 10001000 per namespace
入口事件Ingress events 附送Included
消息大小Message Size 1 MB1 MB
“度量值组”Partitions 每个 CU 20002000 per CU
使用者组Consumer groups 每个 CU 无限制,每个事件中心 1000No limit per CU, 1000 per event hub
中转连接Brokered connections 包括 100 K100 K included
消息保留Message Retention 90 天,每个 CU 包含 10 TB90 days, 10 TB included per CU
捕获Capture 附送Included

后续步骤Next steps

访问以下链接可以了解有关事件中心的详细信息:You can learn more about Event Hubs by visiting the following links: