Pulsar Common

Common libraries needed by client/broker/tools

License

License

GroupId

GroupId

com.yahoo.pulsar
ArtifactId

ArtifactId

pulsar-common
Last Version

Last Version

1.18
Release Date

Release Date

Type

Type

jar
Description

Description

Pulsar Common
Common libraries needed by client/broker/tools
Project Organization

Project Organization

Yahoo Inc.

Download pulsar-common

How to add to project

<!-- https://jarcasting.com/artifacts/com.yahoo.pulsar/pulsar-common/ -->
<dependency>
    <groupId>com.yahoo.pulsar</groupId>
    <artifactId>pulsar-common</artifactId>
    <version>1.18</version>
</dependency>
// https://jarcasting.com/artifacts/com.yahoo.pulsar/pulsar-common/
implementation 'com.yahoo.pulsar:pulsar-common:1.18'
// https://jarcasting.com/artifacts/com.yahoo.pulsar/pulsar-common/
implementation ("com.yahoo.pulsar:pulsar-common:1.18")
'com.yahoo.pulsar:pulsar-common:jar:1.18'
<dependency org="com.yahoo.pulsar" name="pulsar-common" rev="1.18">
  <artifact name="pulsar-common" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.yahoo.pulsar', module='pulsar-common', version='1.18')
)
libraryDependencies += "com.yahoo.pulsar" % "pulsar-common" % "1.18"
[com.yahoo.pulsar/pulsar-common "1.18"]

Dependencies

compile (7)

Group / Artifact Type Version
org.slf4j : slf4j-api jar 1.7.21
com.fasterxml.jackson.core : jackson-databind jar 2.4.3
com.google.protobuf : protobuf-java jar 2.4.1
com.google.guava : guava jar 15.0
io.netty : netty-all jar 4.0.46.Final
net.jpountz.lz4 : lz4 jar 1.3.0
com.yahoo.pulsar : pulsar-checksum jar 1.18

test (2)

Group / Artifact Type Version
org.slf4j : slf4j-log4j12 jar 1.7.21
org.testng : testng jar 6.8.5

Project Modules

There are no modules declared in this project.

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.

Helm Chart

Ecosystem

Clients

Dashboard & Management Tools

Documentation

CI/CD

Build Pulsar

Requirements:

  • Java JDK 1.8 or Java JDK 11
  • Maven 3.3.9+

Compile and install:

$ mvn install -DskipTests

Minimal build (This skips most of external connectors and tiered storage handlers)

mvn install -Pcore-modules

Run Unit Tests:

$ mvn test

Run Individual Unit Test:

$ cd module-name (e.g: pulsar-client)
$ mvn test -Dtest=unit-test-name (e.g: ConsumerBuilderImplTest)

Run Selected Test packages:

$ cd module-name (e.g: pulsar-broker)
$ mvn test -pl module-name -Dinclude=org/apache/pulsar/**/*.java

Start standalone Pulsar service:

$ bin/pulsar standalone

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

Setting up your IDE

Apache Pulsar is using lombok so you have to ensure your IDE setup with required plugins.

Intellij

To configure annotation processing in IntelliJ:

  1. Open Annotation Processors Settings dialog box by going to Settings -> Build, Execution, Deployment -> Compiler -> Annotation Processors.

  2. Select the following buttons:

    1. "Enable annotation processing"
    2. "Obtain processors from project classpath"
    3. "Store generated sources relative to: Module content root"
  3. Set the generated source directories to be equal to the Maven directories:

    1. Set "Production sources directory:" to "target/generated-sources/annotations".
    2. Set "Test sources directory:" to "target/generated-test-sources/test-annotations".
  4. Click "OK".

  5. Install the lombok plugin in intellij.

Eclipse

Follow the instructions here to configure your Eclipse setup.

Build Pulsar docs

Refer to the docs README.

Contact

Mailing lists
Name Scope
[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://apache-pulsar.herokuapp.com/

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 http://www.wassenaar.org/ 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.

com.yahoo.pulsar

Yahoo

Yahoo is a Verizon Media brand. This organization is the home to many of the active open source projects published by engineers at Yahoo and Verizon Media.

Versions

Version
1.18
1.17.5
1.17.4
1.17.3
1.17.2
1.17.1
1.17
1.16.5
1.16.4
1.16.3
1.16.2
1.16.1
1.16
1.15.7
1.15.6
1.15.5
1.15.4
1.15.3
1.15.2
1.15.1
1.15
1.14