{"repo":"apache/pulsar-client-node","free":true,"listed":false,"github":"https://github.com/apache/pulsar-client-node","clone":"git clone https://github.com/apache/pulsar-client-node.git","description":"Apache Pulsar NodeJS Client","language":"C++","stars":165,"topics":["pulsar","pubsub","messaging","streaming","queuing","event-streaming","node","javascript","nodejs"],"license":"Apache-2.0","category":"chat-messaging","readme_excerpt":"Pulsar Node.js client library The Pulsar Node.js client can be used to create Pulsar producers and consumers in Node.js. For the supported Pulsar features, see Client Feature Matrix. This library works only in Node.js 12.3 or later because it uses: 1. The node-addon-api module to wrap the C++ library. 2. The Mozilla CA file, which is provided by Node.js v12.3.0 and subsequent versions. Getting Started Note These instructions are only available for versions after 1.8.0. For versions previous to 1.8.0, you need to install the C++ client first. Please switch to the corresponding version branch of this repo to read the specific instructions. To run the examples, skip this section. To use the Pulsar Node.js client in your project, run: or Then you can run the following simple end-to-end example: You should find the output as: You can see more examples in the examples directory. However, since these examples might use an API that was not released yet, you need to build this module. See the next section. How to build Note Building from source code requires a Node.js version greater than 16.18. First, clone the repository. Since this client is a C++ addon that depends on the Pulsar C++ client, you need to install the C++ client first. You need to ensure there is a C++ compiler that supports C++11 installed in your system. - Install C++ client on Linux: - Install C++ client on Windows: - Install C++ client on macOS: After the C++ client is installed, run the following command to build","default_branch":null,"files":null,"tree":[],"storefront":"/r/apache","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/apache/pulsar-client-node/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}