Skip to content

[Event Hubs] updates PartitionPump to continue receiving events for retryable errors#4565

Merged
chradek merged 2 commits intoAzure:masterfrom
chradek:eph-receive-error-changes
Jul 31, 2019
Merged

[Event Hubs] updates PartitionPump to continue receiving events for retryable errors#4565
chradek merged 2 commits intoAzure:masterfrom
chradek:eph-receive-error-changes

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