160 Commits

Author SHA1 Message Date
Chris Bono
cfcb0df247 Fix antora failure due to fast-xml-parser/lib/fxp.cjs
This updates several depenedencies used by Antora and locks the
version of `fast-xml-parser` to `4.5.2` to get around issue with
Antora using `latest` version of that lib.

(cherry picked from commit 59c0f6b63c)
2025-02-19 12:17:32 -06:00
Chris Bono
20dfbeb91b Fix references to invalid 'ackTimeout' property (#1015) (#1016)
The docs has code examples using a consumer property named
`ackTimeout`. However, the actual property name is
`ackTimeoutMillis`. This updates those references.

Resolves #1010

(cherry picked from commit 03c0da3bce)
2025-01-21 15:00:18 -06:00
Chris Bono
bb2e0a3734 Remove version 0.2.x from docs
This commit removes version 0.2.x from the compatibility matrix
in an effort to curb the current use of version 0.2.x.
2024-11-12 14:36:06 -06:00
Chris Bono
bab9926b77 Specify locale in toLowerCase|toUpperCase (#894)
This commit makes sure that all usages of String toLowerCase and
toUpperCase specify a Locale (default of Locale.ROOT).

Also, a checkstyle rule is added to prevent usage of the no-arg variant
of String toLowerCase and toUpperCase.
2024-10-17 18:01:28 -05:00
Chris Bono
4c747590a5 Update algolia dependencies in package.json
(cherry picked from commit 5637df21ce)
2024-07-29 23:44:35 -05:00
Chris Bono
b93c1779ab Update algolia-extensions to 1.12.0 2024-07-29 23:13:39 -05:00
Chris Bono
bdc36a6798 Use Algolia extension (centralized creds)
Also does the following:

* Update versions for all docs related dependencies
* Use package.json
2024-06-27 16:27:30 -05:00
Chris Bono
0454c8df7e Clarify use of MessageResult vs. MessageUtils (#681)
Updates the reactive-message-consumption.adoc to clarify the difference
between the factory methods on `MessageResult` and `MessageUtils`.

Resolves #666
2024-05-20 11:12:43 -05:00
Chris Bono
c87dbf7af7 Update antora-ui-spring to v0.4.14 (#685) 2024-05-20 09:58:23 -05:00
Chris Bono
7da4602833 Add doc for auto cluster-level failover (#683)
See #677
2024-05-19 18:58:13 -05:00
Chris Bono
d672e2d405 Fix payload type in Reactive tombstone doc (#678)
Also clarify that `org.apache.pulsar.client.api.Messages<T>` are not
supported in `@ReactivePulsarListener`.

Fixes #667
2024-05-17 16:04:34 -05:00
Chris Bono
3476dd8d7a Add docs for transaction support (#668)
Resolves #660
2024-05-03 11:20:49 -05:00
Chris Bono
e4b93c532b [Docs] Correct artifact id for Pulsar starter (#665)
Resolves #662
2024-04-25 14:24:34 -05:00
Chris Bono
a85f2c730e Update Antora UI to 0.4.12 2024-04-24 14:59:56 -05:00
ka_sh
5ba2a00cfd Pull topic-resolution.adoc up a level in docs
Resolves #644
2024-04-23 18:04:55 -05:00
ka_sh
097565e959 Splits Reactive Support doc into multiple documents (#631)
Resolves #463
2024-04-15 10:19:07 -05:00
ka_sh
ac0588df9d Splits Pulsar reference into multiple documents (#627)
This commit splits the large Pulsar reference doc (non-reactive)
into smaller section/pages to improve layout and navigation for
users.

See #463
2024-04-01 10:22:32 -05:00
Chris Bono
e8dad9e06a Publish the spring-pulsar-test module (#600)
This commit makes the spring-pulsar-test module available externally.

Additionally:
* Add missing package-info.java in several packages
* Update doc on how to use PulsarTestContainerSupport
2024-03-10 16:18:14 -05:00
Chris Bono
32739c3ec2 Add docs for using Lambda producer customizers (#598)
This commit adds docs that guide users when implementing 
ProducerBuilderCustomizers with Lambdas. 

Resolves #593
2024-03-06 15:57:12 -06:00
Chris Bono
1f2f6ed46d Polish "Add consumer test utility" (#592)
- update javadocs a bit
- reorder some constructors based on specificity
- add null check to "withSchema"
- rename the test to end w/ "Tests" (plural) for consistency
- simplified doc examples a bit w/ String message type
- drop the exact match API
- rename the conditions factory methods
2024-02-26 13:17:37 -06:00
Jonas Geiregat
5bf9ba0944 Add consumer test utility
This commit adds the PulsarConsumerTestUtil utility to help with
consuming messages during tests.
2024-02-25 16:21:25 -06:00
Chris Bono
397fc9d79c [Docs] Rewmove project-state.adoc (not needed) 2024-02-20 15:31:12 -06:00
Chris Bono
2b2caf545c [Docs] Workaround for env var auth params
Also fix collapsible section on authentication.adoc
2024-02-20 15:31:12 -06:00
Chris Bono
2aecb93788 Add "What's New?" document to the ref guide (#579) 2024-02-18 09:17:31 -06:00
Chris Bono
0e95f3c350 Add support for AUTO_PRODUCE schema (#572)
This commit adds support for producing raw JSON or Avro payloads with
AUTO_SCHEMA.
2024-02-14 00:40:38 -06:00
JonasG
18378a8927 Add support for SpEL topics on @PulsarMessage
This commit adds support for expressions (property placeholders and
SpEL) on the topic attribute of @PulsarMessage.

Resolves #568
2024-02-13 21:08:54 -06:00
Chris Bono
d8524d1db8 Rename @PulsarTypeMapping -> @PulsarMessage 2024-02-08 15:28:08 -06:00
Chris Bono
6a9fb6c523 Polish "Add @PulsarTypeMapping for default topi.."
* Introduce a PulsarTypeMappingRegistry to cache annotations
* Expand on the topic/schema resolver tests
* Add support for KEY_VALUE on annotation
2024-02-08 15:28:08 -06:00
Aleksei Arsenev
5aa97e43cd Add @PulsarTypeMapping for default topic/schema
This commit introduces the @PulsarTypeMapping annotation which can be
used on message classes to specify default topic and/or schema info.
2024-02-08 15:28:08 -06:00
Chris Bono
efaa8ad344 Add docs for AUTO_CONSUME schema support
See #380
2024-02-01 20:27:55 -06:00
Chris Bono
0ba22a4696 Update project version and Spring Boot version (#555)
This commit updates the project version to 1.1.x and the Spring
Boot version to 3.3.0-SNAPSHOT.

The version compatibility matrix is also updated to include a row for
the 1.1.x version.
2024-01-25 23:27:03 -06:00
Chris Bono
cf6d3ab1f2 [Docs] Update Micrometer tracing docs link 2024-01-25 20:27:43 -06:00
Chris Bono
fe1e93e48c Update to Pulsar 3.1.2 (#538)
Resolves #534
2024-01-09 17:47:10 -06:00
Chris Bono
14fa5460fc Add BOM (spring-pulsar-bom) module (#535) 2024-01-03 13:02:06 -06:00
Chris Bono
653196f6a0 Use version catalog to drive java platform (#531)
* Use version catalog to drive Java platform

This commit incorporates the use of the Gradle version catalog as well
as the related plugins to automatically update the libs.version.toml
versions file with updated dependencies.

The UpdateProjectVersionPlugin is also updated to modify the spring
boot version  property in the `libs.versions.toml` versions file rather than
gradle.properties.

Resolves #523
2023-12-27 15:43:19 -06:00
Chris Bono
c36b4cd071 Fix authentication doc for OAuth2 (#526)
This commit fixes the name of the `pluginClassName` for the OAuth2
provider in authentication.adoc

See #500
2023-12-17 15:14:02 -06:00
Chris Bono
0f2ae02e62 Add MessageUtils for Reactive message handling (#510)
Eases the burden of converting from a Spring message to a Pulsar
MessageId in order to pass into the Pulsar MessageResult ack/nack
methods.

Resolves #509
2023-12-10 12:34:15 -06:00
Chris Bono
77462c2fd8 Add tombstone support to listeners (#507)
* Add tombstone support for @PulsarListener
* Add tombstone support for @PulsarReader
* Add tombstone support for @ReactivePulsarListener

Resolves #506
2023-12-10 10:11:34 -06:00
Chris Bono
836d385d86 Automatically set customizer on listeners (#495)
When there is only a single customizer and a single listener defined in
the application then the customizer will automatically be associated
with the listener. This works for @PulsarListener, @PulsarReader, and
@ReactivePulsarListener.

See #480
2023-11-20 13:32:25 -06:00
Chris Bono
ed3899fcb9 Make subscriptionType nullable on @Reactive/PulsarListener (#489)
See #488
2023-11-17 16:39:21 -06:00
Chris Bono
9de215bc66 Add specialized builder customizers for listener annotations (#487)
Introduces specializations of the consumer builders that can be used by
 the annotation listeners. This differentiates between the existing
 consumer builders that are picked up by Spring Boot
 autoconfiguration and used to customizer the consumer factories
 globally.

* Add PulsarListenerConsumerBuilderCustomizer
* Add PulsarReaderReaderBuilderCustomizer
* Add ReactivePulsarListenerMessageConsumerBuilderCustomizer

Resolves #486
2023-11-13 19:42:19 -06:00
Chris Bono
baecaaaa9e Remove subscription name from PulsarReader (#484)
This commit removes the subscription name from all PulsarReader
areas. Readers do not have the concept of subscriptions and this was
just a holdover from the PulsarListener codebase.
2023-11-11 23:06:04 -06:00
Chris Bono
f5582df022 Clarify use of default subscription name in @PulsarListener (#482)
* With the move to Spring Boot the configuration properties were
synthesized (imperative + reactive) into single properties. This results in 
property path changes and this commit adjusts for that.

* Update docs to clarify Reactive vs. Imperative concurrency models

See #480
2023-11-11 00:02:13 -06:00
Chris Bono
9b37c85122 Update to Antora UI v0.4.7 2023-10-17 15:48:47 -05:00
Chris Bono
ca568331b7 Remove Pulsar binder docs
The Pulsar binder has been moved to SCSt along with its docs. This
commit deletes the local version of the binder docs and adjusts any
binder links to point to the SCSt docs.
2023-10-12 13:17:14 -05:00
Chris Bono
287491d070 Update to new antora docs ui (#470) 2023-10-12 12:04:26 -05:00
Chris Bono
b8278fe0fa [CI] Moved deploy step into build job 2023-10-01 12:22:19 -05:00
Chris Bono
893161b601 Do not sign directories in artifacts (Gradle 8 workaround) (#465) 2023-09-30 06:31:30 -05:00
Chris Bono
7d29190033 Update to Gradle 8.3 (#464) 2023-09-27 17:14:35 -05:00
Chris Bono
776a7c0da8 Remove separate deployDocs gradle task 2023-09-25 20:38:57 -05:00