[GitHub] [pulsar-client-node] yosiat commented on issue #78: Error: Failed to send message: AlreadyClosed

2020-03-26 Thread GitBox
yosiat commented on issue #78: Error: Failed to send message: AlreadyClosed URL: https://github.com/apache/pulsar-client-node/issues/78#issuecomment-604705233 @alexyans happy to help :) This is an automated message from the

[GitHub] [pulsar-client-node] yosiat commented on issue #78: Error: Failed to send message: AlreadyClosed

2020-03-24 Thread GitBox
yosiat commented on issue #78: Error: Failed to send message: AlreadyClosed URL: https://github.com/apache/pulsar-client-node/issues/78#issuecomment-603524312 @sijie sounds like a good approach, I tried my approach of creating napi ref, but couldn't find a way to implement it. I

[GitHub] [pulsar-client-node] yosiat commented on issue #78: Error: Failed to send message: AlreadyClosed

2020-03-23 Thread GitBox
yosiat commented on issue #78: Error: Failed to send message: AlreadyClosed URL: https://github.com/apache/pulsar-client-node/issues/78#issuecomment-602585875 Hey! I see you what you are writing here, but this is a bug in the client. I don't need to implement any keepalives or

[GitHub] [pulsar-client-node] yosiat commented on issue #78: Error: Failed to send message: AlreadyClosed

2020-03-19 Thread GitBox
yosiat commented on issue #78: Error: Failed to send message: AlreadyClosed URL: https://github.com/apache/pulsar-client-node/issues/78#issuecomment-601193248 @alexyans yeah this is an example, but in real system, I want to use the same producer and publish messages every now and then.

[GitHub] [pulsar-client-node] yosiat commented on issue #78: Error: Failed to send message: AlreadyClosed

2020-03-19 Thread GitBox
yosiat commented on issue #78: Error: Failed to send message: AlreadyClosed URL: https://github.com/apache/pulsar-client-node/issues/78#issuecomment-601153727 How I avoid client destruction? In the following example, I create a producer and produce a message every 1 second.