5.12.0-beta.2 (2025-02-11)
Acknowledgments
Thank you to our developer community members who helped to make the Event Hubs client libraries better with their contributions to this release:
- tovyhnal (GitHub)
Features Added
-
Support for the Event Hubs geographic data replication feature has been enabled. Checking for whether or not this feature is enabled for your namespace can be done by querying for Event Hub properties using
EventHubProducerClient
orEventHubConsumerClient
and referencing the theIsGeoReplicationEnabled
property of the result.As part of this feature, the type of offset-related data has been changed from
long
tostring
to align with changes to the Event Hubs service API. To preserve backwards compatibility, the existing offset-related members have not been changed, and new members with names similar toOffsetString
and string-based parameters for method overloads have been introduced.The long-based offset members will continue to work for Event Hubs namespaces that do not have GeoDR replication enabled, but are discouraged for use and have been marked as obsolete.
Obsoleted properties:
Obsoleted method overloads:
Other Changes
-
Added annotations to make the package compatible with trimming and native AOT compilation.
-
Added Event Hub name to processor load balancing logs for additional context. (A community contribution, courtesy of tovyhnal)
-
Updated the
Microsoft.Azure.Amqp
dependency to 2.6.9, which contains several bug fixes. (see: commits)