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
Yes. Each consumer group run in it's own go routine. I know alternative is to subscribe multiple topic in one go routine. But the API doesn't preclude subscribing one topic in separate go routine. And if this is a bad practice it would helpful to state this in the document (and maybe give a reason).
I create multiple consumers running in different Go routines. These consumers consume messages on different topics.
But I notice that when one consumer is blocked processing messages, the other consumer would get timeout error on the
ReadMessage
function.Is it not a practice to create multiple consumers in the same process?
The text was updated successfully, but these errors were encountered: