commit | dbf27c0082f7d51d44a715cea364f01cbd081fdb | [log] [tgz] |
---|---|---|
author | shustsud <shustsud@yahoo-corp.jp> | Thu Aug 29 11:57:09 2019 +0900 |
committer | shustsud <shustsud@yahoo-corp.jp> | Thu Aug 29 11:57:09 2019 +0900 |
tree | 5af9acbdf2dde602169257318fcaaffd8fa22b1b | |
parent | 593ac38315d81370c2957ff35fa1c49f58f7d2c0 [diff] |
The examples directory was excluded from eslint. The examples directory was excluded from eslint.
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
$ npm install pulsar-client
Please refer to examples.