108 Commits

Author SHA1 Message Date
Chris Bono
7a2337771f Update Pulsar to 3.3.6 2025-04-21 15:23:59 -05:00
dependabot[bot]
95dadb702b Bump org.projectlombok:lombok from 1.18.36 to 1.18.38
Bumps [org.projectlombok:lombok](https://github.com/projectlombok/lombok) from 1.18.36 to 1.18.38.
- [Changelog](https://github.com/projectlombok/lombok/blob/master/doc/changelog.markdown)
- [Commits](https://github.com/projectlombok/lombok/compare/v1.18.36...v1.18.38)

---
updated-dependencies:
- dependency-name: org.projectlombok:lombok
  dependency-version: 1.18.38
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-02 19:28:07 -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
dependabot[bot]
c0692e1058 Bump org.projectlombok:lombok from 1.18.34 to 1.18.36
Bumps [org.projectlombok:lombok](https://github.com/projectlombok/lombok) from 1.18.34 to 1.18.36.
- [Changelog](https://github.com/projectlombok/lombok/blob/master/doc/changelog.markdown)
- [Commits](https://github.com/projectlombok/lombok/compare/v1.18.34...v1.18.36)

---
updated-dependencies:
- dependency-name: org.projectlombok:lombok
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-15 10:35:13 -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
9064623fb1 Use auto-configured PulsarTopicBuilder (#817)
Now that Spring Boot `3.4.0-M2` auto-configures the `PulsarTopicBuilder`, this commit
updates ITs, samples, and docs accordingly.
2024-08-24 16:35:03 -05:00
Chris Bono
6d23378fbb Add support for default tenant and namespace (#766)
See #756
2024-08-12 14:03:32 -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
755f25bda1 Update to Spring Boot 3.4.0-M1 (#764)
NOTE: Also had to update to SCSt 4.2.0-SNAPSHOT to workaround
https://github.com/spring-cloud/spring-cloud-function/issues/1149

Resolves #758
2024-08-09 22:59:59 -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
dependabot[bot]
b655f83e32 Bump org.projectlombok:lombok from 1.18.32 to 1.18.34 (#730)
Bumps [org.projectlombok:lombok](https://github.com/projectlombok/lombok) from 1.18.32 to 1.18.34.
- [Changelog](https://github.com/projectlombok/lombok/blob/master/doc/changelog.markdown)
- [Commits](https://github.com/projectlombok/lombok/compare/v1.18.32...v1.18.34)

---
updated-dependencies:
- dependency-name: org.projectlombok:lombok
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-30 19:27:29 -05:00
dependabot[bot]
9219502721 Bump org.projectlombok:lombok from 1.18.24 to 1.18.32 (#693)
Bumps [org.projectlombok:lombok](https://github.com/projectlombok/lombok) from 1.18.24 to 1.18.32.
- [Changelog](https://github.com/projectlombok/lombok/blob/master/doc/changelog.markdown)
- [Commits](https://github.com/projectlombok/lombok/compare/v1.18.24...v1.18.32)

---
updated-dependencies:
- dependency-name: org.projectlombok:lombok
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-29 16:38:40 -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
48407e96ae Remove Brave from Java Platform (#589)
* Remove Brave from java platform

This commit removes Brave from being managed directly in the Java
Platform. Because the Brave version is already handled by Micrometer
Tracing BOM (which we import) there is no need to manage this
directly.

* Add observations back in sample failover app

This commit adds back in the observation related dependencies into the
sample-failover-custom-router sample app. They were removed temporarily
as Spring Boot 3.3.0-SNAPSHOT had a bug when they bumped to Brave 6.0.1.

Additionally:
-------------
* Add in template and listener observation-enabled properties as
Spring Boot is currently setting these to false byu default.

* Remove observation related dependencies from the sample functions app
as they were not intended to be there in the first place.
2024-02-24 10:37:44 -06: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
8933250466 Update to Brave 6.0.1 (#587)
This commit updates to the latest Brave version (6.0.1). This revealed a
strange classloader issue for Zipkin2.Span when running the failover
sample app during the 'test' target. To get around this issue the
tracing dependencies are temporarily commented out in the failover
sample app.
2024-02-20 15:14:25 -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
a0a05cdef7 [Samples] Make sample-pulsar-binder testable 2024-01-15 14:26:02 -06:00
Chris Bono
bbdba009b4 [Samples] Make sample-reactive testable 2024-01-15 14:26:02 -06:00
Chris Bono
3f9fad42e8 [Samples] Simplify sample apps build.gradle 2024-01-15 14:26:02 -06:00
Chris Bono
12334ffcfc [Samples] Make sample-pulsar-reader testable 2024-01-15 14:26:02 -06:00
Chris Bono
1153a1fe96 Allow samples to be run from IntelliJ or bootRun
This commit adjust the `spring.docker.compose.file` property value to
allow running the sample via IntelliJ "run" button or from command line
via `./gradlew bootRun`.
2024-01-14 11:40:25 -06:00
Chris Bono
ba05e7e724 [CI] Add Spring Boot 3.3.0 compatibility check 2024-01-14 11:40:25 -06:00
Chris Bono
fe1e93e48c Update to Pulsar 3.1.2 (#538)
Resolves #534
2024-01-09 17:47:10 -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
9b5a2837fd Update samples README.adoc 2023-12-01 13:06:10 -06:00
Chris Bono
01840747a1 Add docker-compose support to sample-imperative-produce-consume app (#505) 2023-11-27 15:28:24 -06:00
Chris Bono
3aa41e2107 Convert samples to tests (#504)
* Add tests for FailoverConsumerApp sample app

* Renamed package for FailoverConsumerApp to `com.example` from `app2`
2023-11-26 23:05:05 -06:00
Chris Bono
8ea93eba3e Update to Pulsar client 3.1.1 (#496) 2023-11-20 14:15:44 -06:00
Chris Bono
015346d095 Update sample reader app to remove subscription name from @PulsarReader 2023-11-11 23:44:22 -06:00
Chris Bono
c0920a0f0d Set samples to always run tests 2023-10-08 11:09:51 -05:00
Chris Bono
b64a7110b3 Add check-samples step in CI (#467)
See #450
2023-10-04 23:58:09 -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
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
3aed276331 Update to Pulsar client 3.0.1
Fixes #428
2023-08-09 15:15:11 -04:00
Chris Bono
77ab89c690 Update to Spring Boot 3.2.0-SNAPSHOT (#419) 2023-07-18 18:57:33 -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
9f2b2844af Update Pulsar 3.0.0 (#404) 2023-05-10 18:32:31 -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