GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - apache/pulsar: Apache Pulsar - distributed pub-sub messaging system

BranchesTags
Open more actions menu

Latest commit

 

History

15,777 Commits
15,777 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
.idea
.idea
 
 
bin
bin
 
 
bookkeeper-prometheus-metrics-provider
bookkeeper-prometheus-metrics-provider
 
 
build-logic
build-logic
 
 
buildtools
buildtools
 
 
conf
conf
 
 
deployment
deployment
 
 
distribution
distribution
 
 
docker-compose/kitchen-sink
docker-compose/kitchen-sink
 
 
docker
docker
 
 
gradle
gradle
 
 
grafana
grafana
 
 
jclouds-shaded
jclouds-shaded
 
 
jetty-upgrade
jetty-upgrade
 
 
log4j2-prometheus-metrics
log4j2-prometheus-metrics
 
 
managed-ledger
managed-ledger
 
 
microbench
microbench
 
 
pip
pip
 
 
pulsar-bom
pulsar-bom
 
 
pulsar-broker-auth-athenz
pulsar-broker-auth-athenz
 
 
pulsar-broker-auth-oidc
pulsar-broker-auth-oidc
 
 
pulsar-broker-auth-sasl
pulsar-broker-auth-sasl
 
 
pulsar-broker-common
pulsar-broker-common
 
 
pulsar-broker-fastutil-minimized
pulsar-broker-fastutil-minimized
 
 
pulsar-broker
pulsar-broker
 
 
pulsar-build
pulsar-build
 
 
pulsar-cli-utils
pulsar-cli-utils
 
 
pulsar-client-admin-api
pulsar-client-admin-api
 
 
pulsar-client-admin-shaded
pulsar-client-admin-shaded
 
 
pulsar-client-admin
pulsar-client-admin
 
 
pulsar-client-all
pulsar-client-all
 
 
pulsar-client-api-v5
pulsar-client-api-v5
 
 
pulsar-client-api
pulsar-client-api
 
 
pulsar-client-auth-athenz
pulsar-client-auth-athenz
 
 
pulsar-client-auth-sasl
pulsar-client-auth-sasl
 
 
pulsar-client-cpp
pulsar-client-cpp
 
 
pulsar-client-fastutil-minimized
pulsar-client-fastutil-minimized
 
 
pulsar-client-messagecrypto-bc
pulsar-client-messagecrypto-bc
 
 
pulsar-client-shaded
pulsar-client-shaded
 
 
pulsar-client-tools-api
pulsar-client-tools-api
 
 
pulsar-client-tools-customcommand-example
pulsar-client-tools-customcommand-example
 
 
pulsar-client-tools-test
pulsar-client-tools-test
 
 
pulsar-client-tools
pulsar-client-tools
 
 
pulsar-client-v5-all
pulsar-client-v5-all
 
 
pulsar-client-v5-shaded
pulsar-client-v5-shaded
 
 
pulsar-client-v5
pulsar-client-v5
 
 
pulsar-client
pulsar-client
 
 
pulsar-common
pulsar-common
 
 
pulsar-config-validation
pulsar-config-validation
 
 
pulsar-dependencies
pulsar-dependencies
 
 
pulsar-docs-tools
pulsar-docs-tools
 
 
pulsar-function-go
pulsar-function-go
 
 
pulsar-functions
pulsar-functions
 
 
pulsar-http-client-api
pulsar-http-client-api
 
 
pulsar-io
pulsar-io
 
 
pulsar-metadata
pulsar-metadata
 
 
pulsar-opentelemetry
pulsar-opentelemetry
 
 
pulsar-package-management
pulsar-package-management
 
 
pulsar-proxy
pulsar-proxy
 
 
pulsar-testclient
pulsar-testclient
 
 
pulsar-tls-factory-api
pulsar-tls-factory-api
 
 
pulsar-transaction
pulsar-transaction
 
 
pulsar-websocket
pulsar-websocket
 
 
spec/scalable-topics
spec/scalable-topics
 
 
src
src
 
 
testmocks
testmocks
 
 
tests
tests
 
 
tiered-storage
tiered-storage
 
 
wireshark
wireshark
 
 
.asf.yaml
.asf.yaml
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
.ratignore
.ratignore
 
 
AGENTS.md
AGENTS.md
 
 
ARCHITECTURE.md
ARCHITECTURE.md
 
 
CLAUDE.md
CLAUDE.md
 
 
CODING.md
CODING.md
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
CONTRIBUTORS.md
CONTRIBUTORS.md
 
 
LICENSE
LICENSE
 
 
NOTICE
NOTICE
 
 
README.md
README.md
 
 
SECURITY.md
SECURITY.md
 
 
build.gradle.kts
build.gradle.kts
 
 
codecov.yml
codecov.yml
 
 
doap_Pulsar.rdf
doap_Pulsar.rdf
 
 
faq.md
faq.md
 
 
gradle.properties
gradle.properties
 
 
gradlew
gradlew
 
 
gradlew.bat
gradlew.bat
 
 
lombok.config
lombok.config
 
 
settings.gradle.kts
settings.gradle.kts
 
 

Repository files navigation

logo

docker pull contributors last commit release downloads Ask DeepWiki

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 <= pulsar ver <= 4.0

Component Java Version
Broker 21
Functions / IO 21
CLI 17 or 21
Java Client 8, 11, 17 or 21

Docker image Java runtime: 21

2.10 <= pulsar ver <= 3.0

Component Java Version
Broker 17
Functions / IO 17
CLI 17
Java Client 8 or 11 or 17

Docker image Java runtime: 17

2.8 <= pulsar ver <= 2.10

Component Java Version
Broker 11
Functions / IO 11
CLI 8 or 11
Java Client 8 or 11

pulsar ver < 2.8

Component Java Version
All 8 or 11

Build Pulsar

The quick start below covers the essentials; see CONTRIBUTING.md → Building for the full build and lint commands, and ARCHITECTURE.md → Build infrastructure for the Gradle build infrastructure and how to change build files.

Requirements

  • JDK

    Pulsar Version JDK Version
    master JDK 21, JDK 25 or JDK 26
    4.0+ JDK 21
    2.11 + JDK 17
    2.8 / 2.9 / 2.10 JDK 11
    2.7 - JDK 8
  • zip

There is also a guide for setting up the tooling for building Pulsar.

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

./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                                                    # quickCheck + compile main/test (pre-PR)

Standalone bookies use kernel-assigned ports by default. To use fixed ports, run bin/pulsar standalone --bookkeeper-port 3181; bookie 0 uses port 3181, bookie 1 uses 3182, and so on. For existing standalone data with legacy host:port bookie IDs, each bookie recovers its port from its cookie, which takes precedence over --bookkeeper-port. Existing bookie IDs are preserved because ledger metadata references them; new metadata-store-backed standalone bookies use bk-0, bk-1, and so on.

For the full build, lint, test, and PR workflow — test groups, integration tests, Personal CI, and PR conventions — see CONTRIBUTING.md. For the module map and the Gradle build infrastructure see ARCHITECTURE.md, and for coding conventions see CODING.md. AI coding agents should start from AGENTS.md.

Check https://pulsar.apache.org for documentation and examples.

Build custom docker images

The commands used in the Apache Pulsar release process can be found in the release process documentation.

Here are some general instructions for building custom docker images:

  • Java 21 is the recommended JDK version since branch-4.0.

The following command builds the docker image apachepulsar/pulsar:latest:

./gradlew docker

After the image is built, it can be tagged and pushed to your custom repository. Here's an example of a bash script that tags the docker image with the current version and git revision and pushes it to localhost:32000/apachepulsar.

image_repo_and_project=localhost:32000/apachepulsar
pulsar_version=$(src/get-pulsar-version.sh)
gitrev=$(git rev-parse HEAD | colrm 10)
tag="${pulsar_version}-${gitrev}"
echo "Using tag $tag"
docker tag apachepulsar/pulsar:latest ${image_repo_and_project}/pulsar:$tag
docker push ${image_repo_and_project}/pulsar:$tag

Setting up your IDE

Read https://pulsar.apache.org/contribute/setup-ide for setting up IntelliJ IDEA or Eclipse for developing Pulsar.

Documentation

Note:

For how to make contributions to Pulsar documentation, see Pulsar Documentation Contribution Guide.

Contact

Mailing lists
  • The mailing lists are the primary contact for the Apache Pulsar project.
  • Your email to the mailing list might be placed in a moderation queue if you haven't joined the mailing list by subscribing before posting.

Note

Please note that security-related issues or concerns should not be reported in public channels. Follow the instructions in the Security Policy to contact the ASF Security Team and the Apache Pulsar PMC directly.

Name Scope Subscribe Unsubscribe Archives
[email protected] User-related discussions Subscribe Unsubscribe Archives
[email protected] Development-related discussions Subscribe Unsubscribe Archives
Slack

Pulsar slack channel at https://apache-pulsar.slack.com/

You can self-register at https://pulsar.apache.org/slack-invite

Security Policy

See the Pulsar security policy for the full policy. In short: never disclose a suspected vulnerability publicly (issue, PR, or discussion) before a fix is released, and a human must verify and take responsibility for a report — autonomous agents must not file security reports on their own.

Reporting a security vulnerability

Report privately by email to the Apache Security Team at [email protected]; you may also copy the Apache Pulsar PMC's private list, [email protected]. See the Pulsar security policy for more detail.

Checking exposure to an already-public CVE

An already-public CVE is not a private disclosure. Search PRs and issues by the CVE id at https://github.com/apache/pulsar/pulls (including closed ones), then ask via a GitHub issue or the [email protected] mailing list if needed. Pulsar's supported versions are listed at https://pulsar.apache.org/contribute/release-policy/; upgrade to a supported version to receive security updates. See the Pulsar security policy.

License

Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0

Crypto Notice

This distribution includes cryptographic software. The country in which you currently reside may have restrictions on the import, possession, use, and/or re-export to another country, of encryption software. BEFORE using any encryption software, please check your country's laws, regulations and policies concerning the import, possession, or use, and re-export of encryption software, to see if this is permitted. See The Wassenaar Arrangement for more information.

The U.S. Government Department of Commerce, Bureau of Industry and Security (BIS), has classified this software as Export Commodity Control Number (ECCN) 5D002.C.1, which includes information security software using or performing cryptographic functions with asymmetric algorithms. The form and manner of this Apache Software Foundation distribution makes it eligible for export under the License Exception ENC Technology Software Unrestricted (TSU) exception (see the BIS Export Administration Regulations, Section 740.13) for both object code and source code.

The following provides more details on the included cryptographic software: Pulsar uses the SSL library from Bouncy Castle written by http://www.bouncycastle.org.

About

Apache Pulsar - distributed pub-sub messaging system

pulsar.apache.org/

Topics

event-streamingmessagingpubsubpulsarqueuingstreaming

Resources

Readme
Apache-2.0 license

Code of conduct

Code of conduct

Contributing

Contributing

Security policy

Security policy
Activity
Custom properties

Stars

15.4k stars

Watchers

386 watching

Forks

3.8k forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.