commit | 8af5763d14f23e0460ee614d930aa1ef220ed78f | [log] [tgz] |
---|---|---|
author | nkurihar <nkurihar@apache.org> | Fri Aug 23 10:07:57 2019 +0900 |
committer | GitHub <noreply@github.com> | Fri Aug 23 10:07:57 2019 +0900 |
tree | fb1026d189ffbed0a1bc5c066cc17fe9124a443d | |
parent | 5f8aadbc8922bb1c0a031d02416d69e082a9544f [diff] | |
parent | 4464cb0219ae4d67e2220f28dcb06cac5249ab1f [diff] |
Merge pull request #48 from massakam/change-initial-version Change initial version to 0.0.1
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 |
---|---|
0.0.1 | 2.3.0 or later |
If an incompatible version of the C++ client is installed, you may fail to build or run this library.
$ git clone https://github.com/apache/pulsar-client-node.git $ cd pulsar-client-node $ npm install
$ npm run build