apache /pulsar
Apache Pulsar - distributed pub-sub messaging system
★ 15,361⑂ 3,796👁 385⑃ 19,002● 7,652▤ 138
+0
日增长
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
#23908[Bug] Topic partition backlog grows after bookies restart when using ExtensibleLoadManagerImpl37 comments · 2025-01-29#21104[Bug] Client with shared subscription is blocked31 comments · 2023-08-31#21082[Bug] one topic suddenly cannot be consumed,others is ok26 comments · 2023-08-29#21958[Bug] Msg backlog & unack msg remains when using acknowledgeAsync25 comments · 2024-01-23#18128[PIP-219] Support full scan and trim ledger 22 comments · 2022-10-20#22103[Bug] [Broker] Entry digest does not match20 comments · 2024-02-23#20918[Bug] Bookkeeper rackaware placement policy not applying on bookies20 comments · 2023-08-02#24879[Bug] Auto topic delete of partitioned topics has a MetadataCacheImpl race condition19 comments · 2025-10-21
Discussions
#27617Client-defined key affinity on scalable topics (equivalent of v4 Key_Shared STICKY hash ranges)?0 comments · 2026-11-14#27581CVE-2026-85473 - query about upgrading java jwt in branch 4.01 comments · 2026-11-11#27038Resource Groups (PIP-82): status of tenant-level attachment and dispatch rate enforcement2 comments · 2026-10-21#27030A replicated `__compaction` subscription stops geo-replication (IllegalArgumentException in PulsarCompactorSubscription.acknowledgeMessage)3 comments · 2026-10-21#27020Debezium PostgreSQL source connector for pulsar 5.0.01 comments · 2026-10-20#26992Pulsar Standalone 4.2.5: BookKeeper Connects to Stale Container IP After Restart, Ledger Recovery Fails1 comments · 2026-10-19#26971Shared subscription: backlog drains and partition ack rate spikes on one pod restart, but consumer ack/QPS stay flat (Pulsar 3.0.14)1 comments · 2026-10-17#26939V5 support for transactions1 comments · 2026-10-16
Latest release
v5.0.1 v5.0.1 2026-10-26Cherry-picked changes