Spring Pulsar provides a basic Spring-friendly API for developing Apache Pulsar applications.
WARNING: This is a WIP project. Many of the support available at the moment are prototypes and experimental.
TIP: Most of the ideas in this project are borrowed from the Spring for Apache Kafka project, thus a familiarity with it would help.
The reference documentation includes a quick tour section.
Are you having trouble with Spring Pulsar? We want to help!
-
Check the reference documentation
-
Learn the Spring basics — Spring Pulsar builds on many other Spring projects; check the spring.io website for a wealth of reference documentation. If you are new to Spring, try one of the guides.
-
Report bugs with Spring Pulsar at github.com/spring-projects-experimental/spring-pulsar/issues.
Spring 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 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.
You don’t need to build from source to use Spring Pulsar (binaries in repo.spring.io), but if you want to try out the latest and greatest, Spring 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 of the 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, use the build
task:
./gradlew build
There are several modules in Spring Pulsar. Here is a quick overview:
Provides a Gradle java-platform that recommends dependency versions.
Provides a dependency descriptor that can be included in your application to easily start using Spring Pulsar.
Spring Pulsar is Open Source software released under the Apache 2.0 license.