alphara commented on issue #62:
URL: 
https://github.com/apache/pulsar-client-node/issues/62#issuecomment-652714428


   The listener works for consumer. But it does not work for reader:
   ```  
   const reader = await client.createReader({
       topic: 'persistent://public/default/my-topic',
       startMessageId: Pulsar.MessageId.earliest(),
       listener: function (msg, consumer) {
         console.log(msg.getData().toString());
       }
     });
   ```
   Do you want to implement it?


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


Reply via email to