yosiat commented on issue #83: Consumer with message listener dies after some time URL: https://github.com/apache/pulsar-client-node/pull/83#issuecomment-604954020 @massakam thanks for taking a look in this PR. I am sorry, but the script I posted in the PR doesn't reproduce the issue as you said and this is not the original one. The original one got removed by git stash. The script that reproduces the issue, is by removing `consumer.close()` and `client.close()`. once you remove them, after couple of seconds you will get: ``` 2020-03-27 14:31:45.423 WARN ConsumerImpl:99 | [persistent://public/default/my-topic, sub1, 0] Destroyed consumer which was not properly closed 2020-03-27 14:31:45.423 INFO ClientConnection:1349 | [127.0.0.1:51220 -> 127.0.0.1:6650] Connection closed 2020-03-27 14:31:45.423 INFO ClientConnection:235 | [127.0.0.1:51220 -> 127.0.0.1:6650] Destroyed connection ``` Update the code in the description and pushed a fix for the suggested changes. Sorry again.
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services