mhaagens commented on issue #62: Listening for messages
URL: 
https://github.com/apache/pulsar-client-node/issues/62#issuecomment-566459422
 
 
   Would this be a solution in the meantime?
   ```
   while (true) {
      const msg = await consumer.receive();
      console.log(msg.getData().toString());
      consumer.acknowledge(msg);
   }
   ```

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