Allow WithAutomaticRetry to take RetryStrategy directly

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Cluster Scalability
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      For compatibility, WithAutomaticRetry still takes its own RetryPredicate which we adapt to RetryCriteria. This makes WithAutomaticRetry tightly coupled with PrimaryOnlyServiceRetryStrategy. We should make WithAutomaticRetry work with any RetryStrategy, and instead take a RetryStrategy directly on construction.

            Assignee:
            Unassigned
            Reporter:
            Brett Nawrocki
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: