You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by gi...@git.apache.org on 2017/08/31 11:08:58 UTC

[GitHub] maskit opened a new issue #738: Example code for Node.js doesn't work

maskit opened a new issue #738: Example code for Node.js doesn't work
URL: https://github.com/apache/incubator-pulsar/issues/738
 
 
   #### Expected behavior
   
   Provide examples that actually work
   
   #### Actual behavior
   
   Consumer example for Node.js doesn't work.
   
   ```
   ReferenceError: socket is not defined
   ```
   
   Also, coding style and naming are inconsistent:
     `socket.onmessage(...` vs `ws.on('message', ...`
     `function(message)` vs `function(packet)`
   
   #### Steps to reproduce
   
   1. Go http://pulsar.incubator.apache.org/docs/latest/clients/WebSocket/
   1. Run examples on Node.js
   
   #### System configuration
   N/A
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services