nsqio / go-nsq

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

producer: read: connection reset by peer #318

Open Doslin opened 3 years ago

Doslin commented 3 years ago

This is guaranteed to happen when I use the producer's Stop method

[E] [conn.go:731] ERR 4 (10.xx.xx.xx:4150) IO error - read tcp 192.xx.xx.xx:63228->10.xx.xx.xx:4150: read: connection reset by peer

Is there an elegant way to close a Producer?