github Azure/azure-sdk-for-net Azure.Messaging.EventHubs_5.4.0

latest releases: Azure.Monitor.OpenTelemetry.Exporter_1.3.0-beta.2, System.ClientModel_1.1.0-beta.4, Azure.Provisioning.CognitiveServices_0.2.0...
3 years ago

5.4.0 (2021-04-05)

Acknowledgments

Thank you to our developer community members who helped to make the Event Hubs client libraries better with their contributions to this release:

Changes

New Features

  • The Event Hubs clients now support shared key and shared access signature authentication using the AzureNamedKeyCredential and AzureSasCredential types in addition to the connection string. Use of the credential allows the shared key or SAS to be updated without the need to create a new Event Hubs client.

  • The Properties collection used by EventData is now lazily allocated, avoiding memory bloat when not used.

  • The SystemProperties collection used by EventData will not use a shared empty set for events that have not been read from the Event Hubs service, reducing memory allocation.

  • Multiple enhancements were made to the transport paths for publishing and reading events to reduce memory allocations and increase performance. (A community contribution, courtesy of danielmarbach)

Key Bug Fixes

  • The AMQP library used for transport has been updated, fixing several issues including a potential unobserved ObjectDisposedException that could cause the host process to crash. (see: release notes)

Don't miss a new azure-sdk-for-net release

NewReleases is sending notifications on new releases.