-
Notifications
You must be signed in to change notification settings - Fork 69
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
Not enough arguments in call to msg.Accept while initializing receiver #186
Comments
Hello, Here is the main.go code:
And here is the error:
I've tried with versions: 3.3.0, 3.2.0, 3.1.2, 3.1.1, 3.0.0, and all of them failed with the same error. OS: macOS Catalina 10.15.5 |
I saw the same. The issue appears to be coming from v0.13 of go-amqp. Try this and see if it fixes your problem:
|
Indeed, the 0.12.8 version of azure/go-amqp fixes the build process, not sure if it has other consequences though. |
Expected Behavior
With the sample code below (the connection string is given correctly):
The execution will have below error:
Actual Behavior
The code should work properly to start receiving the message from eventhb.
I manually modify
../github.com/Azure/azure-event-hubs-go/receiver.go
from local and it will work.Environment
The text was updated successfully, but these errors were encountered: