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

[Event Hubs] Allow users to configure retry options in send requests #2992

Closed
wants to merge 7 commits into from

Conversation

ShivangiReja
Copy link
Member

Allow users to configure retry options in send requests as described in #2661 (comment) for send operations on EventHubClient.

@ShivangiReja ShivangiReja added Client This issue points to a problem in the data-plane of the library. Event Hubs labels May 17, 2019
@ShivangiReja ShivangiReja requested a review from ramya-rao-a May 17, 2019 21:15
Copy link
Contributor

@ramya-rao-a ramya-rao-a left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please recreate this PR against the event-hubs-track2 branch

const sender = EventHubSender.create(this._context, partitionId);
return sender.send(data);
return typeof partitionIdOrptions === "object" ? sender.send(data, partitionIdOrptions) : sender.send(data);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have an if/else block in the beginning. Can we re-use that to decide what the options should be instead of addition another check here?

@ShivangiReja
Copy link
Member Author

Created this PR #2997 against the event-hubs-track2 branch, hence closing this one.

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.

2 participants