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 prerelease 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 (2)

Showing the top 2 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

GitHub repositories (3)

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

Repository Stars
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
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.2.0-preview.2 0 8/10/2020
5.2.0-preview.1 3,633 7/6/2020
5.1.0 92,630 5/5/2020
5.1.0-preview.1 940 4/6/2020
5.0.1 111,719 1/29/2020
5.0.0-preview.6 15,902 12/3/2019
5.0.0-preview.5 4,052 11/1/2019
5.0.0-preview.4 1,496 10/8/2019
5.0.0-preview.3 635 9/10/2019
5.0.0-preview.2 624 8/6/2019
5.0.0-preview.1 953 7/1/2019