Azure Event Hubs - Client SDKs
This article provides following information for the SDKs supported by Azure Event Hubs:
- Location of package that you can use in your applications
- GitHub location where you can find source code, samples, readme, change log, reported issues, and also raise new issues
- Links to quickstart tutorials
The following table describes all the latest available Azure Event Hubs runtime clients. The core focus of these libraries is to send and receive messages from an event hub.
|. NET Standard||Azure.Messaging.EventHubs|
The following table lists older Azure Event Hubs runtime clients. While these packages may receive critical bug fixes, they aren't in active development. We recommend using the latest SDKs listed in the above table instead.
|. NET Standard||Microsoft.Azure.EventHubs (legacy)|
|. NET Framework||WindowsAzure.Messaging (legacy)|
Here's a list of currently available management-specific libraries. None of these libraries contain runtime operations, and are for the sole purpose of managing Event Hubs entities.
- Azure.Messaging.EventHubs: It's the current version of the library, conforming to the unified Azure SDK design guidelines and under active development for new features. It supports the .NET Standard platform, allowing it to be used by both the full .NET Framework and .NET Core. There's feature parity at a high level with Microsoft.Azure.EventHubs, with details and the client hierarchy taking a different form. This library is the one that we recommend you to use.
- Microsoft.Azure.EventHubs: It was the initial library to break out Event Hubs into a dedicated client that isn’t bundled with Service Bus. It supports the .NET Standard 2.0 platform, allowing it to be used by both the full .NET Framework and .NET Core. It's still the dominant version of the library with respect to usage and third-party blog entries, extensions, and such. The baseline functionality is the same as the current library, though there are some minor bits that one offers and the other doesn’t. It's currently receiving bug fixes and critical updates but is no longer receiving new features.
- Windows.Azure.ServiceBus: It was the original library, back when Event Hubs was still more entangled with Service Bus. It supports only the full .NET Framework, because it predates .NET Core. This library offers some corollary functionality that isn’t supported by the newer libraries.
- Microsoft.Azure.Management.EventHub: It's the current GA version of the management library for Event Hubs. It supports the .NET Standard 2.0 platform, allowing it to be used by both the full .NET Framework and .NET Core.
You can learn more about Event Hubs by visiting the following links: