apache /pulsar

Apache Pulsar - distributed pub-sub messaging system

★ 15,361⑂ 3,796👁 385⑃ 19,002● 7,652▤ 138
JavaApache-2.0Created 2016-06-28pulsar.apache.org/
Download: v5.0.1pulsar-5.0.1 ↓5.0.12026-10-26
+0
Daily
15,361
stars
3,796
forks
385
watchers
19,002
prs
7,652
issues
138
releases

README

!logo








Pulsar is a distributed pub-sub messaging platform with a very
flexible messaging model and an intuitive client API.

Learn more about Pulsar at https://pulsar.apache.org

 Main features

- Horizontally scalable (Millions of independent topics and millions
  of messages published per second)
- Strong ordering and consistency guarantees
- Low latency durable storage
- Topic and queue semantics
- Load balancer
- Designed for being deployed as a hosted service:
  - Multi-tenant
  - Authentication
  - Authorization
  - Quotas
  - Support mixing very different workloads
  - Optional hardware isolation
- Keeps track of consumer cursor position
- REST API for provisioning, admin and stats
- Geo replication
- Transparent handling of partitioned topics
- Transparent batching of messages

 Repositories

This repository is the main repository of Apache Pulsar. Pulsar PMC also maintains other repositories for
components in the Pulsar ecosystem, including connectors, adapters, and other language clients.

- Pulsar Core

 Helm Chart

- Pulsar Helm Chart

 Ecosystem

- Pulsar Adapters

 Clients

- .NET/C Client
- C++ Client
- Go Client
- NodeJS Client
- Python Client
- Reactive Java Client

 Dashboard & Management Tools

- Dekaf UI
- Pulsar Manager

 Website

- Pulsar Site

 CI/CD

- Pulsar CI

 Archived/Halted

- Pulsar Connectors (bundled as pulsar-io)
- Pulsar Translation
- Ruby Client

 Pulsar Runtime Java Version Recommendation

 Note:

 When using Java versions, it is recommended to
 use a recent version of a particular Java release (17 or 21)
 with the most recent bug fixes and security patches.
 For example, the JVM bug JDK-8351933 can cause stability issues in
 Pulsar.
 JDK-8351933 was fixed in Java 17.0.17+ and Java 21.0.8+.
 Pulsar Docker images come with the most recent Java version at the time of release.

When using the Pulsar Java client, it is recommended to set specific system properties and JVM options to allow optimal performance.


 pulsar ver = 4.1 and master branch

| Component       | Java Version |
|-----------------|:------------:|
| Broker          |      21      |
| Functions / IO  |      21      |
| CLI             |   17 or 21   |
| Java Client     |   17 or 21   |

Docker image Java runtime: 21

 3.3  Note:

 This project includes a Gradle Wrapper so no separate Gradle installation is needed.
 Use ./gradlew on Linux/macOS and gradlew.bat on Windows.

 For a better developer experience, install Gradle command-line completion (gradle-completion installation) for bash and zsh shells.

 Build

bash
./gradlew assemble                                                        compile and assemble
./gradlew :pulsar-client-original:test --tests "ConsumerBuilderImplTest"  run a single test
bin/pulsar standalone                                                     run a standalone service
./gradlew quickCheck                                                      license headers + checkstyle, no compile
./gradlew sanityCheck         

Top issues

Discussions

Latest release

v5.0.1 v5.0.1 2026-10-26
Cherry-picked changes

Snapshot: 2026-11-16T09:23:14Z · Data license Apache-2.0 · JSON