22 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
2763bc3ca0 Use Pulsar 3.3.4 in PulsarTestContainerSupport
This sets the image tag from `latest` to `3.3.4` in order
to ensure the default tag matches up w/ the version of
Pulsar supported by Spring for Apache Pulsar.

See #1014
2025-01-21 13:01:34 -06: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
3c002150a6 Rename PulsarTestContainerSupport#stopContainer2 to stopContainer (#647) 2024-04-15 11:08:11 -05:00
Chris Bono
952c8bab53 Close created client in PulsarConsumerTestUtil (#618) 2024-03-18 13:37:40 -05:00
Chris Bono
9bc6bda306 Fix CI failures caused by previous commit (#616)
The previous commit annotated `PulsarTestContainerSupport#stopContainer`
with `@ AfterAll`. This had unintended side effects when used in nested
Jupiter tests. This commit removes the annotation from the stop method.
2024-03-18 00:17:03 -05:00
Chris Bono
d99101ff27 Polish "Enhance PulsarConsumerTestUtil consumeMessages"
- Add test for consume w/ no args w/ default url
- Add javadocs to PulsarConsumerTestUtil
2024-03-17 14:55:31 -05:00
KartikShrivastava
2c7e3b248a Enhance PulsarConsumerTestUtil consumeMessages
This commit allows users to pass in no args, pulsar client,
or broker url to PulsarConsumerTestUtil consumeMessages().

Resolves #599
2024-03-17 14:31:37 -05:00
Chris Bono
e8dad9e06a Publish the spring-pulsar-test module (#600)
This commit makes the spring-pulsar-test module available externally.

Additionally:
* Add missing package-info.java in several packages
* Update doc on how to use PulsarTestContainerSupport
2024-03-10 16:18:14 -05:00
Chris Bono
1f2f6ed46d Polish "Add consumer test utility" (#592)
- update javadocs a bit
- reorder some constructors based on specificity
- add null check to "withSchema"
- rename the test to end w/ "Tests" (plural) for consistency
- simplified doc examples a bit w/ String message type
- drop the exact match API
- rename the conditions factory methods
2024-02-26 13:17:37 -06:00
Jonas Geiregat
5bf9ba0944 Add consumer test utility
This commit adds the PulsarConsumerTestUtil utility to help with
consuming messages during tests.
2024-02-25 16:21: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
92bfe7cb55 Add support for AUTO_CONSUME schema type
See #380
2024-02-01 20:27:55 -06:00
Chris Bono
fe1e93e48c Update to Pulsar 3.1.2 (#538)
Resolves #534
2024-01-09 17:47:10 -06:00
Chris Bono
8ea93eba3e Update to Pulsar client 3.1.1 (#496) 2023-11-20 14:15:44 -06: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
9f2b2844af Update Pulsar 3.0.0 (#404) 2023-05-10 18:32:31 -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
Chris Bono
59a4d94964 Update Pulsar 2.10.3 (#315) 2023-02-06 14:04:59 -06:00
Soby Chacko
31dd9ed0d4 Refactor PulsarTestContainerSupport (#278)
New module spring-pulsar-test

Resolves #277
2023-01-19 15:32:24 -06:00