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

Receiving amqp: link closed while using the library #65

Open
sruthiramani opened this issue Dec 16, 2021 · 1 comment
Open

Receiving amqp: link closed while using the library #65

sruthiramani opened this issue Dec 16, 2021 · 1 comment

Comments

@sruthiramani
Copy link

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:

amqp: link closed

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.Send

I 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

  • OS: Docker image running on k8s
  • Go version: 1.16
  • Version of Library: Eventhub - v3.3.16 and AMQP - v3.2.2
@erezblm
Copy link

erezblm commented Mar 9, 2023

@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?

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

No branches or pull requests

2 participants