From e4b93c532bed4c0fd9c7aafdb6217cde58044b14 Mon Sep 17 00:00:00 2001 From: Chris Bono Date: Thu, 25 Apr 2024 14:24:34 -0500 Subject: [PATCH] [Docs] Correct artifact id for Pulsar starter (#665) Resolves #662 --- .../ROOT/pages/reference/pulsar/preface.adoc | 2 +- .../pages/reference/pulsar/quick-tour.adoc | 32 +----------------- .../reactive-pulsar/reactive-quick-tour.adoc | 33 +------------------ 3 files changed, 3 insertions(+), 64 deletions(-) diff --git a/spring-pulsar-docs/src/main/antora/modules/ROOT/pages/reference/pulsar/preface.adoc b/spring-pulsar-docs/src/main/antora/modules/ROOT/pages/reference/pulsar/preface.adoc index c8d6f9e8..1b9571c5 100644 --- a/spring-pulsar-docs/src/main/antora/modules/ROOT/pages/reference/pulsar/preface.adoc +++ b/spring-pulsar-docs/src/main/antora/modules/ROOT/pages/reference/pulsar/preface.adoc @@ -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. diff --git a/spring-pulsar-docs/src/main/antora/modules/ROOT/pages/reference/pulsar/quick-tour.adoc b/spring-pulsar-docs/src/main/antora/modules/ROOT/pages/reference/pulsar/quick-tour.adoc index fe910a93..7a84ff46 100644 --- a/spring-pulsar-docs/src/main/antora/modules/ROOT/pages/reference/pulsar/quick-tour.adoc +++ b/spring-pulsar-docs/src/main/antora/modules/ROOT/pages/reference/pulsar/quick-tour.adoc @@ -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"] ----- - - - org.springframework.pulsar - spring-pulsar-spring-boot-starter - 0.2.0 - - ----- - -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: diff --git a/spring-pulsar-docs/src/main/antora/modules/ROOT/pages/reference/reactive-pulsar/reactive-quick-tour.adoc b/spring-pulsar-docs/src/main/antora/modules/ROOT/pages/reference/reactive-pulsar/reactive-quick-tour.adoc index 71f5c050..a54c109e 100644 --- a/spring-pulsar-docs/src/main/antora/modules/ROOT/pages/reference/reactive-pulsar/reactive-quick-tour.adoc +++ b/spring-pulsar-docs/src/main/antora/modules/ROOT/pages/reference/reactive-pulsar/reactive-quick-tour.adoc @@ -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"] ----- - - - org.springframework.pulsar - spring-pulsar-reactive-spring-boot-starter - 0.2.0 - - ----- - -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: