Commit Graph

186 Commits

Author SHA1 Message Date
Oliver Drotbohm
a47bbcc1ab GH-812 - Prepare next development iteration. 2024-09-20 22:33:43 +02:00
Oliver Drotbohm
bf4e0c0602 GH-812 - Release version 1.1.9. 2024-09-20 22:33:43 +02:00
Oliver Drotbohm
b4456d5763 GH-832 - Upgrade to Testcontainers 1.17.6. 2024-09-20 22:26:56 +02:00
Martin Beentjes
706e9c8b3c GH-791 - Correct package declaration in JacksonEventSerializer. 2024-08-30 17:25:48 +02:00
Oliver Drotbohm
2668e63525 GH-779 - Prepare next development iteration. 2024-08-23 11:50:36 +02:00
Oliver Drotbohm
bf2617c83b GH-779 - Release version 1.1.8. 2024-08-23 11:50:36 +02:00
Oliver Drotbohm
35db5488af GH-756 - Remove performance tests.
The functionality we compare against is only available in 1.3.
2024-08-08 12:10:39 +02:00
Oliver Drotbohm
4907d52ae3 GH-756 - Revert to @MockBean. 2024-08-08 12:01:31 +02:00
Oliver Drotbohm
5199c84ac9 GH-756 - Avoid superfluous, repeated deserialization in JdbcEventPublication.getEvent(). 2024-08-08 11:49:05 +02:00
Oliver Drotbohm
ea7b299525 GH-751 - Optimize publication completion by event and target identifier.
We now additionally guard the completion query by event and target identifier to also only apply to publications that have not been completed yet. This will allow databases to optimize the query plan to apply simple comparisons (the date being null) over complex comparisons (the event payload) to reduce the intermediate results to process further and thus improve performance.
2024-08-06 17:30:30 -04:00
Oliver Drotbohm
8e4ac3f1ed GH-740 - Prepare next development iteration. 2024-07-19 00:46:11 +02:00
Oliver Drotbohm
8a1f94490a GH-740 - Release version 1.1.7. 2024-07-19 00:46:10 +02:00
Oliver Drotbohm
e8be6d51c3 GH-734 - Only create event publication registry entries for after commit listeners. 2024-07-14 19:26:29 +02:00
Raed
00852d289f GH-718 - Enable tests that were mistakenly disabled. 2024-07-08 22:15:55 +02:00
Oliver Drotbohm
066a62a084 GH-676 - Prepare next development iteration. 2024-06-21 13:21:09 +02:00
Oliver Drotbohm
4cf8e05e11 GH-676 - Release version 1.1.6. 2024-06-21 13:21:09 +02:00
Oliver Drotbohm
56049baa73 GH-643 - Prepare next development iteration. 2024-05-24 12:44:12 +02:00
Oliver Drotbohm
6bdf54bb2e GH-643 - Release version 1.1.5. 2024-05-24 12:44:12 +02:00
Oliver Drotbohm
8168b015a8 GH-628 - Polishing. 2024-05-24 12:41:58 +02:00
Oliver Drotbohm
1d63f0bc47 GH-631 - Let JdbcEventPublicationRepository implement BeanClassLoaderAware.
To make sure the event type is loaded via the RestartClassLoader when using Spring Boot Devtools.
2024-05-23 13:16:59 +02:00
Oliver Drotbohm
3c7c448a01 GH-629 - Improve repository interaction in DefaultEventPublicationRegistry.
DefaultEventPublicationRegistry is now directly invoking the corresponding repository to delete events older than a certain duration.
2024-05-23 10:28:14 +02:00
Oliver Drotbohm
adb8411d0b GH-628 - Fix JDBC event deletion implementation.
We now augment the basic query with exactly the number of parameter placeholders as we're handing in as parameters.
2024-05-23 10:28:13 +02:00
Oliver Drotbohm
b4a2c2ae43 GH-586 - Fix configuration property metadata for JSON support in Kafka and RabbitMQ. 2024-05-08 12:41:49 +02:00
Oliver Drotbohm
d5fcda7f45 GH-585 - java.lang.boolean -> java.lang.Boolean in configuration property metadata. 2024-05-08 12:06:39 +02:00
Oliver Drotbohm
c16751b98b GH-576 - Prepare next development iteration. 2024-04-29 13:52:32 +02:00
Oliver Drotbohm
2a9d3fda2a GH-576 - Release version 1.1.4. 2024-04-29 13:52:32 +02:00
Benjamin Knauer
faca51a0c2 GH-564 - Use error log in PersistentApplicationEventMulticaster if listener not found.
Related pull request: GH-548.
2024-04-29 08:37:01 +02:00
Oliver Drotbohm
a22a3bd617 GH-513 - Prepare next development iteration. 2024-02-23 16:34:58 +01:00
Oliver Drotbohm
268b27b7c3 GH-513 - Release version 1.1.3. 2024-02-23 16:34:58 +01:00
Oliver Drotbohm
954ecc2993 GH-517 - Upgrade to Spring Boot 3.2.3 2024-02-23 16:30:40 +01:00
Oliver Drotbohm
c4c0c2f5be GH-502 - Polishing. 2024-02-14 12:29:30 +01:00
lukasdooo
ac8f69935d GH-502 - Only delete completed events. 2024-02-14 12:29:00 +01:00
Oliver Drotbohm
7e6c1111a2 GH-484 - Let CompletionRegisteringAdvisor forward EventExternalized event. 2024-01-29 21:15:26 +01:00
Oliver Drotbohm
6efcbea3ec GH-475 - Prepare next development iteration. 2024-01-19 21:43:40 +01:00
Oliver Drotbohm
534f1ba628 GH-475 - Release version 1.1.2. 2024-01-19 21:43:40 +01:00
Oliver Drotbohm
c9b42fad55 GH-453 - Polishing. 2024-01-19 21:41:52 +01:00
Oliver Drotbohm
e26d4027f6 GH-464 - Update copyright headers. 2024-01-17 19:47:56 +01:00
Oliver Drotbohm
b90557ba39 GH-459 - Move off deprecated DatabaseDriver.fromDataSource(…). 2024-01-17 16:34:43 +01:00
TAO
199f1711c3 GH-456 - Fix potentially broken debug log output in PersistentApplicationEventMulticaster.
Swapped the ternary operator conditions for the 'message' variable assignment.

Fixes GH-456.
2024-01-16 20:08:13 +01:00
Oliver Drotbohm
bbae486935 GH-454 - Fix event externalization for RabbitMQ.
We now properly wrap the null value returned as a result from the RabbitMQ event externalization into a CompletableFuture. Tightened test case to prevent regressions going forward.
2024-01-16 19:54:31 +01:00
Oliver Drotbohm
6afc00c554 GH-452 - Introduce EventPublicationRepository.findCompletedPublications().
The default EventPublicationRegistry previously erroneously called find*In*completePublications(), i.e. returned incomplete publications when it was supposed to look up the completed ones. To be able to do the latter we need to extend EventPublicationRepository and introduce a query execution for all completed publications.

As we'd normally only chance API in major versions, but the bugfix needing to go into a bugfix release, the new method is introduced as default method rejecting the execution in case a currently existing repository implementation does not implement it. This allows us to adapt the implementations we ship to support the bugfix, but will require other implementations to ship an adapted version. This means we can ship a release that's not breaking assuming one of the official store implementations is used.
2024-01-16 19:50:41 +01:00
Oliver Drotbohm
86a9775e47 GH-444 - Declare most concrete type for EventPublicationRegistry configuration. 2024-01-10 14:49:13 +01:00
Oliver Drotbohm
edaec89ef4 GH-434 - Prepare next development iteration. 2023-12-21 23:28:18 +01:00
Oliver Drotbohm
96cd72ee91 GH-434 - Release version 1.1.1. 2023-12-21 23:28:17 +01:00
Oliver Drotbohm
69ec01ac01 GH-399 - Avoid event publication completion for failed CompletableFutures.
We now explicitly handle CompletableFuture instances returned from transactional event listeners by registering the completion handlers only on success, the debug logging on failure and immediately return the decorated instance.

Previously, a failed CompletableFuture instance would still have the publication marked completed as it doesn't cause any exception being thrown and thus ultimately ending up in the code path that issues the completion.
2023-11-28 17:13:03 +01:00
Oliver Drotbohm
768103fd32 GH-393 - Prepare next development iteration. 2023-11-28 17:09:00 +01:00
Oliver Drotbohm
c6c0c0f500 GH-393 - Release version 1.1.0. 2023-11-24 18:22:06 +01:00
nkolosnjaji
2afa435722 GH-369 - Prefer MongoTemplate.findAndModify(…) over ….updateFirst(…).
Original pull request: GH-380.
2023-11-24 13:28:32 +01:00
Oliver Drotbohm
b4bb541649 GH-372 - Propagate original exception from CompletionRegisteringAdvisor.
We now propagate potentially occurring exceptions in CompletionRegisteringAdvisor to make sure the standard exception handling facilities kick in, both for synchronous and asynchronous listener invocations.

This implies that during republication we need to handle exceptions to make sure that failing synchronous listeners to not prevent the submission of subsequent publications. We currently log such exceptions into error.
2023-11-19 21:58:32 +01:00
Oliver Drotbohm
9f42ae4308 GH-368 - Polishing. 2023-11-14 11:02:21 +01:00