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:
- Daniel Marbach (GitHub)
Changes
New Features
-
The Event Hubs clients now support shared key and shared access signature authentication using the
AzureNamedKeyCredential
andAzureSasCredential
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 byEventData
is now lazily allocated, avoiding memory bloat when not used. -
The
SystemProperties
collection used byEventData
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)