nsqio / go-nsq

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

Conn cannot execute multiple subscribe commands #347

Closed puoklam closed 2 years ago

puoklam commented 2 years ago

When Writing multiple subscribe commands to the same topic using WriteCommand method with a single conn object, only the first command was successful, the second failed with no error, the third failed with an error write tcp 127.0.0.1:42324->127.0.0.1:4150: write: broken pipe.

mreiferson commented 2 years ago

You cannot have more than one subscription on a single connection.