[Docs] Correct artifact id for Pulsar starter (#665)

Resolves #662
This commit is contained in:
Chris Bono
2024-04-25 14:24:34 -05:00
committed by GitHub
parent a85f2c730e
commit e4b93c532b
3 changed files with 3 additions and 64 deletions

View File

@@ -3,7 +3,7 @@
include::../../attributes/attributes.adoc[]
NOTE: We recommend using a Spring-Boot-First approach for Spring for Apache Pulsar-based applications, as that simplifies things tremendously.
To do so, you can add the `spring-pulsar-spring-boot-starter` module as a dependency.
To do so, you can add the `spring-boot-starter-pulsar` module as a dependency.
NOTE: The majority of this reference expects the reader to be using the starter and gives most directions for configuration with that in mind.
However, an effort is made to call out when instructions are specific to the Spring Boot starter usage.

View File

@@ -6,7 +6,7 @@ We will take a quick tour of Spring for Apache Pulsar by showing a sample Spring
This is a complete application and does not require any additional configuration, as long as you have a Pulsar cluster running on the default location - `localhost:6650`.
== Dependencies
Spring Boot applications need only the `spring-pulsar-spring-boot-starter` dependency. The following listings show how to define the dependency for Maven and Gradle, respectively:
Spring Boot applications need only the `spring-boot-starter-pulsar` dependency. The following listings show how to define the dependency for Maven and Gradle, respectively:
[tabs]
======
@@ -33,36 +33,6 @@ dependencies {
----
======
[CAUTION]
====
When using `Version 0.2.x` the above coordinates change as follows:
[tabs]
======
Maven::
+
[source,xml,indent=0,subs="verbatim,attributes",role="primary"]
----
<dependencies>
<dependency>
<groupId>org.springframework.pulsar</groupId>
<artifactId>spring-pulsar-spring-boot-starter</artifactId>
<version>0.2.0</version>
</dependency>
</dependencies>
----
Gradle::
+
[source,groovy,indent=0,subs="verbatim,attributes",role="secondary"]
----
dependencies {
implementation 'org.springframework.pulsar:spring-pulsar-spring-boot-starter:0.2.0'
}
----
======
====
== Application Code
The following listing shows the Spring Boot application case for the example:

View File

@@ -7,7 +7,7 @@ This is a complete application and does not require any additional configuration
== Dependencies
Spring Boot applications need only the `spring-pulsar-reactive-spring-boot-starter` dependency. The following listings show how to define the dependency for Maven and Gradle, respectively:
Spring Boot applications need only the `spring-boot-starter-pulsar-reactive` dependency. The following listings show how to define the dependency for Maven and Gradle, respectively:
[tabs]
======
@@ -34,37 +34,6 @@ dependencies {
----
======
[CAUTION]
====
When using `Version 0.2.x` the above coordinates change as follows:
[tabs]
======
Maven::
+
[source,xml,indent=0,subs="verbatim,attributes",role="primary"]
----
<dependencies>
<dependency>
<groupId>org.springframework.pulsar</groupId>
<artifactId>spring-pulsar-reactive-spring-boot-starter</artifactId>
<version>0.2.0</version>
</dependency>
</dependencies>
----
Gradle::
+
[source,groovy,indent=0,subs="verbatim,attributes",role="secondary"]
----
dependencies {
implementation 'org.springframework.pulsar:spring-pulsar-reactive-spring-boot-starter:0.2.0'
}
----
======
====
== Application Code
Here is the application source code: