Azure.Messaging.EventHubs 5.1.0

Azure Event Hubs is a highly scalable publish-subscribe service that can ingest millions of events per second and stream them to multiple consumers.  This client library allows for both publishing and consuming events using Azure Event Hubs. For more information about Event Hubs, see

There is a newer version of this package available.
See the version list below for details.
Install-Package Azure.Messaging.EventHubs -Version 5.1.0
dotnet add package Azure.Messaging.EventHubs --version 5.1.0
<PackageReference Include="Azure.Messaging.EventHubs" Version="5.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Azure.Messaging.EventHubs --version 5.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

### Acknowledgments
Thank you to our developer community members who helped to make the Event Hubs client libraries better with their contributions to this release:
- Alberto De Natale _([GitHub](
- Daniel Marbach _([GitHub]((
### Changes
#### General availability of preview features
- The set of features from v5.1.0-preview.1 are now generally available.  This includes the `EventProcessor<TPartition>` and `PartitionReceiver` types which focus on advanced application scenarios which require greater low-level control.
#### Publishing events
- A set of events may now be published without an explicit batch; a batched approach will be used when communicating with the Event Hubs service, with an implicit batch created on the sender's behalf.
#### Bug fixes and foundation
- The transport producers used for sending events to a specific partition are now managed by a pool with sliding expiration to enable more efficient resource use and cleanup.  _(A community contribution, courtesy of ([albertodenatale](
- Timing operations have been refactored to make use of a more efficient approach with fewer allocations.  (A community contribution, courtesy of _([danielmarbach](
- Fixed a bug with EventDataBatch; it is now thread-safe.
- Minor enhancements to reduce allocations and improve efficiency

NuGet packages (4)

Showing the top 4 NuGet packages that depend on Azure.Messaging.EventHubs:

Package Downloads
Azure Event Hubs is a highly scalable publish-subscribe service that can ingest millions of events per second and stream them to multiple consumers. This library extends its Event Processor with durable storage for checkpoint information using Azure Blob storage. For more information about Event Hubs, see
Package Description
A simple SDK to interact with the Validic Streaming Service, parse data, and publish events to a separate data store.
Azure EventHubs transport for FBus.

GitHub repositories (5)

Showing the top 5 popular GitHub repositories that depend on Azure.Messaging.EventHubs:

Repository Stars
Orleans is a cross-platform framework for building distributed applications with .NET
Distributed Application Framework for .NET
This repository is for active development of the Azure SDK for .NET. For consumers of the SDK we recommend visiting our public developer docs at or our versioned developer docs at
Prescriptive Architecture Guidance for Cloud Applications
Provides a set of easy-to-understand samples for using Azure IoT Hub and Azure IoT Hub Device Provisioning Service and Azure IoT Plug and Play using C# SDK.

Version History

Version Downloads Last updated
5.3.0-beta.4 1,551 11/10/2020
5.3.0-beta.3 2,229 9/30/2020
5.3.0-beta.1 1,849 9/15/2020
5.2.0 87,291 9/8/2020
5.2.0-preview.3 2,979 8/18/2020
5.2.0-preview.1 5,308 7/6/2020
5.1.0 278,124 5/5/2020
5.1.0-preview.1 979 4/6/2020
5.0.1 160,459 1/29/2020
5.0.0-preview.6 17,403 12/3/2019
5.0.0-preview.5 4,096 11/1/2019
5.0.0-preview.4 1,731 10/8/2019
5.0.0-preview.3 676 9/10/2019
5.0.0-preview.2 1,284 8/6/2019
5.0.0-preview.1 1,153 7/1/2019
Show less