Azure.Messaging.EventHubs 5.1.0-preview.1

Prefix Reserved
This is a prerelease version of Azure.Messaging.EventHubs.
There is a newer version of this package available.
See the version list below for details.
dotnet add package Azure.Messaging.EventHubs --version 5.1.0-preview.1                
NuGet\Install-Package Azure.Messaging.EventHubs -Version 5.1.0-preview.1                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Azure.Messaging.EventHubs" Version="5.1.0-preview.1" />                
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-preview.1                
#r "nuget: Azure.Messaging.EventHubs, 5.1.0-preview.1"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Azure.Messaging.EventHubs as a Cake Addin
#addin nuget:?package=Azure.Messaging.EventHubs&version=5.1.0-preview.1&prerelease

// Install Azure.Messaging.EventHubs as a Cake Tool
#tool nuget:?package=Azure.Messaging.EventHubs&version=5.1.0-preview.1&prerelease                

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 https://azure.microsoft.com/en-us/services/event-hubs/

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (76)

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

Package Downloads
Microsoft.Azure.WebJobs.Extensions.EventHubs

Microsoft Azure WebJobs SDK EventHubs Extension

Azure.Messaging.EventHubs.Processor

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 https://azure.microsoft.com/en-us/services/event-hubs/

Microsoft.Azure.Functions.Worker.Extensions.EventHubs

Azure Event Hubs extensions for .NET isolated functions

Serilog.Sinks.AzureEventHub

Write Serilog events to Azure Event Hub

Microsoft.Diagnostics.EventFlow.Outputs.EventHub

Provides an output implementation that sends diagnostics data to Azure Event Hubs.

GitHub repositories (22)

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

Repository Stars
dotnet/orleans
Cloud Native application framework for .NET
Azure/azure-sdk-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 https://learn.microsoft.com/dotnet/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-net.
Xabaril/AspNetCore.Diagnostics.HealthChecks
Enterprise HealthChecks for ASP.NET Core Diagnostics Package
dotnet/samples
Sample code referenced by the .NET documentation
phongnguyend/Practical.CleanArchitecture
Full-stack .Net 8 Clean Architecture (Microservices, Modular Monolith, Monolith), Blazor, Angular 18, React 18, Vue 3, BFF with YARP, Domain-Driven Design, CQRS, SOLID, Asp.Net Core Identity Custom Storage, OpenID Connect, Entity Framework Core, OpenTelemetry, SignalR, Hosted Services, Health Checks, Rate Limiting, Cloud Services (Azure, AWS, GCP).
Version Downloads Last updated
5.12.0-beta.1 8,789 5/17/2024
5.11.5 1,078,098 7/31/2024
5.11.4 278,555 7/18/2024
5.11.3 1,099,209 5/15/2024
5.11.2 976,651 4/10/2024
5.11.1 854,038 3/5/2024
5.11.0 323,570 2/13/2024
5.10.0 2,284,767 11/8/2023
5.9.3 1,625,824 9/12/2023
5.9.2 3,704,592 6/6/2023
5.9.1 540,042 5/9/2023
5.9.0 895,961 4/11/2023
5.8.1 495,292 3/10/2023
5.8.0 50,532 3/7/2023
5.7.5 2,506,236 11/22/2022
5.7.4 3,742,330 11/8/2022
5.7.3 809,576 10/11/2022
5.7.2 2,300,009 8/9/2022
5.7.1 2,377,888 7/7/2022
5.7.0 2,128,520 5/10/2022
5.7.0-beta.5 11,550 4/5/2022
5.7.0-beta.4 9,131 3/11/2022
5.7.0-beta.3 14,067 2/9/2022
5.7.0-beta.2 11,372 1/13/2022
5.7.0-beta.1 13,249 11/9/2021
5.6.2 7,664,275 10/5/2021
5.6.1 946,736 9/8/2021
5.6.0 399,828 8/10/2021
5.5.0 737,156 7/7/2021
5.5.0-beta.1 1,360 6/8/2021
5.4.1 1,998,521 5/11/2021
5.4.0 565,296 4/5/2021
5.4.0-beta.1 1,251 3/17/2021
5.3.1 1,933,700 3/9/2021
5.3.0 375,010 2/9/2021
5.3.0-beta.4 238,780 11/10/2020
5.3.0-beta.3 7,346 9/30/2020
5.3.0-beta.1 2,483 9/15/2020
5.2.0 2,163,766 9/8/2020
5.2.0-preview.3 5,250 8/18/2020
5.2.0-preview.1 6,031 7/6/2020
5.1.0 821,234 5/5/2020
5.1.0-preview.1 1,280 4/6/2020
5.0.1 361,833 1/29/2020
5.0.0-preview.6 21,531 12/3/2019
5.0.0-preview.5 4,565 11/1/2019
5.0.0-preview.4 2,979 10/8/2019
5.0.0-preview.3 1,177 9/10/2019
5.0.0-preview.2 1,813 8/6/2019
5.0.0-preview.1 2,149 7/1/2019

### 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](https://github.com/albertodenatale))_
- Christopher Scott _([GitHub](https://github.com/christothes))_
#### Consuming events
- A new primitive, `EventProcessor<TPartition>`, has been implemented to serve as an extensibility point for creating a custom event processor instance.  It offers built-in fault tolerance, load balancing, and structure while allowing tuning for low-level network configuration, processing of events in batches, and customization for the storage of checkpoints.  More detail can be found in the [design proposal](https://github.com/Azure/azure-sdk-for-net/blob/master/sdk/eventhub/Azure.Messaging.EventHubs/design/event-processor%7BT%7D-proposal.md).
- A new primitive, `PartitionProcessor`, has been implemented to serve as a low-level means of reading batches of events from a single partition with greater control over network configuration.  More detail can be found in the [design proposal](https://github.com/Azure/azure-sdk-for-net/blob/master/sdk/eventhub/Azure.Messaging.EventHubs/design/partition-receiver-proposal.md).
#### Publishing events
- Event batches are now protected against modification while publishing is actively taking place.
#### Bug fixes and foundation
- Exceptions surfaced will now properly remember their context in all scenarios; previously, some deferred cases unintentionally reset the context.
- Validation for the Event Hubs fully qualified namespace has been improved, allowing for more deterministic failures when creating clients.
- The diagnostic scope for activities will now complete in a more deterministic manner.  (A community contribution, courtesy of [christothes]((https://github.com/christothes)))
- Diagnostic activities have been extended with additional information about events being processed and with additional environmental context.
- Parsing of connection strings is now more permissive for the `Endpoint` key, allowing additional formats that result from common mistakes when building the string rather than copying the value from the portal.
- `LastEnqueuedEventProperties` can now be compared for structural equality.
#### Testing
- For special cases, the live tests may be instructed to use existing Azure resources instead of dynamically creating dedicated resources for the run.  (A community contribution, courtesy of [albertodenatale](https://github.com/albertodenatale))

https://github.com/Azure/azure-sdk-for-net/blob/e85d6412c147037eeae098c76ca30ba1968882f6/sdk/eventhub/Azure.Messaging.EventHubs/CHANGELOG.md