89 Commits

Author SHA1 Message Date
dependabot[bot]
455b510768 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:51:20 -06:00
dependabot[bot]
6a54ba154f Bump org.projectlombok:lombok from 1.18.32 to 1.18.34 (#732)
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:26:54 -05:00
dependabot[bot]
a06bda3966 Bump org.projectlombok:lombok from 1.18.24 to 1.18.32 (#711)
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-06-17 19:53:55 -05:00
Chris Bono
3091d97b14 Update Pulsar to 3.1.3
Resolves #655
2024-04-15 17:27:09 -05: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
Soby Chacko
0f84199138 Formatting the binder sample app 2023-03-21 19:18:16 -04:00
Soby Chacko
2609b08869 Fix checkstyle on the Binder sample app 2023-03-21 18:53:15 -04:00
Soby Chacko
d4e816e52a Binder sample app update with DLT 2023-03-21 18:34:10 -04:00
Chris Bono
b1024a9991 Update to Spring Boot 3.0.4 2023-03-15 10:46:12 -04:00
Soby Chacko
82f4fb512c PulsarReader docs 2023-02-24 15:09:57 -05:00
Soby Chacko
0621c540d6 PulsarReader Infrastructure
- Introducing PulsarReader annotation
 - Annotation bean post processor for PulsarReader
 - PulsarReader container and registry
 - PulsarReader endpoint and registry
 - PulsarReaderConfigurer
 - PulsarReader based listener adapter
 - PulsarReader annotation driven Boot auto configuration

Resolves https://github.com/spring-projects-experimental/spring-pulsar/issues/353
2023-02-17 14:39:13 -05:00
Chris Bono
64159ff350 Update Pulsar to 2.11.0 (#337)
* User template vars for links to pulsar docs site
* Update all code references to `2.11.0`
2023-02-14 14:52:09 -06:00
Christophe Bornet
9fb8879491 Bump the Pulsar reactive client to 0.2.0 (#307) 2023-02-07 09:19:41 -06:00
Chris Bono
f108bc202b Update copyright 2023 on all source files (#318)
* Add ability to update all copyrights

* Update all source copyrights to 2023

* Disabling problematic pause/resume test
2023-02-06 15:54:34 -06:00
Chris Bono
59a4d94964 Update Pulsar 2.10.3 (#315) 2023-02-06 14:04:59 -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
6fdd6c743c Update SCSt binder sample
* Use 2 different types of schema
now that the setSchema is thread-safe.
2023-01-30 10:39:18 -05:00
Chris Bono
7294580bfa Add topic resolver (#293)
* Add topic resolver

- Topic resolver with configurable
message type to topic name mappings

See #269

* Sample app uses topic and schema resolver

* Add topic resolver docs
2023-01-30 10:38:19 -05: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
f4d10811ca Binder sample app uses complex types 2023-01-23 12:55:09 -05:00
Soby Chacko
ea1597a0a1 Pulsar binder subscription name improvements
Provide a default subscription name that is anonymous each time the app starts.
This can be overridden to a fixed subscription name by providing it as a property.
2023-01-20 16:22:12 -05:00
Soby Chacko
ada87dbeee Pulsar binder schema related changes (#282)
* Pulsar binder schema related changes

* PR review
2023-01-20 14:14:53 -05:00
Soby Chacko
1969c8a488 Spring Cloud Stream Pulsar Binder (#276)
* Spring Cloud Stream Pulsar Binder

Basic consumer and producer bindings.
Sample app (end to end)

* PR review
2023-01-19 13:07:07 -05:00
Chris Bono
7789f89ab0 Add robust IT for PulsarFunctionAdministration (#272) 2023-01-15 23:33:18 -06:00