Pulsar client libraries

Language-specific client libraries

Pulsar supports the following language-specific client libraries:

LanguageDocumentationRelease noteCode repo
JavaUser doc
API doc
StandaloneBundled
C++User doc
API doc
StandaloneStandalone
PythonUser doc
API doc
StandaloneStandalone
Go clientUser doc
API doc
StandaloneStandalone
Node.jsUser docStandaloneStandalone
C#User docStandaloneStandalone

Overview - 图1tip

If you want to create your own client library, read the binary protocol documentation.

Language-agnostic client libraries

Pulsar supports the following language-agnostic client libraries:

InterfaceDocumentationRelease noteCode repo
RESTUser docBundledBundled
WebSocketUser docStandaloneBundled

Feature matrix

Pulsar client feature matrix for different languages is listed on Pulsar Feature Matrix (Client and Function) page.

Third-party clients

Besides the officially released clients, multiple projects on developing Pulsar clients are available in different languages.

Overview - 图2tip

Want your repository listed here? Click the “Edit this page” button at the bottom of this page.

.NET

ProjectDescriptionLicenseBadges
pulsar-client-dotnetApache Pulsar native client for .NET (C#/F#/VB)MITGitHub Repo Stars GitHub Last Commit

Go

ProjectDescriptionLicenseBadges
pulsar-client-goA Go client library for Apache PulsarApache-2.0GitHub Repo Stars GitHub Last Commit

Haskell

ProjectDescriptionLicenseBadges
supernovaApache Pulsar client for HaskellApache-2.0GitHub Repo Stars GitHub Last Commit

Node.js

ProjectDescriptionLicenseBadges
pulsar-flexPulsar Flex is a modern Apache Pulsar client for Node.js, developed to be independent of C++.MITGitHub Repo Stars GitHub Last Commit

PHP

ProjectDescriptionLicenseBadges
pulsar-client-phpPHP Native Client library for Apache PulsarMITGitHub Repo Stars GitHub Last Commit

Rust

ProjectDescriptionLicenseBadges
pulsar-rsRust Client library for Apache PulsarApache-2.0GitHub Repo Stars GitHub Last Commit

Scala

ProjectDescriptionLicenseBadges
pulsar4sIdiomatic, typesafe, and reactive Scala client for Apache PulsarApache-2.0GitHub Repo Stars GitHub Last Commit
neutronPurely functional Apache Pulsar client for Scala built on top of Fs2Apache-2.0GitHub Repo Stars GitHub Last Commit
neutron (profunktor’s fork)Fs2-powered Apache Pulsar client with support for Scala 2 and 3Apache-2.0GitHub Repo Stars GitHub Last Commit