github Azure/azure-sdk-for-go sdk/messaging/azeventhubs/v0.2.0

latest releases: sdk/data/azcosmos/v1.2.0, sdk/security/keyvault/azcertificates/v1.3.0, sdk/security/keyvault/azkeys/v1.3.0...
pre-release2 years ago

0.2.0 (2022-10-17)

Features Added

  • Raw AMQP message support, including full support for encoding Body (Value, Sequence and also multiple byte slices for Data). See ExampleEventDataBatch_AddEventData_rawAMQPMessages for some concrete examples. (PR#19156)
  • Prefetch is now enabled by default. Prefetch allows the Event Hubs client to maintain a continuously full cache of events, controlled by PartitionClientOptions.Prefetch. (PR#19281)
  • ConsumerClient.ID() returns a unique ID representing each instance of ConsumerClient.

Breaking Changes

  • EventDataBatch.NumMessages() renamed to EventDataBatch.NumEvents()
  • Prefetch is now enabled by default. To disable it set PartitionClientOptions.Prefetch to -1.
  • NewWebSocketConnArgs renamed to WebSocketConnParams
  • Code renamed to ErrorCode, including associated constants like ErrorCodeOwnershipLost.
  • OwnershipData, CheckpointData, and CheckpointStoreAddress have been folded into their individual structs: Ownership and Checkpoint.
  • StartPosition and OwnerLevel were erroneously included in the ConsumerClientOptions struct - they've been removed. These can be
    configured in the PartitionClientOptions.

Bugs Fixed

  • Retries now respect cancellation when they're in the "delay before next try" phase. (PR#19295)
  • Fixed a potential leak which could cause us to open and leak a $cbs link connection, resulting in errors. (PR#19326)

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

NewReleases is sending notifications on new releases.