Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump Azure.Messaging.EventHubs from 5.10.0 to 5.11.0 in /src #2865

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 26, 2024

Bumps Azure.Messaging.EventHubs from 5.10.0 to 5.11.0.

Release notes

Sourced from Azure.Messaging.EventHubs's releases.

Azure.Messaging.EventHubs.Processor_5.11.0

5.11.0 (2024-02-13)

Acknowledgments

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

Features Added

  • Added a CheckpointPosition struct to use when updating a checkpoint. The specified position indicates that an event processor should begin reading from the next event. Added new UpdateCheckpointAsync overloads to EventProcessorClient and BlobCheckpointStore that accept the CheckpointPosition struct instead of individual values for offset and sequence number.

Breaking Changes

  • The type of several existing values in the EventData.SystemProperties collection have been changed so that they are properly represented as .NET string types. Previously, the underlying AMQP types were unintentionally returned, forcing callers to call ToString() to read the value.

    This is a behavioral breaking change that will impacts only those callers who were explicitly casting system property values to AmqpAddress or AmqpMessageId before calling ToString(). The affected system properties are:

    • MessageId
    • CorelationId
    • To
    • ReplyTo
  • The base implementations of both UpdateCheckpointAsync method overloads in PluggableCheckpointStoreEventProcessor<TPartition> and EventProcessor<TPartition> now choose sequence number over offset when writing a checkpoint and both values are provided. Previously, writing a checkpoint prioritized offset over sequence number. There is no difference in behavior for normal usage scenarios.

Bugs Fixed

  • Fixed a race condition that could lead to a synchronization primitive being double-released if IsRunning was called concurrently while starting or stopping the processor.

  • Fixed a bug in which cancellation honored by the processor was interpreted as an error surfaced by developer code and a warning was inappropriately emitted to the error handler.

  • Fixed an issue with event processor validation where an exception for quota exceeded may inappropriately be surfaced when starting the processor.

  • In the rare case that an event processor's load balancing and health monitoring task cannot recover from an error, it will now properly surrender ownership when processing stops.

Other Changes

  • A new sample that demonstrates using the EventProcessorClient with an ASP.NET hosted service is now available. (A community contribution, courtesy of davetrainer)

  • Updated the Microsoft.Azure.Amqp dependency to 2.6.4, which enables support for TLS 1.3.

  • Removed the custom sizes for the AMQP sending and receiving buffers, allowing the optimized defaults of the host platform to be used. This offers non-trivial performance increase on Linux-based platforms and a minor improvement on macOS. Windows performance remains unchanged as the default and custom buffer sizes are equivalent.

  • Improved efficiency of partition management during load balancing, reducing the number of operations performed and deferring waiting for lost partitions until the processor is stopped or the partition is reclaimed. Allocations were also non-trivially reduced.

  • Improved the approach used by the processor to manage the background tasks for partition processing and load balancing. These tasks are now marked as long-running and have improved error recovery.

  • Initialization of the load balancing task is now performed in the background and will no longer cause delays when starting the processor.

  • Loosened validation for the fully qualified namespace name passed to the processor constructor. A URI is now also accepted as a valid format. This is intended to improve the experience when using the management library, CLI, Bicep, or ARM template to create the namespace, as they return only an endpoint for the namespace. Previously, callers were responsible for parsing the endpoint and extracting the host name for use with the processor.

... (truncated)

Commits
  • 88b55fd ClientModel: Move buffering into the transport (#41772)
  • a4d19fa Pass linked token to trigger execution (#41921)
  • 885767a [Event Hubs] Fix backwards compatibility with new vs old SDK checkpointing (#...
  • 9fba7b2 Use common environment for releasing (#41912)
  • a3a24ef Prepare for release (#41915)
  • cebc442 Update troubleshooting doc for AADSTS65002 errors (#41906)
  • bca5efd Rebranding Microsoft Entra (#41900)
  • 4fee1cc Post-release updates for Azure.Communication.Common (#41927)
  • 29182f9 Increment package version after release of Azure.Communication.Common (#41924)
  • f6407d9 Change channel id of GetTemplates operation to GUID (#41909)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [Azure.Messaging.EventHubs](https://github.com/Azure/azure-sdk-for-net) from 5.10.0 to 5.11.0.
- [Release notes](https://github.com/Azure/azure-sdk-for-net/releases)
- [Commits](Azure/azure-sdk-for-net@Azure.Messaging.EventHubs_5.10.0...Azure.Messaging.EventHubs_5.11.0)

---
updated-dependencies:
- dependency-name: Azure.Messaging.EventHubs
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot requested a review from a team as a code owner February 26, 2024 14:04
@dependabot dependabot bot added .NET Pull requests that update .net code dependencies Pull requests that update a dependency file labels Feb 26, 2024
Copy link

codecov bot commented Feb 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 85.63%. Comparing base (b84ed7e) to head (64ea477).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2865   +/-   ##
=======================================
  Coverage   85.63%   85.63%           
=======================================
  Files         296      296           
  Lines       11340    11340           
  Branches      890      890           
=======================================
  Hits         9711     9711           
  Misses       1337     1337           
  Partials      292      292           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@kbeaugrand kbeaugrand merged commit 50d3185 into main Feb 27, 2024
6 checks passed
@kbeaugrand kbeaugrand deleted the dependabot/nuget/src/Azure.Messaging.EventHubs-5.11.0 branch February 27, 2024 06:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file .NET Pull requests that update .net code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant