You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently it is impossible to detect if consumer closed if you are not using consumer.Receive() method. But this method is blocking and is intended to be used as a receiver of the message.
Maybe we can either add method like Closed() to the interface, or change Receive() method as proposed by issue author?
Is your feature request related to a problem? Please describe.
lots of consumer code maybe like this:
if not close channel when consumer close, maybe cause goroutine leak.
Describe the solution you'd like
when close a consumer,close the consumer's message channel.
Describe alternatives you've considered
Additional context
The text was updated successfully, but these errors were encountered: