Pulsar 支持以下客户端库:

Java 客户端

For instructions on how to use the Pulsar Java client to produce and consume messages, see Pulsar Java client.

Two independent sets of Javadoc API docs are available.

Library作用
org.apache.pulsar.client.apiThe Pulsar Java client is used to produce and consume messages on Pulsar topics.
org.apache.pulsar.client.adminThe Java client for the Pulsar admin interface.

Go client

For a tutorial on using the Pulsar Go client, see Pulsar Go client.

Python client

For a tutorial on using the Pulsar Python client, see Pulsar Python client.

There are also pdoc-generated API docs for the Python client here.

C++ client

For a tutorial on using the Pulsar C++ clent, see Pulsar C++ client.

这里同样有Doxygen-生成的C++客户端API文档。

Feature Matrix

Pulsar client feature matrix for different languages is listed on Client Features Matrix page.

Thirdparty Clients

Besides the official released clients, there are also multiple projects on developing a Pulsar client in different languages.

如果你开发了新的 Pulsar 客户端,可随时提交拉取请求,请将新开发的客户端添加到请求列表中。

LanguageProjectMaintainerLicenseDescription
Gopulsar-client-goComcastLicenseA native golang client
Gogo-pulsart2yLicense
Scalapulsar4ssksamuelLicenseIdomatic, typesafe, and reactive Scala client for Apache Pulsar