ni-ze opened a new issue #788:
URL: https://github.com/apache/rocketmq-externals/issues/788

DefaultMQPullConsumer.start() in open method, and pull message in run method.
DefaultMQPullConsumer.start() would create netty client and many other
resources, It should guaranteed to be closed properly under any conditions.
It is recommended to use as follows
```java
DefaultMQPullConsumer consumer =null;
try{
//initializate
...
//start
consumer.start()
//use
...
} finally {
if (consumer != null){
consumer.shutdown();
}
}
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]