Giter Club home page Giter Club logo

spring-pulsar's Introduction

Spring for Apache Pulsar

Spring for Apache Pulsar provides a basic Spring-friendly API for developing Apache Pulsar applications.

TIP: Most of the ideas in this project are borrowed from the Spring for Apache Kafka project, thus a familiarity with it would help.

Getting Started

The reference documentation includes a quick tour section.

Getting Help

Are you having trouble with Spring for Apache Pulsar? We want to help!

Reporting Issues

Spring for Apache Pulsar uses GitHub’s integrated issue tracking system to record bugs and feature requests. If you want to raise an issue, please follow the recommendations below:

  • Before you log a bug, please search the issue tracker to see if someone has already reported the problem.

  • If the issue doesn’t already exist, create a new issue.

  • Please provide as much information as possible with the issue report. We like to know the Spring for Apache Pulsar version, operating system, and JVM version you’re using.

  • If you need to paste code or include a stack trace, use Markdown ``` escapes before and after your text.

  • If possible, try to create a test case or project that replicates the problem and attach it to the issue.

Building from Source

You don’t need to build from source to use Spring for Apache Pulsar (binaries in repo.spring.io), but if you want to try out the latest and greatest, Spring for Apache Pulsar can be built and published to your local Maven cache using the Gradle wrapper. You also need JDK 17.

./gradlew publishToMavenLocal

This will build all jars and documentation and publish them to your local Maven cache. It won’t run any of the tests. If you want to build everything and run tests, use the build task:

./gradlew build
Note
Some tests rely on a Docker daemon to test against live services using Testcontainers. These tests will be skipped if a local Docker daemon is not available.

The above command will build everything and run all unit tests and integration tests except the PulsarFunctionAdministrationIntegrationTests which requires the Pulsar RabbitMQ Connector to be downloaded prior to running. To download the connector (one time only) and run the integration test, add a system property to the task as follows:

./gradlew build -DdownloadRabbitConnector=true

By default, the build command will run unit tests followed by integration tests. If you want skip tests, use the -x test and/or -x integrationTest options:

./gradlew build -x test -x integrationTest

Modules

There are several modules in Spring for Apache Pulsar. Here is a quick overview:

spring-pulsar

The main library that provides the API to access Apache Pulsar.

spring-pulsar-cache-provider

Provides the interfaces for the cache provider used by the main library to cache producers.

spring-pulsar-cache-provider-caffeine

Provides the implementation of the cache provider using a shaded version of Caffeine.

spring-pulsar-dependencies

Provides a Gradle java-platform that recommends dependency versions.

spring-pulsar-docs

Provides reference docs and handles aggregating javadocs.

spring-pulsar-reactive

Provides the API to access Apache Pulsar using a Reactive client.

spring-pulsar-sample-apps

Provides sample applications to illustrate Spring for Apache Pulsar functionality as well as provide ability for quick manual verification during development.

License

Spring for Apache Pulsar is Open Source software released under the Apache 2.0 license.

spring-pulsar's People

Contributors

onobc avatar sobychacko avatar cbornet avatar github-actions[bot] avatar eddumelendez avatar rwinch avatar axiopisty avatar buzzardo avatar jongwooo avatar lanwen avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.