All Projects → apache → pulsar-client-node

apache / pulsar-client-node

Licence: other
Apache Pulsar NodeJS Client

Programming Languages

C++
36643 projects - #6 most used programming language
javascript
184084 projects - #8 most used programming language
typescript
32286 projects
shell
77523 projects
python
139335 projects - #7 most used programming language
c
50402 projects - #5 most used programming language

Projects that are alternatives of or similar to pulsar-client-node

pulsar-adapters
Apache Pulsar Adapters
Stars: ✭ 18 (-79.55%)
Mutual labels:  streaming, messaging, pubsub, pulsar, queuing, event-streaming
pulsar-helm-chart
Official Apache Pulsar Helm Chart
Stars: ✭ 122 (+38.64%)
Mutual labels:  streaming, messaging, pubsub, pulsar, queuing, event-streaming
Pulsar
Apache Pulsar - distributed pub-sub messaging system
Stars: ✭ 10,118 (+11397.73%)
Mutual labels:  streaming, messaging, pubsub, pulsar, queuing, event-streaming
tgip
TGIP (TGI Pulsar) is a weekly live video streaming about Apache Pulsar and its ecosystem.
Stars: ✭ 17 (-80.68%)
Mutual labels:  messaging, pubsub, pulsar, event-streaming
Liftbridge
Lightweight, fault-tolerant message streams.
Stars: ✭ 2,175 (+2371.59%)
Mutual labels:  streaming, messaging, pubsub
aop
AMQP on Pulsar protocol handler
Stars: ✭ 93 (+5.68%)
Mutual labels:  messaging, pubsub, pulsar
Pulsar Dotpulsar
The official .NET client library for Apache Pulsar
Stars: ✭ 101 (+14.77%)
Mutual labels:  streaming, messaging, pubsub
Pulsar Manager
Apache Pulsar Manager
Stars: ✭ 247 (+180.68%)
Mutual labels:  streaming, messaging, pubsub
Pulsar Client Go
Apache Pulsar Go Client Library
Stars: ✭ 251 (+185.23%)
Mutual labels:  streaming, messaging, pubsub
Centrifugo
Scalable real-time messaging server in a language-agnostic way. Set up once and forever.
Stars: ✭ 5,649 (+6319.32%)
Mutual labels:  streaming, messaging, pubsub
pulsar-io-kafka
Pulsar IO Kafka Connector
Stars: ✭ 24 (-72.73%)
Mutual labels:  pubsub, pulsar, event-streaming
liftbridge-api
Protobuf definitions for the Liftbridge gRPC API. https://github.com/liftbridge-io/liftbridge
Stars: ✭ 15 (-82.95%)
Mutual labels:  streaming, messaging, pubsub
Azure Event Hubs
☁️ Cloud-scale telemetry ingestion from any stream of data with Azure Event Hubs
Stars: ✭ 233 (+164.77%)
Mutual labels:  streaming, messaging
pulsar-flume-ng-sink
An Apache Flume Sink implementation to publish data to Apache pulsar
Stars: ✭ 19 (-78.41%)
Mutual labels:  messaging, pubsub
Spring Streaming
SPA on Spring Boot 1.x, WebSockets and React, gradle, nodejs, spring-boot, gradle multi project, spring-mvc, spring-data, gradle dependency update plugin, react-router
Stars: ✭ 6 (-93.18%)
Mutual labels:  streaming, messaging
gobroker
golang wrapper for all (to-be) kinds of message brokers
Stars: ✭ 15 (-82.95%)
Mutual labels:  messaging, pubsub
talek
a Private Publish Subscribe System
Stars: ✭ 39 (-55.68%)
Mutual labels:  messaging, pubsub
Jocko
Kafka implemented in Golang with built-in coordination (No ZK dep, single binary install, Cloud Native)
Stars: ✭ 4,445 (+4951.14%)
Mutual labels:  streaming, messaging
gafka
A full ecosystem that is built around kafka powered by golang
Stars: ✭ 96 (+9.09%)
Mutual labels:  messaging, pubsub
pulsar-user-group-loc-cn
Workspace for China local user group.
Stars: ✭ 19 (-78.41%)
Mutual labels:  streaming, messaging

Pulsar Node.js client library

The Pulsar Node.js client can be used to create Pulsar producers and consumers in Node.js.

Requirements

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

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 - 1.5.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.

How to install

Install on windows

  1. Build the Pulsar C++ client on windows.

  2. Set the variable PULSAR_CPP_DIR with the pulsar-client-cpp path in a Windows command tool.

# for example
set PULSAR_CPP_DIR=C:\pulsar\pulsar-client-cpp

Install pulsar-client to your project

$ npm install pulsar-client

Sample code

Please refer to examples.

How to build

Install dependent npm modules and build Pulsar client library:

$ git clone https://github.com/apache/pulsar-client-node.git
$ cd pulsar-client-node
$ npm install

Note

If you build pulsar-client-node on windows, you need to set the variable PULSAR_CPP_DIR first, then install npm (run the command npm install) in a Windows command-line tool.

Rebuild Pulsar client library:

$ npm run build
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].