Commit Graph

147 Commits

Author SHA1 Message Date
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
Rob Winch
0830704644 Antora (#462)
* Use providers.provider for modifiedFile

This defers the looking up of modifiedFiles until it is used. It
also allows other tasks to be ran from the non-primary worktree.
Working in another worktree is essential for Antora which will clone
each branch/tag into a new worktree to process it.

* Move Asdiidoc Attributes to antora.yml

This ensures the attributes are available for the docs-build branch
as well.

* Fix GitHub Actions Permissions

The permission actions: write is necessary so that pushes to branches
and tags can invoke the deploy-docs workflow on the docs-build branch
2023-09-25 17:52:43 -05:00
Chris Bono
758153d140 Migrate docs to Antora infrastructure (#460)
Resolves #385
2023-09-25 00:29:05 -05:00
Chris Bono
97d524eeaa Polish "Clarify dependency coordinates in documentation" 2023-09-22 00:16:34 -05:00
Elliot Huntington
a9cf1fe5e3 Clarify dependency coordinates in documentation 2023-09-21 15:01:18 -06:00
Chris Bono
e83d28d485 Clarify dependency coordinates for 0.2.x (#453) 2023-09-20 23:29:34 -05:00
Chris Bono
77a20cc059 Update Pulsar binder to SCSt 4.1.0-SNAPSHOT (#446)
The Pulsar binder moved from this repo to SCSt repo.
This commit updates to use the new Pulsar binder.
2023-09-14 19:17:40 -05:00
Chris Bono
5c28f8decc Add SSL docs and update authentication samples accordingly. (#443) 2023-09-13 11:02:21 -05:00
Chris Bono
38e4b76a1f Adjust project naming in docs (#444)
spring pulsar -> "Spring for Apache Pulsar"
2023-09-13 10:25:49 -05:00
Chris Bono
a48eaf2b6b Use Spring Boot Pulsar starters (#441)
Fixes #439
2023-09-06 19:57:41 -05:00
Chris Bono
7256ecf399 Update to Pulsar v3.1.0 (#438)
See #437
2023-08-27 17:20:58 -05:00
Chris Bono
7f5ced49dc [Docs] simplify versions matrix 2023-07-22 12:35:03 -05:00
Chris Bono
4178f71487 [Docs] Update Project Status section
Use discrete headings for version sections.

See #412
2023-06-16 11:33:52 -05:00
Chris Bono
617da6247d [Docs] Add project status/evolution section (#415)
Resolves #412
2023-06-15 22:32:45 -05:00