Commit Graph

458 Commits

Author SHA1 Message Date
Chris Bono
60dac79c3d [Docs] Add version compatibility appendix (#409) 2023-05-26 21:32:35 -05:00
Chris Bono
50b54f916f [Build] Add abstract base plugin for module and docs plugins 2023-05-26 00:42:39 -05:00
Chris Bono
c0f5e442c5 [Build] Rename project build.gradle to {project.name}.gradle 2023-05-26 00:42:39 -05:00
Chris Bono
e1e4ac8765 [Build] Simplify build
- Consolidate plugins to pulsar package
- Remove prohibited classpath check
2023-05-26 00:42:39 -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
e696220bbe Use shaded cache module for Reactive client (#403)
* Use shaded cache module for Reactive client

- use `pulsar-client-reactive-producer-cache-caffeine-shaded`
- exclude `pulsar-client` from reactive client modules as it
  brings in unwanted transitive deps
2023-05-08 23:25:57 -05:00
Chris Bono
c043d8c126 Port auto-config changes from 0.2.x (#402)
* Port "Use builder to autoconfigure PulsarProducerFactory (#397)" from 0.2.x

* Port "Use builder to autoconfigure PulsarConsumerFactory (#399)" from 0.2.x

* Port "Use builder to autoconfigure PulsarReaderFactory (#400)" from 0.2.x

* Port "Use builder to autoconfigure PulsarAdministration (#401)" from 0.2.x
2023-05-07 10:34:12 -05:00
Chris Bono
5471b3af12 [CI] Rename 0.2.x dispatcher workflow 2023-04-30 10:11:06 -05:00
Chris Bono
6a33a4a7e6 [CI] Schedule 0.2.x workflow 2023-04-30 10:08:41 -05:00
Chris Bono
937b689743 [CI] Fix ci not running function ITs
- Make integrationTest depend on downloadRabbitConnector
2023-04-29 22:16:09 -05:00
Chris Bono
82f5bcbaf3 Port "Use builder to autoconfigure PulsarClient (#394)" from 0.2.x (#396)
- Replace PulsarClientFactoryBean with PulsarClientFactory
2023-04-29 11:04:22 -05:00
Chris Bono
aadc1d8135 [CI] Add 0.2.x to ci.yml 2023-04-28 22:34:48 -05:00
Chris Bono
cda32c0d57 [CI] Add ArtifactoryPlugin to root project 2023-04-26 21:15:34 -05:00
Chris Bono
4e9aa0d689 Update jfrog build-info-extractor-gradle 4.31.9 2023-04-26 20:51:34 -05:00
Christophe Bornet
2280a49095 Update reactive client to 0.3.0 (#395) 2023-04-26 10:52:37 -05:00
Chris Bono
231a4e643a [CI] remove --info from build command 2023-04-25 23:22:13 -05:00
Chris Bono
cccefee9e2 [CI] refactor ArtifactoryPlugin
* Move artifact props back to defaults {}
2023-04-25 22:06:58 -05:00
Chris Bono
361e6afe4f [CI] refactor ArtifactoryPlugin
* Limit publications to only MavenPublishPlugin
2023-04-25 21:16:07 -05:00
Chris Bono
746b480b62 [CI] skip classpath check for intTest configuration 2023-04-25 20:59:57 -05:00
Chris Bono
9fb6c88b7c [CI] simplify module/docs plugins
Effort to include build-info in Artifactory
2023-04-25 20:39:41 -05:00
Chris Bono
8b198c7ad3 Update ci-pr.yml
Add 0.2.x branch
2023-04-17 16:44:45 -05:00
Chris Bono
3d2b45231f Update core version to 1.0.0-SNAPSHOT (#391) 2023-04-11 10:55:28 -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
9e00c2be7c Hide observation API from public API on template and listener (#389)
* Remove observation registry and convention from
  constructors on PulsarTemplate and CPLCF

* Lookup observation registry and convention from
  app context at start time
2023-04-10 20:35:04 -05:00
Chris Bono
86c95f883e Replace refs from spring-projects-experimental to spring-projects 2023-04-10 16:05:33 -05:00
Soby Chacko
0969efe14c Container properties code optimization 2023-03-29 20:16:52 -04:00
Chris Bono
42daa54d33 Follow up on shaded cache modules (#388)
* Add new module descriptions to README.adoc

* Replace non-shaded Caffeine classes w/
  shaded version in PulsarRuntimeHints.java
2023-03-29 12:22:56 -05:00
Chris Bono
156b85cd7b Fix publish for shaded caffeine artifact (#387)
- Don't publish rich Gradle module for
  spring-pulsar-cache-provider-caffeine
2023-03-28 00:27:36 -05:00
Chris Bono
18eac19012 Add cache provider / shade caffeine (#386) 2023-03-27 19:13:05 -05:00
Chris Bono
634f60df96 [CI] Update release workflow for 0.2.0
- Add 0.2.0 to hardcoded list of pre-releases
- Fix branch creation for full GA step
2023-03-24 11:15:11 -05:00
Chris Bono
c2656f6a89 [Release 0.2.0] Next development version 2023-03-23 22:18:25 -05:00
Chris Bono
4aac315569 [Release 0.2.0] Update version (#383)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-03-23 20:48:31 -05:00
Soby Chacko
ea8aea76f8 Pulsar topic types in Container Properties
Pulsar Java client expects topics to be provided as a Set.
In PulsarContainerProperties, we were using an array type.
In order to make it consistent with the Pulsar Java client, we are
migrating this type in PulsarContainerProperties to Set<String>.
2023-03-23 16:11:21 -04:00
Chris Bono
45da73d817 Add LinkedHashMap to AOT hints (#382) 2023-03-23 14:00:25 -05:00
Chris Bono
f282a9a6d9 Dependency hygiene required by Spring Boot (#376) 2023-03-23 12:54:20 -05:00
Soby Chacko
29cfd301c6 Better container properties sync
* If consumer properties are directly overridden, we need to
   sync that with container properties. This commit tries to
   centralize this synching.
2023-03-23 13:51:22 -04:00
Chris Bono
71241a212b Update Spring Boot 3.0.5 (#381) 2023-03-23 12:28:39 -05:00
Chris Bono
488c5d2e64 Add AOT support for Pulsar binder. (#379)
- Adds native hints to allow the
  binder to run in a GraalVM native
  image.
2023-03-22 21:59:02 -05:00
Soby Chacko
8300f1a4be Subscription Type Propagation in the Binder 2023-03-22 13:17:18 -04:00
Chris Bono
19cc0ab070 Simplify defaults type mappings (#377)
* Remove redundant SchemaInfo.messageType as
  the key of the type mappings tells us that
  info
2023-03-21 20:19:01 -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
Chris Bono
6fedfa9c0c Allow schema mapping via config props (#371)
* Allow schema mapping via config props

* Adds a `schema-info` property to the
  `spring.pulsar.defaults.type-mappings` which
  allows users to configure a default
  schema by message type via config props

* Add docs for schema mapping via config props

* Fix unit test
2023-03-14 17:16:53 -04:00
Chris Bono
fd41a8f836 [CI] Add aggregate jacoco report (#370) 2023-03-11 21:51:17 -06:00
Chris Bono
1a2dcb8610 Remove heading from pulsar-header.adoc (#369)
* Remove heading from pulsar-header.adoc

- Also include jacoco upload to ci-pr.yml

* Remove heading from pulsar-header.adoc

- Also include jacoco upload to ci-pr.yml
2023-03-08 11:05:14 -05:00
Chris Bono
25a2ee005d Add header mapper docs to binder docs (#368)
See #366
2023-03-07 10:22:12 -06:00
Chris Bono
a0c9dabbe5 Add SCSt binder header mapper (#367)
- Add binder specific header mapper
- Add IT tests for binder header mapping

See #366
2023-03-06 12:19:19 -06:00