Skip to content

Conversation

@conniey
Copy link
Member

@conniey conniey commented Jul 30, 2019

This PR is an overhaul of the existing Retry for azure-core-amqp. In addition, we add support for retrying not just send, but for any operation (ie. when an AMQP connection, link, session fails for creation).

Features:

  • Renames Retry -> RetryPolicy to align with other language teams.
    • A lot of the changed files come from this file rename.
  • Adds RetryOptions
  • Removes .timeout() with RetryOptions.tryTimeout()
  • Moves BatchOptions into model package class (unrelated to retry).

Fixes #4262
Fixes #4308

@conniey conniey added Event Hubs Client This issue points to a problem in the data-plane of the library. labels Jul 30, 2019
@conniey conniey requested a review from alzimmermsft as a code owner July 30, 2019 23:00
@conniey conniey self-assigned this Jul 30, 2019
@conniey conniey merged commit 3474c06 into Azure:master Aug 1, 2019
@conniey conniey deleted the retry-per-send branch August 1, 2019 08:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Client This issue points to a problem in the data-plane of the library. Event Hubs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Event Hubs] Add fixed retry [Event Hubs] Add support for individual send message Retry

4 participants