Skip to content

roackb2/pulsar-ws

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pulsar-ws

This is a node.js library for Apache Pulsar with communication over WebSocket.

Motivation

Current Apache Pulsar libraries are wrappers over C++ client library, which adds difficulties for cross-platform deployment. Using WebSocket, this library becomes pure JavaScript and need no C++ client library installation anymore.

Examples

See examples folder.

Secure Connection

Since npm ws module allows custom header on WebSocket request, it is possible to send JWT access token in header. But you might need to set environment variables as following:

export NODE_EXTRA_CA_CERTS=[Your CA cert path];

About

Apache Pulsar node.js client over WebSocket

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published