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
I created a route for http request that handles all incoming requests then i push them on queue by producer.Publish() method, then return status code 200 to user.
on the other side (consumer) what is the best approach to handle ?
waitGroup with large number like wg.Add(100000) or infinite loop ? or .. ?
can you help me with example ...?
refer to ex:
// Gracefully stop the consumer.
consumer.Stop()
it close and i want to run always ....
The text was updated successfully, but these errors were encountered:
I created a route for http request that handles all incoming requests then i push them on queue by
producer.Publish()
method, then return status code 200 to user.on the other side (consumer) what is the best approach to handle ?
waitGroup with large number like wg.Add(100000) or infinite loop ? or .. ?
can you help me with example ...?
refer to ex:
it close and i want to run always ....
The text was updated successfully, but these errors were encountered: