Skip to content
Apache Pulsar - distributed pub-sub messaging system
Java C++ Python Go Shell C Other
Branch: master
Clone or download
vzhikserg and sijie Add checkstyle validation and fix style violations in the pulsar clie…
…nt api module (#5115)

### Modifications

The following changes were made in this pull request:

* Configured the checkstyle plugin
* Fixed reported style violations

This pull request has only cosmetic changes in the pulsar client api module and shouldn't introduce any change in the business logic.
Latest commit 716daff Sep 16, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github fix github pull request template comment typo (#4865) Aug 2, 2019
.test-infra/jenkins Removed mentions to incubator-pulsar (#2620) Sep 25, 2018
.travis Maven artifacts relases into Apache (#607) Jul 29, 2017
bin Use "info" as the default root logger level (#5079) Aug 30, 2019
build/docker [pulsar-common] Support Snappy compression for Java (#4259) May 21, 2019
buildtools Upgrade to Mockito 2.x (#4671) Jul 10, 2019
conf Use "info" as the default root logger level (#5079) Aug 30, 2019
dashboard Fix few typos in the java docs (#5178) Sep 12, 2019
deployment Fix wrong reference in kubernetes deployment README.md (#5110) Sep 5, 2019
dev install vbguest plugin (#4600) Jun 26, 2019
distribution Upgrade jackson-databind (#5011) Aug 22, 2019
docker-compose/standalone-dashboard Add sample docker-compose file with pulsar standalone (#2617) Sep 24, 2018
docker Fix few typos in the java docs (#5178) Sep 12, 2019
examples Bumped version to 2.5.0-SNAPSHOT (#4581) Jun 25, 2019
jclouds-shaded Bumped version to 2.5.0-SNAPSHOT (#4581) Jun 25, 2019
managed-ledger-shaded Bumped version to 2.5.0-SNAPSHOT (#4581) Jun 25, 2019
managed-ledger Trim deleted entries after recover cursor. (#4987) Sep 6, 2019
protobuf-shaded Bumped version to 2.5.0-SNAPSHOT (#4581) Jun 25, 2019
protobuf Add ASF headers to Markdown documentation files (#823) Oct 17, 2017
pulsar-broker-auth-athenz Bumped version to 2.5.0-SNAPSHOT (#4581) Jun 25, 2019
pulsar-broker-auth-sasl Test cleanup and simplification (#4799) Jul 25, 2019
pulsar-broker-common PIP-41 (part-1): Introduce Protocol Handler API (#5130) Sep 13, 2019
pulsar-broker-shaded Bumped version to 2.5.0-SNAPSHOT (#4581) Jun 25, 2019
pulsar-broker [bookkeeper] allow configuring region aware placement related settings ( Sep 16, 2019
pulsar-client-1x-base expose getLastMessageId method in ConsumerImpl (#4911) Aug 18, 2019
pulsar-client-admin-shaded Bumped version to 2.5.0-SNAPSHOT (#4581) Jun 25, 2019
pulsar-client-admin Fix method comment for class Topics (#5106) Sep 12, 2019
pulsar-client-all Bumped version to 2.5.0-SNAPSHOT (#4581) Jun 25, 2019
pulsar-client-api Add checkstyle validation and fix style violations in the pulsar clie… Sep 16, 2019
pulsar-client-auth-athenz Test cleanup and simplification (#4799) Jul 25, 2019
pulsar-client-auth-sasl Remove fixed server type check in kerberos client (#4758) Jul 19, 2019
pulsar-client-cpp Fix : ConsumerStatsTest.testAsyncCallOnPartitionedTopic is flaky (#5066) Aug 30, 2019
pulsar-client-go [issue 4589] Fix redelivered message logic of partition topic (#4653) Jul 19, 2019
pulsar-client-kafka-compat Make client keepalive interval configurable on pulsar-client-kafka (#… Sep 6, 2019
pulsar-client-shaded Bumped version to 2.5.0-SNAPSHOT (#4581) Jun 25, 2019
pulsar-client-tools-test Remove method testValidateFunctionsConfigs which was abandoned (#5146) Sep 11, 2019
pulsar-client-tools Add option to customize splitter character (#5187) Sep 13, 2019
pulsar-client Convert latency to millisecond in producer stats (#5096) Sep 5, 2019
pulsar-common PIP-41 (part-1): Introduce Protocol Handler API (#5130) Sep 13, 2019
pulsar-discovery-service Test cleanup and simplification (#4799) Jul 25, 2019
pulsar-flink expose getLastMessageId method in ConsumerImpl (#4911) Aug 18, 2019
pulsar-function-go [go function] fix: go function should parse conf content first (#4746) Jul 21, 2019
pulsar-functions Fix: windowed functions were broken when we changed java function ins… Sep 6, 2019
pulsar-io Pulsar-IO: Added Kinesis Source Connector (#3784) Sep 5, 2019
pulsar-log4j2-appender Upgrade to Mockito 2.x (#4671) Jul 10, 2019
pulsar-proxy Fix the getSchema logic in pulsar proxy (#4975) Aug 19, 2019
pulsar-spark Fixed spark receiver to account for all the consumer config options (#… Sep 11, 2019
pulsar-sql Upgrade jackson-databind (#5011) Aug 22, 2019
pulsar-storm Upgrade to Mockito 2.x (#4671) Jul 10, 2019
pulsar-testclient [pulsar-perf] Introduce number of threads in perf producer program (#… Aug 26, 2019
pulsar-transaction [Transaction][Buffer] move the transaction buffer code to the broker … Aug 10, 2019
pulsar-websocket Do not log stack trace with warn log in websocket proxy (#4945) Aug 14, 2019
pulsar-zookeeper-utils [bookkeeper] Don't return DEFAULT_RACK if ZkBookieRackAffinityMapping… Aug 31, 2019
pulsar-zookeeper Bumped version to 2.5.0-SNAPSHOT (#4581) Jun 25, 2019
site Add Upgrade Guide to Apache Pulsar (#4770) Jul 22, 2019
site2 [Issue 5142][docs] Remove non-partitioned topic info from partitioned… Sep 16, 2019
src [website]Fix rest api (#5107) Sep 6, 2019
tests Change logging for debezium key value pairs (#5172) Sep 12, 2019
tiered-storage Test cleanup and simplification (#4799) Jul 25, 2019
.gitignore Improved MacOS Python build (#4039) Apr 13, 2019
.travis.yml Fixes to get the travis build running again (#3204) Dec 17, 2018
CONTRIBUTORS.md Add ASF headers to Markdown documentation files (#823) Oct 17, 2017
LICENSE Fixes for NOTICE and LICENSE files for src and bin distribution (#563) Jul 18, 2017
NOTICE Update copyright year in NOTICE files to 2019 (#3283) Jan 3, 2019
README.md Fix quote in README.md (#5149) Sep 9, 2019
faq.md [Doc] Fix FAQ broken link (#4640) Jul 10, 2019
pom.xml Upgrade jackson-databind (#5011) Aug 22, 2019

README.md

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

Build Pulsar

Requirements:

  • Java JDK 1.8
  • Maven

Compile and install:

$ mvn install -DskipTests

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)

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
users@pulsar.apache.org User-related discussions Subscribe Unsubscribe Archives
dev@pulsar.apache.org 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.

You can’t perform that action at this time.