nsqio / go-nsq

The official Go package for NSQ
MIT License
2.59k stars 444 forks source link

nsqd: how to consume multiple message at once / at the same time with go-nsq #240

Closed evinaheng closed 5 years ago

evinaheng commented 6 years ago

did go nsq support to read message at once when some consumer is on flight to read it

mreiferson commented 5 years ago

This probably belongs in https://github.com/nsqio/go-nsq, but generally yes, go-nsq supports concurrent message processing. However, a subscription is managed by single TCP connection, so you get parallelism from multiple subscriptions (consumers).