tag | 18ff6f0cb9ffd897b2c12f54efd5537b26def180 | |
---|---|---|
tagger | hrsakai <hsakai@yahoo-corp.jp> | Mon Sep 13 15:40:44 2021 +0900 |
object | cb581c9357bf667fc289386401c2f3f5a8395e25 |
1.3.1-rc.1
commit | cb581c9357bf667fc289386401c2f3f5a8395e25 | [log] [tgz] |
---|---|---|
author | hrsakai <hsakai@yahoo-corp.jp> | Mon Sep 13 15:40:44 2021 +0900 |
committer | hrsakai <hsakai@yahoo-corp.jp> | Mon Sep 13 15:40:44 2021 +0900 |
tree | ced0b9b3906a06f8d38c87e07dc952a4e32c1307 | |
parent | 18fb78f36de347748fdf16b3b3ba9c7096cdcf1d [diff] |
1.3.1-rc.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 |
---|---|
1.0.x | 2.3.0 or later |
1.1.x | 2.4.0 or later |
1.2.x | 2.5.0 or later |
1.3.x | 2.7.0 or later |
1.4.x | 2.8.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