-
Notifications
You must be signed in to change notification settings - Fork 6
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
New package for rabbitmq #364
base: main
Are you sure you want to change the base?
Conversation
f8d6882
to
241ac55
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe move it to pkg/clients
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe return a cancel function so we can defere cancelfunc() or add a cacel method that can be called from defere
defere c.Cancel()
…dentials from the environment
… default authenticator
4bd4c60
to
8c7856e
Compare
Package is now moved to pkg/clients/rabbitmq |
The underlying connection interface has a Shutdown method that can be deferred and should handle context cancel. Would this cancel method be on the consumer/producer? |
Fair, could do i guess
|
Usage examples: