yosiat commented on a change in pull request #83: Consumer with message
listener dies after some time
URL: https://github.com/apache/pulsar-client-node/pull/83#discussion_r399207657
##########
File path: src/Consumer.cc
##########
@@ -45,8 +46,48 @@ void Consumer::Init(Napi::Env env, Napi::Object exports) {
constructor.SuppressDestruct();
}
+struct MessageListenerProxyData {
+ Consumer *consumer;
+ pulsar_message_t *cMessage;
Review comment:
Didn't saw those errors because I worked with `npm run build:debug`, now I
see them and fixed.
Thanks.
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services