alexyans commented on issue #78: Error: Failed to send message: AlreadyClosed 
URL: 
https://github.com/apache/pulsar-client-node/issues/78#issuecomment-595336522
 
 
   I tried 2.4 of the client as it was the one recommended by Kafkaesque, but 
the problem was still there for me. Didn't bother going further back as this is 
unspecified behavior and most likely caused by the pulsar server, and I have no 
control of what version Kafkaesque uses. It appears that the server explicitly 
closes the connection for some reason.
   
   For my use case, I worked around the problem by always creating the producer 
right before i emit a message. Flushing and closing after use should prevent 
leaks.

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