yosiat commented on issue #78: Error: Failed to send message: AlreadyClosed 
URL: 
https://github.com/apache/pulsar-client-node/issues/78#issuecomment-603868358
 
 
   @sijie tried out creating a reference to a client from the producer but it 
didn't help (tried with InstanceAccesor) and it created a weird dependency on 
the code which I didn't feel comfortable doing.
   
   But I found out how to create a reference for a client and un-reference it 
when the client closes the connection.
   
   This PR - https://github.com/apache/pulsar-client-node/pull/85 fixed the 
code I wrote above :)

----------------------------------------------------------------
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

Reply via email to