Azure / azure-event-hubs-go

Golang client library for Azure Event Hubs https://azure.microsoft.com/services/event-hubs
MIT License
89 stars 69 forks source link

Retries should reuse existing connection when possible #217

Closed jhendrixMSFT closed 3 years ago

jhendrixMSFT commented 3 years ago

The current retry mechanism calls Recover() to tear down and rebuild the EH connection which is inefficient. For cases where the connection is fine (e.g. server busy, probably others), it would be preferable to reuse the existing connection.

jhendrixMSFT commented 3 years ago

Fixed in v3.3.10