Skip to content

Conversation

@srnagar
Copy link
Member

@srnagar srnagar commented Oct 29, 2020

This PR closes the EventHubAsyncClient after fetching the list of partitions successfully as the client would have opened the connection and wouldn't need to use it after the first call to get the partitions. So, this PR will eagerly close the connection instead of the service closing the connection after idle timeout.

Also, the AmqpReceiveLinkProcessor checks the link name to pass on the error when a link is stolen. If the current link is different from the link that was stolen, then downstream doesn't need to be informed of this error.

Fixes #14976

@ghost ghost added the Event Hubs label Oct 29, 2020
Copy link
Contributor

@YijunXieMS YijunXieMS left a comment

Choose a reason for hiding this comment

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

LGTM

@srnagar srnagar merged commit 07a953c into Azure:master Oct 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] ManagementChannel throw exceptions after client closing

3 participants