可用的事件中心 APIAvailable Event Hubs APIs

本文介绍一组可用于管理事件中心资源的 API 客户端。This article describes the set of available API clients you can use for managing Event Hubs resources.

运行时 APIRuntime APIs

以下部分介绍所有当前可用的 Azure 事件中心运行时客户端。The following section describes all currently available Azure Event Hubs runtime clients. 虽然其中某些库也包含受限的管理功能,但也有专用于管理操作的 特定库While some of these libraries also include limited management functionality, there are also specific libraries dedicated to management operations. 这些库的核心功能是通过事件中心发送和接收消息。The core focus of these libraries is to send and receive messages from an event hub.

有关每个运行时库的当前状态的详细信息,请参阅其他信息For more information about the current status of each runtime library, see additional information.

语言/平台Language/Platform 客户端程序包Client package EventProcessorHost 包EventProcessorHost package 存储库Repository
.NET Standard.NET Standard NuGetNuGet NuGetNuGet GitHubGitHub
.NET framework.NET Framework NuGetNuGet NuGetNuGet 不适用N/A
JavaJava MavenMaven MavenMaven GitHubGitHub
节点Node NPMNPM 不适用N/A GitHubGitHub
CC 不适用N/A 不适用N/A GitHubGitHub

其他信息Additional information

.NET.NET

.NET 生态系统具有多个运行时,因此事件中心有多个 .NET 库。The .NET ecosystem has multiple runtimes, so there are multiple .NET libraries for Event Hubs. 可以使用 .NET Core 或 .NET Framework 运行 .NET Standard 库,但 .NET Framework 库只能在 .NET Framework 环境中运行。The .NET Standard library can be run using either .NET Core or the .NET Framework, while the .NET Framework library can only be run in a .NET Framework environment. 有关 .NET Frameworks 版本的详细信息,请参阅 framework 版本For more information about .NET Framework versions, see framework versions.

节点Node

JavaScript 库目前处于预览状态,由 Microsoft 员工和外部参与者作为副项目进行维护。The JavaScript library is currently in preview and is maintained as a side project by Microsoft employees and external contributors. 包括源代码在内的所有贡献都欢迎并会对其进行审查。All contributions including source code are welcome and will be reviewed.

管理 APIManagement APIs

下表列出了所有当前可用的特定于管理的库。The following table lists all currently available management-specific libraries. 这些库不包含运行时操作,管理事件中心实体是其唯一的用途。None of these libraries contain runtime operations, and are for the sole purpose of managing Event Hubs entities.

语言/平台Language/Platform 管理包Management package 存储库Repository
.NET Standard.NET Standard NuGetNuGet GitHubGitHub

后续步骤Next steps

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