commit | 0c33334d6b43034bb35226e5b6f9ba7ec202332c | [log] [tgz] |
---|---|---|
author | nkurihar <nkurihar@apache.org> | Thu Aug 29 15:03:40 2019 +0900 |
committer | GitHub <noreply@github.com> | Thu Aug 29 15:03:40 2019 +0900 |
tree | 4177a8ac528a1a2111342a529f76a99d54d71f3e | |
parent | 35ba649ac1d5d9a757167922b449cef345a1afd4 [diff] | |
parent | 5c699e5a333c9af3f9e2bf136e72d817e588bdc6 [diff] |
Merge pull request #53 from massakam/bump-master-version Bump the master version to 1.1.0
The Pulsar Node.js client can be used to create Pulsar producers and consumers in Node.js.
Pulsar Node.js client library is based on the C++ client library. Follow the instructions for C++ library for installing the binaries through RPM, Deb or Homebrew packages.
(Note: you will need to install not only the pulsar-client library but also the pulsar-client-dev library)
Also, this library works only in Node.js 10.x or later because it uses the node-addon-api module to wrap the C++ library.
Compatibility between each version of the Node.js client and the C++ client is as follows:
Node.js client | C++ client |
---|---|
1.0.0 | 2.3.0 or later |
If an incompatible version of the C++ client is installed, you may fail to build or run this library.
$ npm install pulsar-client
Please refer to examples.
$ git clone https://github.com/apache/pulsar-client-node.git $ cd pulsar-client-node $ npm install
$ npm run build