shibd commented on PR #245:
URL:
https://github.com/apache/pulsar-client-node/pull/245#issuecomment-1313075370
> You try to upload these artifacts to the release page, but is there any
document to explain how to use it?
Oh, I want to clarify that this has no impact on the average user. They are
used through the `npm install pulsar-client`.
But for users who don't want to use the npm management package. They can be
downloaded binaries through the `release page`.
Then use it like below(BTW: This approach does not require additional
instructions in the documentation):
```node
const Pulsar = require('Pulsar.node');
(async () => {
// Create a client
const clientConfig = {
serviceUrl: 'pulsar://localhost:6650',
};
const client = new Pulsar.Client(clientConfig);
await client.close();
})();
```
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]