shibd commented on issue #281:
URL: 
https://github.com/apache/pulsar-client-node/issues/281#issuecomment-1383830282

   Hi, Let's continue the discussion here.
   
   https://github.com/apache/pulsar-client-node/pull/282#issuecomment-1378497083
   
   I build from source code following Master's `README` and it worked.
   
   I suspect maybe you're using a different server environment?
   
   Can you test by following the steps below:
   
   1. Refer to [How to 
build](https://github.com/apache/pulsar-client-node/tree/v1.8.0#how-to-build) 
of master README to build from the source
   2. Copy this 
[demo](https://github.com/shibd/pulsar-node-oauth2-ssl-test/blob/main/producer-oauth2.js)
 to 
[example](https://github.com/apache/pulsar-client-node/tree/master/examples) on 
your host.
   3. Change require
   ```git
   const Pulsar = require('shibaodi-pulsar-client');
   // change to
   const Pulsar = require('../');
   ```
   4. Run this demo.


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

To unsubscribe, e-mail: commits-unsubscr...@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to