Open sruthiramani opened 2 years ago
@sruthiramani, did you manage to handle with this issue somehow? I'm using Event Hub lib v3.4.0 and also have the same issue, when sending messages. Did you try reconnecting the event hub? if so did it solve the problem?
Expected Behavior
The client handles amqp related issues and reconnects.
Actual Behavior
While using eventhub v3.3.16, amqp v3.2.2, I'm occasionally encountering this error:
while trying to send events to eventhub using the
Send
API: https://pkg.go.dev/github.com/Azure/azure-event-hubs-go/v3@v3.3.16#Hub.SendI don't have details on how long the connection was idle before this happened, but I would expect the library to handle this error and reconnect instead.
Environment