pulsar-client 0.0.1-rc.1 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintignore +1 -0
- package/README.md +13 -1
- package/examples/consumer.js +1 -1
- package/examples/consumer_tls_auth.js +1 -1
- package/examples/producer.js +1 -1
- package/examples/producer_tls_auth.js +1 -1
- package/examples/reader.js +1 -1
- package/package.json +1 -1
package/.eslintignore
CHANGED
package/README.md
CHANGED
|
@@ -42,10 +42,22 @@ Compatibility between each version of the Node.js client and the C++ client is a
|
|
|
42
42
|
|
|
43
43
|
| Node.js client | C++ client |
|
|
44
44
|
|----------------|----------------|
|
|
45
|
-
| 0.0
|
|
45
|
+
| 1.0.0 | 2.3.0 or later |
|
|
46
46
|
|
|
47
47
|
If an incompatible version of the C++ client is installed, you may fail to build or run this library.
|
|
48
48
|
|
|
49
|
+
## How to install
|
|
50
|
+
|
|
51
|
+
### Please install pulsar-client in your project:
|
|
52
|
+
|
|
53
|
+
```shell
|
|
54
|
+
$ npm install pulsar-client
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
## Sample code
|
|
58
|
+
|
|
59
|
+
Please refer to [examples](https://github.com/apache/pulsar-client-node/tree/master/examples).
|
|
60
|
+
|
|
49
61
|
## How to build
|
|
50
62
|
|
|
51
63
|
### Install dependent npm modules and build Pulsar client library:
|
package/examples/consumer.js
CHANGED
package/examples/producer.js
CHANGED
package/examples/reader.js
CHANGED