41 Commits

Author SHA1 Message Date
Chris Bono
7a2337771f Update Pulsar to 3.3.6 2025-04-21 15:23:59 -05:00
Chris Bono
a1e639e419 Update to Pulsar 3.3.5
This updates pulsar-client-all from 3.3.4 to 3.3.5
2025-03-15 17:29:32 -05:00
Chris Bono
7137ef1e69 Update to Pulsar 3.3.4 (#1012)
This updates to the Pulsar client to version 3.3.4 in order to pickup
fix for CVE-2024-53990.
2025-01-21 13:57:05 -06:00
Chris Bono
e1324dc334 Add Pulsar 4.0.x compatibility tests (#967)
Adds the ability to specify the Pulsar client version when running
the samples apps. Uses this new capability to add entries to the
check-samples.yml compatability test matrix to include Pulsar
4.0.x.

See #923
2024-12-14 09:08:23 -06:00
Chris Bono
bb2f2814c9 Update Pulsar to 3.3.3 (#955) 2024-12-08 10:40:34 -06:00
Chris Bono
ae05982286 Update to Pulsar 3.3.2 (#875)
This commit updates the version of Pulsar to 3.3.2.

Also, in Pulsar 3.3.2 the schema validation of an outgoing message value
happens later than it did previously. This requires the PulsarTemplate
to widen the try/catch net so that when this happens the producer is
closed properly. The backing change in Pulsar 3.3.2 can be seen here
f3c177e224 (diff-095bc2359e03726e031d8c2f210560c6a3218f48a969b0f75a2482e25cd54744R69)
2024-10-16 10:24:01 -05:00
Chris Bono
4981b28c2d Update to Pulsar 3.3.1 (#772)
* Update to Pulsar 3.3.1

* Handles deprecation to PulsarClient.getPartitionsForTopic(String)

* Adds support to PulsarClientProxy for newly added
PulsarClient.getPartitionsForTopic(String, boolean)

* Add deprecation note to "What's New" doc

Resolves #767
2024-08-10 21:24:19 -05:00
Chris Bono
2801131da7 Update to Pulsar 3.3.0 (#763)
Resolves #757
2024-07-30 14:43:24 -05:00
Chris Bono
70e9e60f39 Allow custom object mapper for messages (#755)
This commit adds support for a user-provided Jackson ObjectMapper to be
used when de/serializing JSON messages.

Additionally, adds Gradle test fixtures to the spring-pulsar module and
deprecates the UserRecord and UserPojo in spring-pulsar-test in favor
of their equivalent in the test fixture.

See #723
2024-07-29 21:57:27 -05:00
Chris Bono
968eff660f Update Pulsar to 3.2.3 (#679) 2024-05-17 22:30:08 -05:00
Chris Bono
51c6b0143b Update to Pulsar 3.2.2
Resolves #642
2024-04-15 08:54:50 -05:00
Chris Bono
7198fc87f6 Update to Pulsar 3.2.1 (#608) 2024-03-14 19:13:23 -05:00
Chris Bono
23595e9c1c [CI] Skip samples during test target [skip ci]
This commit sets the sample tests to not run as part of the
regular 'test' task. We only want the sample tests to run during the
"check-samples" step.
2024-02-20 19:39:18 -06:00
Chris Bono
0da4142b48 Update to Pulsar 3.2.0 (#564)
Resolves #563
2024-02-05 10:09:02 -06:00
Chris Bono
0a880746f5 [Samples] Use version.samples property in samples 2024-01-15 18:52:08 -06:00
Chris Bono
bbdba009b4 [Samples] Make sample-reactive testable 2024-01-15 14:26:02 -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
b0a81f9f5a Update to Spring Boot 3.2.2-SNAPSHOT (#530) 2023-12-21 22:58:13 -06:00
Chris Bono
9e51baaff6 Update Spring Boot dependencies for 3.2.1-SNAPSHOT (#516)
Resolves #406
2023-12-10 15:55:54 -06:00
Chris Bono
c0920a0f0d Set samples to always run tests 2023-10-08 11:09:51 -05:00
Chris Bono
a48eaf2b6b Use Spring Boot Pulsar starters (#441)
Fixes #439
2023-09-06 19:57:41 -05:00
Chris Bono
b0e130c8e9 Break dependency on Spring Boot (#407)
- Removes the use of spring-boot-dependencies to drive the
  Java platform (spring-pulsar-dependencies). This is needed
  to avoid chicken-egg problem when Spring Boot in turn has
  a dependency on Spring Pulsar.

- Move integration tests into own sub-module

- The only place that still relies on Spring Boot is in the
  integration tests and the samples.

- Update to Spring Boot 3.1.1-SNAPSHOT
2023-05-25 20:03:32 -05:00
Chris Bono
a4caa2fa2b Removes all non-core components from main branch (#390)
* Prunes all non-core components

Remove modules:
- spring-pulsar-spring-boot-starter
- spring-pulsar-reactive-spring-boot-starter
- spring-pulsar-spring-boot-autoconfigure
- spring-pulsar-spring-cloud-stream-binder

- Remove config props plugins
- Update docs to point to Spring Boot config props
- Move intTest into spring-pulsar and spring-pulsar-reactive

* Replace refs from `spring-projects-experimental` to `spring-projects`

* Update spring-pulsar-spring-boot-starter to 0.2.1-SNAPSHOT
2023-04-11 09:25:42 -05:00
Chris Bono
71241a212b Update Spring Boot 3.0.5 (#381) 2023-03-23 12:28:39 -05:00
Chris Bono
b1024a9991 Update to Spring Boot 3.0.4 2023-03-15 10:46:12 -04:00
Christophe Bornet
9fb8879491 Bump the Pulsar reactive client to 0.2.0 (#307) 2023-02-07 09:19:41 -06:00
Chris Bono
dd09c98c01 Update Spring Boot 3.0.2 (#314)
Also update:
* testcontainersVersion = `1.17.6`
* springCloudStreamVersion = `4.0.1`
2023-02-06 09:05:52 -06:00
Chris Bono
ed2a67b0c4 Remove setSchema API from templates
For both PulsarTemplate and ReactivePulsarTemplate:
* remove setSchema()
* add schema param in simple API
* add schema param in fluent API

Update all tests and samples accordingly

See #268
2023-01-25 12:54:12 -05:00
Chris Bono
4ca7b1266a [Build] Skip other sonatype tasks for samples 2022-12-14 15:23:04 -06:00
Chris Bono
e36f98d1aa [Build] Don't publish samples to Sonatype
- increase Sonatype state transition retries
2022-12-14 14:12:38 -06:00
Chris Bono
0336228e99 Add reactive docs (#250)
Fixes #201
2022-12-12 00:32:14 -06:00
Chris Bono
2a7a0b9e0e Update to Spring Boot 3.0.0 (#241)
- Also update Micrometer docs gen to M7

Fixes #177
2022-11-26 19:45:05 -06:00
Christophe Bornet
1055637ff2 Update with new MessageResult::acknowledge(Message) function (#233) 2022-11-21 20:05:56 -06:00
Chris Bono
2024206a28 Update reactive sample with @ReactivePulsarListener (#218) 2022-11-18 16:04:52 -06:00
Chris Bono
a8d65ec168 Split reactive into its own module
Remove redundant dep
2022-11-17 20:47:44 -05:00
Christophe Bornet
a5ddf77ced Add ReactivePulsarMessageListenerContainer (#198) 2022-11-10 12:52:53 -06:00
Christophe Bornet
82815d9dc5 Rename ReactivePulsarSenderTemplate to ReactivePulsarTemplate 2022-11-10 12:48:54 -06:00
Chris Bono
5dd3a4a181 Update to Spring Boot 3.0.0-RC1 2022-11-07 18:25:03 -06:00
Chris Bono
1fcc2fbb25 Add spring-boot-starter as api dep. in starters 2022-11-07 14:14:08 -06:00
Chris Bono
600ade21aa Add spring-boot-starter to reactive-sample-app 2022-11-07 10:46:32 -06:00
Chris Bono
58fd8d026b Add Reactive sample app 2022-11-07 10:41:55 -06:00