您现在访问的是微软AZURE全球版技术文档网站,若需要访问由世纪互联运营的MICROSOFT AZURE中国区技术文档网站,请访问 https://docs.azure.cn.

快速入门:使用 Azure 门户创建事件中心专用群集Quickstart: Create a dedicated Event Hubs cluster using Azure portal

事件中心群集提供单租户部署来满足客户的苛刻流式处理要求。Event Hubs clusters offer single-tenant deployments for customers with the most demanding streaming needs. 此套餐提供有保障的 99.99% SLA,只能在专用定价层上使用。This offering has a guaranteed 99.99% SLA and is available only on our Dedicated pricing tier. 事件中心群集每秒能够引入数百万个事件,且提供有保障的容量和亚秒级的延迟。An Event Hubs cluster can ingress millions of events per second with guaranteed capacity and subsecond latency. 在群集中创建的命名空间和事件中心不仅包括标准套餐的所有功能,而且不存在任何引入限制。Namespaces and event hubs created within a cluster include all features of the standard offering and more, but without any ingress limits. 专用套餐还免费随附了热门的事件中心捕获功能,可让你自动批处理数据流并将其记录到 Azure Blob 存储Azure Data Lake Storage Gen 1The Dedicated offering also includes the popular Event Hubs Capture feature at no additional cost, allowing you to automatically batch and log data streams to Azure Blob Storage or Azure Data Lake Storage Gen 1.

专用群集是按容量单位 (CU) 预配和计费的,并预先分配了 CPU 数量和内存资源量。Dedicated clusters are provisioned and billed by Capacity Units (CUs), a pre-allocated amount of CPU and memory resources. 可为每个群集购买 1、2、4、8、12、16 或 20 个 CU。You can purchase 1, 2, 4, 8, 12, 16 or 20 CUs for each cluster. 本快速入门将详细介绍如何通过 Azure 门户创建一个 1 CU 事件中心群集。In this quickstart, we will walk you through creating a 1 CU Event Hubs cluster through the Azure portal.

备注

Azure 门户目前提取此自助体验的预览版。This self-serve experience is currently available in preview on Azure Portal. 如果对专用套餐存有疑问,请联系事件中心团队If you have any questions about the Dedicated offering, please reach out to the Event Hubs team.

先决条件Prerequisites

若要完成本快速入门,请确保具备以下项:To complete this quickstart, make sure that you have:

创建事件中心专用群集Create an Event Hubs Dedicated Cluster

事件中心群集提供唯一的范围容器,可以在该容器中创建一个或多个命名空间。An Event Hubs cluster provides a unique scoping container in which you can create one or more namespaces. 在门户的自助体验的这个预览阶段,可以在所选区域中创建 1 CU 群集。In this Preview phase of the portal self-serve experience, you can create 1 CU clusters in select regions. 如果需要大于 1 CU 的群集,可以提交 Azure 支持请求,以便在创建群集后将其纵向扩展。If you need a cluster larger than 1 CU, you can submit an Azure support request to scale up your cluster after its creation.

若要使用 Azure 门户在资源组中创建群集,请完成以下步骤:To create a cluster in your resource group using the Azure portal, please complete the following steps:

  1. 单击此链接,在 Azure 门户中创建群集。Follow this link to create a cluster on Azure portal. 与之相反,也可在左侧导航窗格中选择“所有服务”,接着在搜索栏中键入“事件中心群集”,然后从结果列表中选择“事件中心群集”。 Conversely, select All services from the left navigation pane, then type in "Event Hubs Clusters" in the search bar and select "Event Hubs Clusters" from the list of results.

  2. 在“创建群集”页上配置以下内容: On the Create Cluster page, configure the following:

    1. 输入群集的名称Enter a name for the cluster. 系统会立即检查该名称是否可用。The system immediately checks to see if the name is available.

    2. 选择要在其中创建群集的订阅Select the subscription in which you want to create the cluster.

    3. 选择要在其中创建群集的资源组Select the resource group in which you want to create the cluster.

    4. 选择群集的位置Select a location for the cluster. 如果首选区域灰显,则表明该区域容量出现暂时性不足的情况,请向事件中心团队提交支持请求If your preferred region is grayed out, it is temporarily out of capacity and you can submit a support request to the Event Hubs team.

    5. 选择页面底部的“下一步: 标记”按钮。Select the Next: Tags button at the bottom of the page. 可能需要等待几分钟让系统完全预配资源。You may have to wait a few minutes for the system to fully provision the resources.

      创建事件中心群集 -“基本信息”页

  3. 在“标记”页上配置以下内容: On the Tags page, configure the following:

    1. 输入要添加的标记的名称Enter a name and a value for the tag you want to add. 此步骤是可选的This step is optional.

    2. 选择“查看 + 创建”按钮。 Select the Review + Create button.

      “创建事件中心群集”页 -“标记”页

  4. 在“查看 + 创建”页上查看详细信息,然后选择“创建”。 On the Review + Create page, review the details, and select Create.

    “创建事件中心群集”页 -“查看 + 创建”页

在群集中创建命名空间和事件中心Create a namespace and event hub within a cluster

  1. 若要在群集中创建命名空间,请在群集的“事件中心群集”页上,从顶部菜单中选择“+命名空间”。 To create a namespace within a cluster, on the Event Hubs Cluster page for your cluster, select +Namespace from the top menu.

    “群集管理”页 -“添加命名空间”按钮

  2. 在“创建命名空间”页上执行以下步骤:On the create a namespace page, do the following steps:

    1. 输入命名空间的名称Enter a name for the namespace. 系统会检查该名称是否可用。The system checks to see if the name is available.

    2. 命名空间继承以下属性:The namespace inherits the following properties:

      1. 订阅 IDSubscription ID
      2. 资源组Resource Group
      3. 位置Location
      4. 群集名称Cluster Name
    3. 选择“创建”以创建命名空间。 Select Create to create the namespace. 现在你可以管理该群集。Now you can manage your cluster.

      “在群集中创建命名空间”页

  3. 创建命名空间后,可以像平时在命名空间中所做的那样创建事件中心Once your namespace is created, you can create an event hub as you would normally create one within a namespace.

提交支持请求Submit a support request

若要在创建群集后更改群集大小,或者首选区域不可用,请按以下步骤提交支持请求:If you wish to change the size of your cluster after creation or if your preferred region is not available, please submit a support request by following these steps:

  1. Azure 门户的左侧菜单中选择“帮助 + 支持”。 In Azure portal, select Help + support from the left menu.
  2. 在“支持”菜单中选择“+ 新建支持请求”。 Select + New support request from the Support menu.
  3. 在“支持”页上执行以下步骤:On the support page, follow these steps:
    1. 对于“问题类型”,请从下拉列表中选择“技术”。 For Issue Type, select Technical from the drop-down list.

    2. 对于“订阅”,请选择自己的订阅。 For Subscription, select your subscription.

    3. 对于“服务”,请选择“我的服务”,然后选择“事件中心”。 For Service, select My services, and then select Event Hubs.

    4. 对于“资源”,如果你的群集已存在,请选择该群集;否则请选择“一般性问题/资源不可用”。 For Resource, select your cluster if it exists already, otherwise select General Question/Resource Not Available.

    5. 对于“问题类型”,请选择“配额”。 For Problem type, select Quota.

    6. 对于“问题子类型”,请从下拉列表中选择以下值之一: For Problem subtype, select one of the following values from the drop-down list:

      1. 选择“专用 SKU 请求”,以请求在你所在的区域中支持该功能。 Select Request for Dedicated SKU to request for the feature to be supported in your region.
      2. 如果你想要纵向扩展或缩减专用群集,请选择“请求纵向扩展或缩减专用群集”。 Select Request to Scale Up or Scale Down Dedicated Cluster if you want to scale up or scale down your dedicated cluster.
    7. 在“主题”中描述问题。 For Subject, describe the issue.

      “支持票证”页

删除专用群集Delete a dedicated cluster

  1. 若要删除群集,请在顶部菜单中选择“删除”。 To delete the cluster, select Delete from the top menu. 请注意,群集在创建以后,需支付至少 4 小时的使用费用。Please note that your cluster will be billed for a minimum of 4 hours of usage after creation.

  2. 随后会显示一条消息,要求你确认是否要删除该群集。A message will appear confirming your wish to delete the cluster.

  3. 键入群集名称并选择“删除”即可删除该群集。 Type the name of the cluster and select Delete to delete the cluster.

    “删除群集”页

后续步骤Next steps

在本文中,你已创建一个事件中心群集。In this article, you created an Event Hubs cluster. 有关在事件中心发送和接收事件,以及将事件捕获到 Azure 存储或 Azure Data Lake Store 的分步说明,请参阅以下教程:For step-by-step instructions to send and receive events from an event hub, and capture events to an Azure storage or Azure Data Lake Store, see the following tutorials: