brainlag / JavaNSQClient

Fast Java client for NSQ
MIT License
90 stars 57 forks source link

close connection after consumer close #51

Closed wgxoln closed 5 years ago

wgxoln commented 5 years ago

when call NsqConsumer.close(), the consumer is down, but the connection between consumer and nsq is still connected. so we can call connection.close() after receive CLS reply in cleanClose.