Commit Graph

23 Commits

Author SHA1 Message Date
Chris Bono
123b17df0d Specify locale in toLowerCase|toUpperCase (#893)
This commit makes sure that all usages of String toLowerCase and
toUpperCase specify a Locale (default of Locale.ROOT).

Also, a checkstyle rule is added to prevent usage of the no-arg variant
of String toLowerCase and toUpperCase.
2024-10-17 16:26:26 -05:00
Chris Bono
473642e5f4 Log a warning when Lambda customizer used (#879)
This adjusts the `PulsarTemplate` to log a warning when a user provides
a `ProducerBuilderCustomizer` that is implemented as a Java Lambda.
This is important as the customizer is used as part of the producer
cache key and if not implemented properly will effectively disable
producer caching and write performance will degrade.

See #809
2024-10-15 18:23:49 -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
bdc36a6798 Use Algolia extension (centralized creds)
Also does the following:

* Update versions for all docs related dependencies
* Use package.json
2024-06-27 16:27:30 -05:00
Chris Bono
7d29190033 Update to Gradle 8.3 (#464) 2023-09-27 17:14:35 -05:00
Chris Bono
02730275e8 Add SSL integration tests (#442)
* Also move inttests to subpackages based on functionality
* Also add app tests (non-ssl)
2023-09-10 22:21:59 -05:00
Chris Bono
7ee8ee12b1 Add filter/encode ability to header mappers (#366)
- Add simple 'ToString' mapper
- Add 'json' mapper for complex types
- Delete 'default' mapper
- Use 'json' mapper as default mapper
- Inbound/outbound filter rules

See #361
2023-03-05 12:26:56 -06:00
Chris Bono
0458f01b3e Binder preserves headers on send/receive (#359)
- Refactor the existing PulsarMessageHeaderMapper to include to/from support.
- Use the new API in the binder send/receive
- Add tests for header mapper

See #358
2023-02-24 09:31:36 -06:00
Chris Bono
284b4b0c1e Add consumer/producer config props to binder and binding level (#338)
* Move loadConf into ProducerBuilderConfigurationUtil

* Add full consumer/producer props to binder/binding props

* Re-use the consumer and producer props from PulsarProperties
* Add unit and integration test for newly added props
2023-02-13 11:06:21 -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
bd75eefdce Add schema resolution to binder 2023-01-23 12:55:09 -05:00
Chris Bono
d45af6979b Add custom schema mappings
See #269

- Still need to add docs
2023-01-18 15:41:27 -05:00
Chris Bono
7789f89ab0 Add robust IT for PulsarFunctionAdministration (#272) 2023-01-15 23:33:18 -06:00
Chris Bono
54d89a8c05 PulsarAdministration now respects auth properties (#195)
* Add test to prove PulsarAdministration not respecting auth

* PulsarAdministration respects auth

* Fix condition in admin properties
2022-11-07 16:18:53 -05:00
Chris Bono
58fd8d026b Add Reactive sample app 2022-11-07 10:41:55 -06:00
Chris Bono
aa4c1540c0 Update import order in IDEA code style 2022-10-13 16:32:36 -05:00
Alexander Preuß
78efde7cd6 Add protobuf schema support (#87)
Additionally the following follow-up items from PR #82 :
* Extend PulsarListenerTests for different Schema types
* Add supported Schema types to docs
2022-09-06 08:13:50 -05:00
Chris Bono
130501ab0a More test debugging
- Add comment suppression filter in checkstyles
- Add show standard out streams in test for spring-pulsar
- Move log to sout in test
2022-08-31 22:58:56 -05:00
Chris Bono
de2d8a0600 [BUILD] Build improvements (#52)
* Each module has its own build.gradle
* Functionality moved into plugins in buildSrc/
* Add Spring javaformat
* Add release plugins (#20)

Fixes #21
2022-08-06 18:49:18 -05:00
Chris Bono
d9cdec3f1b Add test cases to PulsarTemplateTests 2022-07-24 00:59:34 -05:00
Chris Bono
33fba1d450 Add caching producer factory
Fixes #30
2022-07-22 19:25:36 -05:00
Chris Bono
ecd0a30c83 Minor cleanup and refactoring (#24) 2022-07-11 13:06:14 -05:00
Soby Chacko
118fdd7386 Build cleanup 2022-06-23 19:40:04 -04:00