Pulsar目前有如下语言的客户端库:java
关于使用Pulsar Java客户端生产和消费消息的教程,请参阅 Pulsar Java客户端。python
有两组独立的Javadoc API文档:git
库 | 做用 |
---|---|
org.apache.pulsar.client.api |
用于生产和消费Pulsar主题消息的 Pulsar Java客户端 |
org.apache.pulsar.client.admin |
Pulsar管理接口的Java客户端 |
有关使用Pulsar Go客户端的教程,请参阅 Pulsar Go客户端。github
有关使用Pulsar Python客户端的教程,请参阅 Pulsar Python客户端。apache
这里有提供的文档:http://pulsar.apache.org/api/pythonapi
有关使用Pulsar C++客户端的教程,请参阅 Pulsar C++客户端。code
这里有提供的文档:http://pulsar.apache.org/api/cpp
教程
目前客户端之间的支持功能比较接口
Feature | Java | C++ | Go | Python | WebSocket |
---|---|---|---|---|---|
Partitioned topics | ✅ | ✅ | ✅ | ✅ | ✅ |
Batching | ✅ | ✅ | ✅ | ✅ | ✅ |
Compression | ✅ | ✅ | ✅ | ✅ | ✅ |
TLS | ✅ | ✅ | ✅ | ✅ | ✅ |
Authentication | ✅ | ✅ | ✅ | ✅ | ✅ |
Reader API | ✅ | ✅ | ✅ | ✅ | ✅ |
Proxy Support | ✅ | ✅ | ✅ | ✅ | ✅ |
Effectively-Once | ✅ | ✅ | ✅ | ✅ | ❌ |
Schema | ✅ | ❌ | |||
Consumer seek | ✅ | ✅ | ✅ | ❌ | |
Multi-topics consumer | ✅ | ❌ | |||
Topics regex consumer | ✅ | ❌ | |||
Compacted topics | ✅ | ✅ | ✅ | ❌ | |
User defined properties producer/consumer | ✅ | ❌ | |||
Reader hasMessageAvailable | ✅ | ✅ | ✅ | ❌ | |
Hostname verification | ✅ | ❌ |
下面是已经在开发的新特性开发
Feature | Java | C++ | Go | Python | WebSocket |
---|---|---|---|---|---|
Multi-topics consumer | ✅ | ✅ | ✅ | ❌ | |
Topics regex consumer | ✅ | #2219 | #2219 | ❌ |