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] updates PartitionPump to continue receiving events for retryable errors #4565

Merged
merged 2 commits into from
Jul 31, 2019

Conversation

chradek
Copy link
Contributor

@chradek chradek commented Jul 31, 2019

This change updates the way PartitionPump handles errors from Event Hubs.

Current State

If a receiveBatch call returns an error, the user-defined processError method is called.
The PartitionPump is not stopped.
No future events are processed by the pump.
The user-defined close method is not called.

PR State

If a receiveBatch call returns an error, the user-defined processError method is called.
The PartitionPump is not stopped if the error is retryable.
Future events are processed by the pump if the error is retryable.
The user-defined close method is called if the error is not retryable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants