github Azure/azure-sdk-for-net Azure.Messaging.EventHubs_5.12.0-beta.1

latest releases: Azure.AI.OpenAI_2.0.0-beta.2, Azure.AI.Vision.ImageAnalysis_1.0.0-beta.3, Microsoft.Azure.WebJobs.Extensions.Tables_1.3.2...
pre-releaseone month ago

5.12.0-beta.1 (2024-05-17)

Features Added

  • Preview 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 or EventHubConsumerClient and referencing the the IsGeoReplicationEnabled property of the result.

Breaking Changes

  • Major

    The type of offset-related data has been changed from long to string to align with changes to the Event Hubs service API. The default value for any offset-related data has been changed from long.MinValue to null.

    Impacted properties:

    • EventData.Offset
    • LastEnqueuedEventProperties.Offset
    • PartitionProperties.LastEnqueuedOffset
    • CheckpointPosition.Offset

    Impacted methods:

    • EventPosition.FromOffset
    • EventHubsModelFactory.EventData
    • CheckpointStore.UpdateCheckpointAsync (deprecated overload)
    • EventProcessor<T>.UpdateCheckpointAsync (deprecated overload)

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

NewReleases is sending notifications on new releases.